Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

BatteryModule

class pyltm.BatteryModule

Battery module

A battery module stores surplus energy and discharges when demand is high. Modelling of batteries is available on area level. It occupies an emps area and excludes other hydro-power.

Connects to a area.

Properties

PropertyDescriptionRequired
area_nameArea nameno
charging_costCharging cost (Currency)yes
charging_efficiencyCharging efficiency (Factor)yes
commentUser commentno
endvalue_typeEndvalue typeno
exogenous_endvalueExogenous endvalue (Currency / energy unit)no
max_charging_powerMax charging power (MW)yes
max_discharge_powerMax discharge power (MW)yes
max_energy_levelMax energy level (MWh)yes
metadataUser metadatano
min_discharge_powerMin discharge power (MW)yes
min_energy_levelMin energy level (MWh)yes
nameObject nameyes
start_battery_energyInitial battery energy. (MWh)yes
whatA static property returning the string ‘battery’

Methods

sum_energy

sum_energy(self: pyltm.BatteryModule, time_axis: bool = True) -> pyltm.PyltmResult

Battery module sum energy

sum_power_production

sum_power_production(self: pyltm.BatteryModule, time_axis: bool = True) -> pyltm.PyltmResult

Battery module sum power production