.PowerSystems.Utilities.Math.angVelocity

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

Interface

function angVelocity
  extends Modelica.Icons.Function;
  input Real[2] x "2-dimensional vector";
  input Real[2] x_dot "time-derivative of x";
  output Real omega "angular velocity of x";
  import Modelica.Constants.eps;
end angVelocity;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos