modelElectrical3

R-L series circuit, third implementation

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Description

This is the third implementation of an R-L series circuit in Modelica.

Plot the following variable(s)

  • vR: voltage drop of resistor
  • vL: voltage drop of inductor

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.ResistanceR10Resistance
Modelica.Units.SI.InductanceL2Inductance
Modelica.Units.SI.Voltagev20Total DC voltage

Components

TypeNameDefaultDescription
Modelica.Units.SI.VoltagevRVoltage drop of resistor
Modelica.Units.SI.VoltagevLVoltage drop of inductor
Modelica.Units.SI.CurrentiCurrent