GunnsFluidMetabolic - nasa/gunns GitHub Wiki

GunnsFluidMetabolic

default_img

Background

This link extends GunnsFluidSource with a model of human metabolic effects on the fluid in a node. The link models O2 consumption, H2O vapor and CO2 exhalation, and body heat production. There are 4 states of human activity: nominal, sleep, exercise, and recovery. For each state, the link can contain any fractional number of humans, allowing for a mix of people in various states within the same cabin module. For instance, you could have 2 crew sleeping, 1.5 exercising, 2.5 recovering, etc. The fractional numbers allow fine-tuning of the effects for crew with differing metabolic rates.

How To Use in GunnsDraw

The typical connection of this link is shown here. The link is usually connected to a crewed cabin volume node:

default_img

Port Connection Rules (These are limitations on the port connection to nodes that the link enforces in run-time):

  • Port 0 must connect to Ground. This port is optional. If not drawn in GunnsDraw, as shown in the example above, GunnsDraw will automatically connect it to the Ground node.
  • Port 1 must not connect to Ground.

Other Rules (These are extra rules you should always try to follow):

  • The attached node should have some volume, for best results. The smaller the volume, the more rapidly CO2 & heat build up, etc. Without ventilation, this can lead to unrealistic values because the link does not model crew death or vary the metabolic rates in response to the node conditions.

Configuration Data Parameters:

  • consumptionRateO2 (default = 0 kg/s, must be >= 0): This defines the mass consumption rate of O2 per crew member in the nominal state.
  • productionRateCO2 (default = 0 kg/s, must be >= 0): This defines the mass production rate of CO2 per crew member in the nominal state.
  • productionRateH2O (default = 0 kg/s, must be >= 0): This defines the mass production rate of H2O vapor per crew member in the nominal state.
  • productionRateHeat (default = 0 W, must be >= 0): This defines the body heat production rate per crew member in the nominal state.
  • sleepScaleFactor (default = 0, must be (0-1)): This sets the ratio of the metabolic rates of the sleep state relative to the nominal state.
  • recoveryScaleFactor (default = 0, must be >= 1): This sets the ratio of the metabolic rates of the recovery state relative to the nominal state.
  • exerciseScaleFactor (default = 0, must be >= recoveryScaleFactor): This sets the ratio of the metabolic rates of the exercise state relative to the nominal state.

Input Data Parameters:

  • malfBlockageFlag (default = false): Initial state of the blockage malfunction activation flag. This malfunction reduces the actual metabolic rates added to the node.
  • malfBlockageValue (default = 0, must be (0-1)): Initial state of the blockage malfunction activation value. A value of 0.0 is the same as no malfunction at all, and 1.0 completely zeroes all metabolic effects on the node.
  • flowDemand: This term is not used by this link.
  • nNominal (default = 0, must be >= 0): This is the initial number of crew members in the nominal state.
  • nSleep (default = 0, must be >= 0): This is the initial number of crew members in the sleep state.
  • nRecovery (default = 0, must be >= 0): This is the initial number of crew members in the recovery state.
  • nExercise (default = 0, must be >= 0): This is the initial number of crew members in the exercise state.

Common Problems

  • N/A

References

  • N/A
⚠️ **GitHub.com Fallback** ⚠️