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