blockXzPosition
Calculates accumulated x and z position from inclination and speed
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Calculates accumulated horizontal x-position and vertical z-position along the track from speed and inclination.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x0 | 0 | Initial value of x-Position |
| Real | z0 | 0 | Initial value of z-Position |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | inclination | ||
| Modelica.Blocks.Interfaces.RealInput | v | ||
| Modelica.Blocks.Interfaces.RealOutput | z | ||
| Modelica.Blocks.Interfaces.RealOutput | x |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Atan | atan | ||
| Modelica.Blocks.Math.Sin | sin | ||
| Modelica.Blocks.Math.Cos | cos | ||
| Modelica.Blocks.Math.Product | productx | ||
| Modelica.Blocks.Continuous.Integrator | integratorx | ||
| Modelica.Blocks.Math.Product | productz | ||
| Modelica.Blocks.Continuous.Integrator | integratorz |