This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSSOLARUINVKIT: How to simulate the Active clamp flyback converter in simulink or PLECS software?

Part Number: TMDSSOLARUINVKIT

I want to simulate the active clamp flyover converter portion only of "Digitally Controlled Solar Micro Inverter using C2000™ Piccolo Microcontroller". So, I have tried to simulate the active clamp flyback converter. Instead of PV, I have given constant DC voltage as a source and constant PWM. However it does not working properly. At first I have tried with an input Capacitor (Cin) and it abort the simulation after few seconds by showing error. But if I remove the Cin then it runs but however it decays the output to zero. Is this happening for the MOSFET as PWM is not correct or parameters of the components (L,C or R)? Could anyone provide me any simulink or PLECS simulation file for this problem? I will be very grateful if anyone could help me. 

I have attached the circuit and simulation result.