Flag objects
Several flag variables are also defined, each with multiple entries defined.
Here is an example of use of CapControlModes_KVAR
:
CapControls.Mode(Lib.CapControlModes_KVAR)
OpenDSSDirect.Lib.ActionCodes
OpenDSSDirect.Lib.AutoAddTypes
OpenDSSDirect.Lib.CapControlModes
OpenDSSDirect.Lib.CktModels
OpenDSSDirect.Lib.ControlModes
OpenDSSDirect.Lib.DSSMessageType
OpenDSSDirect.Lib.GeneratorStatus
OpenDSSDirect.Lib.LineUnits
OpenDSSDirect.Lib.LoadModels
OpenDSSDirect.Lib.LoadStatus
OpenDSSDirect.Lib.MonitorModes
OpenDSSDirect.Lib.RandomModes
OpenDSSDirect.Lib.SolutionAlgorithms
OpenDSSDirect.Lib.SolutionLoadModels
OpenDSSDirect.Lib.SolveModes
OpenDSSDirect.Lib.StorageStates
OpenDSSDirect.Lib.ActionCodes
— TypeActionCodes_none
: 0ActionCodes_Open
: 1ActionCodes_Close
: 2ActionCodes_Reset
: 3ActionCodes_Lock
: 4ActionCodes_Unlock
: 5ActionCodes_TapUp
: 6ActionCodes_TapDown
: 7
OpenDSSDirect.Lib.AutoAddTypes
— TypeAutoAddTypes_AddGen
: 1AutoAddTypes_AddCap
: 2
OpenDSSDirect.Lib.CapControlModes
— TypeCapControlModes_Current
: 0CapControlModes_Voltage
: 1CapControlModes_KVAR
: 2CapControlModes_Time
: 3CapControlModes_PF
: 4
OpenDSSDirect.Lib.CktModels
— TypeCktModels_Multiphase
: 0CktModels_PositiveSeq
: 1
OpenDSSDirect.Lib.ControlModes
— TypeControlModes_Static
: 0ControlModes_Event
: 1ControlModes_Time
: 2ControlModes_Multirate
: 3ControlModes_ControlOff
: -1
OpenDSSDirect.Lib.DSSMessageType
— TypeDSSMessageType_Error
: -1DSSMessageType_General
: 0DSSMessageType_Info
: 1DSSMessageType_Help
: 2DSSMessageType_Progress
: 3DSSMessageType_ProgressCaption
: 4DSSMessageType_ProgressFormCaption
: 5DSSMessageType_ProgressPercent
: 6DSSMessageType_FireOffEditor
: 7DSSMessageType_ProgressSummary
: 8DSSMessageType_ReportOutput
: 9DSSMessageType_ShowOutput
: 10DSSMessageType_ShowTreeView
: 11
OpenDSSDirect.Lib.GeneratorStatus
— TypeGeneratorStatus_Variable
: 0GeneratorStatus_Fixed
: 1
OpenDSSDirect.Lib.LineUnits
— TypeLineUnits_none
: 0LineUnits_Miles
: 1LineUnits_kFt
: 2LineUnits_km
: 3LineUnits_meter
: 4LineUnits_ft
: 5LineUnits_inch
: 6LineUnits_cm
: 7LineUnits_mm
: 8LineUnits_Maxnum
: 9
OpenDSSDirect.Lib.LoadModels
— TypeLoadModels_ConstPQ
: 1LoadModels_ConstZ
: 2LoadModels_Motor
: 3LoadModels_CVR
: 4LoadModels_ConstI
: 5LoadModels_ConstPFixedQ
: 6LoadModels_ConstPFixedX
: 7LoadModels_ZIPV
: 8
OpenDSSDirect.Lib.LoadStatus
— TypeLoadStatus_Variable
: 0LoadStatus_Fixed
: 1LoadStatus_Exempt
: 2
OpenDSSDirect.Lib.MonitorModes
— TypeMonitorModes_VI
: 0MonitorModes_Power
: 1MonitorModes_Taps
: 2MonitorModes_States
: 3MonitorModes_Sequence
: 16MonitorModes_Magnitude
: 32MonitorModes_PosOnly
: 64
OpenDSSDirect.Lib.RandomModes
— TypeRandomModes_Gaussian
: 1RandomModes_Uniform
: 2RandomModes_LogNormal
: 3
OpenDSSDirect.Lib.SolutionAlgorithms
— TypeSolutionAlgorithms_NormalSolve
: 0SolutionAlgorithms_NewtonSolve
: 1
OpenDSSDirect.Lib.SolutionLoadModels
— TypeSolutionLoadModels_PowerFlow
: 1SolutionLoadModels_Admittance
: 2
OpenDSSDirect.Lib.SolveModes
— TypeSolveModes_SnapShot
: 0SolveModes_Daily
: 1SolveModes_Yearly
: 2SolveModes_Monte1
: 3SolveModes_LD1
: 4SolveModes_PeakDay
: 5SolveModes_DutyCycle
: 6SolveModes_Direct
: 7SolveModes_MonteFault
: 8SolveModes_FaultStudy
: 9SolveModes_Monte2
: 10SolveModes_Monte3
: 11SolveModes_LD2
: 12SolveModes_AutoAdd
: 13SolveModes_Dynamic
: 14SolveModes_Harmonic
: 15
OpenDSSDirect.Lib.StorageStates
— TypeStorageStates_Charging
: -1StorageStates_Idling
: 0StorageStates_Discharging
: 1
<!– TODO: DSSCompatFlags, DSSJSONFlags, SolverOptions –>