6#include "engine/common/system/Model.h"
7#include "engine/common/system/Systems.h"
26 class PULSE_DECL RenalModel :
public RenalSystem,
public Model
31 RenalModel(Data& data);
32 virtual ~RenalModel();
34 void Clear()
override;
37 void Initialize()
override;
39 void SetUp()
override;
41 void AtSteadyState()
override;
42 void PreProcess()
override;
43 void Process(
bool solve_and_transport =
true)
override;
44 void PostProcess(
bool solve_and_transport =
true)
override;
50 void ComputeExposedModelParameters()
override;
52 struct ActiveTransport
55 double leftGlucoseReabsorptionMass_mg;
56 double rightGlucoseReabsorptionMass_mg;
57 double leftLactateExcretedMass_mg;
58 double rightLactateExcretedMass_mg;
64 void ConsumeMeal(
double elapsedTime_s);
67 void CalculateUltrafiltrationFeedback();
69 void CalculateReabsorptionFeedback();
70 void CalculateOsmoreceptorFeedback();
71 void CalculateFluidPermeability();
72 void CalculateTubuloglomerularFeedback();
73 void UpdateBladderVolume();
74 void ProcessActions();
78 void CalculateActiveTransport();
79 void CalculateGlomerularTransport(
SESubstance& sub);
80 void CalculateReabsorptionTransport(
SESubstance& sub);
81 void CalculateSecretion();
84 void CalculateGluconeogenesis();
85 void CalculateVitalSigns();
90 double m_leftAfferentResistance_mmHg_s_Per_mL;
91 double m_rightAfferentResistance_mmHg_s_Per_mL;
92 double m_leftSodiumFlowSetPoint_mg_Per_s;
93 double m_rightSodiumFlowSetPoint_mg_Per_s;
198 double m_defaultOpenResistance_mmHg_s_Per_mL;
199 double m_defaultClosedResistance_mmHg_s_Per_mL;
201 double m_CVOpenResistance_mmHg_s_Per_mL;
203 double m_maxLeftAfferentResistance_mmHg_s_Per_mL;
204 double m_minLeftAfferentResistance_mmHg_s_Per_mL;
205 double m_maxRightAfferentResistance_mmHg_s_Per_mL;
206 double m_minRightAfferentResistance_mmHg_s_Per_mL;
208 double m_leftReabsorptionPermeabilityModificationFactor;
209 double m_rightReabsorptionPermeabilityModificationFactor;
210 double m_sodiumPlasmaConcentrationSetpoint_mg_Per_mL;
212 double m_baselinePotassiumConcentration_g_Per_dL;
214 double m_leftReabsorptionPermeabilitySetpoint_mL_Per_s_mmHg_m2;
215 double m_rightReabsorptionPermeabilitySetpoint_mL_Per_s_mmHg_m2;
219 ActiveTransport m_SubstanceTransport;
Definition: PBPhysiology.h:24
Definition: SEFluidCircuit.h:12
Definition: SEFluidCircuitNode.h:10
Definition: SEFluidCircuitPath.h:9
Definition: SELiquidCompartment.h:11
Definition: SELiquidSubstanceQuantity.h:12
Definition: SEPatient.h:13
Definition: SERunningAverage.h:8
Definition: SEScalarMass.h:28
Definition: SEScalarMassPerVolume.h:37
Definition: SEScalarPressure.h:29
Definition: SESubstance.h:15
Definition: SETissueCompartment.h:9
Definition: SEUrinalysis.h:37