sca_r
Project Library Model Name Kind
sca_basic_libraries elec_lin_symbols sca_r Electrical Module

Parameters

Name Type Default Description
value double 1.0 resistance in Ohm

Ports

Name Interface Type Description
p sca_eln::sca_terminal positive terminal
n sca_eln::sca_terminal negative terminal

Description

Resistor

Long Description

P1666.1 p.139 SystemC AMS build in element

7.1.6 sca_eln::sca_r

The class sca_eln::sca_r shall implement a primitive module for the ELN MoC that represents a resistor. The primitive shall contribute Equation (7.1) to the equation system:

(7.1) vp,n(t) = ip,n(t)*value

where value is the resistance in ohm, vp,n(t) is the voltage across the resistor between terminals p and n, and ip,n(t) is the current through the resistor flowing from terminal p to terminal n.

The element supports current tracing. The current is flowing from terminal p to terminal n through the element.