Skip to content

SourceMV

Medium-voltage source representing external network supply.

Models feeder points with configurable voltage magnitude and angle, short-circuit capacity, and reliability parameters for accurate balanced three-phase analysis in MV distribution networks.

Inherits from: ExtrasNotesMixin, HasPresentationsMixin, IconMixin

Import

python
from pyptp.elements.mv import SourceMV

Properties

PropertyTypeRequiredDefaultDescription
generalGeneralYes-
presentationslist[ElementPresentation]Yes-
iconpyptp.elements.mixins.Icon | NoneNoNone
extraslist[Extra]No[]
noteslist[Note]No[]

General

Core electrical and operational properties for MV sources.

Encompasses connection node, voltage reference, phase angle, short-circuit parameters, and reliability statistics.

PropertyTypeRequiredDefaultDescription
nodeGuidNoGuid('00000000-0000-0000-00...
guidGuidNo(auto UUID)
creation_timefloatNo0
mutation_dateintNo0
revision_dateintNo0
variantboolNoFalse
namestrNo""
switch_stateboolNoTrue
field_namestrNo""Name of the connection field.
failure_frequencyfloatNo0.0Mean number of occurrences that the source fails (short circuit) per year.
repair_durationfloatNo0.0Mean duration of repair or replacement in minutes.
maintenance_frequencyfloatNo0.0Mean number of occurrences that the source is in maintenance per year.
maintenance_durationfloatNo0.0Mean duration of maintenance in minutes.
maintenance_cancel_durationfloatNo0.0Mean duration of cancellation of maintenance in case of emergency in minutes.
not_preferredboolNoFalse
ureffloatNo1Reference voltage as a factor of Unom in pu.
anglefloatNo0Reference voltage phase angle in degrees.
sk2nomfloatNo0Sub-transient short-circuit power in MVA.
sk2minfloatNo0Minimum sub-transient short-circuit power in MVA.
sk2maxfloatNo0Maximum sub-transient short-circuit power in MVA.
r_xfloatNo0.0Ratio between source impedance R and X (dimensionless).
z0_z1floatNo1.0Ratio between source impedance zero and normal sequence (dimensionless).
u2float | intNo0.0
sminfloatNo0Minimal to be tested power in MVA.
smaxfloatNo0Maximal to be tested power in MVA.
pminfloatNo0Minimum active power limit in MW.
pmaxfloatNo0Maximum active power limit in MW.
profileGuidNoGuid('a4d813df-1ee1-4153-80...GUID reference to the voltage profile.

Referenced Types

Icon

Optional icon displayed near a network element in diagrams.

A short text in a shaped background (configurable color, shape, size).

Defined in pyptp.elements.mixins

PropertyTypeRequiredDefaultDescription
textstrNo""
text_colorDelphiColorNo"$000000"
background_colorDelphiColorNo"$000000"
shapeintNo0
sizeintNo0