TypLod attributesPowerFactory General Load Type
Every attribute of the PowerFactory General Load Type (TypLod): 48 input parameters, with units and meaning. Copy a name into GetAttribute or SetAttribute.
What TypLod is
A general load type: how a load's P and Q change with voltage and frequency (the exponents and coefficients of its static model) and its dynamic share.
- Class
TypLod, type class- PowerFactory name
- General Load Type
- Used by
ElmLod- Attributes
- 48 input parameters
Most used TypLod attributes
| Attribute | Unit | Description | Where |
|---|---|---|---|
kpu | · | Exponent e_cP | input data |
kqu | · | Exponent e_cQ | input data |
aP | · | Coefficient aP | input data |
bP | · | Coefficient bP | input data |
systp | · | System type | input data |
loddy | % | Dynamic | input data |
Read and write TypLod 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("*.TypLod", 1)
for typ in types:
print(typ.loc_name, typ.GetAttribute("kpu")) # Exponent e_cP
# An element points to its type with typ_id; t: reads a type value through the element.
for load in app.GetCalcRelevantObjects("*.ElmLod"):
print(load.loc_name, load.typ_id.loc_name, load.GetAttribute("t:kpu"))
types[0].SetAttribute("kpu", 2) # voltage exponent e_cP of P: 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.
TypLod 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 |
manuf | · | Manufacturer |
appr_modby | · | Modified by |
lodst | % | Static (const Z) |
systp | · | System type |
emtRLCSig | · | Variable resistance, inductance and capacitance via input signals |
appr_status | · | Status |
i_nln | · | Model dependence |
i_pure | · | Load model |
i_csrc | · | Load model |
kpf | %/% | Coefficient kpf |
tpf | s | P frequency dep. |
tpu | s | P voltage dep. |
kqf | %/% | Coefficient kqf |
tqf | s | Q frequency dep. |
tqu | s | Q voltage dep. |
t1 | s | Delay |
pgrd | % | QL/QC |
pfc | % | Power factor correction |
kpu0 | · | Exponent e_aP |
kpu1 | · | Exponent e_bP |
kpu | · | Exponent e_cP |
kqu0 | · | Exponent e_aQ |
kqu1 | · | Exponent e_bQ |
kqu | · | Exponent e_cQ |
aP | · | Coefficient aP |
bP | · | Coefficient bP |
aQ | · | Coefficient aQ |
bQ | · | Coefficient bQ |
udmax | p.u. | Upper |
udmin | p.u. | Lower |
Prp | % | Static portion |
appr_modif | · | Modified |
typemetadata_version | · | Version |
typemetadata_key | · | Type Key |
typemetadata_changeLog | · | Change Log |
desc | · | Description |
doc_id | · | Additional Data |
loddy | % | Dynamic |
qcq | % | QC/Q |
phtech | · | Technology |
cP | · | Coefficient cP |
cQ | · | Coefficient cQ |
clodst | % | Static (const z) |
cloddy | % | Dynamic |