Skip to content

BatteryMV

Battery energy storage system for medium-voltage network modeling.

Integrates large-scale battery storage with symmetrical power system modeling for grid stabilization, peak shaving, and renewable energy balancing in MV distribution networks.

Inherits from: ExtrasNotesMixin, HasPresentationsMixin

Import

python
from pyptp.elements.mv import BatteryMV

Properties

PropertyTypeRequiredDefaultDescription
generalGeneralYes-
inverterInverterYes-
presentationslist[ElementPresentation]Yes-
charge_efficiency_typeEfficiencyType | NoneNoNoneType of the charging efficiency, as function of the input power.
discharge_efficiency_typeEfficiencyType | NoneNoNoneType of the discharging efficiency, as function of the output power.
p_controlPControl | NoneNoNone
q_controlQControl | NoneNoNone
harmonics_typeHarmonicsType | NoneNoNone
extraslist[Extra]No[]
noteslist[Note]No[]

General

General properties for a battery.

PropertyTypeRequiredDefaultDescription
nodeGuidNoNIL_GUID
guidGuidNo(auto UUID)
creation_timefloat | intNo0.0
mutation_dateintNo0
revision_dateintNo0
variantboolNoFalse
namestrNo""
switch_stateintNo0
field_namestrNo""Name of the connection field.
failure_frequencyfloatNo0.0
repair_durationfloatNo0.0
maintenance_frequencyfloatNo0.0
maintenance_durationfloatNo0.0
maintenance_cancel_durationfloatNo0.0
not_preferredboolNoFalse
preffloatNo0.0Generation of active power in MW (positive = charging from network).
state_of_chargefloatNo50.0Initial State of Charge in %.
profileGuidNoUUID(...)
capacityfloatNo0.0Storage capacity in MWh.
c_ratefloatNo0.51 hour nominal discharge rate in /h.
harmonics_typestrNo""

Inverter

Battery inverter properties.

PropertyTypeRequiredDefaultDescription
snomfloatNo0.0Nominal power of the inverter in MVA.
unomfloatNo0.0Nominal voltage of the inverter in kV.
ik_inomfloatNo1.0Relation between the short circuit current and the nominal current.
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.

Referenced Types

HarmonicsType

Shared Harmonics type for LV and MV elements.

Defined in pyptp.elements.lv.shared

PropertyTypeRequiredDefaultDescription
hlist[float] | NoneNo(factory)
anglelist[float] | NoneNo(factory)