Class TPVsystemUserModel
Unit
Declaration
type TPVsystemUserModel = class(TObject)
Description
Hierarchy
- TObject
- TPVsystemUserModel
Overview
Fields
DSS: TDSSContext; |
|
FEdit: Procedure(s:pAnsichar; Maxlen:Cardinal); Stdcall; |
|
FInit: procedure(V, I:pComplexArray); Stdcall; |
|
FCalc: Procedure(V, I:pComplexArray); stdcall; |
|
FIntegrate: Procedure; stdcall; |
|
FUpdateModel: Procedure; Stdcall; |
|
FSave: Procedure; Stdcall; |
|
FRestore: Procedure; Stdcall; |
|
FNumVars: Function:Integer; Stdcall; |
|
FGetAllVars: Procedure(Vars:pDoubleArray); StdCall; |
|
FGetVariable: Function(var I:Integer):Double; StdCall; |
|
FSetVariable: Procedure(var i:Integer; var value:Double); StdCall; |
|
FGetVarName: Procedure(var VarNum:Integer; VarName:pAnsichar; maxlen:Cardinal); StdCall; |
Methods
Procedure Select; |
|
Procedure Integrate; |
|
constructor Create(dssContext: TDSSContext); |
|
destructor Destroy; override; |
Properties
property Name: String read Fname write Set_Name; |
|
property Edit: String write Set_Edit; |
|
property Exists: Boolean read Get_Exists; |
Description
Fields
DSS: TDSSContext; |
|
FEdit: Procedure(s:pAnsichar; Maxlen:Cardinal); Stdcall; |
|
FInit: procedure(V, I:pComplexArray); Stdcall; |
|
send string to user model to handle |
FCalc: Procedure(V, I:pComplexArray); stdcall; |
|
For dynamics |
FIntegrate: Procedure; stdcall; |
|
returns Currents or sets Pshaft |
FUpdateModel: Procedure; Stdcall; |
|
Integrates any state vars |
FSave: Procedure; Stdcall; |
|
Called when props of generator updated Save and restore data |
FRestore: Procedure; Stdcall; |
|
FNumVars: Function:Integer; Stdcall; |
|
Monitoring functions |
FGetAllVars: Procedure(Vars:pDoubleArray); StdCall; |
|
FGetVariable: Function(var I:Integer):Double; StdCall; |
|
Get all vars |
FSetVariable: Procedure(var i:Integer; var value:Double); StdCall; |
|
Get a particular var |
FGetVarName: Procedure(var VarNum:Integer; VarName:pAnsichar; maxlen:Cardinal); StdCall; |
|
Methods
Procedure Select; |
|
Procedure Integrate; |
|
constructor Create(dssContext: TDSSContext); |
|
destructor Destroy; override; |
|
Properties
property Name: String read Fname write Set_Name; |
|
this property loads library (if needed), sets the procedure variables, and makes a new instance old reference is freed first |
property Edit: String write Set_Edit; |
|
property Exists: Boolean read Get_Exists; |
|
Generated by PasDoc 0.16.0.