Skip to content

CableMV

Represents a cable (MV).

Inherits from: ExtrasNotesMixin, HasPresentationsMixin

Import

python
from pyptp.elements.mv import CableMV

Properties

PropertyTypeRequiredDefaultDescription
generalGeneralYes-
cable_partslist[CablePart]Yes-
cable_typeslist[CableType]Yes-
presentationslist[BranchPresentation]Yes-
geo_cable_partslist[GeoCablePart]No[]
jointslist[Joint]No[]
geoGeo | NoneNoNone
extraslist[Extra]No[]
noteslist[Note]No[]

CablePart

Properties for a part of the cable.

PropertyTypeRequiredDefaultDescription
lengthfloatNo1.0
cable_typestrNo""
yearstrNo""
parallel_cable_countintNo1
ground_resistivity_indexintNo1
ampacity_factorintNo1

General

General properties for a cable.

PropertyTypeRequiredDefaultDescription
guidGuidNo(auto UUID)
creation_timefloat | intNo0
mutation_dateintNo0
revision_datefloat | intNo0.0
variantboolNoFalse
subnet_borderboolNoFalse
field_name1strNo""Name of the connection field on node1 side.
field_name2strNo""Name of the connection field on node2 side.
source1strNo""Name of the feeding object on node1 side (subnet border case).
source2strNo""Name of the feeding object on node2 side (subnet border case).
namestrNo""
repair_durationfloatNo0.0
failure_frequencyfloatNo0.0
maintenance_frequencyfloatNo0.0
maintenance_durationfloatNo0.0
maintenance_cancel_durationfloatNo0.0
joint_failure_frequencyfloatNo0.0
loadrate_maxfloatNo0.0
loadrate_max_emergencyfloatNo0.0
switch_state1intNo1
switch_state2intNo1
rail_connectivityintNo0
dyn_modelstrNo"P"
dyn_number_of_sectionsintNo1
dyn_neglect_capacitanceboolNoFalse
node1GuidNoNIL_GUID
node2GuidNoNIL_GUID

Geo

Cable Geographical properties.

PropertyTypeRequiredDefaultDescription
coordinateslist[tuple]No[]

Joint

Cable joint properties.

PropertyTypeRequiredDefaultDescription
xfloat | intNo0.0
yfloat | intNo0.0
typestrNo""
yearstrNo""
failure_frequencyfloat | intNo0.0

Referenced Types

GeoCablePart

Geography of the cable parts.

Defined in pyptp.elements.mv.shared

PropertyTypeRequiredDefaultDescription
coordinateslist[tuple]No[]