Model error in Simulink - Singularity error
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jyothiraditya Reddy
el 17 de Nov. de 2024 a las 11:04
Respondida: Shivam Gothi
el 17 de Nov. de 2024 a las 11:45
I am currently working on a project that involves building a PID controller for voltage and current, with feedback loops for both. I have constructed the circuit based on the control equations. However, when I run the simulation, I encounter a singularity issue that I am unable to resolve.
I would greatly appreciate it if someone could take a look at my model and suggest the necessary changes to overcome this problem. Any advice on tuning the PID parameters or adjusting the feedback loops would also be helpful.
0 comentarios
Respuestas (1)
Shivam Gothi
el 17 de Nov. de 2024 a las 11:45
From the screenshot of Simulink model attached by you, it is not clear what the circuit is trying to simulate and how the PI inner and outer control loops are working. But, upon investigating the model, I found some potential reasons that are causing the singularity error.
This error mainly occurs when the solver is not able to find a solution for the circuit through iterative methods. In your case, this happens because your circuit has many “open-circuited” paths and many of the components have floating teminals as shown in the below given figure. (Note: Here , the term ”floating terminals” means the terminals that are not connected anywhere.)
Cause of error:
Circuit contains open-circuited paths ,floating terminals and short circuited pulsed voltage source.
Suggestions to fix the error:
Generally, no path of the circuit is kept floating or open circuited. But if your application demands that, connect a high value resistance across the floating terminals and ground.As a next step, look around for all the open circuited paths in your circuits and close the circuit with high value resistance in series.
I hope this answers your question !
0 comentarios
Ver también
Categorías
Más información sobre Get Started with Simscape Electrical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!