ISWR clear sky parametrization.
Using air temperature (TA) and relative humidity (RH), 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 no TA or RH is available, average values will be used (in order to get an average value for the precipitable water vapor).
[Generators]
ISWR::generator1 = clearSky_SW
- Note
- This relies on SunObject to perform the heavy duty computation. If it is used on RSWR, then a snow or grassy soil albedo is used (depending on the snow height).
|
| ClearSkySWGenerator (const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &i_algo, const std::string &i_section, const double &TZ) |
|
bool | generate (const size_t ¶m, MeteoData &md, const std::vector< MeteoData > &vecMeteo) |
|
bool | create (const size_t ¶m, const size_t &ii_min, const size_t &ii_max, std::vector< MeteoData > &vecMeteo) |
| Fill one time series of MeteoData for one station. More...
|
|
virtual | ~GeneratorAlgorithm () |
|
virtual bool | generate (const size_t ¶m, MeteoData &md, const std::vector< MeteoData > &vecMeteo)=0 |
|
virtual bool | create (const size_t ¶m, const size_t &ii_min, const size_t &ii_max, std::vector< MeteoData > &vecMeteo)=0 |
| Fill one time series of MeteoData for one station. More...
|
|
bool | skipStation (const std::string &station_id) const |
| Should this station be skipped, based on user-provided station ID restrictions? More...
|
|
bool | skipTimeStep (const Date &dt) const |
| Should this timestep be skipped, based on user-provided time restrictions? More...
|
|
std::vector< DateRange > | getTimeRestrictions () const |
|
std::string | getAlgo () const |
|
|
| GeneratorAlgorithm (const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &i_algo, const std::string &i_section, const double &TZ) |
| protected constructor only to be called by children More...
|
|
virtual void | parse_args (const std::vector< std::pair< std::string, std::string > > &) |
|
static std::set< std::string > | initStationSet (const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &keyword) |
|
const std::vector< DateRange > | time_restrictions |
|
const std::set< std::string > | excluded_stations |
|
const std::set< std::string > | kept_stations |
|
const std::string | algo |
|
const std::string | section |
|
static const double | soil_albedo = .23 |
|
static const double | snow_albedo = .85 |
|
static const double | snow_thresh = .1 |
|