modelSignals
Application of signals, sources, sesors
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Description
This examples shows how the current in an electric circuit can be controlled using a sensor, a controller and a voltage source with signal input.
Plot the following variable(s)
currentSensor.i: current of cirucit
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Resistance | R | 10 | Resistance |
| Modelica.Units.SI.Inductance | L | 2 | Inductance |
| Modelica.Units.SI.Current | IRef | 0.25 | Reference current |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Basic.Ground | ground | ||
| Modelica.Electrical.Analog.Basic.Resistor | resistor | ||
| Modelica.Electrical.Analog.Basic.Inductor | inductor | ||
| Modelica.Electrical.Analog.Sources.SignalVoltage | signalVoltage | ||
| Modelica.Electrical.Analog.Sensors.CurrentSensor | currentSensor | ||
| Modelica.Blocks.Sources.Step | step | Reference current | |
| Modelica.Blocks.Math.Feedback | feedback | ||
| Modelica.Blocks.Continuous.Integrator | integrator | Controller |