Skip to content

BatteryLV

Battery energy storage system for low-voltage network modeling.

Integrates battery storage with power electronics for bidirectional energy flow, supporting grid stabilization, peak shaving, and renewable energy integration in LV distribution networks.

Inherits from: ExtrasNotesMixin, HasPresentationsMixin

Import

python
from pyptp.elements.lv import BatteryLV

Properties

PropertyTypeRequiredDefaultDescription
generalGeneralYes-
presentationslist[ElementPresentation]Yes-
charge_efficiencyEfficiencyTypeYes-
discharge_efficiencyEfficiencyTypeYes-
power_controlPControl | NoneNoNone
inverterInverter | NoneNoNone
harmonicsHarmonicsType | NoneNoNone
extraslist[Extra]No[]
noteslist[Note]No[]

General

Core battery system configuration and electrical connection properties.

PropertyTypeRequiredDefaultDescription
nodeGuidNoNIL_GUID
guidGuidNo(auto UUID)
creation_timefloat | intNo0
mutation_dateintNo0
revision_datefloat | intNo0.0
namestrNo""
s_L1boolNoTrue
s_L2boolNoTrue
s_L3boolNoTrue
s_NboolNoTrue
field_namestrNo""Name of the connection field.
single_phaseboolNoFalse
phaseintNo0
preffloatNo0.0Active power generation in MW (positive = charging from network).
state_of_chargefloatNo0.0Initial state of charge in %.
profileGuidNoUUID(...)
capacityfloatNo100Storage capacity in MWh.
c_ratefloatNo0.51 hour nominal discharge rate in /h.
harmonics_typestrNo""

Inverter

Power electronics inverter parameters for battery energy conversion.

Defines AC/DC conversion characteristics and efficiency curves for accurate power flow modeling in both charging and discharging modes.

PropertyTypeRequiredDefaultDescription
s_nomfloatNo12.5Nominal power of the inverter in MVA.
charge_efficiency_typestrNo""Type of the charging efficiency, as function of the input power.
discharge_efficiency_typestrNo""Type of the discharging efficiency, as function of the output power.
cos_reffloatNo1.0Power factor.

Referenced Types

EfficiencyType

Efficiency Type.

Defined in pyptp.elements.lv.shared

PropertyTypeRequiredDefaultDescription
input1floatNo0.0
output1floatNo0.0
input2floatNo0.0
output2floatNo0.0
input3floatNo0.0
output3floatNo0.0
input4floatNo0.0
output4floatNo0.0
input5floatNo0.0
output5floatNo0.0

PControl

Power Control.

Defined in pyptp.elements.lv.shared

PropertyTypeRequiredDefaultDescription
sortintNo0
start_time1floatNo0.0
end_time1floatNo0.0
input1floatNo0.0
output1floatNo0.0
start_time2floatNo0.0
end_time2floatNo0.0
input2floatNo0.0
output2floatNo0.0
start_time3floatNo0.0
end_time3floatNo0.0
input3floatNo0.0
output3floatNo0.0
start_time4floatNo0.0
end_time4floatNo0.0
input4floatNo0.0
output4floatNo0.0
start_time5floatNo0.0
end_time5floatNo0.0
input5floatNo0.0
output5floatNo0.0
measure_fieldstrNo""