Behavior in the event of a power supply failure

After a power supply failure, the PGP controller should automatically restore its last valid state with the corresponding setpoints and parameters. This requirement is defined in the VDE standards.

For implementation, TwinCAT Power Plant Control saves the current parameters and setpoints in JSON format in the TwinCAT boot directory at startup (transition from Config to Run): %TWINCAT3DIR%/Boot/TcPowerSystem.

When the system stops (transition from Run to Config), these values are restored from the saved JSON files. If the files do not exist or are incorrect, the initial values are left as they are.

Behavior in the event of a power supply failure 1: