modelTestVector2D
Application of Vector2D
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Description
This example tests the record Vector2D.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Vector2D | a | Vector | |
| Real | aMag | sqrt(a.x^2 + a.y^2) | Magnitude of a |
| Modelica.Units.SI.Time | T | 0.2 | Time constant |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Vector2D | v | Integral of a/T |