modelRelay
Relay, y = if u1 > 0 then u2 else u3
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u1 | ||
| Modelica.Blocks.Interfaces.RealInput | u2 | ||
| Modelica.Blocks.Interfaces.RealInput | u3 | ||
| Modelica.Blocks.Interfaces.RealOutput | y |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.GreaterThreshold | greaterThreshold | ||
| Modelica.Blocks.Logical.Switch | switch |