<filename>References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Components/Energy/Storages/Batteries/Variable_Mass/Aluminum_Air.py
# Aluminum_Air.py
# 
# Created:  Oct 2014, <NAME>
# Modified: Feb 2016, <NAME>

# ----------------------------------------------------------------------
#  Imports
# ----------------------------------------------------------------------

# suave imports
import SUAVE

# package imports
from SUAVE.Core import Units
from SUAVE.Components.Energy.Storages.Batteries  import Battery

# ----------------------------------------------------------------------
#  Battery Class
# ----------------------------------------------------------------------    

class Aluminum_Air(Battery):
    
    def __defaults__(self):
        self.specific_energy        = 1300.*Units.Wh/Units.kg    # convert to Joules/kg
        self.specific_power         = 0.2*Units.kW/Units.kg      # convert to W/kg
        self.mass_gain_factor       = 0.000110145*Units.kg/Units.Wh
        self.water_mass_gain_factor = 0.000123913*Units.kg/Units.Wh
        self.aluminum_mass_factor   = 0.000123828*Units.kg/Units.Wh # aluminum consumed per energy
        self.ragone.const_1         = 0.8439*Units.kW/Units.kg
        self.ragone.const_2         = -4.8647e-004/(Units.Wh/Units.kg)
        self.ragone.lower_bound     = 1100.*Units.Wh/Units.kg
        self.ragone.upper_bound     = 1600.*Units.Wh/Units.kg
        
    def find_water_mass(self, energy):
        water_mass = energy*self.water_mass_gain_factor
        return water_mass
        
    def find_aluminum_mass(self, energy):
        aluminum_mass = energy*self.aluminum_mass_factor
        return aluminum_mass
<filename>References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Components/Energy/Storages/Batteries/Variable_Mass/Aluminum_Air.py
# Aluminum_Air.py
# 
# Created:  Oct 2014, <NAME>
# Modified: Feb 2016, <NAME>

# ----------------------------------------------------------------------
#  Imports
# ----------------------------------------------------------------------

# suave imports
import SUAVE

# package imports
from SUAVE.Core import Units
from SUAVE.Components.Energy.Storages.Batteries  import Battery

# ----------------------------------------------------------------------
#  Battery Class
# ----------------------------------------------------------------------    

class Aluminum_Air(Battery):
    
    def __defaults__(self):
        self.specific_energy        = 1300.*Units.Wh/Units.kg    # convert to Joules/kg
        self.specific_power         = 0.2*Units.kW/Units.kg      # convert to W/kg
        self.mass_gain_factor       = 0.000110145*Units.kg/Units.Wh
        self.water_mass_gain_factor = 0.000123913*Units.kg/Units.Wh
        self.aluminum_mass_factor   = 0.000123828*Units.kg/Units.Wh # aluminum consumed per energy
        self.ragone.const_1         = 0.8439*Units.kW/Units.kg
        self.ragone.const_2         = -4.8647e-004/(Units.Wh/Units.kg)
        self.ragone.lower_bound     = 1100.*Units.Wh/Units.kg
        self.ragone.upper_bound     = 1600.*Units.Wh/Units.kg
        
    def find_water_mass(self, energy):
        water_mass = energy*self.water_mass_gain_factor
        return water_mass
        
    def find_aluminum_mass(self, energy):
        aluminum_mass = energy*self.aluminum_mass_factor
        return aluminum_mass
# Aluminum_Air.py # # Created:  Oct 2014, <NAME> # Modified: Feb 2016, <NAME> # ---------------------------------------------------------------------- #  Imports # ---------------------------------------------------------------------- # suave imports # package imports # ---------------------------------------------------------------------- #  Battery Class # ---------------------------------------------------------------------- # convert to Joules/kg # convert to W/kg # aluminum consumed per energy