why is my PI controller having no output when it has inputs?

4 vues (au cours des 30 derniers jours)
tochukwu victor
tochukwu victor le 7 Fév 2016
Commenté : tochukwu victor le 10 Fév 2016
i have a model in simulink power system of R2013a but when i run the simulation, the PI controller does not give an output. i have checked and its inputs are ok. i have tried different solvers with no change but when i change the time domain of the controller from discrete to continuous time, it gives this error message
"Derivative input 15 of 'wind_and_gen/powergui/EquivalentModel1/State-Space' at time 0.0 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)"
please can anybody help out with how to check/solve singularity or what to do with the pi controller in discrete time domain to give an output?

Réponse acceptée

Muhammed Fasil
Muhammed Fasil le 8 Fév 2016
Click on that error message and at the error point of simulink file use a "UNIT DELAY" block and run simulation again
  1 commentaire
tochukwu victor
tochukwu victor le 10 Fév 2016
thank you so much. doing that solved the problem perfectly

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by