How to mix gases with different properties in Simulink ?

Hello everyone,
I work on a project where I have to use three different gases for mix them :
I use simulink for obtain the density of the gas mixed but I have this error message :
"Error compiling Simscape network for model labo.
Caused by: ['labo/Gas Properties (G)1', 'labo/Gas Properties (G)']: Failed to propagate domain parameters. Domain parameters are propagated to the same set of nodes from sources: 'Subsystem10.Gas_Properties_G1.A' and 'Subsystem10.Gas_Properties_G.A'. Each node may only have at most one source of propagation."
So, how can I mix different gases if I can't define a physical constant for each of them ?
As a reminder, I don't know gas properties for the mixed gas.
Thanks for your help

댓글 수: 5

I have the same issue... Did you find any solution?
soroush rastegarpour, I'm still working on it
the only way I have found is calculate gas properties for the gas mixed and made this set up :
I really would like to not calculate gas properties for gas mixed but I have no choice
Thank you for your quick response.
As far as I know, the properties of the mixture depends on the concentration of each component in the mixture fluid. From this perspective, how do you manage the propoerties of the mixture if you change the contribution of one of the inlet components?
Precisely cause I know the composition of my gas
but except this simulation, the knowledge of this properties is useless for me and I lose so many precision by calculing gas properties

댓글을 달려면 로그인하십시오.

답변 (2개)

Pramil
Pramil 2024년 8월 22일

0 개 추천

Hey Guillaume,
Connecting three gases won’t mix them, rather it is perceived by Simscape as specifying the domain parameters more than once, as suggested by the error you received.
To obtain a mixture of gases in Simscape, you can use the “Moist Air Properties” block instead this block specifies data for dry air, water vapor, and carbon dioxide. However, you can replace them with your own gas properties so you will essentially have a mixture of up to three gases.
Here is the link to the documentation of “Moist Air properties” block for your reference:
Alexander Szambor
Alexander Szambor 2025년 3월 6일

0 개 추천

Too late, but you could use a Constant Volume Chamber to mix the gases. With 4 Connections where you use 3 as inputs and one as output.

카테고리

도움말 센터File Exchange에서 Gas Models에 대해 자세히 알아보기

제품

릴리스

R2021b

태그

질문:

2022년 6월 22일

답변:

2025년 3월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by