Skip to content

Commit f49299d

Browse files
ajbairdStevenAWhite
authored andcommitted
abaird-genstatesforburn: minor changes to make sure the guy doesn't die during treatment
1 parent d07eb5a commit f49299d

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

projects/biogears/libBiogears/src/engine/Systems/BloodChemistry.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,9 +1192,9 @@ void BloodChemistry::InflammatoryResponse()
11921192
//------------------Inflammation source specific modifications and/or actions --------------------------------
11931193
if (burnTotalBodySurfaceArea != 0) {
11941194
//Burns inflammation happens on a differnt time scale. These parameters were tuned for infecton--return to nominal values
1195-
kDTR = 10.0 * burnTotalBodySurfaceArea; //We assume that larger burns inflict damage more rapidly
1196-
kTr = 0.35 / burnTotalBodySurfaceArea; //We assume that larger burns take longer for trauma to resolve
1197-
tiMin = 0.005; //Promotes faster damage accumulation
1195+
kDTR = 11.0 * burnTotalBodySurfaceArea; //We assume that larger burns inflict damage more rapidly
1196+
kTr = 0.45 / burnTotalBodySurfaceArea; //We assume that larger burns take longer for trauma to resolve
1197+
tiMin = 0.01; //Promotes faster damage accumulation
11981198
kD6 = 0.3, xD6 = 0.25, kD = 0.1, kNTNF = 0.2, kN6 = 0.557, hD6 = 4, h66 = 4.0, x1210 = 0.049;
11991199
scale = 1.0;
12001200
}

projects/howto/BurnWoundPainStimulus/src/HowTo-BurnWoundPainStimulus.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ void BurnThread::FluidLoading(double tbsa)
280280
const SEPatient& patient = m_bg->GetPatient();
281281
double weight_kg = patient.GetWeight(MassUnit::kg);
282282
double targetLowUrineProduction_mL_Per_Hr = 0.5 * weight_kg;
283-
double targetHighUrineProduction_mL_Per_Hr = 0.75 * weight_kg; //average of around 50ml/hr
283+
double targetHighUrineProduction_mL_Per_Hr = 1.0 * weight_kg; //average of around 50ml/hr
284284
double DayLimit_mL = 4.0 * weight_kg * tbsa;
285285
double initialInfustion_mL_Per_hr = 0.0; //tbsa * 10.0; // Should start at 10*tbsa // (DayLimit_mL / 0.5) / 8.0; //half of the fluid should be loaded in the first 8 hours;
286286
double hrsBeforeIntervention = 1.0;
@@ -334,6 +334,7 @@ void BurnThread::FluidLoading(double tbsa)
334334
double errTitrate[] {0.9, 1.0, 1.1};
335335
int errSelection = rand() % (3 - 1 + 1) + 1;
336336
scaleTitration = errTitrate[errSelection - 1];
337+
scaleTitration = 1.0;
337338
//m_bg->GetLogger()->Info(asprintf("Were they right? titrate percent is: %f %s", scaleTitration, "percent"));
338339

339340
if (fluid == ringers && fluidOn == true) {

projects/howto/BurnWoundPainStimulus/src/HowTo-BurnWoundPainStimulus_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
int main( int argc, char* argv[] )
77
{
88
// To run multiple TBSA values
9-
double lowestTBSA = 20.0;
9+
double lowestTBSA = 30.0;
1010
double highestTBSA = 40.0;
1111
double tbsaIncrement = 5.0;
1212
for (double tbsa = lowestTBSA; tbsa <= highestTBSA; tbsa += tbsaIncrement) {

share/data/patients/Bob.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<Patient xmlns="uri:/mil/tatrc/physiology/datamodel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" contentVersion="BioGears_6.3.0-beta" xsi:schemaLocation="">
3+
<Name>Bob</Name>
4+
<Sex>Male</Sex>
5+
<Age value="35.0" unit="yr"/>
6+
<Weight value="68.14" unit="kg"/>
7+
<Height value="156.0" unit="cm"/>
8+
<BodyFatFraction value="0.21"/>
9+
<BasalMetabolicRate value="1601.14" unit="kcal/day"/>
10+
<RespirationRateBaseline value="14.0" unit="1/min"/>
11+
<HeartRateMaximum value="190" unit="1/min"/>
12+
<HeartRateMinimum value="0.001" unit="1/min"/>
13+
</Patient>

0 commit comments

Comments
 (0)