sca_vcvs
Project Library Model Name Kind
sca_pwl_libraries pwl_basics sca_vcvs Electrical Module

Parameters

Name Type Default Description
value double 1.0 voltage gain
pwl_value sca_vector<std::pair<double,double> > {{}} characteristic Vnp_nn(Vncp_ncn) used instead of value if vector length is > 0

Ports

Name Interface Type Description
ncp sca_eln::sca_terminal positive control terminal
ncn sca_eln::sca_terminal negative control terminal
np sca_eln::sca_terminal positive terminal of source
nn sca_eln::sca_terminal negative terminal of source

Description

Voltage controlled voltage source

Long Description

P1666.1 p.141 SystemC AMS build in element

7.1.9 sca_eln::sca_vccs

The class sca_eln::sca_vcvs shall implement a primitive module for the ELN MoC that represents a voltage controlled voltage source. The primitive shall contribute Equation (7.4) to the equation system:

(7.4)  vnp,nn(t) = value*vncp,ncn(t)

where value is the scale coefficient, vncp,ncn(t) is the control voltage across terminals ncp and ncn, and vnp,nn(t)?is the voltage across terminals np and nn.

The element does not support current tracing.

If the parameter pwl_value contains elements the source works as piece wise linear voltage controlled voltage source. In this case, the parameter pwl_value defines the characteristic. It must contain at least 2 pairs (input voltage in Volt/output voltage in Volt).  The first values of the following pairs must be increasing. The characteristic will be continued before and after the last segement with the first or last gain respectively.