TypLodlv attributesPowerFactory LV Load Type

Every attribute of the PowerFactory LV Load Type (TypLodlv): 26 input parameters, with units and meaning. Copy a name into GetAttribute or SetAttribute.

What TypLodlv is

A low-voltage load type: the data shared by low-voltage loads.

Class
TypLodlv, type class
PowerFactory name
LV Load Type
Used by
ElmLodlv
Attributes
26 input parameters

Most used TypLodlv attributes

AttributeUnitDescriptionWhere
SmaxkVAMax. Load per Customermaximum load per customerinput data

Read and write TypLodlv 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("*.TypLodlv", 1)
for typ in types:
    print(typ.loc_name, typ.GetAttribute("Smax")) # Max. Load per Customer, kVA

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

types[0].SetAttribute("Smax", 5)              # maximum load per customer 5 kVA: 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.

TypLodlv 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
manuf·Manufacturer
appr_modby·Modified by
iLodTyp·Load model
appr_status·Status
SmaxkVAMax. Load per Customer
cosphi·Power Factor
ginf·Coincidence Factor ginf
aP·Coefficient aP
bP·Coefficient bP
aQ·Coefficient aQ
bQ·Coefficient bQ
eP·Exponent eP
eQ·Exponent eQ
appr_modif·Modified
typemetadata_version·Version
typemetadata_key·Type Key
typemetadata_changeLog·Change Log
desc·Description
pCoincDef·Coincidence definitionObject: IntCoincdef
doc_id·Additional Data
cP·Coefficient cP
cQ·Coefficient cQ

Related

← TypLod General Load Type · TypSwitch Switch Type →