modelSwitchCounter

Counts the number of switching events

Extends from AixLib.Obsolete.BaseClasses.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

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

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanInputuswitching signal

Components

TypeNameDefaultDescription
Integern_switchnumber of switching events