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.ActionCodesType
  • ActionCodes_none: 0
  • ActionCodes_Open: 1
  • ActionCodes_Close: 2
  • ActionCodes_Reset: 3
  • ActionCodes_Lock: 4
  • ActionCodes_Unlock: 5
  • ActionCodes_TapUp: 6
  • ActionCodes_TapDown: 7
source
OpenDSSDirect.Lib.DSSMessageTypeType
  • DSSMessageType_Error: -1
  • DSSMessageType_General: 0
  • DSSMessageType_Info: 1
  • DSSMessageType_Help: 2
  • DSSMessageType_Progress: 3
  • DSSMessageType_ProgressCaption: 4
  • DSSMessageType_ProgressFormCaption: 5
  • DSSMessageType_ProgressPercent: 6
  • DSSMessageType_FireOffEditor: 7
  • DSSMessageType_ProgressSummary: 8
  • DSSMessageType_ReportOutput: 9
  • DSSMessageType_ShowOutput: 10
  • DSSMessageType_ShowTreeView: 11
source
OpenDSSDirect.Lib.LineUnitsType
  • LineUnits_none: 0
  • LineUnits_Miles: 1
  • LineUnits_kFt: 2
  • LineUnits_km: 3
  • LineUnits_meter: 4
  • LineUnits_ft: 5
  • LineUnits_inch: 6
  • LineUnits_cm: 7
  • LineUnits_mm: 8
  • LineUnits_Maxnum: 9
source
OpenDSSDirect.Lib.LoadModelsType
  • LoadModels_ConstPQ: 1
  • LoadModels_ConstZ: 2
  • LoadModels_Motor: 3
  • LoadModels_CVR: 4
  • LoadModels_ConstI: 5
  • LoadModels_ConstPFixedQ: 6
  • LoadModels_ConstPFixedX: 7
  • LoadModels_ZIPV: 8
source
OpenDSSDirect.Lib.MonitorModesType
  • MonitorModes_VI: 0
  • MonitorModes_Power: 1
  • MonitorModes_Taps: 2
  • MonitorModes_States: 3
  • MonitorModes_Sequence: 16
  • MonitorModes_Magnitude: 32
  • MonitorModes_PosOnly: 64
source
OpenDSSDirect.Lib.SolveModesType
  • SolveModes_SnapShot: 0
  • SolveModes_Daily: 1
  • SolveModes_Yearly: 2
  • SolveModes_Monte1: 3
  • SolveModes_LD1: 4
  • SolveModes_PeakDay: 5
  • SolveModes_DutyCycle: 6
  • SolveModes_Direct: 7
  • SolveModes_MonteFault: 8
  • SolveModes_FaultStudy: 9
  • SolveModes_Monte2: 10
  • SolveModes_Monte3: 11
  • SolveModes_LD2: 12
  • SolveModes_AutoAdd: 13
  • SolveModes_Dynamic: 14
  • SolveModes_Harmonic: 15
source

<!– TODO: DSSCompatFlags, DSSJSONFlags, SolverOptions –>