Electric Grid

by 0n0w1c

An overhaul of the electric network, engineer an Electric Grid! The overhaul is optional.

Overhaul
17 days ago
2.0
1.85K
Power

g Cool!

9 months ago

Really awesome to see that your making a new electricity overhaul. And I like the way you're going about it with high voltage for transmission but not supply, and the low voltage for supply but not transmission, similar to Fluidic Power. It's also similar to Power Overload I guess. Very cool, I'll be following your progress.

I also have two small notes that should probably be fixed at some point :) :
- This code is not multiplayer safe. Any data that you store that can change needs to be stored in storage.
- You're missing a build events for on_space_platform_built_entity, script_raised_revive and script_raised_built.

9 months ago

I just posted the fixes you suggested, thank you very much.
The code is a still a big mess, thank you taking the time and effort to take a peek at it.
Not exactly sure where it will finally end up, but the journey is fun.

7 months ago

Howdy, I noticed a few things and not sure if they are bugs or just operator error. I am trying to set up a switch like ability with combinators and red and green wires. But when i set the transform to disable to turn off the power to a assembler line so that i am not over using items and power. It disconnects the red or green wire also.

7 months ago

Thank you for the report.
Unfortunately, I have been unable to reproduce the issue.

I have failed to communicate this clearly, so just to make sure. The two electric poles of the transformator do not connect to internals of the transformator. They only carry the circuit wires just like normal electric poles. The internal pump is not aware of the circuit wires connected to these poles. To control the transformator, you must connect circuit wires directly to the pump portion of the transformator.

In testing, I did notice that the quick power on/off is not working properly, so I will be looking into that bug.
I will continue to try more combinations, attempting to reproduce this issue.

Are you willing share your combinator setup?
Are you using the Overhaul (wiring rules) or the transformator only option?

7 months ago

I figured it out. i was trying to set the filter and it was breaking the machine, once i just set it to enable and disable only it works fine.

7 months ago

I have not been able to reproduce the issue, but I know you are correct, the code agrees with you. I changed the definition of the pump a little while back so that it displayed the correct image in the factoriopedia. And oddly, it is that change that causes the circuit connection to be destroyed. I will get this fixed.

New response