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 resistorvL: voltage drop of inductor
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | R | 10 | Resistance |
| Real | L | 2 | Inductance |
| Real | v | 20 | Total DC voltage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | vR | Voltage drop of resistor | |
| Real | vL | Voltage drop of inductor | |
| Real | i | Current |