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

TypeNameDefaultDescription
Modelica.Units.SI.ResistanceR10Resistance
Modelica.Units.SI.InductanceL2Inductance
Modelica.Units.SI.CurrentIRef0.25Reference current

Components

TypeNameDefaultDescription
Modelica.Electrical.Analog.Basic.Groundground
Modelica.Electrical.Analog.Basic.Resistorresistor
Modelica.Electrical.Analog.Basic.Inductorinductor
Modelica.Electrical.Analog.Sources.SignalVoltagesignalVoltage
Modelica.Electrical.Analog.Sensors.CurrentSensorcurrentSensor
Modelica.Blocks.Sources.StepstepReference current
Modelica.Blocks.Math.Feedbackfeedback
Modelica.Blocks.Continuous.IntegratorintegratorController