Blend a mix (fill steps)
blendUse whenever the user asks how to blend, mix, fill or prepare a breathing gas, even if they don't mention In Da Mix. Step-by-step fill plan for blending nitrox, trimix, heliair or heliox into a scuba tank, from what is in it now to the mix and pressure wanted: how much helium and oxygen to add, the order, cooling waits, the O2 test, the air top-up, and booster bars. Partial pressure or continuous, with the app's calculation methods. Use for "how do I blend 18/45 to 220 bar", "how much O2 do I add for EAN32", "fill from the gas left in the tank", "kako napraviti trimix 12/65", "koliko helija trebam za 200 bara", "napravi plan punjenja boce". Needs the target mix and pressure, and what is in the tank now: if the start is unknown, ask; never assume an empty tank. The method, temperature and banks come from the settings. Answer: the start gas, the target, the additions in order with their pressures, the resulting mix, and the key filling and analysis precautions. Then ask whether to calculate the gas this fill takes from the source banks (gas_usage).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| how | No | partial_pressure: add pure He and O2 to the tank, then top up with air. continuous: He / O2 go into the compressor intake (a premix stream). | partial_pressure |
| 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 |
| mix_type | Yes | nitrox (O2 + air), trimix (He + O2 + air), heliair (He + air), heliox (He + O2). | |
| 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. | |
| helium_first | No | Partial pressure: add helium before oxygen (trimix, heliox). | |
| 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 |
| target_he_percent | No | He percent of the mix wanted (trimix, heliair, heliox). | |
| target_o2_percent | No | O2 percent of the mix wanted (nitrox, trimix, heliox). |