Main Content
Elements
Gas building blocks, such as chambers, reservoirs, local restrictions,
converters
This library contains basic elements and building blocks for the gas domain.
Simscape Blocks
Absolute Reference (G) | (Not recommended) Reference point at zero absolute temperature and pressure |
Cap (G) | Gas port terminator with zero flow |
Constant Volume Chamber (G) | Chamber with fixed volume of gas and variable number of ports |
Controlled Reservoir (G) | Boundary conditions for gas network at time-varying pressure and temperature |
Flow Resistance (G) | General resistance in a gas branch |
Infinite Flow Resistance (G) | Perfectly insulated break in gas network |
Local Restriction (G) | Restriction in flow area in gas network |
Pipe (G) | Rigid conduit for gas flow |
Reservoir (G) | Boundary conditions for gas network at constant pressure and temperature |
Rotational Mechanical Converter (G) | Interface between gas and mechanical rotational networks |
Translational Mechanical Converter (G) | Interface between gas and mechanical translational networks |
Topics
- Modeling Gas Systems
Steps and guidelines for gas system modeling.
- Simple Gas Model
This example shows how to create a simple open-loop gas network and set boundary conditions.
- Change Flow Boundary Conditions
This example shows how to change the gas flow boundary conditions without affecting temperature.
- Change Flow Direction
This example shows how the change in the gas flow direction affects the upstream temperature.