.PowerSystems.Common.IronSaturation.der_saturationAnalytic

Information

Returns the derivative of analytic saturation function.

  Input: psi0         unsaturated flux pu
  Output: der_psi     derivative of saturating flux with respect to psi0
The analytic expression for the saturating flux function and derivative is
  psi = (c[1]/c[2])*tanh(c[2]*psi0) + c[3]*psi0
  d_psi/d_psi0 = c[1]/cosh(c[2]*psi0)^2 + c[3]
For xratio < < 1 the coefficients c are related to
  xratio      ratio saturated/unsaturated coupling impedance
  psi_sat     saturation value of flux pu
in the following way
  c[1] = 1-xratio
  c[2] = (1-xratio)/(psi_sat-xratio)
  c[3] = xratio

Interface

function der_saturationAnalytic
  input Real[:] psi0 "unsaturated flux pu";
  input Real[3] c;
  output Real[size(psi0, 1)] der_psi "derivative d_psi/d_psi0";
end der_saturationAnalytic;

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