Class TDSSContext
Unit
Declaration
type TDSSContext = class(TObject)
Description
Hierarchy
- TObject
- TDSSContext
Overview
Fields
Methods
function get_SolutionAbort(): Boolean; |
|
procedure set_SolutionAbort(val: Boolean); |
|
constructor Create(_Parent: TDSSContext = nil; _IsPrime: Boolean = False); |
|
destructor Destroy; override; |
|
function GetPrime(): TDSSContext; |
|
function CurrentDSSDir(): String; |
|
procedure SetCurrentDSSDir(dir: String); |
|
function GetROFileStream(fn: String): TStream; |
|
procedure NewDSSClass(Value: Pointer); |
Properties
property SolutionAbort: Boolean READ get_SolutionAbort WRITE set_SolutionAbort; |
Description
Fields
FLoadShapeClass: TDSSClass; |
|
FTShapeClass: TDSSClass; |
|
FPriceShapeClass: TDSSClass; |
|
FXYCurveClass: TDSSClass; |
|
FGrowthShapeClass: TDSSClass; |
|
FSpectrumClass: TDSSClass; |
|
FEnergyMeterClass: TDSSClass; |
|
FMonitorClass: TDSSClass; |
|
FSensorClass: TDSSClass; |
|
FTCC_CurveClass: TDSSClass; |
|
FWireDataClass: TDSSClass; |
|
FCNDataClass: TDSSClass; |
|
FTSDataClass: TDSSClass; |
|
FLineGeometryClass: TDSSClass; |
|
FLineSpacingClass: TDSSClass; |
|
FLineCodeClass: TDSSClass; |
|
FStorageClass: TDSSClass; |
|
FStorage2Class: TDSSClass; |
|
FPVSystemClass: TDSSClass; |
|
FPVSystem2Class: TDSSClass; |
|
FInvControlClass: TDSSClass; |
|
FInvControl2Class: TDSSClass; |
|
FExpControlClass: TDSSClass; |
|
FLineClass: TDSSClass; |
|
FVSourceClass: TDSSClass; |
|
FISourceClass: TDSSClass; |
|
FVCSSClass: TDSSClass; |
|
FLoadClass: TDSSClass; |
|
FTransformerClass: TDSSClass; |
|
FRegControlClass: TDSSClass; |
|
FCapacitorClass: TDSSClass; |
|
FReactorClass: TDSSClass; |
|
FCapControlClass: TDSSClass; |
|
FFaultClass: TDSSClass; |
|
FGeneratorClass: TDSSClass; |
|
FGenDispatcherClass: TDSSClass; |
|
FStorageControllerClass: TDSSClass; |
|
FStorageController2Class: TDSSClass; |
|
FRelayClass: TDSSClass; |
|
FRecloserClass: TDSSClass; |
|
FFuseClass: TDSSClass; |
|
FSwtControlClass: TDSSClass; |
|
FUPFCClass: TDSSClass; |
|
FUPFCControlClass: TDSSClass; |
|
FESPVLControlClass: TDSSClass; |
|
FIndMach012Class: TDSSClass; |
|
FGICsourceClass: TDSSClass; |
|
FAutoTransClass: TDSSClass; |
|
FVSConverterClass: TDSSClass; |
|
FXfmrCodeClass: TDSSClass; |
|
FGICLineClass: TDSSClass; |
|
FGICTransformerClass: TDSSClass; |
|
FActiveFeederObj: TObject; |
|
FActiveSolutionObj: TObject; |
|
FActiveCapControlObj: TObject; |
|
FActiveESPVLControlObj: TObject; |
|
FActiveExpControlObj: TObject; |
|
FActiveGenDispatcherObj: TObject; |
|
FActiveInvControlObj: TObject; |
|
FActiveInvControl2Obj: TObject; |
|
FActiveRecloserObj: TObject; |
|
FActiveRegControlObj: TObject; |
|
FActiveRelayObj: TObject; |
|
FActiveStorageControllerObj: TObject; |
|
FActiveStorageController2Obj: TObject; |
|
FActiveSwtControlObj: TObject; |
|
FActiveUPFCControlObj: TObject; |
|
FActiveConductorDataObj: TObject; |
|
FActiveVVCControlObj: TObject; |
FActiveGrowthShapeObj: TObject; |
|
FActiveLineCodeObj: TObject; |
|
FActiveLineGeometryObj: TObject; |
|
FActiveLineSpacingObj: TObject; |
|
FActiveLoadShapeObj: TObject; |
|
FActivePriceShapeObj: TObject; |
|
FActiveSpectrumObj: TObject; |
|
FActiveTCC_CurveObj: TObject; |
|
FActiveTShapeObj: TObject; |
|
FActiveXfmrCodeObj: TObject; |
|
FActiveXYcurveObj: TObject; |
|
FActiveEnergyMeterObj: TObject; |
|
FActiveMonitorObj: TObject; |
|
FActiveFMonitorObj: TObject; |
FActiveSensorObj: TObject; |
|
FActiveEquivalentObj: TObject; |
|
FActiveGeneratorObj: TObject; |
|
FActiveGICLineObj: TObject; |
|
FActiveGeneric5Obj: TObject; |
FActiveGICsourceObj: TObject; |
|
FActiveIndMach012Obj: TObject; |
|
FActiveIsourceObj: TObject; |
|
FActiveLoadObj: TObject; |
|
FActivePVsystemObj: TObject; |
|
FActivePVsystem2Obj: TObject; |
|
FActiveStorageObj: TObject; |
|
FActiveStorage2Obj: TObject; |
|
FActiveUPFCObj: TObject; |
|
FActiveVCCSObj: TObject; |
|
FActiveVSConverterObj: TObject; |
|
FActiveVsourceObj: TObject; |
|
FActiveAutoTransObj: TObject; |
|
FActiveCapacitorObj: TObject; |
|
FActiveFaultObj: TObject; |
|
FActiveFuseObj: TObject; |
|
FActiveGICTransformerObj: TObject; |
|
FActiveLineObj: TObject; |
|
FActiveReactorObj: TObject; |
|
FActiveTransfObj: TObject; |
|
FDSSExecutive: TObject; |
|
FCIMExporter: TObject; |
|
FActiveCircuit: TNamedObject; |
|
FActiveDSSObject:TNamedObject; |
|
FActorThread: TThread; |
|
CurrentDSSDir_internal: String; |
|
TODO: Currently only for solution, extend later (send redirect command to the other thread, etc.) |
FSolutionAbort: LongInt; |
|
Parent: TDSSContext; |
|
DSSPlotCallback: dss_callback_plot_t; |
|
DSSMessageCallback: dss_callback_message_t; |
|
Children: array of TDSSContext; |
|
Parallel Machine state |
ActiveChild: TDSSContext; |
|
ActiveChildIndex: Integer; |
|
CPU: Integer; |
|
IsSolveAll: Boolean; |
|
AllActors: Boolean; |
|
Parallel_enabled: Boolean; |
|
ConcatenateReports: Boolean; |
|
ConcatenateReportsLock: TCriticalSection; |
|
ActorPctProgress: Integer; |
|
ActorStatus: TActorStatus; |
|
ThreadStatusEvent: TEvent; |
|
_Name: String; |
|
GR_DataPtr_PPAnsiChar: PPAnsiChar; |
|
C-API pointer data (GR mode) |
GR_DataPtr_PDouble: PDouble; |
|
GR_DataPtr_PInteger: PInteger; |
|
GR_DataPtr_PByte: PByte; |
|
GR_Counts_PPAnsiChar: Array[0..3] of TAPISize; |
|
GR_Counts_PDouble: Array[0..3] of TAPISize; |
|
GR_Counts_PInteger: Array[0..3] of TAPISize; |
|
GR_Counts_PByte: Array[0..3] of TAPISize; |
|
ClassNames: TClassNamesHashListType; |
|
Original global state |
DSSClassList:TDSSPointerList; |
|
Circuits:TDSSPointerList; |
|
pointers to the base class types |
DSSObjs:TDSSPointerList; |
|
NumIntrinsicClasses: Integer; |
|
NumUserClasses: Integer; |
|
ActiveDSSClass: TDSSClass; |
|
AuxParser: TDSSParser; |
|
PropParser: TDSSParser; |
|
Auxiliary parser for use by anybody for reparsing values |
Parser: TDSSParser; |
|
Parser dedicated for parsing in SetObjPropertyValue |
ParserVars: TParserVar; |
|
LastClassReferenced:Integer; |
|
NumCircuits:Integer; |
|
index of class of last thing edited |
MaxAllocationIterations:Integer; |
|
ErrorPending:Boolean; |
|
CmdResult:Integer; |
|
ErrorNumber:Integer; |
|
LastErrorMessage:String; |
|
DefaultEarthModel:Integer; |
|
ActiveEarthModel:Integer; |
|
LastFileCompiled:String; |
|
LastCommandWasCompile:Boolean; |
|
InShowResults:Boolean; |
|
Redirect_Abort:Boolean; |
|
In_Redirect:Boolean; |
|
DIFilesAreOpen:Boolean; |
|
AutoShowExport:Boolean; |
|
SolutionWasAttempted:Boolean; |
|
GlobalHelpString:String; |
|
GlobalPropertyValue:String; |
|
GlobalResult:String; |
|
LastResultFile:String; |
|
LogQueries:Boolean; |
|
QueryFirstTime:Boolean; |
|
QueryLogFileName:String; |
|
QueryLogFile:TFileStream; |
|
DataDirectory:String; |
|
OutputDirectory:String; |
|
used to be DSSDataDirectory |
CircuitName_:String; |
|
output files go here, same as DataDirectory if writable |
DefaultBaseFreq:Double; |
|
Name of Circuit with a "_" appended |
DaisySize:Double; |
|
EventStrings: TStringList; |
|
SavedFileList:TStringList; |
|
ErrorStrings: TStringList; |
|
IncMat_Ordered: Boolean; |
|
SeasonalRating: Boolean; |
|
***********************Seasonal QSTS variables******************************** |
SeasonSignal: String; |
|
Tells the energy meter if the seasonal rating feature is active |
LastCmdLine: String; |
|
Stores the name of the signal for selecting the rating dynamically |
RedirFile: String; |
|
always has last command processed |
IsPrime: Boolean; |
|
FPropIndex: Integer; |
|
Indicates whether this instance is the first/main DSS instance For external APIs |
FPropClass: TDSSClass; |
|
tempBuffer: AnsiString; |
|
Previously C-API or COM globals |
ComParser: TDSSParser; |
|
CAPI_Utils.pas |
ReduceEditString: String; |
|
CAPI_Parser.pas |
EnergyMeterName: String; |
|
CAPI_ReduceCkt.pas |
FirstPDelement: String; |
|
CAPI_ReduceCkt.pas |
FControlProxyObj: TObject; |
|
Full name – CAPI_ReduceCkt.pas |
ActiveAction: pAction; |
|
CAPI_CtrlQueue.pas |
Enums: TObjectList; |
|
CAPI_CtrlQueue.pas |
UnitsEnum: TDSSENum; |
|
ScanTypeEnum: TDSSENum; |
|
SequenceEnum: TDSSENum; |
|
ConnectionEnum: TDSSENum; |
|
LeadLagEnum: TDSSENum; |
|
CoreTypeEnum: TDSSENum; |
|
LineTypeEnum: TDSSENum; |
|
EarthModelEnum: TDSSENum; |
|
DefaultLoadModelEnum: TDSSENum; |
|
RandomModeEnum: TDSSENum; |
|
ControlModeEnum: TDSSENum; |
|
SolveModeEnum: TDSSENum; |
|
SolveAlgEnum: TDSSENum; |
|
CktModelEnum: TDSSENum; |
|
AddTypeEnum: TDSSENum; |
|
LoadShapeClassEnum: TDSSENum; |
|
MonPhaseEnum: TDSSENum; |
|
unzipper: TObject; |
|
ZIP file state |
inZipPath: String; |
|
Methods
function get_SolutionAbort(): Boolean; |
|
changed to LongInt to enable InterLockedIncrement and others |
procedure set_SolutionAbort(val: Boolean); |
|
constructor Create(_Parent: TDSSContext = nil; _IsPrime: Boolean = False); |
|
destructor Destroy; override; |
|
function GetPrime(): TDSSContext; |
|
function CurrentDSSDir(): String; |
|
procedure SetCurrentDSSDir(dir: String); |
|
function GetROFileStream(fn: String): TStream; |
|
procedure NewDSSClass(Value: Pointer); |
|
Properties
property SolutionAbort: Boolean READ get_SolutionAbort WRITE set_SolutionAbort; |
|
Generated by PasDoc 0.16.0.