Simulation hangs and crashes when changeing values of capacitors from 10e-6 to 10e-9
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello community,
I have the following problem with Simulink: the simulation generally works without problems. When I change the values of capacitors in my circuit in the range from 10e-6 to 10e-9, the simulation runs up to T= 0.199 from T=0.2 without errors and then Matlab/Simulink and my system hangs. After a short time, Matlab/Simulink crashes. After that, there is no error message or crash report. How can I find out what exactly causes this behavior and how to fix it?
Thank you for your comments :)
----------------------------------------------------------------------------------------------------
MATLAB Version: 9.8.0.1721703 (R2020a) Update 7
Operating System: Linux 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.8 (R2020a)
Simulink Version 10.1 (R2020a)
Simscape Version 4.8 (R2020a)
Simscape Electrical Version 7.3 (R2020a)
0 Kommentare
Antworten (1)
Joel Van Sickel
am 20 Sep. 2021
Hello Luis,
the fact that it is crashing without a warning is a bug, can you share the model that crashes? On a side note, changing the capacitance to something that small will require a much smaller time step to simulate correctly. To assist with that, you can try changing your simulation relative (and absolute) tolerance to 1e-4 and 1e-5. Make sure to use ode23t or DAESSC as your solver.
Regards,
Joel
0 Kommentare
Siehe auch
Kategorien
Mehr zu Trimming and Linearization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!