TypGeo attributesPowerFactory Tower Geometry Type

Every attribute of the PowerFactory Tower Geometry Type (TypGeo): 19 input parameters, with units and meaning. Copy a name into GetAttribute or SetAttribute.

What TypGeo is

A tower geometry type: the coordinates of the conductors on a tower, without the conductor data.

Class
TypGeo, type class
PowerFactory name
Tower Geometry Type
Attributes
19 input parameters

Most used TypGeo attributes

AttributeUnitDescriptionWhere
xy_ccmCoordinates of Line Circuitscircuit coordinatesinput data
xy_emCoordinates Earth Wiresearth wire coordinatesinput data

Read and write TypGeo 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("*.TypGeo", 1)
for typ in types:
    print(typ.loc_name, typ.GetAttribute("xy_cc")) # Coordinates of Line Circuits, m

types[0].SetAttribute("loc_name", "Geometry A") # rename the type
  • 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.

TypGeo 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
appr_status·Status
appr_modif·Modified
xy_emCoordinates Earth Wires
typemetadata_version·Version
typemetadata_key·Type Key
typemetadata_changeLog·Change Log
desc·Description
desc_c·Description
doc_id·Additional Data
nlcir·Number of Line Circuits
nlear·Number of Earth Wires
nphas·Num. of Phases
xy_ccmCoordinates of Line Circuits

Related

← TypAsm Asynchronous Machine Type - old · TypLne Line Type →