{
  "schema": 1,
  "figure_dpi": 300,
  "elapsed_seconds": 286.81698172399774,
  "package_source_sha256": "cab2ecf96c60a0d1d005885793a221697dc3037bb3be50d8438b4de458423cbc",
  "input_sha256": {},
  "example": "examples-simulations-cough-droplets-partitioning",
  "fingerprint": "28b5c886b2900b2c14503fd15fd5b60695f5e912407287bb3fe575f86d8abcd2",
  "source": "docs/examples/simulations/cough_droplets_partitioning.py",
  "revision": "9c548d9d617a93cd23a45773426f751e9e6ed9ec",
  "package_dirty": false,
  "executed_at": "2026-11-16T14:41:48.416131+00:00",
  "device": "cuda:0: NVIDIA GeForce RTX 5060",
  "python": "3.12.12",
  "versions": {
    "particula": "0.3.1",
    "numpy": "2.3.4",
    "scipy": "1.16.2",
    "matplotlib": "3.10.7",
    "nbclient": "0.10.2",
    "jupytext": "1.17.3",
    "warp-lang": "1.11.1",
    "particula-distribution": "0.2.14"
  },
  "outputs": [
    [],
    [
      {
        "text": "Water: Water\n"
      },
      {
        "text": "NaCl: NaCl\npotassium bicarbonate (KHCO3): potassium bicarbonate (KHCO3)\npotassium dihydrogen phosphate (KH2PO4): potassium dihydrogen phosphate (KH2PO4)\n"
      },
      {
        "text": "calcium bicarbonate [Ca(HCO3)2]: calcium carbonate [usan]\n"
      },
      {
        "text": "magnesium bicarbonate [Mg(HCO3)2]: magnesium carbonate (mgco3)\nUrea: Urea\nLactate: Lactate\nGlucose: Glucose\n"
      },
      {
        "text": "Lysozyme: soy-dome\nIgA: IgA\ncholesterol: cholesterol\nWater:\n  Name: water\n  CAS: 7732-18-5\n  Smiles: O\n  Molar Mass: 0.0180 kg/mol\n  Density: 997.06 kg/m\u00b3\n  Surface Tension: 0.07197220523022962 N/m\n  Vapor Pressure: 3169.9293388738784 Pa\n\nNaCl:\n  Name: sodium chloride\n  CAS: 7647-14-5\n  Smiles: [Na+].[Cl-]\n  Molar Mass: 0.0584 kg/mol\n  Density: 2169.99 kg/m\u00b3\n  Surface Tension: 0.35290821232462 N/m\n  Vapor Pressure: 2.245741871175006e-30 Pa\n\npotassium bicarbonate (KHCO3):\n  Name: potassium bicarbonate\n  CAS: 298-14-6\n  Smiles: C(=O)(O)[O-].[K+]\n  Molar Mass: 0.1001 kg/mol\n  Density: 2170.00 kg/m\u00b3\n  Surface Tension: None N/m\n  Vapor Pressure: None Pa\n\npotassium dihydrogen phosphate (KH2PO4):\n  Name: potassium dihydrogen phosphate\n  CAS: 7778-77-0\n  Smiles: OP(=O)(O)[O-].[K+]\n  Molar Mass: 0.1361 kg/mol\n  Density: 2340.01 kg/m\u00b3\n  Surface Tension: None N/m\n  Vapor Pressure: None Pa\n\ncalcium bicarbonate [Ca(HCO3)2]:\n  Name: calcium carbonate\n  CAS: 471-34-1\n  Smiles: C(=O)([O-])[O-].[Ca+2]\n  Molar Mass: 0.1001 kg/mol\n  Density: 2710.00 kg/m\u00b3\n  Surface Tension: None N/m\n  Vapor Pressure: None Pa\n\nmagnesium bicarbonate [Mg(HCO3)2]:\n  Name: magnesium carbonate\n  CAS: 546-93-0\n  Smiles: C(=O)([O-])[O-].[Mg+2]\n  Molar Mass: 0.0843 kg/mol\n  Density: 3010.00 kg/m\u00b3\n  Surface Tension: None N/m\n  Vapor Pressure: None Pa\n\nUrea:\n  Name: urea\n  CAS: 57-13-6\n  Smiles: C(=O)(N)N\n  Molar Mass: 0.0601 kg/mol\n  Density: 932.80 kg/m\u00b3\n  Surface Tension: 0.06630868366869905 N/m\n  Vapor Pressure: 9.647479358454168 Pa\n\nLactate:\n  Name: lactic acid\n  CAS: 50-21-5\n  Smiles: CC(C(=O)O)O\n  Molar Mass: 0.0901 kg/mol\n  Density: 1146.11 kg/m\u00b3\n  Surface Tension: 0.06892887098077884 N/m\n  Vapor Pressure: 0.42214021514470007 Pa\n\nGlucose:\n  Name: glucose\n  CAS: 50-99-7\n  Smiles: O=C[C@H](O)[C@@H](O)[C@H](O)[C@H](O)CO\n  Molar Mass: 0.1802 kg/mol\n  Density: 1618.57 kg/m\u00b3\n  Surface Tension: 0.10078381855423499 N/m\n  Vapor Pressure: 3.472643152420593e-11 Pa\n\nLysozyme:\n  Name: hexachlorophene\n  CAS: 70-30-4\n  Smiles: C1=C(C(=C(C(=C1Cl)Cl)CC2=C(C(=CC(=C2Cl)Cl)Cl)O)O)Cl\n  Molar Mass: 0.4069 kg/mol\n  Density: 2009.99 kg/m\u00b3\n  Surface Tension: 0.07787535981784431 N/m\n  Vapor Pressure: 9.468715811988936e-14 Pa\n\nIgA:\n  Name: isoguanine\n  CAS: 3373-53-3\n  Smiles: C1=NC2=NC(=O)NC(=C2N1)N\n  Molar Mass: 0.1511 kg/mol\n  Density: 815.71 kg/m\u00b3\n  Surface Tension: 0.1373263034398279 N/m\n  Vapor Pressure: 0.00012951501534944908 Pa\n\ncholesterol:\n  Name: cholesterol\n  CAS: 57-88-5\n  Smiles: CC(C)CCC[C@@H](C)[C@H]1CC[C@H]2[C@@H]3CC=C4C[C@@H](O)CC[C@]4(C)[C@H]3CC[C@]12C\n  Molar Mass: 0.3867 kg/mol\n  Density: 1064.37 kg/m\u00b3\n  Surface Tension: 0.03942801914463943 N/m\n  Vapor Pressure: 8.548725890318368e-07 Pa\n\n"
      }
    ],
    [],
    [
      {
        "text": "\u26a0\ufe0f Warning: No vapor pressure data for potassium bicarbonate (KHCO3), using default.\n\u26a0\ufe0f Warning: No vapor pressure data for potassium dihydrogen phosphate (KH2PO4), using default.\n\u26a0\ufe0f Warning: No vapor pressure data for calcium bicarbonate [Ca(HCO3)2], using default.\n\u26a0\ufe0f Warning: No vapor pressure data for magnesium bicarbonate [Mg(HCO3)2], using default.\n"
      }
    ],
    [],
    [
      {
        "text": "Particle slots: 1000\nGas species: Water, NaCl, potassium bicarbonate (KHCO3), potassium dihydrogen phosphate (KH2PO4), calcium bicarbonate [Ca(HCO3)2], magnesium bicarbonate [Mg(HCO3)2], Urea, Lactate, Glucose, Lysozyme, IgA, cholesterol\n"
      }
    ],
    [
      {
        "image": "figure-7-1.png"
      }
    ],
    [],
    [],
    [
      {
        "text": "Initial gas concentration (kg/m^3): [[6.9110312e-03 1.0000000e-30 1.0000000e-30 1.0000000e-30 1.0000000e-30\n  1.0000000e-30 1.0000000e-30 1.0000000e-30 1.0000000e-30 1.0000000e-30\n  1.0000000e-30 1.0000000e-30]]\n"
      },
      {
        "text": "Warp 1.11.1 initialized:\n   CUDA Toolkit 12.9, Driver 13.4\n   Devices:\n     \"cpu\"      : \"CPU\"\n     \"cuda:0\"   : \"NVIDIA GeForce RTX 5060\" (8 GiB, sm_120, mempool enabled)\n   Kernel cache:\n     ~/.cache/warp/1.11.1\n"
      },
      {
        "text": "Module particula.execution._condensation_ode_kernels 9425cdf load on device 'cuda:0' took 3.52 ms  (cached)\nModule particula.gpu.kernels.thermodynamics 10b2126 load on device 'cuda:0' took 5.94 ms  (cached)\nModule particula.gpu.kernels.condensation ad8087d load on device 'cuda:0' took 5.99 ms  (cached)\nModule particula.execution._adaptive_condensation_physics a3e6636 load on device 'cuda:0' took 5.43 ms  (cached)\nModule particula.execution._condensation_reservoirs b231d81 load on device 'cuda:0' took 5.95 ms  (cached)\nModule particula.execution._condensation_device_control 053a506 load on device 'cuda:0' took 3.92 ms  (cached)\nModule particula.execution._condensation_ros3_kernels d88df3a load on device 'cuda:0' took 5.17 ms  (cached)\nModule particula.execution._condensation_block_kernels d2447a5 load on device 'cuda:0' took 5.08 ms  (cached)\n"
      },
      {
        "text": "\rRunning Sim:   0%|          | 0/201 [00:00<?, ?it/s]"
      },
      {
        "text": "\rRunning Sim:   1%|          | 2/201 [03:03<5:03:58, 91.65s/it]"
      },
      {
        "text": "\rRunning Sim:   1%|\u258f         | 3/201 [03:18<3:16:40, 59.60s/it]"
      },
      {
        "text": "\rRunning Sim:   2%|\u258f         | 4/201 [03:27<2:13:54, 40.79s/it]"
      },
      {
        "text": "\rRunning Sim:   2%|\u258f         | 5/201 [03:33<1:34:05, 28.81s/it]"
      },
      {
        "text": "\rRunning Sim:   3%|\u258e         | 6/201 [03:36<1:05:49, 20.25s/it]"
      },
      {
        "text": "\rRunning Sim:   3%|\u258e         | 7/201 [03:40<48:21, 14.95s/it]  "
      },
      {
        "text": "\rRunning Sim:   4%|\u258d         | 8/201 [03:42<35:28, 11.03s/it]"
      },
      {
        "text": "\rRunning Sim:   4%|\u258d         | 9/201 [03:44<25:32,  7.98s/it]"
      },
      {
        "text": "\rRunning Sim:   5%|\u258d         | 10/201 [03:46<20:29,  6.44s/it]"
      },
      {
        "text": "\rRunning Sim:   5%|\u258c         | 11/201 [03:49<16:42,  5.28s/it]"
      },
      {
        "text": "\rRunning Sim:   6%|\u258c         | 12/201 [03:52<14:12,  4.51s/it]"
      },
      {
        "text": "\rRunning Sim:   6%|\u258b         | 13/201 [03:54<12:00,  3.83s/it]"
      },
      {
        "text": "\rRunning Sim:   7%|\u258b         | 14/201 [03:55<08:52,  2.85s/it]"
      },
      {
        "text": "\rRunning Sim:   7%|\u258b         | 15/201 [03:56<07:25,  2.39s/it]"
      },
      {
        "text": "\rRunning Sim:   8%|\u258a         | 16/201 [03:58<06:30,  2.11s/it]"
      },
      {
        "text": "\rRunning Sim:   9%|\u2589         | 18/201 [03:58<04:01,  1.32s/it]"
      },
      {
        "text": "\rRunning Sim:  10%|\u2589         | 20/201 [03:59<02:49,  1.07it/s]"
      },
      {
        "text": "\rRunning Sim:  10%|\u2588         | 21/201 [04:00<02:33,  1.17it/s]"
      },
      {
        "text": "\rRunning Sim:  11%|\u2588         | 22/201 [04:01<02:48,  1.06it/s]"
      },
      {
        "text": "\rRunning Sim:  11%|\u2588\u258f        | 23/201 [04:02<03:12,  1.08s/it]"
      },
      {
        "text": "\rRunning Sim:  12%|\u2588\u258f        | 25/201 [04:03<02:18,  1.27it/s]"
      },
      {
        "text": "\rRunning Sim:  13%|\u2588\u258e        | 27/201 [04:04<02:10,  1.34it/s]"
      },
      {
        "text": "\rRunning Sim:  14%|\u2588\u258d        | 28/201 [04:06<02:31,  1.14it/s]"
      },
      {
        "text": "\rRunning Sim:  14%|\u2588\u258d        | 29/201 [04:06<02:15,  1.27it/s]"
      },
      {
        "text": "\rRunning Sim:  16%|\u2588\u258c        | 32/201 [04:07<01:26,  1.96it/s]"
      },
      {
        "text": "\rRunning Sim:  17%|\u2588\u258b        | 35/201 [04:08<01:04,  2.55it/s]"
      },
      {
        "text": "\rRunning Sim:  18%|\u2588\u258a        | 37/201 [04:08<01:00,  2.69it/s]"
      },
      {
        "text": "\rRunning Sim:  19%|\u2588\u2589        | 39/201 [04:10<01:15,  2.13it/s]"
      },
      {
        "text": "\rRunning Sim:  20%|\u2588\u2588        | 41/201 [04:11<01:21,  1.96it/s]"
      },
      {
        "text": "\rRunning Sim:  21%|\u2588\u2588\u258f       | 43/201 [04:12<01:25,  1.85it/s]"
      },
      {
        "text": "\rRunning Sim:  22%|\u2588\u2588\u258f       | 45/201 [04:13<01:12,  2.15it/s]"
      },
      {
        "text": "\rRunning Sim:  23%|\u2588\u2588\u258e       | 47/201 [04:13<01:06,  2.32it/s]"
      },
      {
        "text": "\rRunning Sim:  24%|\u2588\u2588\u258d       | 49/201 [04:15<01:13,  2.06it/s]"
      },
      {
        "text": "\rRunning Sim:  25%|\u2588\u2588\u258c       | 51/201 [04:16<01:19,  1.89it/s]"
      },
      {
        "text": "\rRunning Sim:  26%|\u2588\u2588\u258b       | 53/201 [04:17<01:17,  1.92it/s]"
      },
      {
        "text": "\rRunning Sim:  28%|\u2588\u2588\u258a       | 56/201 [04:17<00:56,  2.57it/s]"
      },
      {
        "text": "\rRunning Sim:  30%|\u2588\u2588\u2589       | 60/201 [04:18<00:39,  3.56it/s]"
      },
      {
        "text": "\rRunning Sim:  32%|\u2588\u2588\u2588\u258f      | 64/201 [04:19<00:33,  4.08it/s]"
      },
      {
        "text": "\rRunning Sim:  33%|\u2588\u2588\u2588\u258e      | 67/201 [04:20<00:44,  2.99it/s]"
      },
      {
        "text": "\rRunning Sim:  34%|\u2588\u2588\u2588\u258d      | 69/201 [04:21<00:47,  2.76it/s]"
      },
      {
        "text": "\rRunning Sim:  36%|\u2588\u2588\u2588\u258c      | 72/201 [04:22<00:40,  3.17it/s]"
      },
      {
        "text": "\rRunning Sim:  37%|\u2588\u2588\u2588\u258b      | 74/201 [04:23<00:41,  3.06it/s]"
      },
      {
        "text": "\rRunning Sim:  38%|\u2588\u2588\u2588\u258a      | 76/201 [04:24<00:44,  2.78it/s]"
      },
      {
        "text": "\rRunning Sim:  39%|\u2588\u2588\u2588\u2589      | 78/201 [04:24<00:42,  2.90it/s]"
      },
      {
        "text": "\rRunning Sim:  41%|\u2588\u2588\u2588\u2588\u258f     | 83/201 [04:25<00:27,  4.23it/s]"
      },
      {
        "text": "\rRunning Sim:  44%|\u2588\u2588\u2588\u2588\u258d     | 88/201 [04:25<00:20,  5.52it/s]"
      },
      {
        "text": "\rRunning Sim:  46%|\u2588\u2588\u2588\u2588\u258b     | 93/201 [04:26<00:16,  6.59it/s]"
      },
      {
        "text": "\rRunning Sim:  49%|\u2588\u2588\u2588\u2588\u2589     | 98/201 [04:26<00:13,  7.45it/s]"
      },
      {
        "text": "\rRunning Sim:  51%|\u2588\u2588\u2588\u2588\u2588     | 103/201 [04:27<00:12,  8.10it/s]"
      },
      {
        "text": "\rRunning Sim:  54%|\u2588\u2588\u2588\u2588\u2588\u258e    | 108/201 [04:27<00:11,  8.44it/s]"
      },
      {
        "text": "\rRunning Sim:  56%|\u2588\u2588\u2588\u2588\u2588\u258c    | 113/201 [04:28<00:12,  6.84it/s]"
      },
      {
        "text": "\rRunning Sim:  58%|\u2588\u2588\u2588\u2588\u2588\u258a    | 117/201 [04:30<00:17,  4.90it/s]"
      },
      {
        "text": "\rRunning Sim:  60%|\u2588\u2588\u2588\u2588\u2588\u2588    | 121/201 [04:31<00:15,  5.12it/s]"
      },
      {
        "text": "\rRunning Sim:  64%|\u2588\u2588\u2588\u2588\u2588\u2588\u258e   | 128/201 [04:31<00:10,  6.85it/s]"
      },
      {
        "text": "\rRunning Sim:  67%|\u2588\u2588\u2588\u2588\u2588\u2588\u258b   | 135/201 [04:32<00:07,  8.36it/s]"
      },
      {
        "text": "\rRunning Sim:  71%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588   | 142/201 [04:32<00:06,  9.62it/s]"
      },
      {
        "text": "\rRunning Sim:  74%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258d  | 149/201 [04:33<00:04, 10.63it/s]"
      },
      {
        "text": "\rRunning Sim:  78%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258a  | 156/201 [04:33<00:03, 11.41it/s]"
      },
      {
        "text": "\rRunning Sim:  81%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588  | 163/201 [04:34<00:03, 11.99it/s]"
      },
      {
        "text": "\rRunning Sim:  85%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258d | 170/201 [04:34<00:02, 12.42it/s]"
      },
      {
        "text": "\rRunning Sim:  88%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258a | 177/201 [04:35<00:01, 12.73it/s]"
      },
      {
        "text": "\rRunning Sim:  92%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258f| 184/201 [04:35<00:01, 12.96it/s]"
      },
      {
        "text": "\rRunning Sim:  95%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c| 191/201 [04:36<00:00, 13.12it/s]"
      },
      {
        "text": "\rRunning Sim:  99%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258a| 198/201 [04:36<00:00, 13.24it/s]"
      },
      {
        "text": "\rRunning Sim: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 201/201 [04:36<00:00,  1.38s/it]"
      },
      {
        "text": "Final gas concentration (kg/m^3): [[6.91103209e-03 9.99999850e-31 9.99999848e-31 9.99999847e-31\n  9.99999848e-31 9.99999849e-31 4.18285543e-13 1.90984831e-14\n  1.55679389e-24 5.12376933e-28 6.26522875e-18 9.74225658e-20]]\nAdaptive condensation work: StepStatistics(accepted=8921, rejected=1, domain_rejected=0, rate_calls=446100, jacobian_calls=8922, time_derivative_calls=0, factorizations=8922, linear_solves=26766)\n"
      },
      {
        "text": "\n"
      }
    ],
    [
      {
        "image": "figure-11-1.png"
      }
    ],
    [
      {
        "image": "figure-12-1.png"
      }
    ],
    [
      {
        "image": "figure-13-1.png"
      }
    ],
    [
      {
        "image": "figure-14-1.png"
      }
    ]
  ],
  "files": {
    "figure-14-1.png": "a0a80367c4667f379d148331528accc13f58d42542b90a83c18e8d5f83f4b5df",
    "figure-13-1.png": "176eca4110df5cccfaa1fcff065c60b4aea3d427a583d2326ffba05fa3d95729",
    "figure-12-1.png": "c0436833e06ac0c5e2c31c725b33935f2e8623d1688127cfe7a76b5c9a1da7dc",
    "figure-11-1.png": "e9d0cc82acc60e8068842d72dfe91ad000c85bdacbdc2297237757f4f372927f",
    "figure-7-1.png": "7e9dee8243c7f19978a3bd0935388d89a19b8459c3b11515acfe06cb5798f842",
    "source.py": "bc1980bbd159570f82984a88352da2b15b19015f4623a886dac6d9e6838b23bd"
  }
}
