Gas containment with output

2 views (last 30 days)
Tomas Iesmantas
Tomas Iesmantas on 14 Mar 2011
Hello, I'm modelling gas flow system and what is quite strange that SimHydraulic doesn't have any container with output: constant volume chamber has just input port. Maybe it is possible to construct with simulink blocks some chamber (like constant volume chanber), but with output orifice? Or maybe it is possible to use other blocks (even I couldnt find any) to use instead?

Accepted Answer

Arnaud Miege
Arnaud Miege on 14 Mar 2011
SimHydraulics is not designed for modelling gas flow systems, only (hydraulic) fluids. You can use the Simscape pneumatic foundation library instead. Note that it uses the ideal gas law approximation. More details are available in the documentation.
HTH,
Arnaud
  6 Comments
Tomas Iesmantas
Tomas Iesmantas on 14 Mar 2011
But unfortunately, there is no way to view source code for hydraulic chamber. Maybe you have any sugestions for hydraulic systems? ( something like two-port Constant Volume Hydraulic Chamber, I mean).
Arnaud Miege
Arnaud Miege on 14 Mar 2011
Don't use the hydraulic blocks for pneumatic simulations, the equations are different for hydraulic and pneumatic systems - and the assumptions used to derive those equations are also different. Forget about the hydraulics for your problem.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!