sca_vccs
Project Library Model Name Kind
sca_pwl_libraries pwl_basics sca_vccs Electrical Module

Parameters

Name Type Default Description
value double 1.0 transconductance
pwl_value sca_vector<std::pair<double,double> > {{}} characteristic (Inp_nn(Vncp_ncn)) is 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 current source

Long Description

P1666.1 p.142 SystemC AMS build in element

7.1.10 sca_eln::sca_vccs

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

(7.5) inp,nn(t) = value*vncp,ncn(t)

where value is the scale coefficient in siemens, vncp,ncn(t) is the control voltage across terminals ncp and ncn, and inp,nn(t) is the current flowing through the primitive from terminal np to terminal nn.

The element does not support current tracing.

If the parameter pwl_value contains elements the source works as piece wise linear voltage controlled current source. In this case, the parameter pwl_value defines the characteristic. It must contain at least 2 pairs (input voltage in Volt/output current in Ampere).  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.