MeteoIODoc  MeteoIODoc-2.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mio::AllSkySWGenerator Class Reference

Detailed Description

ISWR all sky parametrization.

Using air temperature (TA) and relative humidity (RH) and optionnally cloud transmissivity (TAU_CLD), this computes the potential incoming solar radiation, based on the position of the sun in the sky (as a function of the location and the date) on the horizontal at ground level. If a cloud transmissivity (TAU_CLD) has been provided, or if an incoming long wave measurement is available, it corrects the generated iswr for cloudiness (basically doing like UnsworthGenerator in reverse), otherwise this assumes clear sky! If no TA or RH is available, average values will be used (in order to get an average value for the precipitable water vapor).

Note
This relies on SunObject to perform the heavy duty computation.
ISWR::generators = allsky_SW

#include <AllSkySWGenerator.h>

Public Member Functions

 AllSkySWGenerator (const std::vector< std::string > &vecArgs, const std::string &i_algo)
 
bool generate (const size_t &param, MeteoData &md)
 
bool create (const size_t &param, std::vector< MeteoData > &vecMeteo)
 
- Public Member Functions inherited from mio::GeneratorAlgorithm
 GeneratorAlgorithm (const std::vector< std::string > &, const std::string &i_algo)
 
virtual ~GeneratorAlgorithm ()
 
std::string getAlgo () const
 

Additional Inherited Members

- Protected Attributes inherited from mio::GeneratorAlgorithm
const std::string algo
 
- Static Protected Attributes inherited from mio::GeneratorAlgorithm
static const double soil_albedo = .23
 
static const double snow_albedo = .85
 
static const double snow_thresh = .1
 

Constructor & Destructor Documentation

mio::AllSkySWGenerator::AllSkySWGenerator ( const std::vector< std::string > &  vecArgs,
const std::string &  i_algo 
)
inline

Member Function Documentation

bool mio::AllSkySWGenerator::create ( const size_t &  param,
std::vector< MeteoData > &  vecMeteo 
)
virtual
bool mio::AllSkySWGenerator::generate ( const size_t &  param,
MeteoData md 
)
virtual

The documentation for this class was generated from the following files: