View Issue Details

IDProjectCategoryView StatusLast Update
0000526Industrial-Craft²E-Net, cabling, storage/transformer blockspublic2014-06-26 15:22
Reporterstranger1029 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
PlatformMac mini 2011 midOSMac OS XOS Version10.8.4
Summary0000526: machine is explode when placed joint point of 2 different energy net.
Description(tested on Forge 828, IC2 experimental 44)
setup 2 batbox + energy net(not connected 2 network) and place lv machine in joint point, machine is explode.
but, 1 batbox and machine setup, after attach batbox is not explode.

and, sometime machine explosion and happen crash.

[Minecraft-Server] Encountered an unexpected exception ConcurrentModificationException
java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
    at java.util.HashMap$KeyIterator.next(HashMap.java:828)
    at ic2.core.energy.EnergyNetLocal.onTickEnd(EnergyNetLocal.java:243)
    at ic2.core.energy.EnergyNetGlobal.onTickEnd(EnergyNetGlobal.java:46)
    at ic2.core.IC2.tickEnd(IC2.java:1573)
    at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:34)
    at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:141)
    at cpw.mods.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:282)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:675)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:585)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:129)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:582)
TagsNo tags attached.
Minecraft Version

Activities

robot256

2013-09-03 00:52

reporter   ~0001275

It seems that if more than one source (i.e. batbox or generator) is on available, the sink (another batbox or machine) will request power from all of them, and when they all respond, will have too much power (EU/t) and explode.

Workaround is to put a LV transformer in "step-down" mode treating each source like a MV source, then connect the outputs of the transformers together. This will halve the effective EU/t. To have four input devices, you need to halve the output of this junction again with another LV transformer. This also throttles the total rate at which power can flow. This is very unwieldly and should probably be improved eventually.

Geggo

2013-09-03 15:20

reporter   ~0001276

Experimental builds scrapped the old EU packet system so now a machine that can take 32 EU/t will blow up if it gets any more than that EVEN if that power is supplier with parallel bat boxes or LV transformers.

Easiest way around is to make biggest energy storage you can and use transformer upgrades in every machine that can hold them and use transformers for machines like induction furnace.

Basicly every energy supplier adds to the output of the line so it's like they were added in series not in parallel.

robot256

2013-09-03 17:23

reporter   ~0001277

So putting two 32 EU/t bat boxes outputting to one wire makes a wire with 64 EU/t, which will explode a basic machine? And my solution of using a transformer turned the 64 EU/t back into 32 EU/t?

When I have several machines connected to one batbox, how does the power get distributed? Does the 32 EU that come out each tick get divided evenly? It seems like it is weighted based on distance from the source. You suggested a "way around" the new design--is this intended to be a permanent gameplay mechanism, or are there more changes planned to how power is distributed that will make things easier in the future?

It seems like EU/t now represents current, not voltage, more than anything else. Every source is actually an ideal current source, and loads are current sinks. If a load doesn't draw enough current, the source will increase the voltage (an invisible quantity) until the load explodes. This scenario may have sometimes been the case back when Edison and Tesla were build dynamos overpowered dynamos fed to series-strings of arc lamps, but makes absolutely no sense when dealing with seemingly advanced devices, batteries, etc.

Is there anything I could read on the discussion leading to this new design? I am interested to know if it was driven by efficiency/compatibility with Minecraft, a desire to use magic instead of physics, or just another awkward attempt to simulate the dual characteristics of current and voltage with only one number.

Don't get me wrong, I still love playing with the mod, but I'm an electrical engineer so these things bug me. Thanks for explaining it.

Geggo

2013-09-03 18:23

reporter   ~0001278

Before the change LV-transformer took in 1x128 packet and output 4x32 in 1 tick now it takes in 1x128 and output 4x32 over 4 ticks.

If you have 2 batboxes connected to LV transformer it will output 32 EU/t so you need another LV to get the other 32 EU/t out of that system.

Current system might not be what it's going to be in the end so just wait and see what it becomes.

robot256

2013-09-03 19:15

reporter   ~0001279

Thanks! This is starting to make sense now. So, every tick, each source spits its EU rating on the net and they all add up. Then every load looks at the net to get power. If it sees power on the net, it grabs as much as it needs, or as much as it can. But if it sees more than its maximum rating, then it explodes. If it grabs everything, then wires later in the chain don't get any power, so machines at the end of a cable will get less power than machines near the source. Transformers do the same to fill their internal buffer, then on subsequent ticks while the buffer is depleting, they don't grab any power so other loads on the net can grab it instead.

So it really is more like current distribution, where if you have a high-power bus you need multiple transformers to create "branch circuits" to power a small number of machines. I had been thinking of it more in terms of voltage and current, but this system makes it more like industrial wiring since current and voltage are usually linked based on the electrical code. Is there an easy way to tell how much power each machine uses, in order to properly size the branch circuits?

I wonder how they will apply wire voltage ratings, when they get to that part of the code. It would appear that you would need to use gold cable to connect two batbox outputs together, which will be interesting. Also, half my house will melt when that happens.

Thunderdark

2014-06-26 15:22

viewer   ~0002468

cleanup campaign close all reports > 6 months

Issue History

Date Modified Username Field Change
2013-08-19 10:15 stranger1029 New Issue
2013-09-03 00:52 robot256 Note Added: 0001275
2013-09-03 15:20 Geggo Note Added: 0001276
2013-09-03 17:23 robot256 Note Added: 0001277
2013-09-03 18:23 Geggo Note Added: 0001278
2013-09-03 19:15 robot256 Note Added: 0001279
2014-06-26 15:22 Thunderdark Note Added: 0002468
2014-06-26 15:22 Thunderdark Status new => closed