Engee documentation

Resistor

Linear resistor.

blockType: AcausalFoundation.Electrical.Elements.Resistor

Path in the library:

/Physical Modeling/Fundamental/Electrical/Elements/Resistor

Description

Block Resistor It is a linear resistor described by the following equation:

Where:

  • — tension;

  • — current;

  • — resistance.

The + and connections are electrical ports corresponding to the positive and negative terminals of the resistor, respectively. By convention, the voltage across the resistor is defined as , and the sign of the current is assumed to be positive when flowing through the device from the positive to the negative terminal. This convention ensures that the power consumed by the resistor is always positive.

Ports

+ — positive
electricity

The electrical port represents the positive terminal of the resistor.

— negative
electricity

The electrical port represents the negative terminal of the resistor.

Parameters

Resistance — resistance of the pass resistor:q[<br>] 1 ohm (by default) | positive | scalar

The value of resistance.

Initial value of current i — initial value of current i
0 (by default)

Initial current value .

Initial value of voltage v — initial value of voltage v
0 (by default)

Initial voltage value .