DC-DC converter Error Initial conditions solve failed to converge.

Hi, I'm quite new to Simulink and want to test the function of DC-DC converter. The picture below is the model I developed.
However, I came across these error:
Could anyone tell me how to solve this? Thanks in advance.

3 Kommentare

After I connected a electrical reference to the 2- port
the errors became these.
=== Simulation (Elapsed: 6 sec) ===
Warning:First solve for initial conditions failed to converge. Trying again with all high priorities relaxed to low.
Warning:Second solve for initial conditions failed to converge. Trying again with all variable targets ignored.
Error:An error occurred while running the simulation and the simulation was terminated
Caused by:
['untitled/Solver Configuration']: Initial conditions solve failed to converge.
Here is the set of components with unconverged equations:
'untitled/DC-DC Converter'
Equation location is:
'C:\Matlab\toolbox\physmod\elec\library\m\+ee\+semiconductors\+converters\dc_dc_converter.sscp'(no line number info)
Equation location is:
'C:\Matlab\toolbox\physmod\elec\library\m\+ee\+semiconductors\+converters\dc_dc_converter.sscp'(no line number info)
Equation location is:
'C:\Matlab\toolbox\physmod\elec\library\m\+ee\+semiconductors\+converters\dc_dc_converter.sscp'(no line number info)
Equation location is:
'C:\Matlab\toolbox\physmod\elec\library\m\+ee\+semiconductors\+converters\dc_dc_converter.sscp'(no line number info)
Equation location is:
'C:\Matlab\toolbox\physmod\elec\library\m\+ee\+semiconductors\+converters\dc_dc_converter.sscp'(no line number info)
'untitled/Battery'
Equation location is:
'C:\Matlab\toolbox\physmod\elec\library\m\+ee\+sources\battery.sscp'(no line number info)
Equation location is:
'C:\Matlab\toolbox\physmod\elec\library\m\+ee\+sources\battery.sscp'(no line number info)
'untitled/DC-DC Converter'
Equation location is:
'C:\Matlab\toolbox\physmod\elec\library\m\+ee\+semiconductors\+converters\dc_dc_converter.sscp'(no line number info)
Equation location is:
'C:\Matlab\toolbox\physmod\elec\library\m\+ee\+semiconductors\+converters\dc_dc_converter.sscp'(no line number info)
Equation location is:
'C:\Matlab\toolbox\physmod\elec\library\m\+ee\+semiconductors\+converters\dc_dc_converter.sscp'(no line number info)
Hello,
you can start by putting a capacitor at the output of the dc/dc converter. You can set this to the appropriate output voltage initial condition in the variables tab.
Also, if it helpes, there is a free simscape onramp here: https://www.mathworks.com/learn/tutorials/simscape-onramp.html
Regards,
Joel
Hi
Can you check setting the priority of parameter from any block to low going to its variable tab.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Joel Van Sickel
Joel Van Sickel am 2 Jul. 2021

0 Stimmen

you need to add an electrical reference to the output of this converter the way it works. (or short the output and input negative termals, or connect them with a large resistance to emulate isolation)
Regards,
Joel
Jasaswini Mohanty
Jasaswini Mohanty am 27 Aug. 2021

0 Stimmen

Hi, I was facing a similar issue. Can you please try with local solver. open the f(x)=0 block and there you will see an option for local solver. check that box. Also, try with different solver options. Hope this helps.

Kategorien

Mehr zu Simscape Electrical finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Gefragt:

am 17 Mär. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by