|On this page…|
SimHydraulics® software uses the Simscape library as its main library. Simscape™ modeling environment provides the Physical Network approach for modeling and solving systems under design as one-dimensional networks. SimHydraulics software utilizes these basic modeling principles and contains a library of specialized hydraulic blocks that seamlessly interact with basic Simscape blocks. When modeling hydraulic power and control systems, you use the following Simscape libraries:
Foundation library — Contains basic hydraulic, mechanical, and physical signal blocks
SimHydraulics library — Contains advanced hydraulic diagram blocks, such as valves, cylinders, pipelines, pumps, and accumulators
Utilities library — Contains essential environment blocks for creating Physical Networks models
You can combine all these blocks in your SimHydraulics diagrams to model hydraulic systems. You can also use the basic Simulink® blocks in your diagrams, such as sources or scopes. See Connecting Simscape Diagrams to Simulink Sources and Scopes for more information on how to do this.
You can access the blocks through the Simulink Library Browser. To display the Library Browser, click the Simulink Library button in the toolbar of the MATLAB® desktop. Alternatively, you can type simulink in the MATLAB Command Window. Then expand the Simscape entry in the contents tree.
Another way to access the block libraries is to open them individually by using the command prompt:
To open just the SimHydraulics library, type sh_lib in the MATLAB Command Window.
To open the Simscape library (to access the utility blocks, as well as hydraulic sources, sensors, and other Foundation library blocks), type simscape in the MATLAB Command Window.
To open the main Simulink library (to access generic Simulink blocks), type simulink in the MATLAB Command Window.
The SimHydraulics library consists of nine top-level libraries, as shown in the following illustration. Some of these libraries contain second-level sublibraries. You can expand each library by double-clicking its icon.