DSS C-API and dss.hpp
DSS C-API and dss.hpp expose a customized and extended implementation of OpenDSS to C and C++.
dss::classic::IReclosers Class Reference
Inheritance diagram for dss::classic::IReclosers:
[legend]
Collaboration diagram for dss::classic::IReclosers:
[legend]

Public Member Functions

 IReclosers (dss::APIUtil *util)
 
strings AllNames ()
 Array of strings with all Recloser names in the circuit.
 
int32_t Count ()
 Number of Recloser objects in active circuit.
 
int32_t First ()
 Sets the first Recloser active. More...
 
string Name ()
 Get the name of the current active Recloser.
 
IReclosersName (const char *value)
 Sets the active Recloser by Name.
 
IReclosersName (const string &value)
 
int32_t Next ()
 Sets the next Recloser active. More...
 
int32_t idx ()
 Get active Recloser by index; index is 1-based: 1..count.
 
void idx (int32_t value)
 Get active Recloser by index; index is 1-based: 1..count.
 
void Close ()
 
void Open ()
 
double GroundInst ()
 Ground (3I0) instantaneous trip setting - curve multipler or actual amps.
 
IReclosersGroundInst (double value)
 
double GroundTrip ()
 Ground (3I0) trip multiplier or actual amps.
 
IReclosersGroundTrip (double value)
 
string MonitoredObj ()
 Full name of object this Recloser to be monitored.
 
IReclosersMonitoredObj (const char *value)
 
IReclosersMonitoredObj (const string &value)
 
int32_t MonitoredTerm ()
 Terminal number of Monitored object for the Recloser.
 
IReclosersMonitoredTerm (int32_t value)
 
int32_t NumFast ()
 Number of fast shots.
 
IReclosersNumFast (int32_t value)
 
double PhaseInst ()
 Phase instantaneous curve multipler or actual amps.
 
IReclosersPhaseInst (double value)
 
double PhaseTrip ()
 Phase trip curve multiplier or actual amps.
 
IReclosersPhaseTrip (double value)
 
template<typename VectorT = Eigen::Matrix<double, Eigen::Dynamic, 1>>
VectorT RecloseIntervals ()
 Array of Doubles: reclose intervals, s, between shots.
 
int32_t Shots ()
 Number of shots to lockout (fast + delayed)
 
IReclosersShots (int32_t value)
 
string SwitchedObj ()
 Full name of the circuit element that is being switched by the Recloser.
 
IReclosersSwitchedObj (const char *value)
 
IReclosersSwitchedObj (const string &value)
 
int32_t SwitchedTerm ()
 Terminal number of the controlled device being switched by the Recloser.
 
IReclosersSwitchedTerm (int32_t value)
 
void Reset ()
 Reset recloser to normal state. More...
 
int32_t State ()
 Get/Set present state of recloser. More...
 
IReclosersState (int32_t value)
 
int32_t NormalState ()
 Get/set normal state (ActionCodes.Open=1, ActionCodes.Close=2) of the recloser.
 
IReclosersNormalState (int32_t value)
 
- Public Member Functions inherited from dss::ContextState
 ContextState (APIUtil *util)
 

Additional Inherited Members

- Public Attributes inherited from dss::ContextState
void * ctx
 Pointer to the DSSContext for easy access.
 
APIUtilapi_util
 API utility functions.
 

Member Function Documentation

◆ First()

int32_t dss::classic::IReclosers::First ( )
inline

Sets the first Recloser active.

Returns 0 if no more.

◆ Next()

int32_t dss::classic::IReclosers::Next ( )
inline

Sets the next Recloser active.

Returns 0 if no more.

◆ Reset()

void dss::classic::IReclosers::Reset ( )
inline

Reset recloser to normal state.

If open, lock out the recloser. If closed, resets recloser to first operation.

◆ State()

int32_t dss::classic::IReclosers::State ( )
inline

Get/Set present state of recloser.

If set to open (ActionCodes.Open=1), open recloser's controlled element and lock out the recloser. If set to close (ActionCodes.Close=2), close recloser's controlled element and resets recloser to first operation.


The documentation for this class was generated from the following file: