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)

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))

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

Connectors (3)

heatPort

Type: HeatPort_a

Description: Conditional heat port

p

Type: PositivePin

Description: Positive electrical pin

n

Type: NegativePin

Description: Negative electrical pin

Used in Examples (88)

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_OrGate

Modelica.Electrical.Analog.Examples

Heating NPN Or Gate

HeatingPNP_NORGate

Modelica.Electrical.Analog.Examples

Heating PNP NOR Gate

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

InvertingAmp

Modelica.Electrical.Analog.Examples.OpAmps

Inverting amplifier

NonInvertingAmp

Modelica.Electrical.Analog.Examples.OpAmps

Non-inverting amplifier

VoltageFollower

Modelica.Electrical.Analog.Examples.OpAmps

Reproduce input voltage

Differentiator

Modelica.Electrical.Analog.Examples.OpAmps

Differentiating amplifier

Integrator

Modelica.Electrical.Analog.Examples.OpAmps

Integrating amplifier

LowPass

Modelica.Electrical.Analog.Examples.OpAmps

Low-pass filter

HighPass

Modelica.Electrical.Analog.Examples.OpAmps

High-pass filter

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.SynchronousInductionMachines

Test example: PermanentMagnetSynchronousInductionMachine acting as brake

SMEE_Rectifier

Modelica.Electrical.Machines.Examples.SynchronousInductionMachines

Test example: ElectricalExcitedSynchronousInductionMachine 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.MultiPhase.Examples

Test example with multiphase components

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

Rectifier

Modelica.Electrical.QuasiStationary.SinglePhase.Examples

Rectifier example

SaturatedInductor

Modelica.Magnetic.FluxTubes.Examples

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

3 Phase transformer (including hysteresis effect) with rectifier

SinglePhaseInductance

Modelica.Magnetic.FundamentalWave.Examples.Components

Single phase inductance

SMPM_Braking

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Test example: PermanentMagnetSynchronousInductionMachine acting as brake

SMEE_Rectifier

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Test example: ElectricalExcitedSynchronousInductionMachine 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

Used in Components (23)

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

Battery

Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities

Simple battery model

SM_ElectricalExcited

Modelica.Electrical.Machines.BasicMachines.SynchronousInductionMachines

Electrical excited synchronous induction 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.MultiPhase.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.Components

Motor model including current controller of r3 motors