blockBoolean4Integrator
Boolean4 integrator
Extends from Math.RealFunction.
Information
Syntax
y = Boolean4Integrator(u = condition, tl = time_period);
Description
This blocks computes the accumulated continuous time the Boolean4 condition u is true over time period tl.
Example
This block is demonstrated with the following example:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | name (from RealFunction) | "Model name" |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.Boolean4Input | u (from RealFunction) | Boolean4 condition | |
| Connectors.RealOutput | y (from RealFunction) | ||
| Connectors.TimeLocatorInput | tl (from RealFunction) | ||
| Connectors.FunctionTypeOutput | ft (from RealFunction) | Function type (monotonic increasing, monotonic decreasing, non monotonic) |