.PowerSystems.Utilities.Precalculation.i_field

Information

Calculates the complex field-current i_f, and outputs di_f2 which is defined as follows:

  i_f   complex field-current for actual impedance-parameters
  i_f0  desired (measured) field-current at nominal voltage /_ 0deg.
  di_f  = i_f - i_f0            (complex difference)
  di_f2 = di_f*conjugate(di_f)  (square of absolute value of difference)

The difference di_f2 is used in order to determine the coupling terms xm[2:n] by a minimum-principle.

Interface

function i_field
  extends Modelica.Icons.Function;
  import PowerSystems.Utilities.Complex.ComplexType;
  import PowerSystems.Utilities.Complex.re;
  import PowerSystems.Utilities.Complex.im;
  input SIpu.Reactance[:] xm2_n(each unit = "1") "approximate value of xm[2:n]";
  input Real[:] x_opt "additional input arguments";
  output Real di_f2 "i_f*conjugate(i_f)";
  output Boolean result "true if Tsig real and convergence tol-ok";
end i_field;

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos