.Modelica.Electrical.Analog.Examples.OpAmps.Comparator

Comparator

Information

This is a comparator. Resistance R1 can be chosen, resistance R2 is defined by the desired reference voltage Vref (between Vn and Vp). The output switches between Vn for input voltage < Vref and Vp for input voltage > Vref.


Generated at 2026-06-25T20:19:00Z by OpenModelicaOpenModelica 1.26.9 using GenerateDoc.mos