public void tick() {
        // Force voltage re-calculation
        getVoltage();

        // Exchange current with all connected conductors
        List<PowerConductor> conductors = parent.getConnectedConductors();
        for (PowerConductor cond : conductors) {

            // Easy way to make sure pairs of conductors only do current exchange once per tick:
            // Only allow the one with higher voltage to do the exchange.
            if (cond.getVoltage() > getVoltage())
                continue;

            double v = getVoltage() - cond.getVoltage();
            double r = resistance + cond.resistance;
            double i = v / r;

            applyCurrent(-i);
            cond.applyCurrent(i);
        }
    }
Apply continuous power for 1 tick. Negative values will draw power out
@param p Power (W)
core/src/main/java/mrtjp/projectred/core/power/PowerConductor.java