Priority Power


Adds power transformers for connecting power networks, for designating generators as priority or reserve power. Designed for use with overhaul mods!

Content
22 days ago
2.0
330
Power

g Comparison with OwnlyMe's Transformers mod

3 months ago

whats the difference to transformers ?

3 months ago

Hi there!

I will admit, I haven't tried Transformers - I wasn't aware there was a more updated version than the old Transformators mod. I will have to give it a go!
The transformers in my mod allow manually specifying the priorities of the inputs and outputs, so they are usable in more cases than the old ones. For example, in my current Py run I am using transformers to ensure power generation from burning byproducts is always fully active even when the other power producers in the base are sufficient; I'm also using transformers to run electrolysers with only excess power to avoid crippling the rest of my base's power supply.

The transformers do work differently internally too - I'm using a simpler hidden entity setup, just 2 hidden electric power interfaces with an on-tick method to transfer power between them. Slightly worse for UPS, but I don't imagine many being present at a time since they have infinite throughput, so still negligible imo. They're also missing the copper wire attachments - I'd like to add that at some point, but I couldn't find a way to prevent the transformer working when they're not present, so they seemed more confusing/unnecessary than anything else.

This mod page needs some screenshots of the transformers in action - I'm planning to get some taken and uploaded soonish. I want to get some more playtesting in with them first before I start advertising properly.

3 months ago

Oh I see. I think the old mod was also using electric interfaces, but that had the problem that they always used the maximum amount of power. Sounds like you have overcome that

3 months ago

Yes, I've solved that by ensuring the energy buffers in the interface are as small as possible, and only removing energy that is succesfully transferred from input to output. With moving energy every on-tick I only need to ensure the buffer is big enough for one tick's worth of energy, so I initialize the buffer size to some small value (1kJ I think?) and double it every tick that it proves to not be enough throughout.

New response