.Spot.Base.Precalculation.polyTime

Information

This function is related to Math.polyRoots, but modified for polynomes of the form

  product(1 + p*T[k]), k in 1:n
It determines first the root vector
  r[k] = -1/T[k], k in 1:n

and herefrom T. The time constants are sorted in descending order.

A boolean variable Tisreal indicates whether all time constants are real or not.

See also polyCoef

Interface

function polyTime
  extends Icons.Function;
  input Real[:] a "coefficients of polynome";
  output SI.Angle[size(a, 1)] T "time constant";
  output Boolean Tisreal "true if all time constants real";
end polyTime;

Generated at 2024-12-22T19:25:51Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos