Resistor

Ideal linear electrical resistor

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The linear resistor connects the branch voltage v with the branch current i by i*R = v. The Resistance R is allowed to be positive, zero, or negative.

Parameters (5)

useHeatPort

Value: false

Type: Boolean

Description: = true, if heatPort is enabled

T

Value: T_ref

Type: Temperature (K)

Description: Fixed device temperature if useHeatPort = false

R

Value:

Type: Resistance (Ω)

Description: Resistance at temperature T_ref

T_ref

Value: 300.15

Type: Temperature (K)

Description: Reference temperature

alpha

Value: 0

Type: LinearTemperatureCoefficient (¹/K)

Description: Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref))

Connectors (3)

p

Type: PositivePin

Description: Positive electrical pin

n

Type: NegativePin

Description: Negative electrical pin

heatPort

Type: HeatPort_a

Description: Conditional heat port

Used in Examples (90)

CauerLowPassAnalog

Modelica.Electrical.Analog.Examples

Cauer low pass filter with analog components

CauerLowPassOPV

Modelica.Electrical.Analog.Examples

Cauer low pass filter with operational amplifiers

CharacteristicIdealDiodes

Modelica.Electrical.Analog.Examples

Characteristic of ideal diodes

CharacteristicThyristors

Modelica.Electrical.Analog.Examples

Characteristic of ideal thyristors

ChuaCircuit

Modelica.Electrical.Analog.Examples

Chua's circuit, ns, V, A

DifferenceAmplifier

Modelica.Electrical.Analog.Examples

Simple NPN transistor amplifier circuit

HeatingNPN_NORGate

Modelica.Electrical.Analog.Examples

Heating NPN NOR Gate

HeatingPNP_NORGate

Modelica.Electrical.Analog.Examples

Heating PNP NOR Gate

Resistor

Modelica.Electrical.Analog.Examples

Resistor with simple thermal network

HeatingRectifier

Modelica.Electrical.Analog.Examples

Heating rectifier

OvervoltageProtection

Modelica.Electrical.Analog.Examples

Example for Zener diodes

ShowVariableResistor

Modelica.Electrical.Analog.Examples

Simple demo of a VariableResistor model

SwitchWithArc

Modelica.Electrical.Analog.Examples

Comparison of switch models both with and without arc

ThyristorBehaviourTest

Modelica.Electrical.Analog.Examples

Thyristor demonstration example

AmplifierWithOpAmpDetailed

Modelica.Electrical.Analog.Examples

Simple Amplifier circuit which uses OpAmpDetailed

CompareTransformers

Modelica.Electrical.Analog.Examples

Transformer circuit to show the magnetization facilities

ControlledSwitchWithArc

Modelica.Electrical.Analog.Examples

Comparison of controlled switch models both with and without arc

SimpleTriacCircuit

Modelica.Electrical.Analog.Examples

Simple triac test circuit

IdealTriacCircuit

Modelica.Electrical.Analog.Examples

Ideal triac test circuit

AD_DA_conversion

Modelica.Electrical.Analog.Examples

Conversion circuit

ResonanceCircuits

Modelica.Electrical.Analog.Examples

Resonance circuits: example to demonstrate generation of FMUs (Functional Mock-up Units)

InvertingAmp

Modelica.Electrical.Analog.Examples

Inverting amplifier

SeriesResonance

Modelica.Electrical.Analog.Examples

Series resonance circuit

ParallelResonance

Modelica.Electrical.Analog.Examples

Parallel resonance circuit

DifferentialAmplifier

Modelica.Electrical.Analog.Examples.OpAmps

Differential amplifier

VoltageFollower

Modelica.Electrical.Analog.Examples.OpAmps

Reproduce input voltage

InvertingSchmittTrigger

Modelica.Electrical.Analog.Examples.OpAmps

Inverting Schmitt trigger with hysteresis

SchmittTrigger

Modelica.Electrical.Analog.Examples.OpAmps

Schmitt trigger with hysteresis

Multivibrator

Modelica.Electrical.Analog.Examples.OpAmps

Multivibrator with Schmitt trigger

SignalGenerator

Modelica.Electrical.Analog.Examples.OpAmps

Rectangle-Triangle generator

LCOscillator

Modelica.Electrical.Analog.Examples.OpAmps

LC oscillator

SMPM_Braking

Modelica.Electrical.Machines.Examples.SynchronousMachines

Test example: PermanentMagnetSynchronousMachine acting as brake

SMEE_Rectifier

Modelica.Electrical.Machines.Examples.SynchronousMachines

Test example: ElectricalExcitedSynchronousMachine with rectifier

TransformerTestbench

Modelica.Electrical.Machines.Examples.Transformers

Transformer test bench

AsymmetricalLoad

Modelica.Electrical.Machines.Examples.Transformers

Asymmetrical load

Rectifier6pulse

Modelica.Electrical.Machines.Examples.Transformers

6-pulse rectifier with 1 transformer

Rectifier

Modelica.Electrical.Polyphase.Examples

Test example with polyphase components

PolyphaseRectifier

Modelica.Electrical.Polyphase.Examples

Demonstrate a polyphase diode rectifier

Thyristor1Pulse_R

Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse

One pulse rectifier with resistive load and constant firing angle

Thyristor1Pulse_R_Characteristic

Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse

Control characteristic of one pulse rectifier with resistive load

DiodeBridge2Pulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse

Two pulse Graetz diode bridge with resistive load

HalfControlledBridge2Pulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse

Two pulse Graetz half controlled bridge with resistive load

ThyristorBridge2Pulse_R

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse

Two pulse Graetz thyristor bridge rectifier with resistive load

ThyristorBridge2Pulse_RL

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse

Two pulse Graetz thyristor bridge rectifier with R-L load

ThyristorBridge2Pulse_RLV

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse

Two pulse Graetz thyristor bridge rectifier with R-L load and voltage

ThyristorBridge2Pulse_RLV_Characteristic

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse

Characteristic of two pulse Graetz thyristor bridge rectifier with R-L load and voltage

ThyristorBridge2Pulse_DC_Drive

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse

Two pulse Graetz thyristor bridge feeding a DC drive

DiodeCenterTap2Pulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse

Two pulse diode rectifier with center tap with resistive load

ThyristorCenterTap2Pulse_R

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse

Two pulse thyristor rectifier with center tap and resistive load

ThyristorCenterTap2Pulse_RL

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse

Two pulse thyristor rectifier with center tap and R-L load

ThyristorCenterTap2Pulse_RLV

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse

Two pulse thyristor rectifier with center tap and R-L load and voltage

ThyristorCenterTap2Pulse_RLV_Characteristic

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse

Characteristic of two pulse thyristor rectifier with center tap and R-L load and voltage

DiodeCenterTapmPulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse

2*m pulse diode rectifier with center tap with resistive load

ThyristorCenterTapmPulse_R

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse

2*m pulse thyristor rectifier with center tap and resistive load

ThyristorCenterTapmPulse_RL

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse

2*m pulse thyristor rectifier with center tap and R-L load

ThyristorCenterTapmPulse_RLV

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse

2*m pulse thyristor rectifier with center tap and R-L load and voltage

ThyristorCenterTapmPulse_RLV_Characteristic

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse

Characteristic of 2*m pulse thyristor rectifier with center tap and R-L load and voltage

DiodeBridge2mPulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse

2*m pulse diode rectifier bridge with resistive load

HalfControlledBridge2mPulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse

2*m pulse half controlled rectifier bridge with resistive load

ThyristorBridge2mPulse_R

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse

2*m pulse thyristor rectifier bridge with resistive load

ThyristorBridge2mPulse_RL

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse

2*m pulse thyristor rectifier bridge with R-L load

ThyristorBridge2mPulse_RLV

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse

2*m pulse thyristor rectifier bridge with R-L load and voltage

ThyristorBridge2mPulse_RLV_Characteristic

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse

Characteristic of 2*m pulse thyristor rectifier bridge with R-L load and voltage

DiodeCenterTap2mPulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse

2*m pulse diode center tap rectifier with resistive load

ThyristorCenterTap2mPulse_R

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse

2*m pulse thyristor center tap rectifier with resistive load

ThyristorCenterTap2mPulse_RL

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse

2*m pulse thyristor rectifier with R-L load

ThyristorCenterTap2mPulse_RLV

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse

2*m pulse thyristor center tap rectifier with R-L load and voltage

ThyristorCenterTap2mPulse_RLV_Characteristic

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse

Characteristic of 2*m pulse center tap thyristor rectifier with R-L load and voltage

SinglePhaseTwoLevel_R

Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel

Single-phase DC to AC converter with resistive load

SinglePhaseTwoLevel_RL

Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel

Single-phase DC to AC converter with R-L load

ChopperStepDown_R

Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown

Step down chopper with resistive load

ChopperStepDown_RL

Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown

Step down chopper with R-L load

ChopperStepUp_R

Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp

Step up chopper with resistive load

HBridge_R

Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge

H bridge DC/DC converter with resistive load

HBridge_RL

Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge

H bridge DC/DC converter with R-L load

Dimmer_R

Modelica.Electrical.PowerConverters.Examples.ACAC

Dimmer with resistive load

Dimmer_RL

Modelica.Electrical.PowerConverters.Examples.ACAC

Dimmer with resistive-inductive load

Rectifier

Modelica.Electrical.QuasiStatic.SinglePhase.Examples

Rectifier example

SaturatedInductor

Modelica.Magnetic.FluxTubes.Examples.BasicExamples

Inductor with saturation in the ferromagnetic core

HysteresisModelComparison

Modelica.Magnetic.FluxTubes.Examples.Hysteresis

Comparison of the different hysteresis models

InductorWithHysteresis

Modelica.Magnetic.FluxTubes.Examples.Hysteresis

SinglePhaseTransformerWithHysteresis1

Modelica.Magnetic.FluxTubes.Examples.Hysteresis

SinglePhaseTransformerWithHysteresis2

Modelica.Magnetic.FluxTubes.Examples.Hysteresis

ThreePhaseTransformerWithRectifier

Modelica.Magnetic.FluxTubes.Examples.Hysteresis

Three-phase transformer (including hysteresis effect) with rectifier

SinglePhaseInductance

Modelica.Magnetic.FundamentalWave.Examples.Components

Single-phase inductance

SMPM_Braking

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines

Test example: PermanentMagnetSynchronousMachine acting as brake

SMEE_Rectifier

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines

Test example: ElectricalExcitedSynchronousMachine with rectifier

LinearInductor

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples

Linear inductor with ferromagnetic core

NonLinearInductor

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples

Non linear inductor with ferromagnetic core

ControlledTemperature

Modelica.Thermal.HeatTransfer.Examples

Control temperature of a resistor

Used in Components (35)

Buffer

Modelica.Electrical.Analog.Examples.OpAmps.OpAmpCircuits

Non inverting operational amplifier circuit

Gain

Modelica.Electrical.Analog.Examples.OpAmps.OpAmpCircuits

Inverting operational amplifier circuit

Add

Modelica.Electrical.Analog.Examples.OpAmps.OpAmpCircuits

Adding operational amplifier circuit

Feedback

Modelica.Electrical.Analog.Examples.OpAmps.OpAmpCircuits

Subtracting operational amplifier circuit

Der

Modelica.Electrical.Analog.Examples.OpAmps.OpAmpCircuits

Differentiating operational amplifier circuit

Integrator

Modelica.Electrical.Analog.Examples.OpAmps.OpAmpCircuits

Integrating operational amplifier circuit

FirstOrder

Modelica.Electrical.Analog.Examples.OpAmps.OpAmpCircuits

Lowpass filter operational amplifier circuit

Derivative

Modelica.Electrical.Analog.Examples.OpAmps.OpAmpCircuits

Lowpass filter operational amplifier circuit

PI

Modelica.Electrical.Analog.Examples.OpAmps.OpAmpCircuits

PI controller operational amplifier circuit

RealSwitch

Modelica.Electrical.Analog.Examples.Utilities

Ideal switch with resistance

Transistor

Modelica.Electrical.Analog.Examples.Utilities

Transistor with resistance an capacitance

Resistor

Modelica.Electrical.Analog.Examples.Utilities

Input/output block of a resistance model

IdealTriac

Modelica.Electrical.Analog.Ideal

Ideal triac, based on ideal thyristors

OLine

Modelica.Electrical.Analog.Lines

Lossy Transmission Line

segment

Modelica.Electrical.Analog.Lines.M_OLine

Multiple line segment model

segment_last

Modelica.Electrical.Analog.Lines.M_OLine

Multiple line last segment model

ULine

Modelica.Electrical.Analog.Lines

Lossy RC Line

CellRCStack

Modelica.Electrical.Batteries.BatteryStacks

Battery with open-circuit voltage dependent on state of charge, self-discharge, inner resistance and a series of RC-elements

SuperCap

Modelica.Electrical.Batteries.BatteryStacks

Simple model of a supercapacitor

BaseCellStack

Modelica.Electrical.Batteries.BaseClasses

Battery with open-circuit voltage dependent on state of charge, self-discharge and inner resistance

Battery

Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities

Simple battery model

SM_ElectricalExcited

Modelica.Electrical.Machines.BasicMachines.SynchronousMachines

Electrical excited synchronous machine with damper cage

DC_ElectricalExcited

Modelica.Electrical.Machines.BasicMachines.DCMachines

Electrical shunt/separate excited linear DC machine

DC_SeriesExcited

Modelica.Electrical.Machines.BasicMachines.DCMachines

Series excited linear DC machine

PartialBasicDCMachine

Modelica.Electrical.Machines.Interfaces

Partial model for DC machine

Resistor

Modelica.Electrical.Polyphase.Basic

Ideal linear electrical resistors

PermeanceActuator

Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.Components

Detailed actuator model for rough magnetic design of actuator and system simulation

ConstantActuator

Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.Components

Simple behavioural actuator model for system simulation

SimpleSolenoid

Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.Components

Simple network model of a lifting magnet with planar armature end face

AdvancedSolenoid

Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.Components

Advanced network model of a lifting magnet with planar armature end face, split magnetomotive force

Transformer1PhaseWithHysteresis

Modelica.Magnetic.FluxTubes.Examples.Hysteresis.Components

Single-phase transformer with ferromagnetic core and hysteresis

Transformer3PhaseYyWithHysteresis

Modelica.Magnetic.FluxTubes.Examples.Hysteresis.Components

Three-phase transformer in Yy configuration

SinglePhaseWinding

Modelica.Magnetic.FundamentalWave.BasicMachines.Components

Symmetric winding model coupling electrical and magnetic domain

QuasiStaticAnalogWinding

Modelica.Magnetic.QuasiStatic.FundamentalWave.BasicMachines.Components

Quasi-static single-phase winding neglecting induced voltage

Motor

Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.Utilities

Motor model including current controller of r3 motors