modelManyEventsManyConditions
Model with many events in when clauses and a when clause with many triggering conditions
Extends from ManyEvents (Model with many events in when clauses).
Information
The model extends ManyEvents. Additionally, a single when clause monitors the changes of the entire e vector, and increases the value of v by one each time any when clause is triggered.
Summing up, the model contains N zero-crossing functions, generates M-1 state events if the simulation lasts 1 second, and contain a when clause triggered by N Boolean conditions.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N (from ManyEvents) | 5 | Number of states and event-generating functions |
| Integer | M (from ManyEvents) | N | Number of events that are actually triggered |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real[N] | x (from ManyEvents) | ||
| Boolean[N] | e (from ManyEvents) | ||
| Integer | v |