Sep 02, 2019 - 04:04 AM
1. The "Ph" input for the voltage source is just the phase shift - not phase angle as a function of time. Therefore you don't need to calculate the theta angle and add it.
2. Measuring the voltage at the far side bus adds another time-constant (the time-constant of the RMS meter) into your control function. Why not just assume 1 per-unit voltage? Also, you were making it so that the ouptut of the RMS meter was in Per-Unit, but the input of the three phase voltage source is not in Per-Unit, so that was causing a problem too.
Seems to do what it is supposed to do now...
Hope this helps