Why is my Simscape gas fan simulation so incredibly sensitive to temperature and flow resistance?
6 views (last 30 days)
Show older comments
I am doing a relatively simple simulation in Simscape with a fan, some pipes, a heat exchanger etc. (and a bunch of sensors) simulating helium at T=20K P=20bar.
I have robust fluid properties entered across the entire operating range that I am simulating.
If I initialize at say 20K everything runs smoothly and the temperature may fluctuate between 15K & 25K depending on the heat loads etc. HOWEVER, if I attempt to INITIALIZE at 25K or even 22K, the simulation won't converge to initial conditions!
Additionally, if I change the flow resistance of my circut slightly then the entire simulation may not initialize.
I am commanding the pump with a ramp speed input from an ideal angular velocity source (as below) usually starting at 0 speed (but this doesn't seem to change the initialization success much):

The error is always this:

Does anyone have reccomendations for how to deal with these issues?
Is there some trick to getting the fan to operate more robustly?
Is there a better solver setting I should be using (I have tried starting from steady state and not starting from steady state).
6 Comments
zhuo chen
on 28 Aug 2020
Thank you very much for your answer. I want to simulate a constant temperature field. How can the density not change with the temperature through the setting, or the temperature of the system does not change, can it be achieved by changing the insight of the material?
Answers (1)
Juan Sagarduy
on 26 Oct 2020
Hello Colin,
I think that Starting from Steady State can be a difficult choice to start with.
I would recommend that you start with a simple system: fan, source reservoir, a pipe and a sink reservoir.
Pressure for both reservoirs is equal and transfer of gas is done through spinning the fan.
BR Juan
0 Comments
See Also
Categories
Find more on Gas Models in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
