ImpedanceRecords Module

Inheritance diagram of ImpedanceRecords

This module contains all Harmonic Impedance record information for passing data to and from the ERACS Harmonic Impedance calculation engine.

class THZSetUpData

The setup object for Harmonic Impedance. This class contains the record structure which is passed to the Harmonic Impedance module.

Inherits

Global.TEracsEngineInterfaceSetupData.

StudyTitle

Harmonic Impedance study title.

Type

String.

Writable

True.

StudyType

Harmonic Impedance study type (harmonic survey? 0 = No, 1 = Yes).

Type

Integer.

Writable

True.

HarmOff

Harmonic Offset for study.

Type

Float.

Writable

True.

HarmMin

Lowest harmonic.

Type

Float.

Writable

True.

HarmMax

Highest harmonic.

Type

Float.

Writable

True.

HarmInt

Harmonic intervals.

Type

Float.

Writable

True.

OutputUnits

The output units of the Harmonic Impedance study.

Type

Integer.

Writable

True.

InjectionBus

Sequence number of the Injection busbar.

Type

Integer.

Writable

True.

SetDefaults()

Sets the default values for all setup data for the Harmonic Impedance study, this sets the values in the underlying ctypes record structure.

Raises

TEracsDataError – If missing keys.

class TImpedanceProfileData

The impedance profile data object for Grids and Shunts. This class contains the record structure which is passed to the Harmonic Impedance module, and exposes all relevant properties.

Inherits

Global.TEracsEngineInterfaceData.

pSeqNum

Profile parent sequence number (element the impedance profile is associated with).

Type

String.

Writable

True.

pTypeCode

Profile parent type code (element the impedance profile is associated with).

Type

Integer.

Writable

True.

ConvInd

Impedance conversion indicator, possible values are… (0 = Ohms, 1 = pu on system base, 2 = percentage on system base).

Type

Integer.

Writable

True.

NumValues

Number of harmonic impedance profiles.

Type

Integer.

Writable

True.

Profile

The profiles associated with this impedance profile record.

Type

Array.

Writeable

False.

SetDefaults()

Sets the default values for the harmonic impedance profile data.

LoadFromDict(AParentDict)

An impedance profile dictionary is passed in and desired key-value pairs are used to populate certain data fields within the record.

Parameters

AParentDict (dict) – The parent dictionary which contains seqnum and typecode, as well as embedded impedance profile data.

Returns

None

Raises

TEracsDataError – If the winding dictionary is missing required keys.

class THZSummaryResults

Summary results for the Harmonic Impedance study.

Inherits

Global.TEracsEngineInterfaceResult.

class THZBusbarResult

Busbar results for the Harmonic Impedance study.

Inherits

Global.TEracsEngineInterfaceResultElement.