It is up to you to create a valid model. It also isn’t clear where you are stuck.
If you are attempting to create a “dynamic” phase reversal event on one machine (rather than having two machines) you can use three connected Controlled Voltage Sources. Then you would use regular components from the PLECS library to define your voltage signal inputs (e.g. Sine Wave Generator or Clock with Trigonometric Functions).