modelSubtracter

Inverting subtracter

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

Information

This is an inverting subtracter.

Note: vOut measure the negative output voltage.

Parameters

TypeNameDefaultDescription
SI.VoltageVin5Amplitude of input voltage
SI.Frequencyf10Frequency of input voltage

Components

TypeNameDefaultDescription
Modelica.Electrical.Analog.Basic.Groundground
Sources.SineVoltagevIn1
Sources.ConstantVoltagevIn2
Modelica.Electrical.Analog.Sensors.VoltageSensorvOut
OpAmpCircuits.Feedbackfeedback