Singularity error in powergui

19 ビュー (過去 30 日間)
arash moradinegade
arash moradinegade 2011 年 7 月 5 日
回答済み: Veera Kanmani 2018 年 4 月 20 日
I am new in simulink. I am trying to model a system including both control and power segments connecting with a "Controlled Voltage Source". I have used fixed-step continuous ode3 simulation with time step equal to 60 (to simulate one minute). In powergui I have chosen continuous simulation with same time step (60). But after a few seconds I got the following error:
"Derivative input 1 of 'HRES/powergui/EquivalentModel1/State-Space' at time 31650.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)."
I do not have any sub-system based on state-space in my design and it seems that powergui generate one automatically to simulate the power segment.
I cannot solve the problem, help me please. I got stock for a week:(
P.S. When I change the powergui using discrete simulation, it works but I got the above error when I am trying to sumulate continusly.

回答 (1 件)

Veera Kanmani
Veera Kanmani 2018 年 4 月 20 日
https://in.mathworks.com/matlabcentral/answers/99084-why-am-i-receiving-error-messages-about-singularities-in-my-simulink-model

カテゴリ

Help Center および File ExchangeGet Started with Specialized Power Systems についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by