Code: Select all
gen[i].accumulator.energy = (64^3) * 50 --originally (64^3) * 5
*Edit: Confirmed that setting it to 50 caps the generator out at 2.6 MW, which is above the generators default cap(2MW).
Code: Select all
gen[i].accumulator.energy = (64^3) * 50 --originally (64^3) * 5
Yeaaa.. I was laughing hard when I saw it.. 64^3 *5... number good as any other I guess. probably left from some earlier version where he had different formula for generatorsTim2162286 wrote:Issue solved, the code that needs to be modified is line 432 of the ontick.lua script file.
this works for the default values on the generator, but if you change the output to be higher it may cap back out (i think this will cap out at about 2.6 MW)Code: Select all
gen[i].accumulator.energy = (64^3) * 50 --originally (64^3) * 5
no, that number only sets the maximum energy the generator will make, however it is limited to the output, so even putting it up to say (64^4) * 5000 wont affect how it reads in the power grid, it just lets you up the output more before you start getting down time while the buffer needs to charge. if you really want to limit it to exactly 2 MW, change the 50 to 38.5.Qcor wrote: So generally ANY big number here will "MOSTLY" fix the problem but it will give wrong readings on one of the power generation meters.
also i believe this number is watts, not kW, so you have an additional factor of 1000 you need to take into account.Qcor wrote: Yeaaa.. I was laughing hard when I saw it.. 64^3 *5... number good as any other I guess. probably left from some earlier version where he had different formula for generators
Should be set to buffer_size * 5 in theory but it won't work. First of all 300 tick is usually 5sec but not always, and secondly there is that issue which I described earlier.. which applies also here.
Code: Select all
if i == datos.maxgenerator + 1 then
Code: Select all
gen[i].accumulator.energy = math.floor(0.1 * (gen[i].rank - 1)^2 + (gen[i].rank - 1) * 25 + 25) * 1000 * 300
Code: Select all
if gen[i].rank == datos.maxGenerator then
gen[i].accumulator.energy = math.floor(0.25 * (gen[i].rank - 1)^2 + (gen[i].rank - 1) * 25 + 25) * 1000 * 300
end
Code: Select all
generator.energy_source.input_flow_limit = "0kW"
Code: Select all
if i == datos.maxgenerator + 1 then
output_flow_limit = math.floor(0.25 * (i - 1)^2 + (i - 1) * 25 + 25)
Code: Select all
generator.energy_source.buffer_capacity = output_flow_limit * 330 .. "kW"
That still doesn't tell me how to take the blood out, the fishery's have no pipeline for output.crysanja wrote:it produces blood very slowly
They do have a pipe connection - only one one end tho. Enable the overlay with alt and it will show you the arrow.CodeRedAlert wrote:That still doesn't tell me how to take the blood out, the fishery's have no pipeline for output.crysanja wrote:it produces blood very slowly