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_efficiencyEfficiencyTypeNo(factory)
discharge_efficiencyEfficiencyTypeNo(factory)
pu_controlPUControl | NoneNoNone
pi_controlPIControl | NoneNoNone
inverterInverter | NoneNoNone
harmonicsHarmonicsType | NoneNoNone
extraslist[Extra]No[]
noteslist[Note]No[]

General

Core battery system configuration and electrical connection properties.

PropertyTypeRequiredDefaultDescription
nodeGuidNoGuid('00000000-0000-0000-00...
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_chargefloatNo50.0Initial state of charge in %.
profileGuidNoGuid('a4d813df-1ee1-4153-80...
capacityfloatNo0.0Storage capacity in MWh.
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_nomfloatNo0.0Nominal power of the inverter in MVA.
charge_efficiency_typestrNo"0,1..1 pu: 95 %"Type of the charging efficiency, as function of the input power.
discharge_efficiency_typestrNo"0,1..1 pu: 95 %"Type of the discharging efficiency, as function of the output power.
cos_reffloatNo1.0Power factor.

PIControl

Power(current) control curve for battery active power.

PropertyTypeRequiredDefaultDescription
input1floatNo1.0
output1floatNo0.0
input2floatNo0.0
output2floatNo0.0
input3floatNo0.0
output3floatNo0.0
input4floatNo0.0
output4floatNo0.0
input5floatNo0.0
output5floatNo0.0
measure_field1GuidNoGuid('00000000-0000-0000-00...

PUControl

Power(voltage) control curve for battery active power.

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

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