1#ifndef RASMUSSEN_SPECIFIC_HEAT_H
2#define RASMUSSEN_SPECIFIC_HEAT_H
4#include "../framework/module.h"
5#include "../framework/state_map.h"
30 double air_temperature,
31 double mole_fraction_h2o
46 state_map
const& input_quantities,
47 state_map* output_quantities)
51 temp{get_input(input_quantities,
"temp")},
52 mole_fraction_h2o_atmosphere{get_input(input_quantities,
"mole_fraction_h2o_atmosphere")},
55 specific_heat_of_air_op{get_op(output_quantities,
"specific_heat_of_air")}
60 static std::string
get_name() {
return "rasmussen_specific_heat"; }
65 double const& mole_fraction_h2o_atmosphere;
68 double* specific_heat_of_air_op;
71 void do_operation()
const;
Determines the specific heat capacity of atmospheric air at constant pressure using the rasmussen_spe...
static string_vector get_outputs()
rasmussen_specific_heat(state_map const &input_quantities, state_map *output_quantities)
static string_vector get_inputs()
static std::string get_name()
This is the standard BioCro module library; it includes the essential modules used in typical BioCro ...
double rasmussen_specific_heat_of_air(double air_temperature, double mole_fraction_h2o)
Calculates the specific heat capacity of air at contant pressure from its temperature and moisture co...