Calculating the net power flow with a Power transmission box