-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
CBA Settings
CBA Settings
force kat_breathing_BVMOxygen_Multiplier = 8;
force kat_breathing_SpO2_MultiplyNegative = 1.5;
force kat_breathing_SpO2_MultiplyPositive = 1.2;
force kat_breathing_SpO2_perfusion = true;
force kat_breathing_SpO2_PerfusionMultiplier = 1.2;Description:
- Using a BVM (with or without O2) on an unconscious and breathing patient with stable airways, does not affect SpO2 recovery in any way.
Unless I'm mistaken, supplemental O2 should definitely shorten recovery time. BVM without O2 might help as well, due to the increased air volume that it forces into the lungs relative to unconscious breathing.
Steps to reproduce:
- Get yourself an AI guinea pig;
- Set PaO2 to ~35% with the Airways Zeus Module and then stabilize the AI's airways with a King LT;
- By monitoring the time taken for the SpO2 to reach a stable value across multiple repetitions (without, with BVM, with O2), you'll notice that the times are almost identical, even with
kat_breathing_BVMOxygen_Multiplier = 8;;
Where did the issue occur?
- Editor (Singleplayer)
Additional information:
The issue is caused by a combination of:
- A unit's
_statusalways being 100 regardless of airway state or respiration rate, leading to the calculated_output(which BVM use increases) not affecting_finalOutput;
KAM/addons/breathing/functions/fnc_handleBreathing.sqf
Lines 159 to 163 in 0f1a3e1
_finalOutput = _status + _output; if (_finalOutput > 100) then { _finalOutput = 100; }; _pALVo2only being a reference for_pao2to shift towards, but the difference between them not affecting the shift's speed;
KAM/addons/vitals/functions/fnc_handleOxygenFunction.sqf
Lines 93 to 97 in 0f1a3e1
// Alveolar Gas equation. PALVO2 is largely impacted by Barometric Pressure and FiO2 private _pALVo2 = ((_fio2 * (_baroPressure - 47)) - (_paco2 / _anerobicPressure)) max 1; // PaO2 cannot be higher than PALVO2 and comes from ventilation shortage multipled by RBC volume private _pao2 = (DEFAULT_PAO2 - ((DEFAULT_ECB / ((GET_BODY_FLUID(_unit) select 0) max 500)) * ((_demandVentilation - _actualVentilation) / 120))) min _pALVo2;
RPT log file:
Metadata
Metadata
Assignees
Labels
No labels