Open jakobgemassmer opened 1 year ago
This is already the behavior when using target_power of the battery load/unload functions. See test_components for example, test_charging and test_unload in particular. Do you have an example file where the efficiency is not accounted for, in your opinion?
Implement a new definition of how to deal with efficiency:
The (dis)charging curve therefore defines P_in and P_out in this picture: More info: https://smooth.readthedocs.io/en/latest/smooth.components.html#module-smooth.components.component_battery
Additionally: Ensure that the efficiency is considered in all strategies and for vehicles and stationary batteries! Example: In peak_load_window the stat. battery does not consider the efficiency when discharging.