blockVisualization
Visualize position of magnet below coil
Information
The position of the magnet is visualized using DynamicSelect in the the icon layer's graphical annotations.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Position | dMin | -0.03 | |
| SI.Position | dMax | 0 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | d |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | ypos | integer(-200 + 300*(d - dMin)/(dMax - dMin)) | Aux.result for visualization |