modelElectrical4
R-L series circuit, graphical implementation
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Description
This is a graphical -- the fourth -- implementation of an R-L series circuit in Modelica.
Plot the following variable(s)
vR: voltage drop of resistorvL: voltage drop of inductor
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Resistance | R | 10 | Resistance |
| Modelica.Units.SI.Inductance | L | 2 | Inductance |
| Modelica.Units.SI.Voltage | v | 20 | Total DC voltage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Voltage | vR | resistor.v | Voltage drop of resistor |
| Modelica.Units.SI.Voltage | vL | inductor.v | Voltage drop of inductor |
| Modelica.Units.SI.Current | i | resistor.i | Current |
| Modelica.Electrical.Analog.Basic.Ground | ground | ||
| Modelica.Electrical.Analog.Sources.ConstantVoltage | constantVoltage | ||
| Modelica.Electrical.Analog.Basic.Resistor | resistor | ||
| Modelica.Electrical.Analog.Basic.Inductor | inductor |