Packed Record TDSSCallBacks
Unit
Declaration
type TDSSCallBacks = packed record
Description
Pointer to callback structure
Overview
Fields
MsgCallBack: Procedure(S : pAnsiChar; Maxlen:UInt32); Stdcall; |
|
GetIntValue: Procedure(var i : Int32); Stdcall; |
|
GetDblValue: Procedure(var x : Double); Stdcall; |
|
GetStrValue: Procedure(s : pAnsiChar; maxlen : UInt32); Stdcall; |
|
LoadParser: Procedure(S : pAnsiChar; maxlen : UInt32); Stdcall; |
|
NextParam: Function(ParamName : pAnsiChar; Maxlen : UInt32):Int32; Stdcall; |
|
DoDSSCommand: Procedure(S : pAnsiChar; Maxlen : UInt32); StdCall; |
|
GetActiveElementBusNames: Procedure(Name1 : pAnsiChar; Len1 : UInt32; Name2 : pAnsiChar; Len2 : UInt32); StdCall; |
|
GetActiveElementVoltages: Procedure(Var NumVoltages : Int32; V : pComplexArray); StdCall; |
|
GetActiveElementCurrents: Procedure(Var NumCurrents : Int32; Curr : pComplexArray); StdCall; |
|
GetActiveElementLosses: Procedure(Var TotalLosses, LoadLosses, NoLoadLosses : Complex); StdCall; |
|
GetActiveElementPower: Procedure(Terminal : Int32; Var TotalPower : Complex); StdCall; |
|
GetActiveElementNumCust: Procedure(Var NumCust, TotalCust : Int32); StdCall; |
|
GetActiveElementNodeRef: Procedure(Maxsize : Int32; NodeReferenceArray : pIntegerArray); StdCall; |
|
GetActiveElementBusRef: Function(Terminal : Int32) : Int32; StdCall; |
|
GetActiveElementTerminalInfo: Procedure(Var NumTerminals, NumConds, NumPhases : Int32); StdCall; |
|
GetPtrToSystemVarray: Procedure(var V : Pointer; var iNumNodes : Int32); StdCall; |
|
GetActiveElementIndex: Function() : Int32; StdCall; |
|
IsActiveElementEnabled: Function() : Boolean; StdCall; |
|
IsBusCoordinateDefined: Function(BusRef : Int32) : Boolean; StdCall; |
|
GetBusCoordinate: Procedure(BusRef : Int32; Var X, Y : Double); StdCall; |
|
GetBuskVBase: Function(BusRef : Int32) : Double; StdCall; |
|
GetBusDistFromMeter: Function(BusRef : Int32) : Double; StdCall; |
|
GetDynamicsStruct: Procedure(var pDynamicsStruct : Pointer); StdCall; |
|
GetStepSize: Function() : Double; StdCall; |
|
GetTimeSec: Function() : Double; StdCall; |
|
GetTimeHr: Function() : Double; StdCall; |
|
GetPublicDataPtr: Procedure(var pPublicData : Pointer; Var PublicDataBytes : Int32); StdCall; |
|
GetActiveElementName: Function(FullName : pAnsiChar; MaxNameLen : UInt32) : Int32; StdCall; |
|
GetActiveElementPtr: Function() : Pointer; StdCall; |
|
ControlQueuePush: Function(Const Hour:Int32; Const Sec:Double; Const Code, ProxyHdl:Int32; Owner:Pointer):Int32; StdCall; |
|
GetResultStr: Procedure(S : pAnsiChar; Maxlen : UInt32); StdCall; |
Description
Fields
MsgCallBack: Procedure(S : pAnsiChar; Maxlen:UInt32); Stdcall; |
|
GetIntValue: Procedure(var i : Int32); Stdcall; |
|
Routines for using DSS Parser. This allows you to write models that accept syntax like other DSS scripts. |
GetDblValue: Procedure(var x : Double); Stdcall; |
|
Get next param as an Int32 |
GetStrValue: Procedure(s : pAnsiChar; maxlen : UInt32); Stdcall; |
|
Get next param as a double |
LoadParser: Procedure(S : pAnsiChar; maxlen : UInt32); Stdcall; |
|
Get next param as a string <= maxlen characters (UInt32 = 32-bit unsigned) caller must allocate space for s (Maxlen chars) |
NextParam: Function(ParamName : pAnsiChar; Maxlen : UInt32):Int32; Stdcall; |
|
Copies a string into a special instance of the DSS parser |
GetActiveElementBusNames: Procedure(Name1 : pAnsiChar; Len1 : UInt32; Name2 : pAnsiChar; Len2 : UInt32); StdCall; |
|
GetActiveElementVoltages: Procedure(Var NumVoltages : Int32; V : pComplexArray); StdCall; |
|
GetActiveElementCurrents: Procedure(Var NumCurrents : Int32; Curr : pComplexArray); StdCall; |
|
GetActiveElementLosses: Procedure(Var TotalLosses, LoadLosses, NoLoadLosses : Complex); StdCall; |
|
GetActiveElementPower: Procedure(Terminal : Int32; Var TotalPower : Complex); StdCall; |
|
GetActiveElementNumCust: Procedure(Var NumCust, TotalCust : Int32); StdCall; |
|
GetActiveElementNodeRef: Procedure(Maxsize : Int32; NodeReferenceArray : pIntegerArray); StdCall; |
|
GetActiveElementBusRef: Function(Terminal : Int32) : Int32; StdCall; |
|
calling program must allocate |
GetActiveElementTerminalInfo: Procedure(Var NumTerminals, NumConds, NumPhases : Int32); StdCall; |
|
GetPtrToSystemVarray: Procedure(var V : Pointer; var iNumNodes : Int32); StdCall; |
|
GetActiveElementIndex: Function() : Int32; StdCall; |
|
Returns pointer to Solution.V and size |
IsActiveElementEnabled: Function() : Boolean; StdCall; |
|
IsBusCoordinateDefined: Function(BusRef : Int32) : Boolean; StdCall; |
|
GetBusCoordinate: Procedure(BusRef : Int32; Var X, Y : Double); StdCall; |
|
GetBuskVBase: Function(BusRef : Int32) : Double; StdCall; |
|
GetBusDistFromMeter: Function(BusRef : Int32) : Double; StdCall; |
|
GetDynamicsStruct: Procedure(var pDynamicsStruct : Pointer); StdCall; |
|
GetStepSize: Function() : Double; StdCall; |
|
Returns pointer to dynamics variables structure |
GetTimeSec: Function() : Double; StdCall; |
|
Return just 'h' from dynamics record |
GetTimeHr: Function() : Double; StdCall; |
|
returns t in sec from top of hour |
GetPublicDataPtr: Procedure(var pPublicData : Pointer; Var PublicDataBytes : Int32); StdCall; |
|
returns time as a double in hours |
GetActiveElementName: Function(FullName : pAnsiChar; MaxNameLen : UInt32) : Int32; StdCall; |
|
GetActiveElementPtr: Function() : Pointer; StdCall; |
|
ControlQueuePush: Function(Const Hour:Int32; Const Sec:Double; Const Code, ProxyHdl:Int32; Owner:Pointer):Int32; StdCall; |
|
Returns pointer to active circuit element |
GetResultStr: Procedure(S : pAnsiChar; Maxlen : UInt32); StdCall; |
|
Generated by PasDoc 0.16.0.