Skip to content

MV Shared Types

Shared types used across MV elements.

Mixins

Extra

Extra text annotation for electrical network elements.

Provides additional metadata or documentation that extends the core electrical properties of network elements.

PropertyTypeRequiredDefaultDescription
textstrNo""

Note

Free-text note annotation for electrical network elements.

Provides descriptive commentary or operational notes for electrical elements that aid in network understanding.

PropertyTypeRequiredDefaultDescription
textstrNo""

Geography

Geographical coordinate data for network elements.

Stores coordinate pairs for geographical positioning of elements in GNF/VNF network files. Used for mapping and GIS integration.

PropertyTypeRequiredDefaultDescription
coordinateslist[tuple]No[]

Presentations

NodePresentation

Presentation properties for a node (MV).

PropertyTypeRequiredDefaultDescription
sheetGuidNoNIL_GUID
xintNo0
yintNo0
symbolNodePresentationSymbolNoCLOSED_CIRCLEVisual symbol shape for node representation on diagrams.
colorDelphiColorNo"$000000"
sizeintNo1
widthintNo1
stylestrNo"Solid"
text_colorDelphiColorNo"$000000"
text_sizeintNo10
fontstrNo"Arial"
text_styleintNo0
is_text_hiddenboolNoFalse
is_text_upside_downboolNoFalse
text_rotationintNo0
upstrings_xintNo0
upstrings_yintNo0
fault_strings_xintNo0
fault_strings_yintNo0
note_xintNo0
note_yintNo0
icon_xintNo0
icon_yintNo0

BranchPresentation

Presentation properties for a branch (object between two nodes) (MV).

PropertyTypeRequiredDefaultDescription
sheetGuidNoNIL_GUID
colorDelphiColorNo"$000000"
sizeintNo1
widthintNo1Thickness of the lines that draw the symbol.
stylestrNo"Solid"
text_colorDelphiColorNo"$000000"Color of the text.
text_sizeintNo7Size of the text.
fontstrNo"Arial"
text_styleintNo1
no_textboolNoFalseHides all text when True.
upside_down_textboolNoFalseMakes text upside down when True.
strings1_xintNo0X offset of the text relative to object.
strings1_yintNo0Y offset of the text relative to object.
strings2_xintNo0X offset of the text relative to object.
strings2_yintNo0Y offset of the text relative to object.
mid_strings_xintNo0
mid_strings_yintNo0
fault_strings_xintNo0
fault_strings_yintNo0
note_xintNo0X offset relative to the object coordinates for the note text.
note_yintNo0Y offset relative to the object coordinates for the note text.
flag_flipped1boolNoFalse
flag_flipped2boolNoFalse
first_cornerslist[tuple]No[]
second_cornerslist[tuple]No[]

ElementPresentation

Presentation properties for an element (object attached to a singular node) (MV).

Controls the visual appearance and positioning of MV network elements on the diagram, including colors, sizes, text formatting, and coordinate positioning on sheets.

PropertyTypeRequiredDefaultDescription
sheetGuidNoNIL_GUIDThe sheet where the element is visible.
xintNo0X coordinate on the sheet.
yintNo0Y coordinate on the sheet.
colorDelphiColorNo"$000000"Color of the object.
sizeintNo1Size of the object, scales it bigger.
widthintNo1Thickness of the lines that draw the symbol.
text_colorDelphiColorNo"$000000"Color of the text.
text_sizeintNo7Size of the text.
fontstrNo"Arial"Font for the text by the object.
text_styleintNo1Text style (cursive, bold, etc.).
no_textboolNoFalseHides all text when True.
upside_down_textboolNoFalseMakes text upside down when True.
strings1_xintNo0X offset of the text relative to object.
strings1_yintNo0Y offset of the text relative to object.
symbol_strings_xintNo0
symbol_strings_yintNo0
note_xintNo0X offset relative to the object coordinates for the note text.
note_yintNo0Y offset relative to the object coordinates for the note text.
flag_flippedboolNoFalseFlips the flag upside down if the switch is opened.

SecondaryPresentation

Presentation properties for a secundairy (modelled on top of a branch or element) (MV).

PropertyTypeRequiredDefaultDescription
sheetGuidNoNIL_GUID
distanceintNo0
othersideboolNoFalse
colorDelphiColorNo"$808080"
sizeintNo1
widthintNo1
stylestrNo""
text_colorDelphiColorNo"$000000"
text_sizeintNo10
fontstrNo"Arial"
text_styleintNo1
no_textboolNoFalse
upside_down_textboolNoFalse
strings_xintNo0
strings_yintNo0
note_xintNo0
note_yintNo0

DWPresentation

Presentation properties for a three winding transformer (MV).

PropertyTypeRequiredDefaultDescription
sheetGuidNoNIL_GUID
colorDelphiColorNo"$000000"
sizeintNo1
widthintNo1
stylestrNo"Solid"
text_colorDelphiColorNo"$000000"
text_sizeintNo7
fontstrNo"Arial"
text_styleintNo1
no_textboolNoFalse
upside_down_textboolNoFalse
strings1_xintNo0
strings1_yintNo0
strings2_xintNo0
strings2_yintNo0
mid_strings_xintNo0
mid_strings_yintNo0
fault_strings_xintNo0
fault_strings_yintNo0
note_xintNo0
note_yintNo0
flag_flipped1boolNoFalse
flag_flipped2boolNoFalse
first_cornerslist[tuple]No[]
second_cornerslist[tuple]No[]
xintNo0
yintNo0
strings3_xintNo0
strings3_yintNo0
third_cornerslist[tuple]No[]

Shared Data Types

CableType

Cable type.

PropertyTypeRequiredDefaultDescription
short_namestrNo""
infostrNo""
unomfloat | intNo0
pricefloat | intNo0.0
rfloatNo0
xfloatNo0
cfloatNo0
c0floatNo0
tan_deltafloatNo0
r0floatNo0
x0floatNo0
inom0floatNo0
g1int | floatNo0.0
inom1int | floatNo0.0
g2int | floatNo0.0
inom2int | floatNo0.0
g3int | floatNo0
inom3int | floatNo0.0
ik1sint | floatNo0.0
trint | floatNo0.0
TInomint | floatNo0.0
TIk1sint | floatNo0.0
frequencyint | floatNo0
pulse_velocityint | floatNo0

FuseType

Fuse Type.

PropertyTypeRequiredDefaultDescription
short_namestrNo""
unomint | floatNo0
inomint | floatNo0
Ilist[int] | NoneNo(factory)
Tlist[int] | NoneNo(factory)

CurrentType

Current type.

PropertyTypeRequiredDefaultDescription
short_namestrNo""
inomfloat | intNo0
setting_sortintNo0
Ilist[int] | NoneNo(factory)
Tlist[int] | NoneNo(factory)
I_greatfloat | int | NoneNo0
t_greatfloat | int | NoneNo0
I_greaterfloat | int | NoneNo0
t_greaterfloat | int | NoneNo0
I_greatestfloat | int | NoneNo0
t_greatestfloat | int | NoneNo0
Mfloat | int | NoneNo0
Idfloat | int | NoneNo0
alphafloat | int | NoneNo0
betafloat | int | NoneNo0
cfloat | int | NoneNo0
dfloat | int | NoneNo0
efloat | int | NoneNo0
Iltfloat | int | NoneNo0
Istfloat | int | NoneNo0

EfficiencyType

Efficiency characteristics for battery charging and discharging.

Defines efficiency curves as a function of input/output power levels. Used for both charging efficiency (as function of input power) and discharging efficiency (as function of output power) in battery systems. Supports up to 5 points to define the efficiency curve.

PropertyTypeRequiredDefaultDescription
input1floatNo0.0
output1floatNo0.0
input2floatNo0.0
output2floatNo0.0
input3floatNo0.0
output3floatNo0.0
input4floatNo0.0
output4floatNo0.0
input5floatNo0.0
output5floatNo0.0

Fields

Fields.

PropertyTypeRequiredDefaultDescription
valueslistYes(required)

PControl

Active power control for batteries and generators.

Supports three control modes:

  • P(U): Voltage-dependent active power control for voltage regulation
  • P(t): Time-based active power control with start/end times for scheduled operation
  • P(I): Current-dependent active power control based on measured field current

The P(U) and P(I) controls override the generally specified P and profile values. The P(t) control overrides these values only when the time is known.

PropertyTypeRequiredDefaultDescription
sortintNo0
start_time1floatNo0.0
end_time1floatNo0.0
input1floatNo0.0
output1floatNo0.0
start_time2floatNo0.0
end_time2floatNo0.0
input2floatNo0.0
output2floatNo0.0
start_time3floatNo0.0
end_time3floatNo0.0
input3floatNo0.0
output3floatNo0.0
start_time4floatNo0.0
end_time4floatNo0.0
input4floatNo0.0
output4floatNo0.0
start_time5floatNo0.0
end_time5floatNo0.0
input5floatNo0.0
output5floatNo0.0
measure_fieldstrNo""

QControl

Reactive power control for batteries and generators.

Provides Q(U) voltage-dependent reactive power control or constant cos phi control. The Q(U) control adjusts reactive power output based on voltage levels to support grid voltage regulation. Constant cos phi control maintains a fixed power factor.

PropertyTypeRequiredDefaultDescription
sortintNo0
cosreffloatNo0.0
no_p_no_qboolNoTrue
input1floatNo1.0
output1floatNo0.0
input2floatNo0.0
output2floatNo0.0
input3floatNo0.0
output3floatNo0.0
input4floatNo0.0
output4floatNo0.0
input5floatNo0.0
output5floatNo0.0

Enums

NodePresentationSymbol

Node presentation symbol types for graphical network display.

Defines the visual symbol shapes used to represent nodes in electrical network diagrams within Gaia (LV) and Vision (MV) software. Integer values are non-sequential to maintain compatibility with the native file format encoding.

Symbol categories:

  • 1-2: Line symbols
  • 11-13: Circle variants
  • 21-23: Square variants
  • 31-32: Triangle variants
  • 41-42: Diamond variants
  • 51-53: Rectangle variants

The "open", "closed", and "half-open" terminology refers to whether the symbol is filled (closed), outlined only (open), or partially filled (half-open).

MemberValueDescription
VERTICAL_LINE1
HORIZONTAL_LINE2
CLOSED_CIRCLE11
OPEN_CIRCLE12
HALF_OPEN_CIRCLE13
CLOSED_SQUARE21
OPEN_SQUARE22
HALF_OPEN_SQUARE23
CLOSED_TRIANGLE31
OPEN_TRIANGLE32
CLOSED_DIAMOND41
OPEN_DIAMOND42
CLOSED_RECTANGLE51
OPEN_RECTANGLE52
HALF_OPEN_RECTANGLE53

SpecialTransformerSort

Special transformer type classification.

Integer values are non-sequential to maintain compatibility with Vision/Gaia file formats. The groupings reflect functional categories:

  • 0-4: Standard and autotransformer variants
  • 11-14: Regulating transformers (booster, phase-shifting)
  • 21, 31: Specialized types
MemberValueDescription
NONE0No special transformer type.
AUTO_YD111Autotransformer with Yd11 vector group.
AUTO_YA02Autotransformer with Ya0 vector group.
AUTO_YNA03Autotransformer with YNa0 vector group (neutral accessible).
AUTO_YNA0_ASYM4Autotransformer with YNa0 vector group, asymmetric configuration.
BOOSTER11Booster transformer for voltage regulation.
QUADRATURE_BOOSTER12Quadrature booster (phase-shifting transformer).
SCOTT_RS13Scott transformer, RS configuration.
SCOTT_RT14Scott transformer, RT configuration.
AXA21Axa type transformer.
RELO31Relo type transformer.