Adapted from the ModelicaAdditions.Blocks.Discrete library Version 1.0 ## Copyright © EDF 2002 - 2025 ## ThermoSysPro Version 4.2