DSS C-API and dss.hpp
DSS C-API and dss.hpp expose a customized and extended implementation of OpenDSS to C and C++.
|
Public Types | |
typedef Vsource::Properties | Properties |
typedef Vsource | BatchElementClass |
typedef Vsource::VSourceModel | VSourceModel |
Public Member Functions | |
VsourceBatch (APIUtil *util) | |
Create a batch of all Vsource elements. | |
VsourceBatch (APIUtil *util, int32_t prop_idx, int32_t prop_value) | |
Create a batch of all Vsource elements that match an integer property value. | |
VsourceBatch (APIUtil *util, const char *regexp) | |
Create a batch of all Vsource elements that match a regular expression. | |
VsourceBatch & | begin_edit () |
VsourceBatch & | end_edit (int32_t num_edits=1) |
strings | bus1 () |
Name of bus to which the main terminal (1) is connected. More... | |
VsourceBatch & | bus1 (const string &value) |
VsourceBatch & | bus1 (strings &value) |
BatchFloat64ArrayProxy | basekv () |
Base Source kV, usually phase-phase (L-L) unless you are making a positive-sequence model or 1-phase modelin which case, it will be phase-neutral (L-N) kV. More... | |
VsourceBatch & | basekv (double value) |
template<typename T > | |
VsourceBatch & | basekv (T &value) |
template<typename T > | |
VsourceBatch & | basekv (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | pu () |
Per unit of the base voltage that the source is actually operating at. More... | |
VsourceBatch & | pu (double value) |
template<typename T > | |
VsourceBatch & | pu (T &value) |
template<typename T > | |
VsourceBatch & | pu (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | angle () |
Phase angle in degrees of first phase: e.g.,Angle=10.3. More... | |
VsourceBatch & | angle (double value) |
template<typename T > | |
VsourceBatch & | angle (T &value) |
template<typename T > | |
VsourceBatch & | angle (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | frequency () |
Source frequency. More... | |
VsourceBatch & | frequency (double value) |
template<typename T > | |
VsourceBatch & | frequency (T &value) |
template<typename T > | |
VsourceBatch & | frequency (typename T::iterator it_begin, typename T::iterator it_end) |
BatchInt32ArrayProxy | phases () |
Number of phases. More... | |
VsourceBatch & | phases (int32_t value) |
template<typename T > | |
VsourceBatch & | phases (T &value) |
template<typename T > | |
VsourceBatch & | phases (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | MVAsc3 () |
MVA Short circuit, 3-phase fault. More... | |
VsourceBatch & | MVAsc3 (double value) |
template<typename T > | |
VsourceBatch & | MVAsc3 (T &value) |
template<typename T > | |
VsourceBatch & | MVAsc3 (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | MVAsc1 () |
MVA Short Circuit, 1-phase fault. More... | |
VsourceBatch & | MVAsc1 (double value) |
template<typename T > | |
VsourceBatch & | MVAsc1 (T &value) |
template<typename T > | |
VsourceBatch & | MVAsc1 (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | x1r1 () |
Positive-sequence X/R ratio. More... | |
VsourceBatch & | x1r1 (double value) |
template<typename T > | |
VsourceBatch & | x1r1 (T &value) |
template<typename T > | |
VsourceBatch & | x1r1 (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | x0r0 () |
Zero-sequence X/R ratio.Default = 3. More... | |
VsourceBatch & | x0r0 (double value) |
template<typename T > | |
VsourceBatch & | x0r0 (T &value) |
template<typename T > | |
VsourceBatch & | x0r0 (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | Isc3 () |
Alternate method of defining the source impedance. More... | |
VsourceBatch & | Isc3 (double value) |
template<typename T > | |
VsourceBatch & | Isc3 (T &value) |
template<typename T > | |
VsourceBatch & | Isc3 (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | Isc1 () |
Alternate method of defining the source impedance. More... | |
VsourceBatch & | Isc1 (double value) |
template<typename T > | |
VsourceBatch & | Isc1 (T &value) |
template<typename T > | |
VsourceBatch & | Isc1 (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | R1 () |
Alternate method of defining the source impedance. More... | |
VsourceBatch & | R1 (double value) |
template<typename T > | |
VsourceBatch & | R1 (T &value) |
template<typename T > | |
VsourceBatch & | R1 (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | X1 () |
Alternate method of defining the source impedance. More... | |
VsourceBatch & | X1 (double value) |
template<typename T > | |
VsourceBatch & | X1 (T &value) |
template<typename T > | |
VsourceBatch & | X1 (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | R0 () |
Alternate method of defining the source impedance. More... | |
VsourceBatch & | R0 (double value) |
template<typename T > | |
VsourceBatch & | R0 (T &value) |
template<typename T > | |
VsourceBatch & | R0 (typename T::iterator it_begin, typename T::iterator it_end) |
BatchFloat64ArrayProxy | X0 () |
Alternate method of defining the source impedance. More... | |
VsourceBatch & | X0 (double value) |
template<typename T > | |
VsourceBatch & | X0 (T &value) |
template<typename T > | |
VsourceBatch & | X0 (typename T::iterator it_begin, typename T::iterator it_end) |
BatchInt32ArrayProxy | scantype () |
{pos*| zero | none} Maintain specified sequence for harmonic solution. More... | |
VsourceBatch & | scantype (string &value) |
VsourceBatch & | scantype (int32_t value) |
VsourceBatch & | scantype (ScanType value) |
VsourceBatch & | scantype (strings &value) |
VsourceBatch & | scantype (std::vector< int32_t > &value) |
VsourceBatch & | scantype (std::vector< ScanType > &value) |
strings | scantype_str () |
{pos*| zero | none} Maintain specified sequence for harmonic solution. More... | |
VsourceBatch & | scantype_str (string &value) |
VsourceBatch & | scantype_str (strings &value) |
BatchInt32ArrayProxy | Sequence () |
{pos*| neg | zero} Set the phase angles for the specified symmetrical component sequence for non-harmonic solution modes. More... | |
VsourceBatch & | Sequence (string &value) |
VsourceBatch & | Sequence (int32_t value) |
VsourceBatch & | Sequence (SequenceType value) |
VsourceBatch & | Sequence (strings &value) |
VsourceBatch & | Sequence (std::vector< int32_t > &value) |
VsourceBatch & | Sequence (std::vector< SequenceType > &value) |
strings | Sequence_str () |
{pos*| neg | zero} Set the phase angles for the specified symmetrical component sequence for non-harmonic solution modes. More... | |
VsourceBatch & | Sequence_str (string &value) |
VsourceBatch & | Sequence_str (strings &value) |
strings | bus2 () |
Name of bus to which 2nd terminal is connected. More... | |
VsourceBatch & | bus2 (const string &value) |
VsourceBatch & | bus2 (strings &value) |
std::vector< complex > | Z1 () |
Positive-sequence equivalent source impedance, ohms, as a 2-element array representing a complex number. More... | |
VsourceBatch & | Z1 (complex value) |
VsourceBatch & | Z1 (std::vector< complex > &values) |
std::vector< complex > | Z0 () |
Zero-sequence equivalent source impedance, ohms, as a 2-element array representing a complex number. More... | |
VsourceBatch & | Z0 (complex value) |
VsourceBatch & | Z0 (std::vector< complex > &values) |
std::vector< complex > | Z2 () |
Negative-sequence equivalent source impedance, ohms, as a 2-element array representing a complex number. More... | |
VsourceBatch & | Z2 (complex value) |
VsourceBatch & | Z2 (std::vector< complex > &values) |
std::vector< complex > | puZ1 () |
2-element array: e.g., [1 2]. More... | |
VsourceBatch & | puZ1 (complex value) |
VsourceBatch & | puZ1 (std::vector< complex > &values) |
std::vector< complex > | puZ0 () |
2-element array: e.g., [1 2]. More... | |
VsourceBatch & | puZ0 (complex value) |
VsourceBatch & | puZ0 (std::vector< complex > &values) |
std::vector< complex > | puZ2 () |
2-element array: e.g., [1 2]. More... | |
VsourceBatch & | puZ2 (complex value) |
VsourceBatch & | puZ2 (std::vector< complex > &values) |
BatchFloat64ArrayProxy | baseMVA () |
Default value is 100. More... | |
VsourceBatch & | baseMVA (double value) |
template<typename T > | |
VsourceBatch & | baseMVA (T &value) |
template<typename T > | |
VsourceBatch & | baseMVA (typename T::iterator it_begin, typename T::iterator it_end) |
strings | Yearly () |
LOADSHAPE object to use for the per-unit voltage for YEARLY-mode simulations. More... | |
VsourceBatch & | Yearly (dss::obj::LoadShape &value) |
VsourceBatch & | Yearly (const string &value) |
std::vector< dss::obj::LoadShape > | Yearly_obj () |
LOADSHAPE object to use for the per-unit voltage for YEARLY-mode simulations. More... | |
VsourceBatch & | Yearly_obj (dss::obj::LoadShape &value) |
strings | Daily () |
LOADSHAPE object to use for the per-unit voltage for DAILY-mode simulations. More... | |
VsourceBatch & | Daily (dss::obj::LoadShape &value) |
VsourceBatch & | Daily (const string &value) |
std::vector< dss::obj::LoadShape > | Daily_obj () |
LOADSHAPE object to use for the per-unit voltage for DAILY-mode simulations. More... | |
VsourceBatch & | Daily_obj (dss::obj::LoadShape &value) |
strings | Duty () |
LOADSHAPE object to use for the per-unit voltage for DUTYCYCLE-mode simulations. More... | |
VsourceBatch & | Duty (dss::obj::LoadShape &value) |
VsourceBatch & | Duty (const string &value) |
std::vector< dss::obj::LoadShape > | Duty_obj () |
LOADSHAPE object to use for the per-unit voltage for DUTYCYCLE-mode simulations. More... | |
VsourceBatch & | Duty_obj (dss::obj::LoadShape &value) |
BatchInt32ArrayProxy | Model () |
{Thevenin* | Ideal} Specifies whether the Vsource is to be considered a Thevenin short circuit model or a quasi-ideal voltage source. More... | |
VsourceBatch & | Model (string &value) |
VsourceBatch & | Model (int32_t value) |
VsourceBatch & | Model (Vsource::VSourceModel value) |
VsourceBatch & | Model (strings &value) |
VsourceBatch & | Model (std::vector< int32_t > &value) |
VsourceBatch & | Model (std::vector< Vsource::VSourceModel > &value) |
strings | Model_str () |
{Thevenin* | Ideal} Specifies whether the Vsource is to be considered a Thevenin short circuit model or a quasi-ideal voltage source. More... | |
VsourceBatch & | Model_str (string &value) |
VsourceBatch & | Model_str (strings &value) |
std::vector< complex > | puZideal () |
2-element array: e.g., [1 2]. More... | |
VsourceBatch & | puZideal (complex value) |
VsourceBatch & | puZideal (std::vector< complex > &values) |
strings | spectrum () |
Name of harmonic spectrum for this source. More... | |
VsourceBatch & | spectrum (dss::obj::Spectrum &value) |
VsourceBatch & | spectrum (const string &value) |
std::vector< dss::obj::Spectrum > | spectrum_obj () |
Name of harmonic spectrum for this source. More... | |
VsourceBatch & | spectrum_obj (dss::obj::Spectrum &value) |
BatchFloat64ArrayProxy | basefreq () |
Base Frequency for ratings. More... | |
VsourceBatch & | basefreq (double value) |
template<typename T > | |
VsourceBatch & | basefreq (T &value) |
template<typename T > | |
VsourceBatch & | basefreq (typename T::iterator it_begin, typename T::iterator it_end) |
bools | enabled () |
{Yes|No or True|False} Indicates whether this element is enabled. More... | |
VsourceBatch & | enabled (bool value) |
VsourceBatch & | enabled (bools &value) |
VsourceBatch & | like (const string &value) |
Make like another object, e.g. More... | |
VsourceBatch & | like (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 | |
APIUtil * | api_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> | |
T | 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) |
|
inline |
Phase angle in degrees of first phase: e.g.,Angle=10.3.
DSS property name: angle, DSS property index: 4
|
inline |
Base Frequency for ratings.
DSS property name: basefreq, DSS property index: 33
|
inline |
Base Source kV, usually phase-phase (L-L) unless you are making a positive-sequence model or 1-phase modelin which case, it will be phase-neutral (L-N) kV.
DSS property name: basekv, DSS property index: 2
|
inline |
Default value is 100.
Base used to convert values specifiied with puZ1, puZ0, and puZ2 properties to ohms on kV base specified by BasekV property.
DSS property name: baseMVA, DSS property index: 26
|
inline |
Name of bus to which the main terminal (1) is connected.
bus1=busname bus1=busname.1.2.3
The VSOURCE object is a two-terminal voltage source (thevenin equivalent). Bus2 defaults to Bus1 with all phases connected to ground (node 0) unless previously specified. This is a Yg connection. If you want something different, define the Bus2 property ezplicitly.
DSS property name: bus1, DSS property index: 1
|
inline |
Name of bus to which 2nd terminal is connected.
bus2=busname bus2=busname.1.2.3
Default is Bus1.0.0.0 (grounded wye connection)
DSS property name: bus2, DSS property index: 19
|
inline |
LOADSHAPE object to use for the per-unit voltage for DAILY-mode simulations.
Set the Mult property of the LOADSHAPE to the pu curve. Qmult is not used. If UseActual=Yes then the Mult curve should be actual L-N kV.
Must be previously defined as a LOADSHAPE object.
Sets Yearly curve if it is not already defined. Set to NONE to reset to no loadahape for Yearly mode. The default is no variation.
DSS property name: Daily, DSS property index: 28
|
inline |
LOADSHAPE object to use for the per-unit voltage for DAILY-mode simulations.
Set the Mult property of the LOADSHAPE to the pu curve. Qmult is not used. If UseActual=Yes then the Mult curve should be actual L-N kV.
Must be previously defined as a LOADSHAPE object.
Sets Yearly curve if it is not already defined. Set to NONE to reset to no loadahape for Yearly mode. The default is no variation.
DSS property name: Daily, DSS property index: 28
|
inline |
LOADSHAPE object to use for the per-unit voltage for DUTYCYCLE-mode simulations.
Set the Mult property of the LOADSHAPE to the pu curve. Qmult is not used. If UseActual=Yes then the Mult curve should be actual L-N kV.
Must be previously defined as a LOADSHAPE object.
Defaults to Daily load shape when Daily is defined. Set to NONE to reset to no loadahape for Yearly mode. The default is no variation.
DSS property name: Duty, DSS property index: 29
|
inline |
LOADSHAPE object to use for the per-unit voltage for DUTYCYCLE-mode simulations.
Set the Mult property of the LOADSHAPE to the pu curve. Qmult is not used. If UseActual=Yes then the Mult curve should be actual L-N kV.
Must be previously defined as a LOADSHAPE object.
Defaults to Daily load shape when Daily is defined. Set to NONE to reset to no loadahape for Yearly mode. The default is no variation.
DSS property name: Duty, DSS property index: 29
|
inline |
{Yes|No or True|False} Indicates whether this element is enabled.
DSS property name: enabled, DSS property index: 34
|
inline |
Source frequency.
Defaults to system default base frequency.
DSS property name: frequency, DSS property index: 5
|
inline |
Alternate method of defining the source impedance.
single-phase short circuit current, amps. Default is 10500.
DSS property name: Isc1, DSS property index: 12
|
inline |
Alternate method of defining the source impedance.
3-phase short circuit current, amps. Default is 10000.
DSS property name: Isc3, DSS property index: 11
|
inline |
Make like another object, e.g.
:
New Capacitor.C2 like=c1 ...
DSS property name: like, DSS property index: 35
|
inline |
Make like another object, e.g.
:
New Capacitor.C2 like=c1 ...
DSS property name: like, DSS property index: 35
|
inline |
{Thevenin* | Ideal} Specifies whether the Vsource is to be considered a Thevenin short circuit model or a quasi-ideal voltage source.
If Thevenin, the Vsource uses the impedances defined for all calculations. If "Ideal", the model uses a small impedance on the diagonal of the impedance matrix for the fundamental base frequency power flow only. Then switches to actual Thevenin model for other frequencies.
DSS property name: Model, DSS property index: 30
|
inline |
{Thevenin* | Ideal} Specifies whether the Vsource is to be considered a Thevenin short circuit model or a quasi-ideal voltage source.
If Thevenin, the Vsource uses the impedances defined for all calculations. If "Ideal", the model uses a small impedance on the diagonal of the impedance matrix for the fundamental base frequency power flow only. Then switches to actual Thevenin model for other frequencies.
DSS property name: Model, DSS property index: 30
|
inline |
MVA Short Circuit, 1-phase fault.
Default = 2100. The "single-phase impedance", Zs, is determined by squaring the base kV and dividing by this value. Then Z0 is determined by Z0 = 3Zs - 2Z1. For 1-phase sources, Zs is used directly. Use X0R0 to define X/R ratio for 1-phase source.
DSS property name: MVAsc1, DSS property index: 8
|
inline |
MVA Short circuit, 3-phase fault.
Default = 2000. Z1 is determined by squaring the base kv and dividing by this value. For single-phase source, this value is not used.
DSS property name: MVAsc3, DSS property index: 7
|
inline |
Number of phases.
Defaults to 3.
DSS property name: phases, DSS property index: 6
|
inline |
Per unit of the base voltage that the source is actually operating at.
"pu=1.05"
DSS property name: pu, DSS property index: 3
|
inline |
2-element array: e.g., [1 2].
An alternate way to specify Z0. See Z0 property. Per-unit zero-sequence impedance on base of Vsource BasekV and BaseMVA.
DSS property name: puZ0, DSS property index: 24
|
inline |
2-element array: e.g., [1 2].
An alternate way to specify Z1. See Z1 property. Per-unit positive-sequence impedance on base of Vsource BasekV and BaseMVA.
DSS property name: puZ1, DSS property index: 23
|
inline |
2-element array: e.g., [1 2].
An alternate way to specify Z2. See Z2 property. Per-unit negative-sequence impedance on base of Vsource BasekV and BaseMVA.
DSS property name: puZ2, DSS property index: 25
|
inline |
2-element array: e.g., [1 2].
The pu impedance to use for the quasi-ideal voltage source model. Should be a very small impedances. Default is [1e-6, 0.001]. Per-unit impedance on base of Vsource BasekV and BaseMVA. If too small, solution may not work. Be sure to check the voltage values and powers.
DSS property name: puZideal, DSS property index: 31
|
inline |
Alternate method of defining the source impedance.
Zero-sequence resistance, ohms. Default is 1.9.
DSS property name: R0, DSS property index: 15
|
inline |
Alternate method of defining the source impedance.
Positive-sequence resistance, ohms. Default is 1.65.
DSS property name: R1, DSS property index: 13
|
inline |
{pos*| zero | none} Maintain specified sequence for harmonic solution.
Default is positive sequence. Otherwise, angle between phases rotates with harmonic.
DSS property name: ScanType, DSS property index: 17
|
inline |
{pos*| zero | none} Maintain specified sequence for harmonic solution.
Default is positive sequence. Otherwise, angle between phases rotates with harmonic.
DSS property name: ScanType, DSS property index: 17
|
inline |
{pos*| neg | zero} Set the phase angles for the specified symmetrical component sequence for non-harmonic solution modes.
Default is positive sequence.
DSS property name: Sequence, DSS property index: 18
|
inline |
{pos*| neg | zero} Set the phase angles for the specified symmetrical component sequence for non-harmonic solution modes.
Default is positive sequence.
DSS property name: Sequence, DSS property index: 18
|
inline |
Name of harmonic spectrum for this source.
Default is "defaultvsource", which is defined when the DSS starts.
DSS property name: spectrum, DSS property index: 32
|
inline |
Name of harmonic spectrum for this source.
Default is "defaultvsource", which is defined when the DSS starts.
DSS property name: spectrum, DSS property index: 32
|
inline |
Alternate method of defining the source impedance.
Zero-sequence reactance, ohms. Default is 5.7.
DSS property name: X0, DSS property index: 16
|
inline |
Zero-sequence X/R ratio.Default = 3.
DSS property name: x0r0, DSS property index: 10
|
inline |
Alternate method of defining the source impedance.
Positive-sequence reactance, ohms. Default is 6.6.
DSS property name: X1, DSS property index: 14
|
inline |
Positive-sequence X/R ratio.
Default = 4.
DSS property name: x1r1, DSS property index: 9
|
inline |
LOADSHAPE object to use for the per-unit voltage for YEARLY-mode simulations.
Set the Mult property of the LOADSHAPE to the pu curve. Qmult is not used. If UseActual=Yes then the Mult curve should be actual L-N kV.
Must be previously defined as a LOADSHAPE object.
Is set to the Daily load shape when Daily is defined. The daily load shape is repeated in this case. Set to NONE to reset to no loadahape for Yearly mode. The default is no variation.
DSS property name: Yearly, DSS property index: 27
|
inline |
LOADSHAPE object to use for the per-unit voltage for YEARLY-mode simulations.
Set the Mult property of the LOADSHAPE to the pu curve. Qmult is not used. If UseActual=Yes then the Mult curve should be actual L-N kV.
Must be previously defined as a LOADSHAPE object.
Is set to the Daily load shape when Daily is defined. The daily load shape is repeated in this case. Set to NONE to reset to no loadahape for Yearly mode. The default is no variation.
DSS property name: Yearly, DSS property index: 27
|
inline |
Zero-sequence equivalent source impedance, ohms, as a 2-element array representing a complex number.
Example:
Z0=[3, 4] ! represents 3 + j4
Used to define the impedance matrix of the VSOURCE if Z1 is also specified.
Note: Z0 defaults to Z1 if it is not specifically defined.
DSS property name: Z0, DSS property index: 21
|
inline |
Positive-sequence equivalent source impedance, ohms, as a 2-element array representing a complex number.
Example:
Z1=[1, 2] ! represents 1 + j2
If defined, Z1, Z2, and Z0 are used to define the impedance matrix of the VSOURCE. Z1 MUST BE DEFINED TO USE THIS OPTION FOR DEFINING THE MATRIX.
Side Effect: Sets Z2 and Z0 to same values unless they were previously defined.
DSS property name: Z1, DSS property index: 20
|
inline |
Negative-sequence equivalent source impedance, ohms, as a 2-element array representing a complex number.
Example:
Z2=[1, 2] ! represents 1 + j2
Used to define the impedance matrix of the VSOURCE if Z1 is also specified.
Note: Z2 defaults to Z1 if it is not specifically defined. If Z2 is not equal to Z1, the impedance matrix is asymmetrical.
DSS property name: Z2, DSS property index: 22