BatteryModule.get_cost#

BatteryModule.get_cost(energy_change)[source]#

Get the cost of charging or discharging.

Parameters#

energy_changefloat

Internal energy change.

Returns#

costfloat

Cost of charging or discharging.