Engee documentation

Resistor

Linear resistor.

resistor

Description

The Resistor block represents a linear resistor described by the following equation:

where:

  • - voltage;

  • - current;

  • - resistance.

The + and - connections represent the 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 as it flows through the device from the positive to the negative terminal. This convention ensures that the power drawn by the resistor is always positive.

Ports

+ - positive
electricity

Electrical port, represents the positive terminal of a resistor.

- is the negative
electricity

Electrical port, represents the negative terminal of a resistor.

Parameters

Resistance - resistance of the resistor
1 ohm (by default) | positive | scalar

Resistance value.

Initial value of current i - initial value of current i
0 (By default)

Initial value of current .

Initial value of voltage v - initial value of voltage v
0 (By default)

Initial value of voltage .