Engee documentation

Resistor

A 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. The voltage across the resistor is defined as , and the current sign is assumed to be positive when flowing through the device from the positive to the negative terminal. This ensures that the power consumed by the resistor is always positive.

Variables

Use the parameter group Initial Targets to set the priority and initial target values for the block parameter variables before modeling. For more information, see Configuring physical blocks using target values.

Ports

Conserving

# + — positive terminal
electricity

Details

The electrical port, which is the positive terminal of the resistor.

Program usage name

p

# — negative terminal
electricity

Details

The electrical port, which is the negative terminal of the resistor.

Program usage name

n

Parameters

Parameters

# Resistance — resistance of the resistor
Ohm | mOhm | kOhm | MOhm | GOhm

Details

The value of resistance.

Units

Ohm | mOhm | kOhm | MOhm | GOhm

Default value

1 Ohm

Program usage name

R

Evaluatable

Yes