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::obj::FuseBatch Class Reference
Inheritance diagram for dss::obj::FuseBatch:
[legend]
Collaboration diagram for dss::obj::FuseBatch:
[legend]

Public Types

typedef Fuse::Properties Properties
 
typedef Fuse BatchElementClass
 
typedef Fuse::FuseAction FuseAction
 
typedef Fuse::FuseState FuseState
 

Public Member Functions

 FuseBatch (APIUtil *util)
 Create a batch of all Fuse elements.
 
 FuseBatch (APIUtil *util, int32_t prop_idx, int32_t prop_value)
 Create a batch of all Fuse elements that match an integer property value.
 
 FuseBatch (APIUtil *util, const char *regexp)
 Create a batch of all Fuse elements that match a regular expression.
 
FuseBatchbegin_edit ()
 
FuseBatchend_edit (int32_t num_edits=1)
 
strings MonitoredObj ()
 Full object name of the circuit element, typically a line, transformer, load, or generator, to which the Fuse is connected. More...
 
FuseBatchMonitoredObj (dss::obj::DSSObj &value)
 
FuseBatchMonitoredObj (const string &value)
 
std::vector< dss::obj::DSSObjMonitoredObj_obj ()
 Full object name of the circuit element, typically a line, transformer, load, or generator, to which the Fuse is connected. More...
 
FuseBatchMonitoredObj_obj (dss::obj::DSSObj &value)
 
BatchInt32ArrayProxy MonitoredTerm ()
 Number of the terminal of the circuit element to which the Fuse is connected. More...
 
FuseBatchMonitoredTerm (int32_t value)
 
template<typename T >
FuseBatchMonitoredTerm (T &value)
 
template<typename T >
FuseBatchMonitoredTerm (typename T::iterator it_begin, typename T::iterator it_end)
 
strings SwitchedObj ()
 Name of circuit element switch that the Fuse controls. More...
 
FuseBatchSwitchedObj (dss::obj::DSSObj &value)
 
FuseBatchSwitchedObj (const string &value)
 
std::vector< dss::obj::DSSObjSwitchedObj_obj ()
 Name of circuit element switch that the Fuse controls. More...
 
FuseBatchSwitchedObj_obj (dss::obj::DSSObj &value)
 
BatchInt32ArrayProxy SwitchedTerm ()
 Number of the terminal of the controlled element in which the switch is controlled by the Fuse. More...
 
FuseBatchSwitchedTerm (int32_t value)
 
template<typename T >
FuseBatchSwitchedTerm (T &value)
 
template<typename T >
FuseBatchSwitchedTerm (typename T::iterator it_begin, typename T::iterator it_end)
 
strings FuseCurve ()
 Name of the TCC Curve object that determines the fuse blowing. More...
 
FuseBatchFuseCurve (dss::obj::TCC_Curve &value)
 
FuseBatchFuseCurve (const string &value)
 
std::vector< dss::obj::TCC_CurveFuseCurve_obj ()
 Name of the TCC Curve object that determines the fuse blowing. More...
 
FuseBatchFuseCurve_obj (dss::obj::TCC_Curve &value)
 
BatchFloat64ArrayProxy RatedCurrent ()
 Multiplier or actual phase amps for the phase TCC curve. More...
 
FuseBatchRatedCurrent (double value)
 
template<typename T >
FuseBatchRatedCurrent (T &value)
 
template<typename T >
FuseBatchRatedCurrent (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchFloat64ArrayProxy Delay ()
 Fixed delay time (sec) added to Fuse blowing time determined from the TCC curve. More...
 
FuseBatchDelay (double value)
 
template<typename T >
FuseBatchDelay (T &value)
 
template<typename T >
FuseBatchDelay (typename T::iterator it_begin, typename T::iterator it_end)
 
FuseBatchAction (int32_t value)
 DEPRECATED. More...
 
FuseBatchAction (Fuse::FuseAction value)
 DEPRECATED. More...
 
FuseBatchAction (const string &value)
 DEPRECATED. More...
 
FuseBatchAction (const char *value)
 DEPRECATED. More...
 
std::vector< VectorXi > Normal ()
 ARRAY of strings {Open | Closed} representing the Normal state of the fuse in each phase of the controlled element. More...
 
FuseBatchNormal (std::vector< int32_t > &value)
 
FuseBatchNormal (std::vector< Fuse::FuseState > &value)
 
FuseBatchNormal (strings &value)
 
FuseBatchNormal (std::vector< strings > &value)
 
std::vector< strings > Normal_str ()
 ARRAY of strings {Open | Closed} representing the Normal state of the fuse in each phase of the controlled element. More...
 
FuseBatchNormal_str (strings &value)
 
std::vector< VectorXi > State ()
 ARRAY of strings {Open | Closed} representing the Actual state of the fuse in each phase of the controlled element. More...
 
FuseBatchState (std::vector< int32_t > &value)
 
FuseBatchState (std::vector< Fuse::FuseState > &value)
 
FuseBatchState (strings &value)
 
FuseBatchState (std::vector< strings > &value)
 
std::vector< strings > State_str ()
 ARRAY of strings {Open | Closed} representing the Actual state of the fuse in each phase of the controlled element. More...
 
FuseBatchState_str (strings &value)
 
BatchFloat64ArrayProxy basefreq ()
 Base Frequency for ratings. More...
 
FuseBatchbasefreq (double value)
 
template<typename T >
FuseBatchbasefreq (T &value)
 
template<typename T >
FuseBatchbasefreq (typename T::iterator it_begin, typename T::iterator it_end)
 
bools enabled ()
 {Yes|No or True|False} Indicates whether this element is enabled. More...
 
FuseBatchenabled (bool value)
 
FuseBatchenabled (bools &value)
 
FuseBatchlike (const string &value)
 Make like another object, e.g. More...
 
FuseBatchlike (const char *value)
 Make like another object, e.g. More...
 
- Public Member Functions inherited from dss::obj::DSSBatch
 DSSBatch (APIUtil *util, int32_t cls_idx)
 Create a batch of all elements in the DSS class.
 
 DSSBatch (APIUtil *util, int32_t cls_idx, int32_t prop_idx, int32_t prop_value)
 Create a batch of all elements that match an integer property value.
 
 DSSBatch (APIUtil *util, int32_t cls_idx, const char *regexp)
 Create a batch of all elements that match a regular expression.
 
 DSSBatch (APIUtil *util)
 Create an uninitialized batch instance.
 
strings name ()
 

Additional Inherited Members

- Public Attributes inherited from dss::obj::DSSBatch
APIUtilapi_util
 
void ** pointer
 
int32_t count [2]
 
- Protected Member Functions inherited from dss::obj::DSSBatch
void check_for_error ()
 
bools get_batch_bool (int32_t index)
 
std::vector< complex > get_batch_complex (int32_t index)
 
template<typename T = VectorXd>
std::vector< T > get_batch_valarray (int32_t index)
 
void set_batch_complex_for_each (int32_t index, std::vector< complex > &values)
 
template<typename T >
void set_batch_val (int32_t index, const T &value)
 
template<typename T = VectorXd>
get_batch_val (int32_t index)
 
template<typename T >
void set_batch_val_for_each (int32_t index, typename T::iterator v, typename T::iterator v_end)
 
- Static Protected Member Functions inherited from dss::obj::DSSBatch
template<typename T = VectorXd>
static T get_batch_val (int32_t index, DSSBatch &batch)
 

Member Function Documentation

◆ Action() [1/4]

FuseBatch & dss::obj::FuseBatch::Action ( const char *  value)
inline

DEPRECATED.

See "State" property.

DSS property name: Action, DSS property index: 8

◆ Action() [2/4]

FuseBatch & dss::obj::FuseBatch::Action ( const string &  value)
inline

DEPRECATED.

See "State" property.

DSS property name: Action, DSS property index: 8

◆ Action() [3/4]

FuseBatch & dss::obj::FuseBatch::Action ( Fuse::FuseAction  value)
inline

DEPRECATED.

See "State" property.

DSS property name: Action, DSS property index: 8

◆ Action() [4/4]

FuseBatch & dss::obj::FuseBatch::Action ( int32_t  value)
inline

DEPRECATED.

See "State" property.

DSS property name: Action, DSS property index: 8

◆ basefreq()

BatchFloat64ArrayProxy dss::obj::FuseBatch::basefreq ( )
inline

Base Frequency for ratings.

DSS property name: basefreq, DSS property index: 11

◆ Delay()

BatchFloat64ArrayProxy dss::obj::FuseBatch::Delay ( )
inline

Fixed delay time (sec) added to Fuse blowing time determined from the TCC curve.

Default is 0.0. Used to represent fuse clearing time or any other delay.

DSS property name: Delay, DSS property index: 7

◆ enabled()

bools dss::obj::FuseBatch::enabled ( )
inline

{Yes|No or True|False} Indicates whether this element is enabled.

DSS property name: enabled, DSS property index: 12

◆ FuseCurve()

strings dss::obj::FuseBatch::FuseCurve ( )
inline

Name of the TCC Curve object that determines the fuse blowing.

Must have been previously defined as a TCC_Curve object. Default is "Tlink". Multiplying the current values in the curve by the "RatedCurrent" value gives the actual current.

DSS property name: FuseCurve, DSS property index: 5

◆ FuseCurve_obj()

std::vector< dss::obj::TCC_Curve > dss::obj::FuseBatch::FuseCurve_obj ( )
inline

Name of the TCC Curve object that determines the fuse blowing.

Must have been previously defined as a TCC_Curve object. Default is "Tlink". Multiplying the current values in the curve by the "RatedCurrent" value gives the actual current.

DSS property name: FuseCurve, DSS property index: 5

◆ like() [1/2]

FuseBatch & dss::obj::FuseBatch::like ( const char *  value)
inline

Make like another object, e.g.

:

New Capacitor.C2 like=c1 ...

DSS property name: like, DSS property index: 13

◆ like() [2/2]

FuseBatch & dss::obj::FuseBatch::like ( const string &  value)
inline

Make like another object, e.g.

:

New Capacitor.C2 like=c1 ...

DSS property name: like, DSS property index: 13

◆ MonitoredObj()

strings dss::obj::FuseBatch::MonitoredObj ( )
inline

Full object name of the circuit element, typically a line, transformer, load, or generator, to which the Fuse is connected.

This is the "monitored" element. There is no default; must be specified.

DSS property name: MonitoredObj, DSS property index: 1

◆ MonitoredObj_obj()

std::vector< dss::obj::DSSObj > dss::obj::FuseBatch::MonitoredObj_obj ( )
inline

Full object name of the circuit element, typically a line, transformer, load, or generator, to which the Fuse is connected.

This is the "monitored" element. There is no default; must be specified.

DSS property name: MonitoredObj, DSS property index: 1

◆ MonitoredTerm()

BatchInt32ArrayProxy dss::obj::FuseBatch::MonitoredTerm ( )
inline

Number of the terminal of the circuit element to which the Fuse is connected.

1 or 2, typically. Default is 1.

DSS property name: MonitoredTerm, DSS property index: 2

◆ Normal()

std::vector< VectorXi > dss::obj::FuseBatch::Normal ( )
inline

ARRAY of strings {Open | Closed} representing the Normal state of the fuse in each phase of the controlled element.

The fuse reverts to this state for reset, change of mode, etc. Defaults to "State" if not specifically declared.

DSS property name: Normal, DSS property index: 9

◆ Normal_str()

std::vector< strings > dss::obj::FuseBatch::Normal_str ( )
inline

ARRAY of strings {Open | Closed} representing the Normal state of the fuse in each phase of the controlled element.

The fuse reverts to this state for reset, change of mode, etc. Defaults to "State" if not specifically declared.

DSS property name: Normal, DSS property index: 9

◆ RatedCurrent()

BatchFloat64ArrayProxy dss::obj::FuseBatch::RatedCurrent ( )
inline

Multiplier or actual phase amps for the phase TCC curve.

Defaults to 1.0.

DSS property name: RatedCurrent, DSS property index: 6

◆ State()

std::vector< VectorXi > dss::obj::FuseBatch::State ( )
inline

ARRAY of strings {Open | Closed} representing the Actual state of the fuse in each phase of the controlled element.

Upon setting, immediately forces state of fuse(s). Simulates manual control on Fuse. Defaults to Closed for all phases.

DSS property name: State, DSS property index: 10

◆ State_str()

std::vector< strings > dss::obj::FuseBatch::State_str ( )
inline

ARRAY of strings {Open | Closed} representing the Actual state of the fuse in each phase of the controlled element.

Upon setting, immediately forces state of fuse(s). Simulates manual control on Fuse. Defaults to Closed for all phases.

DSS property name: State, DSS property index: 10

◆ SwitchedObj()

strings dss::obj::FuseBatch::SwitchedObj ( )
inline

Name of circuit element switch that the Fuse controls.

Specify the full object name.Defaults to the same as the Monitored element. This is the "controlled" element.

DSS property name: SwitchedObj, DSS property index: 3

◆ SwitchedObj_obj()

std::vector< dss::obj::DSSObj > dss::obj::FuseBatch::SwitchedObj_obj ( )
inline

Name of circuit element switch that the Fuse controls.

Specify the full object name.Defaults to the same as the Monitored element. This is the "controlled" element.

DSS property name: SwitchedObj, DSS property index: 3

◆ SwitchedTerm()

BatchInt32ArrayProxy dss::obj::FuseBatch::SwitchedTerm ( )
inline

Number of the terminal of the controlled element in which the switch is controlled by the Fuse.

1 or 2, typically. Default is 1. Assumes all phases of the element have a fuse of this type.

DSS property name: SwitchedTerm, DSS property index: 4


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