| Project | Library | Model Name | Kind |
| sca_basic_libraries | elec_lin_symbols | sca_tdf_vsource | Electrical Module |
Parameters
| Name | Type | Default | Description |
| scale | double | 1.0 | voltage scaling factor |
Ports
| Name | Interface | Type | Description |
| p | sca_eln::sca_terminal | positive terminal | |
| n | sca_eln::sca_terminal | negative terminal | |
| inp | sca_tdf::sca_in | double | timed dataflow control input |
Description
Voltage source driven by timed dataflow signal
Long Description
P1666.1 p.154 SystemC AMS build in element
7.1.23 sca_eln::sca_tdf::sca_vsource / sca_eln::sca_tdf_vsource
The class sca_eln::sca_tdf::sca_vsource shall implement a primitive module for the ELN MoC that realizes the scaled conversion of a TDF signal to an ELN voltage source. The primitive shall contribute Equation (7.28) to the equation system:
(7.28) vp,n(t)=scale*inp
where scale is the constant scale coefficient, inp is the TDF input signal that shall be interpreted as a continuoustime signal, and vp,n(t) is the voltage across terminals p and n. The product of scale and inp shall be interpreted as the voltage in volt.
The element supports current tracing. The current is flowing from terminal p to terminal n through the element.