modelElectrical1

R-L series circuit, first implementation

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

Information

Description

This is the first 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
RealR10Resistance
RealL2Inductance
Realv20Total DC voltage

Components

TypeNameDefaultDescription
RealvRVoltage drop of resistor
RealvLVoltage drop of inductor
RealiCurrent