IC2 Classic

IC2 Classic

2M Downloads

Geothermal generator randomly stop working

DBotThePony opened this issue ยท 13 comments

commented

And then they never activate ever again

IC2 Classic version: 1.12-1.5.4.5
Forge version: 14.23.5.2854
2020-05-26_16 17 06
2020-05-26_16 17 07
2020-05-26_16 17 10
2020-05-26_16 17 11
2020-05-26_16 17 14
2020-05-26_16 17 15

commented

Closing. Decided that i am not implementing this.

commented

Eh this is not something random actually.
The geothermal generator only outputs what it has in charge left but only produces power if the buffer is empty.
Loss >= storedBuffer = Lookdown.
Simple Fix: Use better cables.

commented

i should use superconductor then? because there is no way i can extract 1 EU from buffer using any of cables

commented

Loss is rounded down in IC2C. In other words as long the total loss is not big enough to reach a natural number then you are fine.
(5 Copper Cables = 1EU loss exactly, 4 Copper Cable = 0EU loss)

commented

I know what is math.floor (rounding down) is. Issue here is that it is not obvious why it stop working and why it can't go ahead and generate power if total loss is lesser than it's internal buffer. Because the only way to workaround this loss is to either install glass fibre cables (which are HV, and it might be an issue since for many players) or using superconductor from GregTech (which is also HV)

In this situation such logic is stupid
javaw_BhYlg1xMEv

commented

how about introducing transformers into the equasion.
Note that this bug existed for the entirety of IC2?

Anyways the enet is right now not capabable of catching such situations. And growing the buffer isnt fixing the problem. And yes we had this bug happen during testing but we decided it is more of a user error then a "bug"

commented

Fine. But you should somehow implement warning somewhere about this situation to prevent severe confusion of end users in such situations.

commented

you are only the second person after around how many years i develop this mod which caused this user bug, and lets not include IC2 before my ports.

commented

Saying that "this mod design fault preserved from older IC2 versions" is not an valid answer.

And i am not saying about growing buffer. I am saying about throwing away current buffer and filling it up consuming 1mb of lava IF buffer is lesser than loss to destination.

commented

Java 7?

commented

my forge enviorment is set to java7 in 1.12 and that is something i will not change

commented

The issue is: How do I detect that it is because of energy loss?
The energynet is right now not capable of detecting such a thing and implementing such a feature isnt as easy with java 7 (default interfaces do not exists there)

The crude solution would be: if the power is <20 and it couldnt didnt send energy the last tick then just refill the buffer. But honestly: NO you don't want that. That makes the geothermal generator void because then you can use a normal generator instead.

commented

I leave this one open.
I am still debating if this should be addressed or not. It requires me to actually does new API additions to make possible and I am personally not happy about that thought.