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

Public Types

typedef GICsource::Properties Properties
 
typedef GICsource BatchElementClass
 

Public Member Functions

 GICsourceBatch (APIUtil *util)
 Create a batch of all GICsource elements.
 
 GICsourceBatch (APIUtil *util, int32_t prop_idx, int32_t prop_value)
 Create a batch of all GICsource elements that match an integer property value.
 
 GICsourceBatch (APIUtil *util, const char *regexp)
 Create a batch of all GICsource elements that match a regular expression.
 
GICsourceBatchbegin_edit ()
 
GICsourceBatchend_edit (int32_t num_edits=1)
 
BatchFloat64ArrayProxy Volts ()
 Voltage magnitude, in volts, of the GIC voltage induced across the associated line. More...
 
GICsourceBatchVolts (double value)
 
template<typename T >
GICsourceBatchVolts (T &value)
 
template<typename T >
GICsourceBatchVolts (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchFloat64ArrayProxy angle ()
 Phase angle in degrees of first phase. More...
 
GICsourceBatchangle (double value)
 
template<typename T >
GICsourceBatchangle (T &value)
 
template<typename T >
GICsourceBatchangle (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchFloat64ArrayProxy frequency ()
 Source frequency. More...
 
GICsourceBatchfrequency (double value)
 
template<typename T >
GICsourceBatchfrequency (T &value)
 
template<typename T >
GICsourceBatchfrequency (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchInt32ArrayProxy phases ()
 Number of phases. More...
 
GICsourceBatchphases (int32_t value)
 
template<typename T >
GICsourceBatchphases (T &value)
 
template<typename T >
GICsourceBatchphases (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchFloat64ArrayProxy EN ()
 Northward Electric field (V/km). More...
 
GICsourceBatchEN (double value)
 
template<typename T >
GICsourceBatchEN (T &value)
 
template<typename T >
GICsourceBatchEN (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchFloat64ArrayProxy EE ()
 Eastward Electric field (V/km). More...
 
GICsourceBatchEE (double value)
 
template<typename T >
GICsourceBatchEE (T &value)
 
template<typename T >
GICsourceBatchEE (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchFloat64ArrayProxy Lat1 ()
 Latitude of Bus1 of the line(degrees) More...
 
GICsourceBatchLat1 (double value)
 
template<typename T >
GICsourceBatchLat1 (T &value)
 
template<typename T >
GICsourceBatchLat1 (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchFloat64ArrayProxy Lon1 ()
 Longitude of Bus1 of the line (degrees) More...
 
GICsourceBatchLon1 (double value)
 
template<typename T >
GICsourceBatchLon1 (T &value)
 
template<typename T >
GICsourceBatchLon1 (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchFloat64ArrayProxy Lat2 ()
 Latitude of Bus2 of the line (degrees) More...
 
GICsourceBatchLat2 (double value)
 
template<typename T >
GICsourceBatchLat2 (T &value)
 
template<typename T >
GICsourceBatchLat2 (typename T::iterator it_begin, typename T::iterator it_end)
 
BatchFloat64ArrayProxy Lon2 ()
 Longitude of Bus2 of the line (degrees) More...
 
GICsourceBatchLon2 (double value)
 
template<typename T >
GICsourceBatchLon2 (T &value)
 
template<typename T >
GICsourceBatchLon2 (typename T::iterator it_begin, typename T::iterator it_end)
 
strings spectrum ()
 Not used. More...
 
GICsourceBatchspectrum (dss::obj::Spectrum &value)
 
GICsourceBatchspectrum (const string &value)
 
std::vector< dss::obj::Spectrumspectrum_obj ()
 Not used. More...
 
GICsourceBatchspectrum_obj (dss::obj::Spectrum &value)
 
BatchFloat64ArrayProxy basefreq ()
 Not used. More...
 
GICsourceBatchbasefreq (double value)
 
template<typename T >
GICsourceBatchbasefreq (T &value)
 
template<typename T >
GICsourceBatchbasefreq (typename T::iterator it_begin, typename T::iterator it_end)
 
bools enabled ()
 {Yes|No or True|False} Indicates whether this element is enabled. More...
 
GICsourceBatchenabled (bool value)
 
GICsourceBatchenabled (bools &value)
 
GICsourceBatchlike (const string &value)
 Make like another object, e.g. More...
 
GICsourceBatchlike (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

◆ angle()

BatchFloat64ArrayProxy dss::obj::GICsourceBatch::angle ( )
inline

Phase angle in degrees of first phase.

Default=0.0. See Voltage property

DSS property name: angle, DSS property index: 2

◆ basefreq()

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

Not used.

DSS property name: basefreq, DSS property index: 12

◆ EE()

BatchFloat64ArrayProxy dss::obj::GICsourceBatch::EE ( )
inline

Eastward Electric field (V/km).

If specified, Voltage and Angle are computed from EN, EE, lat and lon values.

DSS property name: EE, DSS property index: 6

◆ EN()

BatchFloat64ArrayProxy dss::obj::GICsourceBatch::EN ( )
inline

Northward Electric field (V/km).

If specified, Voltage and Angle are computed from EN, EE, lat and lon values.

DSS property name: EN, DSS property index: 5

◆ enabled()

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

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

DSS property name: enabled, DSS property index: 13

◆ frequency()

BatchFloat64ArrayProxy dss::obj::GICsourceBatch::frequency ( )
inline

Source frequency.

Defaults to 0.1 Hz. So GICSource=0 at power frequency.

DSS property name: frequency, DSS property index: 3

◆ Lat1()

BatchFloat64ArrayProxy dss::obj::GICsourceBatch::Lat1 ( )
inline

Latitude of Bus1 of the line(degrees)

DSS property name: Lat1, DSS property index: 7

◆ Lat2()

BatchFloat64ArrayProxy dss::obj::GICsourceBatch::Lat2 ( )
inline

Latitude of Bus2 of the line (degrees)

DSS property name: Lat2, DSS property index: 9

◆ like() [1/2]

GICsourceBatch & dss::obj::GICsourceBatch::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]

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

Make like another object, e.g.

:

New Capacitor.C2 like=c1 ...

DSS property name: like, DSS property index: 14

◆ Lon1()

BatchFloat64ArrayProxy dss::obj::GICsourceBatch::Lon1 ( )
inline

Longitude of Bus1 of the line (degrees)

DSS property name: Lon1, DSS property index: 8

◆ Lon2()

BatchFloat64ArrayProxy dss::obj::GICsourceBatch::Lon2 ( )
inline

Longitude of Bus2 of the line (degrees)

DSS property name: Lon2, DSS property index: 10

◆ phases()

BatchInt32ArrayProxy dss::obj::GICsourceBatch::phases ( )
inline

Number of phases.

Defaults to 3. All three phases are assumed in phase (zero sequence)

DSS property name: phases, DSS property index: 4

◆ spectrum()

strings dss::obj::GICsourceBatch::spectrum ( )
inline

Not used.

DSS property name: spectrum, DSS property index: 11

◆ spectrum_obj()

std::vector< dss::obj::Spectrum > dss::obj::GICsourceBatch::spectrum_obj ( )
inline

Not used.

DSS property name: spectrum, DSS property index: 11

◆ Volts()

BatchFloat64ArrayProxy dss::obj::GICsourceBatch::Volts ( )
inline

Voltage magnitude, in volts, of the GIC voltage induced across the associated line.

When specified, induced voltage is assumed defined by Voltage and Angle properties.

Specify this value

OR

EN, EE, lat1, lon1, lat2, lon2.

Not both!! Last one entered will take precedence. Assumed identical in each phase of the Line object.

DSS property name: Volts, DSS property index: 1


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