modelSwitchCounter

Counts the number of switching events

Extends from AixLib.Obsolete.BaseClasses.ObsoleteModel.

Information

Description of the Switch Counter:

This model counts the number of times that the logical input u switches from 0 to 1 during the simulation time.


  • November 28, 2016  Tobias Blacha:
    Moved into AixLib

Components

TypeNameDefaultDescription
Integern_switchnumber of switching events
Modelica.Blocks.Interfaces.BooleanInputuswitching signal