PIPEFLOWGAS
Calculate isothermal gas pipe flow: density, volumetric flow rate, mass flow rate from pressure drop
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"P1": "<P1>",
"P2": "<P2>",
"T": "<T>",
"L": "<L>",
"D": "<D>",
"MW": "<MW>"
},
"name": "PIPEFLOWGAS"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| D | Yes | Pipe inside diameter | |
| L | Yes | Pipe length | |
| T | Yes | Gas temperature | |
| MW | Yes | Gas molecular weight | |
| P1 | Yes | Upstream (inlet) pressure | |
| P2 | Yes | Downstream (outlet) pressure | |
| M_unit | No | Output mass flow unit | kg/hr |
| Q_unit | No | Output volumetric flow unit (normal conditions) | Nm3/hr |
| rho_unit | No | Output density unit | kg/m3 |