Power System and Wind Turbine simulation gives solver error

I am designing a frequency control model for an isolated power system with a wind farm. The isolated PS and wind turbine model work fine alone but when I put them together and the Power Output of WT to the adder it gives an error - Solver encountered an error while simulating model 'PowerSysFCorganised' at time 51.352514140757535 and cannot continue. Please check the model for errors. Nonlinear iteration is not converging with step size reduced to hmin (0.0000000000000000E+000) at time 5.1352514140757300E+001. Try reducing the minimum step size and/or relax the relative error tolerance.
I have tried changing solver to fixed step and other ODEs but nothing happening. Please help.

Answers (1)

Hi,
Try to put the sampling time as 50 or else try to change sampling time inside the Simulink blocks

1 Comment

Thank you for your reply. actually 50 is the time when I introduce the PL( the disturbance/fault). So the frequency drops there. If i put it at 20 it gives error at 20.

Sign in to comment.

Categories

Find more on General Applications in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 16 Oct 2018

Commented:

on 17 Oct 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!