Top up with a supply gas
top_upTop a tank up with a ready-made supply gas (air, EAN32, a trimix premix…): the pressure added, the mix you end up with, its MOD, and the gas density at a depth. For a ready-made supply gas; to add pure oxygen or helium use what_if or blend. Use for "I have 50 bar of EAN32 left, what do I get if I top up with air to 200", "dopuni mi bocu s 50 bara EAN32 zrakom do 220 bara", "koji će biti konačni postotak kisika". Needs the start pressure and mix, the final pressure and the supply gas: ask if one is unknown, don't assume. Answer: the start, the gas added and the final pressure, the resulting mix, and its MOD by the settings. Then ask whether to check the mix for a planned depth (mod, with the complete MOD).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| banks | No | Source banks (storage cylinders). Any bank not given is taken from the In Da Mix settings and listed in `assumed`. | |
| method | No | Calculation method (equation of state), as in the app. Default from the In Da Mix settings (see list_methods for the current default); listed in `assumed`. IDEAL_GAS_DALTON is the simple ideal-gas method; DIVESOFT_REAL_GAS also plans the decant from the banks. | |
| language | No | Language of the texts in the answer: en (English) or hr (Croatian). Use the user's language. | en |
| dive_mode | No | Open circuit (OC) or closed-circuit rebreather (CCR). Sets which defaults apply (from the In Da Mix settings: ppO2, END, density, O2 narcotic). The values used are listed in `assumed`. | OC |
| depth_unit | No | Unit of every depth in the question and the answer. | m |
| temperature | No | Fill-site (ambient) temperature, in temperature_unit. Default from the In Da Mix settings; listed in `assumed`. | |
| use_booster | No | A gas booster is available: banks that can't decant high enough are boosted. With DIVESOFT_REAL_GAS it changes the plan; with other methods it only plans the gas. | |
| target_depth | No | Depth for the gas density, in depth_unit. Default 30 m. | |
| include_steps | No | Also return the app's ƒx steps ("How this was calculated"): every formula with its numbers. Long: only when the user asks how it was calculated. | |
| pressure_unit | No | Unit of every pressure in the question and the answer. | bar |
| tank_volume_l | No | Water volume of the tank being filled, litres (a twin 12 = 24). Used for gas litres and bank use. | |
| start_pressure | No | Pressure already in the tank, in pressure_unit. 0 = empty. This changes the result a lot: if the user did not give it, ask before calling. If you call without it, the tool assumes an empty tank and lists that in `assumed`. | |
| heat_correction | No | Correct for the heating of the gas while filling. | |
| target_pressure | Yes | Fill pressure wanted, in pressure_unit (e.g. 200 or 232 bar, 3000 psi). | |
| start_he_percent | No | He percent of the gas already in the tank. | |
| start_o2_percent | No | O2 percent of the gas already in the tank (21 for air). | |
| temperature_unit | No | Unit of the fill temperature. | C |
| supply_he_percent | No | He percent of the supply gas. | |
| supply_o2_percent | Yes | O2 percent of the ready-made supply gas (20.9 for air, 32 for EAN32). |