Simscape gas pipe acoustics

3 views (last 30 days)
Jean-Gabriel Gauvreau
Jean-Gabriel Gauvreau on 15 Sep 2020
Answered: Yifeng Tang on 29 Dec 2022
I am modeling a gas circuit which experience resonance.
From the help I found that the pipe element assume the gas inertia to be negligible.
Is there another way to account for standing waves and resonance of the gas system?

Answers (1)

Yifeng Tang
Yifeng Tang on 29 Dec 2022
You are probably right that you'll need the gas inertia modeled to capture the quick oscillation of pressure as the results of standing waves and resonance. There is an example of such phenomenon in the thermal liquid (TL) domain:
You'll need to make custom component, probably based on the existing Pipe (G) block, to include gas inertia in your gas network. The Pipe (TL) block has the options to enable or ignore inertia. So I think the best place for you to start is to compare the governing equations for with and without inertia in the TL domain, rewrite (if needed) for the gas domain, and try to add the additional equations in the .ssc files. Resources on Simscape language and customization:
In addition to the inertia, you may also need to enough spatial resolution, as in the example, to capture the traveling of the waves. Simscape blocks are "lump" models, so you need a few of them to resolve the wave shape.


Find more on Gas Models in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by