Skip to content

ShuntCapacitorMV

Medium-voltage shunt capacitor with reactive compensation modeling.

Supports capacitor bank analysis with configurable reactive power, voltage control, and earthing configuration for balanced three-phase power factor correction in MV distribution networks.

Inherits from: ExtrasNotesMixin, HasPresentationsMixin

Import

python
from pyptp.elements.mv import ShuntCapacitorMV

Properties

PropertyTypeRequiredDefaultDescription
generalGeneralYes-
presentationslist[ElementPresentation]Yes-
active_filterActiveFilter | NoneNoNone
extraslist[Extra]No[]
noteslist[Note]No[]

ActiveFilter

Active Filter.

PropertyTypeRequiredDefaultDescription
measure_fieldGuid | NoneTypeNoNoneGUID of the measurement field for active filter control.
inomfloatNo0.0Nominal current in A for active filter operation.
hdict[int, float]No{}Harmonic compensation factors by harmonic number (e.g., {3: 0.1, 5: 0.05}).

General

Core electrical and operational properties for MV shunt capacitors.

Encompasses connection node, reactive power rating, voltage control settings, earthing configuration, and reliability statistics.

PropertyTypeRequiredDefaultDescription
nodeGuidNoNIL_GUIDGUID of the node to which the shunt capacitor is connected.
guidGuidNo(auto UUID)
creation_timefloatNo0.0Timestamp when the element was created.
mutation_dateintNo0Date when the element was last modified.
revision_dateintNo0Date when the element was last revised.
variantboolNoFalseIndicates if this is a variant configuration.
namestrNo""Name of the shunt capacitor.
switch_stateintNo0Switch state: 1=closed (capacitor energized), 0=open (capacitor de-energized).
field_namestrNo""Name of the connection field.
failure_frequencyfloatNo0.0Mean number of occurrences that the capacitor fails (short circuit) per year.
repair_durationfloatNo0.0Mean repair duration in hours per year.
maintenance_frequencyfloatNo0.0Mean number of occurrences that the capacitor is in maintenance per year.
maintenance_durationfloatNo0.0Mean maintenance duration in hours per year.
maintenance_cancel_durationfloatNo0.0Mean duration of maintenance cancellation in hours per year.
not_preferredboolNoFalseIndicates if this capacitor is not preferred for switching operations.
QfloatNo0.0Reactive power in Mvar (three-phase).
unomfloatNo0.0Nominal voltage in kV (defaults to node voltage if not specified).
profileGuidNoUUID(...)GUID of the load profile for time-varying behavior.
earthingboolNoFalseIndicates if the capacitor neutral point is earthed.
refloatNo0.0Earthing resistance in Ohm (with earthed star point).
xefloatNo0.0Earthing reactance in Ohm (with earthed star point).
earthing_nodeGuid | NoneTypeNoNone
voltage_controlboolNoFalseEnables automatic voltage-based switching control.
u_onfloatNo0.0Voltage in kV under which the capacitor switches on (voltage control).
u_offfloatNo0.0Voltage in kV above which the capacitor switches off (voltage control).
only_during_motorstartboolNoFalseCapacitor only switches during motor start operations.
passive_filter_frequencyfloatNo0.0Harmonic filter frequency in Hz for passive filtering applications.
passive_filter_quality_factorfloatNo0.0Quality factor (Q) for passive harmonic filter design.