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

Public Types

typedef ESPVLControl::Properties Properties
 
typedef ESPVLControl BatchElementClass
 
typedef ESPVLControl::ESPVLControlType ESPVLControlType
 

Public Member Functions

 ESPVLControlBatch (APIUtil *util)
 Create a batch of all ESPVLControl elements.
 
 ESPVLControlBatch (APIUtil *util, int32_t prop_idx, int32_t prop_value)
 Create a batch of all ESPVLControl elements that match an integer property value.
 
 ESPVLControlBatch (APIUtil *util, const char *regexp)
 Create a batch of all ESPVLControl elements that match a regular expression.
 
ESPVLControlBatchbegin_edit ()
 
ESPVLControlBatchend_edit (int32_t num_edits=1)
 
strings Element ()
 Full object name of the circuit element, typically a line or transformer, which the control is monitoring. More...
 
ESPVLControlBatchElement (dss::obj::DSSObj &value)
 
ESPVLControlBatchElement (const string &value)
 
std::vector< dss::obj::DSSObjElement_obj ()
 Full object name of the circuit element, typically a line or transformer, which the control is monitoring. More...
 
ESPVLControlBatchElement_obj (dss::obj::DSSObj &value)
 
BatchInt32ArrayProxy Terminal ()
 Number of the terminal of the circuit element to which the ESPVLControl control is connected. More...
 
ESPVLControlBatchTerminal (int32_t value)
 
template<typename T >
ESPVLControlBatchTerminal (T &value)
 
template<typename T >
ESPVLControlBatchTerminal (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchInt32ArrayProxy Type ()
 Type of controller. More...
 
ESPVLControlBatchType (string &value)
 
ESPVLControlBatchType (int32_t value)
 
ESPVLControlBatchType (ESPVLControl::ESPVLControlType value)
 
ESPVLControlBatchType (strings &value)
 
ESPVLControlBatchType (std::vector< int32_t > &value)
 
ESPVLControlBatchType (std::vector< ESPVLControl::ESPVLControlType > &value)
 
strings Type_str ()
 Type of controller. More...
 
ESPVLControlBatchType_str (string &value)
 
ESPVLControlBatchType_str (strings &value)
 
BatchFloat64ArrayProxy kWBand ()
 Bandwidth (kW) of the dead band around the target limit.No dispatch changes are attempted if the power in the monitored terminal stays within this band. More...
 
ESPVLControlBatchkWBand (double value)
 
template<typename T >
ESPVLControlBatchkWBand (T &value)
 
template<typename T >
ESPVLControlBatchkWBand (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchFloat64ArrayProxy kvarlimit ()
 Max kvar to be delivered through the element. More...
 
ESPVLControlBatchkvarlimit (double value)
 
template<typename T >
ESPVLControlBatchkvarlimit (T &value)
 
template<typename T >
ESPVLControlBatchkvarlimit (typename T::iterator it_begin, typename T::iterator it_end)
 
std::vector< strings > LocalControlList ()
 Array list of ESPVLControl local controller objects to be dispatched by System Controller. More...
 
ESPVLControlBatchLocalControlList (strings &value)
 
std::vector< VectorXd > LocalControlWeights ()
 Array of proportional weights corresponding to each ESPVLControl local controller in the LocalControlList. More...
 
ESPVLControlBatchLocalControlWeights (VectorXd &value)
 
std::vector< strings > PVSystemList ()
 Array list of PVSystem objects to be dispatched by a Local Controller. More...
 
ESPVLControlBatchPVSystemList (strings &value)
 
std::vector< VectorXd > PVSystemWeights ()
 Array of proportional weights corresponding to each PVSystem in the PVSystemList. More...
 
ESPVLControlBatchPVSystemWeights (VectorXd &value)
 
std::vector< strings > StorageList ()
 Array list of Storage objects to be dispatched by Local Controller. More...
 
ESPVLControlBatchStorageList (strings &value)
 
std::vector< VectorXd > StorageWeights ()
 Array of proportional weights corresponding to each Storage object in the StorageControlList. More...
 
ESPVLControlBatchStorageWeights (VectorXd &value)
 
BatchFloat64ArrayProxy basefreq ()
 Base Frequency for ratings. More...
 
ESPVLControlBatchbasefreq (double value)
 
template<typename T >
ESPVLControlBatchbasefreq (T &value)
 
template<typename T >
ESPVLControlBatchbasefreq (typename T::iterator it_begin, typename T::iterator it_end)
 
bools enabled ()
 {Yes|No or True|False} Indicates whether this element is enabled. More...
 
ESPVLControlBatchenabled (bool value)
 
ESPVLControlBatchenabled (bools &value)
 
ESPVLControlBatchlike (const string &value)
 Make like another object, e.g. More...
 
ESPVLControlBatchlike (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

◆ basefreq()

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

Base Frequency for ratings.

DSS property name: basefreq, DSS property index: 12

◆ Element()

strings dss::obj::ESPVLControlBatch::Element ( )
inline

Full object name of the circuit element, typically a line or transformer, which the control is monitoring.

There is no default; must be specified.

DSS property name: Element, DSS property index: 1

◆ Element_obj()

std::vector< dss::obj::DSSObj > dss::obj::ESPVLControlBatch::Element_obj ( )
inline

Full object name of the circuit element, typically a line or transformer, which the control is monitoring.

There is no default; must be specified.

DSS property name: Element, DSS property index: 1

◆ enabled()

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

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

DSS property name: enabled, DSS property index: 13

◆ kvarlimit()

BatchFloat64ArrayProxy dss::obj::ESPVLControlBatch::kvarlimit ( )
inline

Max kvar to be delivered through the element.

Uses same dead band as kW.

DSS property name: kvarlimit, DSS property index: 5

◆ kWBand()

BatchFloat64ArrayProxy dss::obj::ESPVLControlBatch::kWBand ( )
inline

Bandwidth (kW) of the dead band around the target limit.No dispatch changes are attempted if the power in the monitored terminal stays within this band.

DSS property name: kWBand, DSS property index: 4

◆ like() [1/2]

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

Make like another object, e.g.

:

New Capacitor.C2 like=c1 ...

DSS property name: like, DSS property index: 14

◆ like() [2/2]

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

Make like another object, e.g.

:

New Capacitor.C2 like=c1 ...

DSS property name: like, DSS property index: 14

◆ LocalControlList()

std::vector< strings > dss::obj::ESPVLControlBatch::LocalControlList ( )
inline

Array list of ESPVLControl local controller objects to be dispatched by System Controller.

If not specified, all ESPVLControl devices with type=local in the circuit not attached to another controller are assumed to be part of this controller's fleet.

DSS property name: LocalControlList, DSS property index: 6

◆ LocalControlWeights()

std::vector< VectorXd > dss::obj::ESPVLControlBatch::LocalControlWeights ( )
inline

Array of proportional weights corresponding to each ESPVLControl local controller in the LocalControlList.

DSS property name: LocalControlWeights, DSS property index: 7

◆ PVSystemList()

std::vector< strings > dss::obj::ESPVLControlBatch::PVSystemList ( )
inline

Array list of PVSystem objects to be dispatched by a Local Controller.

DSS property name: PVSystemList, DSS property index: 8

◆ PVSystemWeights()

std::vector< VectorXd > dss::obj::ESPVLControlBatch::PVSystemWeights ( )
inline

Array of proportional weights corresponding to each PVSystem in the PVSystemList.

DSS property name: PVSystemWeights, DSS property index: 9

◆ StorageList()

std::vector< strings > dss::obj::ESPVLControlBatch::StorageList ( )
inline

Array list of Storage objects to be dispatched by Local Controller.

DSS property name: StorageList, DSS property index: 10

◆ StorageWeights()

std::vector< VectorXd > dss::obj::ESPVLControlBatch::StorageWeights ( )
inline

Array of proportional weights corresponding to each Storage object in the StorageControlList.

DSS property name: StorageWeights, DSS property index: 11

◆ Terminal()

BatchInt32ArrayProxy dss::obj::ESPVLControlBatch::Terminal ( )
inline

Number of the terminal of the circuit element to which the ESPVLControl control is connected.

1 or 2, typically. Default is 1. Make sure you have the direction on the power matching the sign of kWLimit.

DSS property name: Terminal, DSS property index: 2

◆ Type()

BatchInt32ArrayProxy dss::obj::ESPVLControlBatch::Type ( )
inline

Type of controller.

1= System Controller; 2= Local controller.

DSS property name: Type, DSS property index: 3

◆ Type_str()

strings dss::obj::ESPVLControlBatch::Type_str ( )
inline

Type of controller.

1= System Controller; 2= Local controller.

DSS property name: Type, DSS property index: 3


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