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