Class TTransfObj

Unit

Declaration

type TTransfObj = class(TPDElement)

Description

No description available, ancestor TPDElement description follows
No description available, ancestor TDSSCktElement description follows
No description available, ancestor TDSSObject description follows
No description available, ancestor TNamedObject description follows

this is a GUID compliant to RFC 4122, v4

Hierarchy

Overview

Fields

Public DeltaDirection: Integer;
Public XRConst: LongBool;
Protected MaxWindings: Integer;
Protected TermRef: pIntegerArray;
Protected Zbase: Double;
Protected XSC: pDoubleArray;
Protected ZB: TCMatrix;
Protected Y_1Volt: TCMatrix;
Protected Y_Term: TCMatrix;
Protected Y_1Volt_NL: TCMatrix;
Protected Y_Term_NL: TCMatrix;
Protected Y_Terminal_Freqmult: Double;
Protected HVLeadsLV: LongBool;
Protected XHLChanged: Boolean;
Protected kVARatings: Array Of Double;
Public NumWindings: Integer;
Public ActiveWinding: Integer;
Public IsSubstation: LongBool;
Public SubstationName: String;
Public Winding: pWindingArray;
Public XfmrBank: String;
Public XfmrCodeObj: TDSSObject;
Public CoreType: Integer;
Public n_thermal: Double;
Public m_thermal: Double;
Public XHL: Double;
Public XHT: Double;
Public XLT: Double;
Public NormMaxHkVA: Double;
Public EmergMaxHkVA: Double;
Public ThermalTimeConst: Double;
Public FLrise: Double;
Public HSrise: Double;
Public pctLoadLoss: Double;
Public pctNoLoadLoss: Double;
Public ppm_FloatFactor: Double;
Public pctImag: Double;
Public VABase: Double;

Methods

Public function Get_PresentTap(i: Integer): Double;
Public procedure Set_PresentTap(i: Integer; const Value: Double);
Public function Get_MinTap(i: Integer): Double;
Public function Get_MaxTap(i: Integer): Double;
Public function Get_TapIncrement(i: Integer): Double;
Public function Get_BaseVoltage(i: Integer): Double;
Public function Get_BasekVLL(i: Integer): Double;
Public function Get_NumTaps(i: Integer): Integer;
Public function Get_WdgResistance(i: Integer): Double;
Public function Get_WdgConnection(i: Integer): Integer;
Public function Get_WdgkVA(i: Integer): Double;
Public function Get_Xsc(i: Integer): Double;
Public function Get_WdgRneutral(i: Integer): Double;
Public function Get_WdgXneutral(i: Integer): Double;
Public procedure CalcY_Terminal(FreqMult: Double);
Public procedure GICBuildYTerminal;
Public procedure BuildYPrimComponent(YPrim_Component, Y_Terminal: TCMatrix);
Public procedure AddNeutralToY(FreqMultiplier: Double);
Public procedure FetchXfmrCode();
Protected procedure SetTermRef;
Public constructor Create(ParClass: TDSSClass; const TransfName: String);
Public destructor Destroy; OVERRIDE;
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
Public procedure MakeLike(OtherPtr: Pointer); override;
Public procedure SetNumWindings(N: Integer);
Public procedure RecalcElementData; OVERRIDE;
Public procedure CalcYPrim; OVERRIDE;
Public procedure GetLosses(var TotalLosses, LoadLosses, NoLoadLosses: Complex); OVERRIDE;
Public function RotatePhases(iPhs: Integer): Integer;
Public procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE;
Public procedure SaveWrite(F: TFileStream); OVERRIDE;
Public procedure GetWindingVoltages(iWind: Integer; VBuffer: pComplexArray);
Public procedure GetAllWindingCurrents(CurrBuffer: pComplexArray);
Public procedure MakePosSequence(); OVERRIDE;

Properties

Public property PresentTap[i:Integer]: Double READ Get_PresentTap WRITE Set_PresentTap;
Public property Mintap[i:Integer]: Double READ Get_MinTap;
Public property Maxtap[i:Integer]: Double READ Get_MaxTap;
Public property TapIncrement[i:Integer]: Double READ Get_TapIncrement;
Public property BaseVoltage[i:Integer]: Double READ Get_BaseVoltage;
Public property BasekVLL[i:Integer]: Double READ Get_BasekVLL;
Public property NumTaps[i:Integer]: Integer READ Get_NumTaps;
Public property WdgResistance[i:Integer]: Double READ Get_WdgResistance;
Public property WdgkVA[i:Integer]: Double READ Get_WdgkVA;
Public property WdgConnection[i:Integer]: Integer READ Get_WdgConnection;
Public property WdgRneutral[i:Integer]: Double READ Get_WdgRneutral;
Public property WdgXneutral[i:Integer]: Double READ Get_WdgXneutral;
Public property XscVal[i:Integer]: Double READ Get_Xsc;

Description

Fields

Public DeltaDirection: Integer;
 
Public XRConst: LongBool;
 
Protected MaxWindings: Integer;
 
Protected TermRef: pIntegerArray;
 
Protected Zbase: Double;

keeps track of terminal connections

Protected XSC: pDoubleArray;
 
Protected ZB: TCMatrix;

per unit SC measurements

Protected Y_1Volt: TCMatrix;
 
Protected Y_Term: TCMatrix;
 
Protected Y_1Volt_NL: TCMatrix;
 
Protected Y_Term_NL: TCMatrix;

No Load Y's

Protected Y_Terminal_Freqmult: Double;
 
Protected HVLeadsLV: LongBool;
 
Protected XHLChanged: Boolean;
 
Protected kVARatings: Array Of Double;
 
Public NumWindings: Integer;
 
Public ActiveWinding: Integer;
 
Public IsSubstation: LongBool;

public for COM interface

Public SubstationName: String;
 
Public Winding: pWindingArray;
 
Public XfmrBank: String;
 
Public XfmrCodeObj: TDSSObject;
 
Public CoreType: Integer;
 
Public n_thermal: Double;

0=Shell; 1=1ph; 3-3leg; 5=5-leg

Public m_thermal: Double;
 
Public XHL: Double;

Exponents

Public XHT: Double;

Exponents

Public XLT: Double;

Exponents

Public NormMaxHkVA: Double;

per unit

Public EmergMaxHkVA: Double;
 
Public ThermalTimeConst: Double;
 
Public FLrise: Double;

hr

Public HSrise: Double;
 
Public pctLoadLoss: Double;
 
Public pctNoLoadLoss: Double;
 
Public ppm_FloatFactor: Double;
 
Public pctImag: Double;

parts per million winding float factor

Public VABase: Double;
 

Methods

Public function Get_PresentTap(i: Integer): Double;
 
Public procedure Set_PresentTap(i: Integer; const Value: Double);
 
Public function Get_MinTap(i: Integer): Double;
 
Public function Get_MaxTap(i: Integer): Double;
 
Public function Get_TapIncrement(i: Integer): Double;
 
Public function Get_BaseVoltage(i: Integer): Double;
 
Public function Get_BasekVLL(i: Integer): Double;
 
Public function Get_NumTaps(i: Integer): Integer;

CIM accessors

Public function Get_WdgResistance(i: Integer): Double;
 
Public function Get_WdgConnection(i: Integer): Integer;
 
Public function Get_WdgkVA(i: Integer): Double;
 
Public function Get_Xsc(i: Integer): Double;
 
Public function Get_WdgRneutral(i: Integer): Double;
 
Public function Get_WdgXneutral(i: Integer): Double;
 
Public procedure CalcY_Terminal(FreqMult: Double);
 
Public procedure GICBuildYTerminal;
 
Public procedure BuildYPrimComponent(YPrim_Component, Y_Terminal: TCMatrix);
 
Public procedure AddNeutralToY(FreqMultiplier: Double);
 
Public procedure FetchXfmrCode();
 
Protected procedure SetTermRef;
 
Public constructor Create(ParClass: TDSSClass; const TransfName: String);

FOR impedances

Public destructor Destroy; OVERRIDE;
 
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
 
Public procedure MakeLike(OtherPtr: Pointer); override;
 
Public procedure SetNumWindings(N: Integer);
 
Public procedure RecalcElementData; OVERRIDE;
 
Public procedure CalcYPrim; OVERRIDE;
 
Public procedure GetLosses(var TotalLosses, LoadLosses, NoLoadLosses: Complex); OVERRIDE;

GetLosses override for Transformer

Public function RotatePhases(iPhs: Integer): Integer;
 
Public procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE;
 
Public procedure SaveWrite(F: TFileStream); OVERRIDE;
 
Public procedure GetWindingVoltages(iWind: Integer; VBuffer: pComplexArray);
 
Public procedure GetAllWindingCurrents(CurrBuffer: pComplexArray);
 
Public procedure MakePosSequence(); OVERRIDE;

All Winding currents in complex array

Properties

Public property PresentTap[i:Integer]: Double READ Get_PresentTap WRITE Set_PresentTap;

Make a positive Sequence Model TODO: remove most of these

Public property Mintap[i:Integer]: Double READ Get_MinTap;
 
Public property Maxtap[i:Integer]: Double READ Get_MaxTap;
 
Public property TapIncrement[i:Integer]: Double READ Get_TapIncrement;
 
Public property BaseVoltage[i:Integer]: Double READ Get_BaseVoltage;
 
Public property BasekVLL[i:Integer]: Double READ Get_BasekVLL;

Winding VBase

Public property NumTaps[i:Integer]: Integer READ Get_NumTaps;

Winding VBase

Public property WdgResistance[i:Integer]: Double READ Get_WdgResistance;
 
Public property WdgkVA[i:Integer]: Double READ Get_WdgkVA;
 
Public property WdgConnection[i:Integer]: Integer READ Get_WdgConnection;
 
Public property WdgRneutral[i:Integer]: Double READ Get_WdgRneutral;
 
Public property WdgXneutral[i:Integer]: Double READ Get_WdgXneutral;
 
Public property XscVal[i:Integer]: Double READ Get_Xsc;
 

Generated by PasDoc 0.16.0.