This example is a first step on the way 'from voltage source to generator model'.

Lower part of example (for comparison with and interpretation of upper part):
simplest generator description as a "voltage behind reactance".

Upper part: 3-winding generator model, isotrope with x_d = x_q.
The power-angle is artificially fixed. The correspondence is:

  V_gen1.alpha0 ~ powerAngle.delta
  V_gen1.v0     ~ exciter.v_f

In both cases the terminal voltage is fixed by the bus voltage. The results should coincide.

See for example:

 sensor.p[1:2]    active and reactive power

up users guide

Generated at 2024-06-15T18:16:03Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos