Calc Accumulator Precharge
calc_accumulator_prechargeCalculates nominal gas volume V0 for a gas-charged hydraulic accumulator to deliver a usable fluid volume between minimum and maximum working pressures, including pre-charge pressure sizing.
Instructions
Size a gas-charged hydraulic accumulator (bladder, piston, diaphragm): the nominal gas volume V0 that delivers a given usable fluid volume between a minimum and a maximum working pressure, from the gas law p*V^n = constant (n = 1.0 isothermal / slow, 1.4 adiabatic / fast discharge). The pre-charge pressure is given, or defaults to 0.9 x the minimum pressure.
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": {
"usable_volume": "<usable_volume>",
"min_pressure": "<min_pressure>",
"max_pressure": "<max_pressure>"
},
"name": "calc_accumulator_precharge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exponent | No | Polytropic exponent n, 1.0 to 1.67: 1.0 slow (isothermal), 1.4 fast (adiabatic) nitrogen | |
| volume_unit | No | Unit for the volumes, e.g. 'L', 'm^3', 'gal' | L |
| max_pressure | Yes | Highest (system) pressure, e.g. '200 bar' | |
| min_pressure | Yes | Lowest working pressure the circuit still needs, e.g. '100 bar' | |
| usable_volume | Yes | Fluid volume to deliver between the two pressures, e.g. '5 L' | |
| precharge_pressure | No | Gas pre-charge pressure, e.g. '90 bar'. Empty = 0.9 x min_pressure (a common rule of thumb). | |
| pressures_are_gauge | No | true: the three pressures are gauge (bar g); false: they are absolute |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | Non-quantity payload (reports, listings) | |
| error | No | ||
| value | No | Primary quantity result | |
| values | No | All named quantity results (includes the primary) | |
| warnings | No | ||
| artifacts | No | ||
| provenance | Yes | What produced the result and from which inputs. | |
| review_status | No | unreviewed |