RCAIDE.Library.Methods.Powertrain.Sources.Batteries.Common.find_mass_gain_rate

find_mass_gain_rate#

find_mass_gain_rate(battery, power)[source]#

Calculates the mass gain rate of the battery from the ambient air.

Parameters:
  • battery (Battery) –

    The battery component with the following attributes:
    • mass_gain_factorfloat

      Mass of air gained per unit of energy [kg/J]

  • power (float or numpy.ndarray) – Power being drawn from the battery [W]

Returns:

mdot – Mass gain rate [kg/s]

Return type:

float or numpy.ndarray

Notes

This function calculates the rate at which a battery gains mass from the ambient air during discharge. This is relevant for metal-air batteries (such as aluminum-air or zinc-air) where oxygen from the air is consumed during the discharge process, resulting in a mass increase.

The calculation is based on a linear relationship between power output and mass gain rate, using the mass_gain_factor property of the battery.

Major Assumptions
  • Earth atmospheric composition

  • Linear relationship between power output and mass gain rate