Its difficult to actually give you the solution to your error without actually seeing what the error is, so I suggest you to upload the snapshot of the error. In the meanwhile, you can refer to the following research article on VFT and PMSG implementation in SIMULINK
Thank you for your reply. Actually my reference paper is what you mentioned in the link. When I simulate, it is showing the following error with the solution also.
The following two blocks cannot be connected in series because they are modeled as current sources:
Block 1: A_rotor: Variable Frequency Transformer
Block 2: A: Permanent Magnet Synchronous Machine
Add a high-value resistance in parallel with one of the two block.
You can also specify high-value resistive snubbers if the blocks have a snubber device.
But even after connecting a high value resistance in parallel with it, still I am not getting the values/waveforms similar to that ref. paper.