Powder in device Throat deposition Lung deposition Exhaled / not deposited
drag to pan
Flow Q(t)
Deposition split

Smart Inhaler Flow Sensor — 2D Sensor Dashboard

Modern dry-powder inhalers embed a flow sensor that watches the patient's own breath do the work a propellant would otherwise do — deriving flow rate from the pressure drop across a fixed internal resistance and gating dose release on a minimum trigger flow. This 2D dashboard version models that pipeline end to end: pick an inspiratory effort, a ramp time and a sensor trigger threshold, choose a low, medium or high resistance device, and press Inhale to watch the sensor's Q = √ΔP / R equation play out as a live flow-vs-time strip chart alongside an animated schematic of the device, throat and lungs. The resulting peak flow drives a physically grounded split between turbulent powder deaggregation and inertial throat impaction, visualised both as individual powder particles animating from the reservoir into the throat, the lungs, or straight back out as exhaled dose, and as a live bar chart of the deposition split — with sensor readouts for peak flow, lung deposition and oropharyngeal deposition updating on every breath.