|
Marine systems simulation
|
A boolean OR operation.
Collaboration diagram for Or:This SimObject has two input ports, In1 and In2, and one output port, Out. If either of In1 and In2 are nonzero ("true"), then Out is equal to 1. Otherwise, Out is equal to 0 ("false"). Implementation class is Or.
| Name | Width | Description |
|---|---|---|
| In1 | 1 | Input 1, real-valued. |
| In2 | 1 | Input 2, real-valued. |
| Name | Width | Description |
|---|---|---|
| Out | 1 | 1 if In1 or In2 is nonzero, 0 otherwise. |
This SimObject contains no configuration parameters.
This SimObject contains no initial conditions.
This SimObject is referred to as Boolean/Or