Page 1 of 1
					
				Accumulator usage priority
				Posted: Sun Jul 15, 2018 5:55 pm
				by darkfrei
				Hi!
Now in vanilla usage_priority of accumulator has this definition:
Code: Select all
data.raw.accumulator.accumulator.energy_source.usage_priority = "terciary"
If you try to make something another 
https://wiki.factorio.com/Types/ElectricUsagePriority 
Code: Select all
data.raw.accumulator.accumulator.energy_source.usage_priority = "secondary"
or
Code: Select all
data.raw.accumulator.accumulator.energy_source.usage_priority = "primary"
then you get error.
 
			
					
				Re: Accumulator usage priority
				Posted: Sun Jul 15, 2018 6:08 pm
				by Rseding91
				Thanks for the report. There are 2 problems: there is no "primary" or "secondary" priority. There is 'primary-input" and "primary-output"/"secondary-input", "secondary-output".
And the second problem: accumulators are hard coded to the accumulator-managed-by-group priority and will ignore anything you set.
			 
			
					
				Re: Accumulator usage priority
				Posted: Sun Jul 15, 2018 7:50 pm
				by darkfrei
				Rseding91 wrote:Thanks for the report. There are 2 problems: there is no "primary" or "secondary" priority. There is 'primary-input" and "primary-output"/"secondary-input", "secondary-output".
And the second problem: accumulators are hard coded to the accumulator-managed-by-group priority and will ignore anything you set.
Why we have "primary-input", "secondary-input", but by accumulators just "terciary"?
Why accumulators do not charge from electric energy interface?
 
			
					
				Re: Accumulator usage priority
				Posted: Sun Jul 15, 2018 7:56 pm
				by Rseding91
				darkfrei wrote:Why we have "primary-input", "secondary-input", but by accumulators just "terciary"?
Because that's what was needed to make the base game logic work. Accumultors no longer use that value and instead define their own priority for optimization reasons.
darkfrei wrote:Why accumulators do not charge from electric energy interface?
The electric energy interface defines its usage priority as "tertiary" which is the same as what accumulators use. Change it to primary-output if you want it to charge accumulators.
 
			
					
				Re: Accumulator usage priority
				Posted: Sun Jul 15, 2018 9:36 pm
				by darkfrei
				Rseding91 wrote:The electric energy interface defines its usage priority as "tertiary" which is the same as what accumulators use. Change it to primary-output if you want it to charge accumulators.
Thanks, it works!