Pneumatic Tank
Pneumatics
运行在线示例
免费 · 无需注册 · 直接在浏览器中运行
Pneumatic Tank 模块用于模拟压缩空气储气罐。流入端口的气体质量流量根据理想气体定律建立压力。
实际工程类比: 代表储气罐、蓄能气筒或缓冲罐,储存压缩气体以平抑压力波动并满足峰值流量需求。
数学模型
其中:
\gamma为绝热指数(空气为 1.4)R为干燥空气气体常数 (287.058 J/(kg·K))T为气体温度 (K)V为储气罐容积 (m³)\dot{m}为净质量流量 (kg/s)
输入与输出
| Direction | ID | Label | 类型 | Status |
|---|---|---|---|---|
| → In | port |
Port | number | Required |
| → In | H |
H | number | Optional |
参数
| 参数 | Label | 类型 | 默认值 | 描述 |
|---|---|---|---|---|
volume |
Volume | number | 0.01 |
Internal volume of the tank / vessel |
initial_pressure |
Initial pressure | number | 600000 |
Absolute pressure at t = 0 (default: 6 bar abs) |
temperature |
Temperature | number | 293.15 |
Gas temperature in Kelvin (default: 20 °C) |
gamma |
Isentropic exponent (γ) | number | 1.4 |
Ratio of specific heats (1.4 for diatomic dry air) |
使用示例
储气罐经节流孔泄放
初始 6 bar 绝对压力的 10 L 储气罐经节流孔泄放到大气环境。
供气管道充气
恒压源通过调节阀向储气罐充气至压力平衡。
说明与最佳实践
- 质量守恒: 端口遵循质量连续性方程 。
- 绝对压力: 系统内部统一采用绝对压力 Pa。
- 求解器: 推荐使用 TR-BDF2 或 RK45。