functionangVelocity
Angular velocity of 2dim vector
Extends from Modelica.Icons.Function (Icon for functions).
Information
Angular velocity omega of 2-dimensional vector x from
x and x_dot = der(x)
omega is determined by
omega = datan(x[2]/x[1])*der(x[2]/x[1]) datan(y) = d atan(y)/dy
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | 2-dimensional vector | |
| Real | x_dot | time-derivative of x |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | omega | angular velocity of x |