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 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.