modelRound
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | round_to | 1 | Set to the difference between 2 numbers it will round to. |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u | ||
| Modelica.Blocks.Interfaces.RealOutput | y |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.RealToInteger | realToInteger | ||
| Modelica.Blocks.Math.IntegerToReal | integerToReal | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Blocks.Math.Gain | gain1 |