Strange behavior of energy.
marcin212 opened this issue ยท 1 comments
Why is there a division by 10 here? Setting the cable to PULL mode causes it to transfer 10x less than it should.
Also, here - taking the min of the cable throughput and battery capacity causes a PULLing cable to pull energy with its max thropughput, ignoring the battery's max output. The simplest solution would be to add a getMaxOutput method to the IStrictEnergyStorage interface.