Describe the bug
DC connected batteries can cause the "inverter total power loss" metric to display a negative number when grid charging
To Reproduce
Steps to reproduce the behavior:
- Set up a DC connected battery with grid charging
- Run the simulation
- Look at the data table output for inverter total power loss during a step with grid charging
- Observe that the number is negative
Expected behavior
It looks like a calculation needs to use fabs that isn't. This number should always be non-negative, like many of the other loss categories.
Screenshots

Observed on develop, likely older than that.
Describe the bug
DC connected batteries can cause the "inverter total power loss" metric to display a negative number when grid charging
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It looks like a calculation needs to use fabs that isn't. This number should always be non-negative, like many of the other loss categories.
Screenshots

Observed on develop, likely older than that.