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
| Attribute | Unit | Description | Where |
|---|---|---|---|
uline | kV | Rated Voltagerated voltage | input data |
sline | kA | Rated Currentrated current | input data |
rline | Ohm/km | AC-Resistance R'(20°C) | input data |
xline | Ohm/km | Reactance X' | input data |
bline | uS/km | Susceptance B' | input data |
rline0 | Ohm/km | AC-Resistance R0' | input data |
xline0 | Ohm/km | Reactance X0' | input data |
cohl_ | · | Cable / OHLcable or overhead line | input data |
frnom | Hz | Nominal Frequency | input 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")andGetAttribute("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.
| Attribute | Unit | Description |
|---|---|---|
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 |
uline | kV | Rated Voltage |
sline | kA | Rated Current |
picln | p.u. | Ratio Ip/In |
pitln | s | Maximum Time |
rline | Ohm/km | AC-Resistance R'(20°C) |
tmax | degC | Max. Operating Temperature |
rline_tmax | Ohm/km | AC-Resistance R' at max. operating temperature |
alpha | 1/K | Temperature Coefficient |
xline | Ohm/km | Reactance X' |
rtemp | degC | Max. End Temperature |
bline | uS/km | Susceptance B' |
lline | mH/km | Inductance L' |
cline | uF/km | Capacitance C' |
gline | uS/km | Conductance G' |
tline | · | Ins. Factor |
rline0 | Ohm/km | AC-Resistance R0' |
xline0 | Ohm/km | Reactance X0' |
lline0 | mH/km | Inductance L0' |
bline0 | uS/km | Susceptance B0' |
cline0 | uF/km | Capacitance C0' |
gline0 | uS/km | Conductance G0' |
tline0 | · | Ins. Factor |
Ices | A/km | Earth-Fault Current |
qurs | mm^2 | Nominal cross section |
qursn | mm^2 | Neutral conductor cross section |
InomAir | kA | Rated Current (in air) |
Ithr | kA | Rated Short-Time (1s) Current (Conductor) |
frnom | Hz | Nominal Frequency |
lcost | USD/km | Line type cost |
rnline | Ohm/km | AC-Resistance Rn' |
xnline | Ohm/km | Reactance Xn' |
bnline | uS/km | Susceptance Bn' |
rpnline | Ohm/km | AC-Resistance Rpn' |
xpnline | Ohm/km | Reactance Xpn' |
bpnline | uS/km | Susceptance Bpn' |
side_b | mm | Height (b) |
side_d | mm | Width (d) |
appr_modif | · | Modified |
typemetadata_version | · | Version |
typemetadata_key | · | Type Key |
typemetadata_changeLog | · | Change Log |
desc | · | Description |
doc_id | · | Additional Data |
fcharL1 | ChaPol,ChaVec,ChaMat | L1'(f) |
fcharR1 | ChaPol,ChaVec,ChaMat | R1'(AC)(f) |
fcharC1 | ChaPol,ChaVec,ChaMat | C1'(f) |
fcharL0 | ChaPol,ChaVec,ChaMat | L0'(f) |
fcharR0 | ChaPol,ChaVec,ChaMat | R0'(AC)(f) |
fcharC0 | ChaPol,ChaVec,ChaMat | C0'(f) |
pStoch | StoTyplne | Stochastic model |
cohl_ | · | Cable / OHL |
lnline | mH/km | Inductance Ln' |
cnline | uF/km | Capacitance Cn' |
lpnline | mH/km | Inductance Lpn' |
cpnline | uF/km | Capacitance Cpn' |
carmour | · | Armoured cable |