Skip to content

LineMV

Represents a line (MV).

Inherits from: ExtrasNotesMixin, HasPresentationsMixin

Import

python
from pyptp.elements.mv import LineMV

Properties

PropertyTypeRequiredDefaultDescription
generalGeneralYes-
linepartslist[LinePart]No[]
jointslist[Joint]No[]
geoGeo | NoneNoNone
presentationslist[BranchPresentation]No[]
extraslist[Extra]No[]
noteslist[Note]No[]

General

General properties for a line.

PropertyTypeRequiredDefaultDescription
guidGuidNo(auto UUID)
creation_timefloat | intNo0.0
mutation_dateintNo0
revision_dateintNo0
variantboolNoFalse
subnet_borderboolNoFalse
field_name1strNo""
field_name2strNo""
source1strNo""
source2strNo""
namestrNo""
repair_durationfloatNo0.0
failure_frequencyfloatNo0.0
maintenance_frequencyfloatNo0.0
maintenance_durationfloatNo0.0
maintenance_cancel_durationfloatNo0.0
loadrate_maxfloatNo0.0
loadrate_max_emergencyfloatNo0.0
switch_state1intNo1
switch_state2intNo1
node1GuidNoNIL_GUID
node2GuidNoNIL_GUID
resistance_symbolboolNoFalse

Geo

Geographical properties of the line.

PropertyTypeRequiredDefaultDescription
coordinateslist[tuple]No[]

Joint

Joint (Mof) properties for a line.

PropertyTypeRequiredDefaultDescription
xfloatNo0.0
yfloatNo0.0
typestrNo""

LinePart

Electrotechnical properties of a part of the line.

PropertyTypeRequiredDefaultDescription
RfloatNo0
XfloatNo0
CfloatNo0
R0floatNo0
X0floatNo0
C0floatNo0
inomfloatNo0
inom1floatNo0
inom2floatNo0
inom3floatNo0
ik1sfloatNo0
TRfloatNo0
TI_nomfloatNo0
TIk1sfloatNo0
lengthfloatNo0
descriptionstrNo""