In Da Mix
v1.26.41Gas blending calculator for scuba divers: nitrox, trimix, heliair, heliox, MOD, best mix and fills.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
blend Blend a mix (fill steps)
Use 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 tr…
| Parameter | Type | Description |
|---|---|---|
mix_type * | string | nitrox (O2 + air), trimix (He + O2 + air), heliair (He + air), heliox (He + O2). |
target_pressure * | number | Fill pressure wanted, in pressure_unit (e.g. 200 or 232 bar, 3000 psi). |
banks | object | Source banks (storage cylinders). Any bank not given is taken from the In Da Mix settings and listed in `assumed`. |
depth_unit | string | Unit of every depth in the question and the answer. |
dive_mode | string | 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`. |
heat_correction | boolean | Correct for the heating of the gas while filling. |
helium_first | boolean | Partial pressure: add helium before oxygen (trimix, heliox). |
how | string | 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). |
include_steps | boolean | 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. |
language | string | Language of the texts in the answer: en (English) or hr (Croatian). Use the user's language. |
method | string | 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 met… |
pressure_unit | string | Unit of every pressure in the question and the answer. |
start_he_percent | number | He percent of the gas already in the tank. |
start_o2_percent | number | O2 percent of the gas already in the tank (21 for air). |
start_pressure | number | 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 li… |
tank_volume_l | number | Water volume of the tank being filled, litres (a twin 12 = 24). Used for gas litres and bank use. |
target_he_percent | number | He percent of the mix wanted (trimix, heliair, heliox). |
target_o2_percent | number | O2 percent of the mix wanted (nitrox, trimix, heliox). |
temperature | number | Fill-site (ambient) temperature, in temperature_unit. Default from the In Da Mix settings; listed in `assumed`. |
temperature_unit | string | Unit of the fill temperature. |
use_booster | boolean | 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. |
gas_usage Gas usage and banks for one fill
For one blend: the litres of each gas it takes from the banks, each bank's pressure afterwards, and whether a bank can still decant (or needs boosting, or runs short). Same inputs as blend, plus the banks. Use for "how much helium will this fill use", "is my O2 bank enough for this fill", "koliko helija trošim za ovu mješavinu", "koliko plina ostaje u bankama". Banks not given come from the settings. Answer: the oxygen, helium and other gas used, each bank's pressure before and after, whether the fill works, and whether decanting is enough or a booster is needed; keep the litres of gas and t…
| Parameter | Type | Description |
|---|---|---|
mix_type * | string | nitrox (O2 + air), trimix (He + O2 + air), heliair (He + air), heliox (He + O2). |
target_pressure * | number | Fill pressure wanted, in pressure_unit (e.g. 200 or 232 bar, 3000 psi). |
banks | object | Source banks (storage cylinders). Any bank not given is taken from the In Da Mix settings and listed in `assumed`. |
depth_unit | string | Unit of every depth in the question and the answer. |
dive_mode | string | 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`. |
heat_correction | boolean | Correct for the heating of the gas while filling. |
helium_first | boolean | Partial pressure: add helium before oxygen (trimix, heliox). |
how | string | 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). |
include_steps | boolean | 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. |
language | string | Language of the texts in the answer: en (English) or hr (Croatian). Use the user's language. |
method | string | 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 met… |
pressure_unit | string | Unit of every pressure in the question and the answer. |
start_he_percent | number | He percent of the gas already in the tank. |
start_o2_percent | number | O2 percent of the gas already in the tank (21 for air). |
start_pressure | number | 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 li… |
tank_volume_l | number | Water volume of the tank being filled, litres (a twin 12 = 24). Used for gas litres and bank use. |
target_he_percent | number | He percent of the mix wanted (trimix, heliair, heliox). |
target_o2_percent | number | O2 percent of the mix wanted (nitrox, trimix, heliox). |
temperature | number | Fill-site (ambient) temperature, in temperature_unit. Default from the In Da Mix settings; listed in `assumed`. |
temperature_unit | string | Unit of the fill temperature. |
use_booster | boolean | 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. |
fills_from_bank How many fills the banks give
How many identical fills the source banks give before a bank can't supply the next one, and why it stops (bank down to the minimum pressure, or it can't decant high enough without a booster). Every tank is assumed to start the same (start_pressure / mix). Use for "how many tanks can I fill with NX32 from my 50 L O2 bank at 180 bar", "how many trimix fills can I make", "koliko boca mogu napuniti", "za koliko punjenja imam kisika". Answer: the number of complete fills, the banks and the start of each tank, the bank that limits it, the bank pressures after, and why one more fill isn't possible; s…
| Parameter | Type | Description |
|---|---|---|
mix_type * | string | nitrox, trimix, heliair, heliox, or top_up (a ready-made supply gas from the top-up bank). |
target_pressure * | number | Fill pressure wanted, in pressure_unit (e.g. 200 or 232 bar, 3000 psi). |
banks | object | Source banks (storage cylinders). Any bank not given is taken from the In Da Mix settings and listed in `assumed`. |
depth_unit | string | Unit of every depth in the question and the answer. |
dive_mode | string | 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`. |
fills_wanted | integer | Only when the user asks what the banks must hold for this many fills: fills_needs. |
heat_correction | boolean | Correct for the heating of the gas while filling. |
helium_first | boolean | Partial pressure: add helium before oxygen (trimix, heliox). |
how | string | 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). |
include_steps | boolean | 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. |
language | string | Language of the texts in the answer: en (English) or hr (Croatian). Use the user's language. |
max_fills | integer | Stop counting here. |
method | string | 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 met… |
min_bank_pressure | number | A bank isn't used below this pressure (regulator / compressor intake / booster inlet), in pressure_unit. Default 10 bar. |
pressure_unit | string | Unit of every pressure in the question and the answer. |
start_he_percent | number | He percent of the gas already in the tank. |
start_o2_percent | number | O2 percent of the gas already in the tank (21 for air). |
start_pressure | number | 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 li… |
supply_he_percent | number | He percent of the supply gas. |
supply_o2_percent | number | O2 percent of the ready-made supply gas (20.9 for air, 32 for EAN32). |
tank_volume_l | number | Water volume of the tank being filled, litres (a twin 12 = 24). Used for gas litres and bank use. |
target_he_percent | number | He percent of the mix wanted (trimix, heliair, heliox). |
target_o2_percent | number | O2 percent of the mix wanted (nitrox, trimix, heliox). |
temperature | number | Fill-site (ambient) temperature, in temperature_unit. Default from the In Da Mix settings; listed in `assumed`. |
temperature_unit | string | Unit of the fill temperature. |
use_booster | boolean | 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. |
top_up Top up with a supply gas
Top 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…
| Parameter | Type | Description |
|---|---|---|
supply_o2_percent * | number | O2 percent of the ready-made supply gas (20.9 for air, 32 for EAN32). |
target_pressure * | number | Fill pressure wanted, in pressure_unit (e.g. 200 or 232 bar, 3000 psi). |
banks | object | Source banks (storage cylinders). Any bank not given is taken from the In Da Mix settings and listed in `assumed`. |
depth_unit | string | Unit of every depth in the question and the answer. |
dive_mode | string | 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`. |
heat_correction | boolean | Correct for the heating of the gas while filling. |
include_steps | boolean | 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. |
language | string | Language of the texts in the answer: en (English) or hr (Croatian). Use the user's language. |
method | string | 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 met… |
pressure_unit | string | Unit of every pressure in the question and the answer. |
start_he_percent | number | He percent of the gas already in the tank. |
start_o2_percent | number | O2 percent of the gas already in the tank (21 for air). |
start_pressure | number | 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 li… |
supply_he_percent | number | He percent of the supply gas. |
tank_volume_l | number | Water volume of the tank being filled, litres (a twin 12 = 24). Used for gas litres and bank use. |
target_depth | number | Depth for the gas density, in depth_unit. Default 30 m. |
temperature | number | Fill-site (ambient) temperature, in temperature_unit. Default from the In Da Mix settings; listed in `assumed`. |
temperature_unit | string | Unit of the fill temperature. |
use_booster | boolean | 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. |
best_mix Best mix for a depth
Use this FIRST when the user asks which breathing gas to use for a planned depth, or to select, recommend, optimise or compare one, even if they don't mention In Da Mix. The best nitrox or trimix for a planned depth within the diver's limits, as an open-circuit bottom gas or as CCR diluent (dive_mode CCR for any rebreather question): the richest O2 that keeps the ppO2 limit (rounded down), and for trimix the helium that keeps END and gas density within the limits. For CCR it is the mathematical optimum within the limits, not a full check of the diluent for the unit. Use for "best nitrox for 30…
| Parameter | Type | Description |
|---|---|---|
depth * | number | Planned maximum depth, in depth_unit. |
depth_unit | string | Unit of every depth in the question and the answer. |
dive_mode | string | 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`. |
gas_type | string | nitrox or trimix. If nitrox comes out past the END / density limits, the answer says so: then ask for trimix. |
include_steps | boolean | 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. |
language | string | Language of the texts in the answer: en (English) or hr (Croatian). Use the user's language. |
max_density_g_per_l | number | Maximum gas density, g/L. Default from the In Da Mix settings for the dive mode; the value used is listed in `assumed`. |
max_end | number | Maximum END, in depth_unit. Default from the In Da Mix settings for the dive mode; the value used is listed in `assumed`. |
o2_narcotic | boolean | Count O2 as narcotic in the END. Default from the In Da Mix settings for the dive mode; the value used is listed in `assumed`. |
ppo2_bar | number | ppO2 limit, bar. Default from the In Da Mix settings for the dive mode; the value used is listed in `assumed`. |
mod Maximum operating depth
Use whenever the user asks how deep a gas can go or checks an existing breathing gas (nitrox, trimix, CCR diluent) against a depth, even if they don't mention In Da Mix; never work a MOD out by hand. Maximum operating depth of a breathing gas: the MOD by the ppO2 limit (as on a cylinder label), and for hypoxic gases the minimum depth. With complete: true also the complete MOD, the deepest depth within the ppO2, END and gas density limits together, with the limit that sets it. Call it with only the gas (o2_percent, he_percent) and the dive mode: leave ppo2_bar out unless the user gave one, so t…
| Parameter | Type | Description |
|---|---|---|
o2_percent * | number | Oxygen in the gas, percent (32 for EAN32, 18 for trimix 18/45). |
complete | boolean | Also the complete MOD (within the END and gas density limits too). Leave it out at first; set true only when the user says yes to it. Giving max_end or max_density_g_per_l turns it on. |
depth_unit | string | Unit of every depth in the question and the answer. |
dive_mode | string | 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`. |
he_percent | number | Helium in the gas, percent (0 for nitrox). |
include_steps | boolean | 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. |
language | string | Language of the texts in the answer: en (English) or hr (Croatian). Use the user's language. |
max_density_g_per_l | number | Maximum gas density for the complete MOD, g/L. Default from the In Da Mix settings for the dive mode; the value used is listed in `assumed`. |
max_end | number | Maximum END for the complete MOD, in depth_unit. Default from the In Da Mix settings for the dive mode; the value used is listed in `assumed`. |
o2_narcotic | boolean | Count O2 as narcotic in the END. Default from the In Da Mix settings for the dive mode; the value used is listed in `assumed`. |
ppo2_bar | number | ppO2 limit, bar. Default from the In Da Mix settings for the dive mode; the value used is listed in `assumed`. |
what_if What If: add gas and see the mix
What mix you get when you add given pressures of oxygen, helium and/or air to what is in the tank (the app's What If): the pressure after each addition, the resulting mix, its MOD, EAD, END and gas density. Use for "what if" additions: "I have 50 bar of air, what do I get if I add 30 bar of O2 and top up with 120 bar of air", "what if I add 40 bar of helium", "što dobijem ako dodam 30 bara kisika", "dodam 40 bara helija, što dobijem". what_if: given additions -> the resulting mix; blend: a target mix -> how to make it. Pass only the additions and the tank's start the user gave. Answer: the s…
| Parameter | Type | Description |
|---|---|---|
add_air | number | Pressure of air added, in pressure_unit. |
add_helium | number | Pressure of pure helium added, in pressure_unit. |
add_oxygen | number | Pressure of pure oxygen added, in pressure_unit. |
depth_unit | string | Unit of every depth in the question and the answer. |
dive_mode | string | 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`. |
helium_first | boolean | Partial pressure: add helium before oxygen (trimix, heliox). |
include_steps | boolean | 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. |
language | string | Language of the texts in the answer: en (English) or hr (Croatian). Use the user's language. |
method | string | 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 met… |
pressure_unit | string | Unit of every pressure in the question and the answer. |
start_he_percent | number | He percent of the gas already in the tank. |
start_o2_percent | number | O2 percent of the gas already in the tank (21 for air). |
start_pressure | number | 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 li… |
target_depth | number | Depth for the gas density, in depth_unit. Default 30 m. |
temperature | number | Fill-site (ambient) temperature, in temperature_unit. Default from the In Da Mix settings; listed in `assumed`. |
temperature_unit | string | Unit of the fill temperature. |
decant Decant (cascade from cylinders)
Decanting one gas (oxygen, or helium) from source cylinders into a small cylinder without a compressor, as the app's Decant: a cascade, each cylinder equalised in turn (ideal gas). plan refills: one refill or a series (e.g. a CCR O2 cylinder from 75 to 150 bar after every dive): which cylinders each refill uses, the pressures after, how many refills the cylinders give, why it stops, and how many cylinders would be needed. plan diving_days: the app's diving-days planner (use per day, dives a day, Extra cylinders). For linked banks or a booster use fills_from_bank. Prefer it for CCR oxygen logis…
| Parameter | Type | Description |
|---|---|---|
dives_per_day | integer | diving_days: dives a day. |
fill_before_every_dive | boolean | diving_days: refill before every dive (true) or once a day (false). |
gas_he_percent | number | He percent of that gas. |
gas_o2_percent | number | O2 percent of the gas decanted (100 for oxygen, 0 for helium); only names it in the answer. |
include_steps | boolean | 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. |
language | string | Language of the texts in the answer: en (English) or hr (Croatian). Use the user's language. |
min_pressure_before_dive | number | diving_days: the cylinder needs at least this before a dive, in pressure_unit. |
min_pressure_to_start_day | number | diving_days, daily fill: the cylinder must start the day with at least this. Default: min_pressure_before_dive + use_per_day_max × (dives_per_day − 1) / dives_per_day. |
plan | string | refills: the tank goes from start_pressure to target_pressure at every refill. diving_days: the app's Decant planner (use per day, dives a day). |
pressure_unit | string | Unit of every pressure in the question and the answer. |
refills | integer | refills: how many refills in a row are wanted (e.g. dives − 1). Left out: as many as the cylinders give. |
sources | array | The source cylinders, each with its volume and pressure; several identical ones: one entry with count. refills: needed; opened lowest pressure first. diving_days: decanted in this order; left out = th… |
start_pressure | number | refills: the tank's pressure before each refill (what is left after a dive), in pressure_unit. 0 = empty. This changes the result a lot: if the user did not give it, ask before calling. If you call wi… |
tank_volume_l | number | Water volume of the cylinder being refilled, litres (e.g. a rebreather's 2 or 3 L). |
target_pressure | number | refills: the pressure wanted after each refill, in pressure_unit (needed). diving_days: the pressure it is filled to at most. |
use_per_day_max | number | diving_days: highest O2 use a day. Give one use: both are taken as it. |
use_per_day_min | number | diving_days: lowest O2 use a day, in pressure_unit of the cylinder. |
list_methods Calculation methods
The calculation methods (equations of state) In Da Mix offers, with their ids for the method input. The current default is in the `default` field. Use when the user asks about calculation models: ideal versus real gas, compressibility, Z-factors, Peng-Robinson, MultiDeco. Use for "which gas models are supported", "ideal gas versus Peng-Robinson", "koje modele izračuna podržava aplikacija", "razlika između real gas i ideal gas". Always call it rather than relying on a remembered list. Answer: the methods and the current default; the differences briefly, only when asked; don't recommend switc…