TypLne attributesPowerFactory Line Type

Every attribute of the PowerFactory Line Type (TypLne): 76 input parameters, with units and meaning. Copy a name into GetAttribute or SetAttribute.

What TypLne is

A line type: the electrical data shared by every line that uses it, per km (R', X', B'), with the rated voltage and rated current.

Class
TypLne, type class
PowerFactory name
Line Type
Used by
ElmLne
Attributes
76 input parameters

Most used TypLne attributes

AttributeUnitDescriptionWhere
ulinekVRated Voltagerated voltageinput data
slinekARated Currentrated currentinput data
rlineOhm/kmAC-Resistance R'(20°C)input data
xlineOhm/kmReactance X'input data
blineuS/kmSusceptance B'input data
rline0Ohm/kmAC-Resistance R0'input data
xline0Ohm/kmReactance X0'input data
cohl_·Cable / OHLcable or overhead lineinput data
frnomHzNominal Frequencyinput data

Read and write TypLne in Python

import powerfactory

app = powerfactory.GetApplication()          # GetApplicationExt() from outside PowerFactory

# Types live in the equipment library of the project.
types = app.GetProjectFolder("equip").GetContents("*.TypLne", 1)
for typ in types:
    print(typ.loc_name, typ.GetAttribute("uline")) # Rated Voltage, kV

# An element points to its type with typ_id; t: reads a type value through the element.
for line in app.GetCalcRelevantObjects("*.ElmLne"):
    print(line.loc_name, line.typ_id.loc_name, line.GetAttribute("t:uline"))

types[0].SetAttribute("sline", 1.2)           # rated current 1.2 kA: every element of this type changes
  • An input parameter is read and written with or without its e: prefix: GetAttribute("outserv") and GetAttribute("e:outserv") give the same value.
  • A type is shared: a change to it changes every element that uses it. Read a type value through an element with the t: prefix.

TypLne input parameters

The element data, as typed in GetAttribute and SetAttribute (the e: prefix is optional). Setting one changes the model.

AttributeUnitDescription
loc_name·Name
chr_name·Characteristic Name
for_name·Foreign Key
dat_src·Data source
mlei·Conductor material
manuf·Manufacturer
appr_modby·Modified by
iopt_cnd·Cable cores
nlnph·Phases
imiso·Insulation material
systp·System Type
appr_status·Status
avail·Availability
nneutral·Number of Neutrals
fr_sheath·With sheath
shins·Sheath insulation material
shtyp·Sheath type
touchExp·Exposed to touch
cscreen·Radial cable screen
rectancond·Rectangular Conductor
ulinekVRated Voltage
slinekARated Current
piclnp.u.Ratio Ip/In
pitlnsMaximum Time
rlineOhm/kmAC-Resistance R'(20°C)
tmaxdegCMax. Operating Temperature
rline_tmaxOhm/kmAC-Resistance R' at max. operating temperature
alpha1/KTemperature Coefficient
xlineOhm/kmReactance X'
rtempdegCMax. End Temperature
blineuS/kmSusceptance B'
llinemH/kmInductance L'
clineuF/kmCapacitance C'
glineuS/kmConductance G'
tline·Ins. Factor
rline0Ohm/kmAC-Resistance R0'
xline0Ohm/kmReactance X0'
lline0mH/kmInductance L0'
bline0uS/kmSusceptance B0'
cline0uF/kmCapacitance C0'
gline0uS/kmConductance G0'
tline0·Ins. Factor
IcesA/kmEarth-Fault Current
qursmm^2Nominal cross section
qursnmm^2Neutral conductor cross section
InomAirkARated Current (in air)
IthrkARated Short-Time (1s) Current (Conductor)
frnomHzNominal Frequency
lcostUSD/kmLine type cost
rnlineOhm/kmAC-Resistance Rn'
xnlineOhm/kmReactance Xn'
bnlineuS/kmSusceptance Bn'
rpnlineOhm/kmAC-Resistance Rpn'
xpnlineOhm/kmReactance Xpn'
bpnlineuS/kmSusceptance Bpn'
side_bmmHeight (b)
side_dmmWidth (d)
appr_modif·Modified
typemetadata_version·Version
typemetadata_key·Type Key
typemetadata_changeLog·Change Log
desc·Description
doc_id·Additional Data
fcharL1ChaPol,ChaVec,ChaMatL1'(f)
fcharR1ChaPol,ChaVec,ChaMatR1'(AC)(f)
fcharC1ChaPol,ChaVec,ChaMatC1'(f)
fcharL0ChaPol,ChaVec,ChaMatL0'(f)
fcharR0ChaPol,ChaVec,ChaMatR0'(AC)(f)
fcharC0ChaPol,ChaVec,ChaMatC0'(f)
pStochStoTyplneStochastic model
cohl_·Cable / OHL
lnlinemH/kmInductance Ln'
cnlineuF/kmCapacitance Cn'
lpnlinemH/kmInductance Lpn'
cpnlineuF/kmCapacitance Cpn'
carmour·Armoured cable

Related

← TypGeo Tower Geometry Type · TypLod General Load Type →