Electrical-Age / ElectricalAge

Electrical Age (ELN) is a Minecraft Mod offering the ability to perform large-scale in-game electrical simulations.
https://electrical-age.net/
Other
212 stars 96 forks source link

[BUG] The Abyss Takes Over My Friend's Generator and Breaks Stuff #964

Open ronondex2009 opened 1 year ago

ronondex2009 commented 1 year ago

This bug-tracker is for bugs, feature requests and development tracking, not general support. Please see the support page for support and discussion.

Issue description

 Twice now, my friend's generator has broken in an unexpected way. The rheostats (which are used to short the generator to ground) turn pitch black, the axle in the generator disappears; the wires and generator reads "NaNk" for every statistic. The NaNk Voltage bypasses switches, and destroys all cables (bypassing breakers, too) connected to the utility pole grid. This also creates indestructible wires, since the temperature becomes NaN Celsius permanently. The effects of this appear differently for different users, such as the rheostat looking normal or the axle still existing.
 So far, I don't know what is causing this. It does not cause any errors in the log, from what I have seen. Only one of the generators have exhibited this.

image image2 image3 image4 image5

Steps to reproduce

 I have not been able to reproduce this bug. It appears to be random.

Electrical Age version

 1.17.0
ronondex2009 commented 1 year ago

so far, I have seen that it behaves like an infinitely stepped down voltage source, which can be positive or negative.

ronondex2009 commented 1 year ago

Update: while fixing the same issue at my friend's base, I discovered that disconnecting it from the source would set the voltage and current to zero but keep temperature at NaN. I was able to follow it back, and it lead to two things:

Both turrets and turbines hold onto this effect!