Parametric Study with Simscape

13 visualizaciones (últimos 30 días)
RAVEESH G
RAVEESH G el 26 de Abr. de 2022
Comentada: RAVEESH G el 27 de Jun. de 2022
I am using condenser evaporator (2P-MA) block in simscape to model a two-phase fluid network and a moist air network with condensation. My interest is to see the rate for condensation for different input temperature and relative humidity conditions. So after one run of simulation I need to change the value of relative humidity and temperature as see the effect on water condensation.
How to perform this type of parametric study with the simscape model? I am new to Mathlab and simscape. Kindly help me to fix this.

Respuestas (1)

Yifeng Tang
Yifeng Tang el 24 de Jun. de 2022
In the Simscape block, you can use a MATLAB variable as the parameter. You can then change the value in that variable each time you run the model using the "sim" command. A few tips that may be useful in the process:
  1. Turn on data logging so you can get the results into your MATLAB script
  2. Try fast restart and run-time parameter settingto speed up the parametric sweep
  2 comentarios
JSH
JSH el 27 de Jun. de 2022
you can also use "multiple simulations" directly in simulink. There you can choose the variable to be studied and the range of values in vector form that it can take. You can also study more than one variable simultaneously and create sequential or exhaustive combinations of the parameters.
The results of the simulations can be viewed in the "Simulation Manager".
RAVEESH G
RAVEESH G el 27 de Jun. de 2022
Thank you very much. I got the sequential combination with the latest update.

Iniciar sesión para comentar.

Categorías

Más información sobre Simscape Fluids en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by