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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n_switch | number of switching events | |
| Modelica.Blocks.Interfaces.BooleanInput | u | switching signal |