Documentation

Resistor

Linear resistor in electrical systems

Library

Electrical Elements

Description

The Resistor block models a linear resistor, described with the following equation:

V=I·R

where

VVoltage
ICurrent
RResistance

Connections + and – are conserving electrical ports corresponding to the positive and negative terminals of the resistor, respectively. By convention, the voltage across the resistor is given by V(+) – V(–), and the sign of the current is positive when flowing through the device from the positive to the negative terminal. This convention ensures that the power absorbed by a resistor is always positive.

Variables

Use the Variables tab in the block dialog box (or the Variables section in the block Property Inspector) to set the priority and initial target values for the block variables prior to simulation. For more information, see Set Priority and Initial Target for Block Variables.

Parameters

Resistance

Resistance, in ohms. The default value is 1 Ω.

Ports

The block has the following ports:

+

Electrical conserving port associated with the resistor positive terminal.

-

Electrical conserving port associated with the resistor negative terminal.

Introduced in R2007a

Was this topic helpful?