modelSubtracter
Inverting subtracter
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This is an inverting subtracter.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | Vin | 5 | Amplitude of input voltage |
| SI.Frequency | f | 10 | Frequency of input voltage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Basic.Ground | ground | ||
| Modelica.Electrical.Analog.Sources.SineVoltage | vIn1 | ||
| Modelica.Electrical.Analog.Sources.ConstantVoltage | vIn2 | ||
| Modelica.Electrical.Analog.Sensors.VoltageSensor | vOut | ||
| OpAmpCircuits.Feedback | feedback |