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

9 次查看(过去 30 天)
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?

采纳的回答

Muhammed Fasil
Muhammed Fasil 2016-2-8
Click on that error message and at the error point of simulink file use a "UNIT DELAY" block and run simulation again

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Classical Control Design 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by