Sources
Gas mass flow rate and pressure source blocks
This library contains sources for the gas domain. For information on how to connect physical signal inputs of these blocks to Simulink® sources or other Simulink blocks, see Connecting Simscape Diagrams to Simulink Sources and Scopes.
Simscape Blocks
| Flow Rate Source (G) | Generate constant or time-varying mass flow rate or volumetric flow rate in gas network (Since R2023b) | 
| Pressure Source (G) | Generate constant or time-varying pressure differential | 
Topics
- Modeling Gas SystemsSteps and guidelines for gas system modeling. 
- Simple Gas ModelThis example shows how to create a simple open-loop gas network and set boundary conditions. 
- Change Flow Boundary ConditionsThis example shows how to change the gas flow boundary conditions without affecting temperature. 
- Change Flow DirectionThis example shows how the change in the gas flow direction affects the upstream temperature.