Resistor - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Resistor

Ideal linear electrical resistor

 

Description

Equations

Variables

Connections

Parameters

Modelica Standard Library

Description

The Resistor component models a constant, linear electrical resistor with an optional heat port and temperature dependency. The resistance is allowed to be positive, zero, or negative.

Equations

i=ip=in

v=vpvn=Ractuali

Ractual=R1+αTresTref

Tres={TheatPortUse Heat PortTotherwise

LossPower=vi

Variables

Name

Units

Description

Modelica ID

v

V

Voltage drop across the resistor

v

vx

V

Voltage at pin x, xn,p

x.v

i

A

Current flowing from pin p to pin n

i

ix

A

Current into pin x, xn,p

x.i

LossPower

W

Loss power leaving component via HeatPort

LossPower

TheatPort

K

Temperature of HeatPort

T_heatPort

Ractual

Ω

Actual resistance

R_actual

Connections

Name

Description

Modelica ID

p

Positive pin

p

n

Negative pin

n

Heat Port

Conditional heat port

heatPort

Parameters

Name

Default

Units

Description

Modelica ID

R

1

Ω

Resistance

R

T

Tref

K

Fixed device temperature if Use Heat Port is false

T

Tref

300.15

K

Reference temperature

T_ref

α

0

1K

Temperature coefficient of resistance

alpha

Use Heat Port

false

 

True (checked) means heat port is enabled

useHeatPort

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Analog Components

Electrical Library

Resistors