Hydraulic Pipe - SIMSCAPE

8 views (last 30 days)
Krishna on 18 Feb 2024
Commented: Cris LaPierre on 19 Feb 2024
For my simulation, I have a pipe. The parameters that I need to model for the pipe are listed below:
  • Area (m^2)
  • Water Density (kg/m^3)
  • Length (m)
  • Resistance (Ns/m^5)
Currently I am using the Hydraulic Pipe Block:
When looking at the specs for the block, this is what I see:
In the block's settings, I only see an option for "AREA" and "LENGTH". But don't see an option for density and resistance.

Answers (1)

Cris LaPierre
Cris LaPierre on 19 Feb 2024
Resistance and fluid density are not properties of the Hydraulic Ppeline block. Instead, use Linear Hydraulic Resistance and Hydraulic Fluid or Custom Hydraulic Fluid blocks to set these properties in your system.
Note that, for all of these blocks, there is this warning at the top of the page:
The Hydraulics (Isothermal) library will be removed in a future release. Use the Isothermal Liquid library instead. (since R2020a)
For more information on updating your models, see Upgrading Hydraulic Models to Use Isothermal Liquid Blocks.
Krishna on 19 Feb 2024
Thank you so much. Another question about the same topic, if I use linear hydraulic resistance block, then how can I specify it for a specific length with a specific pipe diameter? Trying to model a pipe with a fixed resistance and a constant length and diameter.
Cris LaPierre
Cris LaPierre on 19 Feb 2024
What is the resistance value and units?
There is the Aggregate equivalent length of local resistances property of the Hydraulic Pipeline you are already using. It seems that is likely the best way to account for resistance. This value is often denoted . Simscape will treat the pipe length as .
Other blocks to consider might be the Local Hyrdaulic Resistance block or the Hydraulic Resistive Tube block.

Sign in to comment.


Find more on Hydraulic Elements 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!