Hello plecs support team,
Currently I design the grid forming inverter in plecs to see the dynamics response by realtime hil to hil simulation using RT Box 2. When I simulate the models in offline, the dq transformation showing the correct results in fig 1. However, in realtime simulation hil to hil showing different results. Fig. 2 shows that dq transformation are not in correct results. There are an oscillation in frequency 50 Hz. Furthermore, my inverter models is average models without switching operation.
How could the discrepancy happens between hil to hil simulation and offline simulation?
Fig 1. Current pcc measurements in dq frame [offline simulation]
Fig 2. Current pcc measurements in dq frame [hil to hil simulation]

