Prototype/Boiler efficiency

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Linver
Fast Inserter
Fast Inserter
Posts: 158
Joined: Wed Jan 09, 2019 2:28 pm
Contact:

Prototype/Boiler efficiency

Post by Linver »

Hi again!
Any chance to get efficiency property on Prototype/Boiler?
Is pratically impossible balance Prototype/Boiler if they EnergySource is electric, will be a free energy soruce.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2904
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Prototype/Boiler efficiency

Post by darkfrei »

Just set up multiplying for your electric energy source.

Code: Select all

local power = "600kW"
local factor = 2
local value = tonumber(string.match(power, "%d[%d.,]*"))
local unit = string.match(power, "%a+") 
local new_power = (factor*value) .. unit -- "1200kW"
So you need twice more power than before.

User avatar
Linver
Fast Inserter
Fast Inserter
Posts: 158
Joined: Wed Jan 09, 2019 2:28 pm
Contact:

Re: Prototype/Boiler efficiency

Post by Linver »

darkfrei wrote:
Fri Mar 13, 2020 8:21 am
Just set up multiplying for your electric energy source.

Code: Select all

local power = "600kW"
local factor = 2
local value = tonumber(string.match(power, "%d[%d.,]*"))
local unit = string.match(power, "%a+") 
local new_power = (factor*value) .. unit -- "1200kW"
So you need twice more power than before.
I didn't understand ur fix. Pratically in the Prototype/Boiler the energy_consumption define how much steam is produced from the Boiler. No matter how u set the energy_source, all will be scaled on the energy_consumption, and if exist a sort of energy consumer that with the produced steam can produce more energy than consumed, bam! Infinite energy. Also:
  • Change the input_flow_limit or energy_consumption will only change the fluid per second, not the problem.
  • Set a very low value in energy_consumption also will not fix the problem, is enough build many electric boilers.
  • Add a big drain in the electric energy_source will confuse the users and consume energy when is not needed.

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2919
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Prototype/Boiler efficiency

Post by Optera »

I second that proposal. All entities converting energy should have efficiency.

Currently efficiency of a boiler - engine combination can only be set at the engine. Doing so changes the engine-boiler ratio towards more engines instead of requiring an equal amount of both.

Post Reply

Return to “Modding interface requests”