GunnsFluidMetabolic2 - nasa/gunns GitHub Wiki

GunnsFluidMetabolic2

default_img

Background

This is an improved version of GunnsFluidMetabolic. The improvements include:

  • More up-to-date values for the metabolic rates of various gas constituents & heat, from: NASA/TP-2015-218570 "Life Support Baseline Values and Assumptions Document", M.S. Anderson, et al., March 2015,
  • Finer control of individual constituent rates during run-time,
  • Adds more crew activity states. Refer to Table 3.22 of the above reference. Note that although a timeline between states is implied in the above state definitions, this link doesn't automatically change between states, and the user or an external model is still required to change states. The new states are:
    • NOMINAL: same as GunnsFluidMetabolic.
    • SLEEP: same as GunnsFluidMetabolic.
    • RECOVERY_0: the old RECOVERY state is replaced by 4 different states for different times from the end of an exercising state. RECOVERY_0 is for 0-15 minutes post-exercise at 75% VO2max.
    • RECOVERY_1: 15-30 minutes post-exercise.
    • RECOVERY_2: 30-45 minutes post-exercise.
    • RECOVERY_3: 45-60 minutes post-exercise.
    • EXERCISE_0: the old "Exercise" state is replaced by 2 different state for different times from he start of exercising. EXERCISE_0 is for 0-15 minutes from starting exercise at 75% VO2max.
    • EXERCISE_1: 15-30 minutes from start of exercise.
  • Can output the trace contaminants given by Table 4.4 of the above reference. All are optional and each will only be output to the network if it is present as a fluid constituent or Trace Compound type in the network. CH4, H2, CO and NH3 can be either a fluid constituent or a Trace Compound or both. If both are present, the model outputs to both types.

How To Use in GunnsDraw

Connect this link in the same way you connect GunnsFluidMetabolic.

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, 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):

Configuration Data Parameters:

  • This link has no configuration data parameters. This is a simplification over GunnsFluidMetabolic as a convenience to the user. Whereas the original GunnsFluidMetabolic link requires you to enter the default metabolic rates of O2, CO2, etc, this link hard-codes the baseline values from the NASA documentation. They can be overridden during run-time if necessary.

Input Data Parameters:

  • malfBlockageFlag: Same as GunnsFluidMetabolic.
  • malfBlockageValue: Same as GunnsFluidMetabolic.
  • flowDemand: Same as GunnsFluidMetabolic.
  • nNominal: Same as GunnsFluidMetabolic.
  • nSleep: Same as GunnsFluidMetabolic.
  • nRecovery0 (default = 0, must be >= 0): This is the initial number of crew members in the RECOVERY_0 state.
  • nRecovery1 (default = 0, must be >= 0): This is the initial number of crew members in the RECOVERY_1 state.
  • nRecovery2 (default = 0, must be >= 0): This is the initial number of crew members in the RECOVERY_2 state.
  • nRecovery3 (default = 0, must be >= 0): This is the initial number of crew members in the RECOVERY_3 state.
  • nExercise0 (default = 0, must be >= 0): This is the initial number of crew members in the EXERCISE_0 state.
  • nExercise1 (default = 0, must be >= 0): This is the initial number of crew members in the EXERCISE_1 state.

Common Problems

  • N/A

References

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