Charts - Solar charts: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
mNo edit summary
Line 26: Line 26:
== Insolation statistics ==
== Insolation statistics ==
[[File:Insolation statistics.jpg|thumb|right|Insolation statistics per year]]
[[File:Insolation statistics.jpg|thumb|right|Insolation statistics per year]]
For an explanation of this chart it is necessary to explain the insolation first.


We measure [https://en.wikipedia.org/wiki/Solar_irradiance Solar Irradiance] as the power per unit area received from the Sun in the form of electromagnetic radiation as measured in the wavelength range of the measuring instrument (your solar sensor of your weather station). ''CumulusMX'' stores this in [[Standard_log_files|the monthly logs]] as the value of the ''Solar Radiation'' (field nr 19) at that moment. It is the momentary solar power in W/m<sup>2</sup>.

== Using Numerical Integration ==
The Solar Insolation for a given time period is the integration of the measured Solar Radiation values. Or as the wiki says:
''Solar irradiance is often integrated over a given time period in order to report the radiant energy emitted into the surrounding environment (joule per square metre, J/m2) during that time period. This integrated solar irradiance is called solar irradiation, solar exposure, solar insolation, or insolation.''
So if we take R for Radiation (which we sample in field 19) we get for a time period of a day:
<math>\int\limits_{0}^{24}{R} \, dt</math>
But because we do not have continuous measurement we have to approximate this by taking the samples of the ''Solar Radiation'' we do have for the sampling interval we use (1, 5, 10 etc... minutes). Assuming equal distance between the samples and a not too disruptive radiation function we get an approximation for the integral as:
<math>\sum_{t=0}^{24} field19</math>
for all samples, assuming the measured value is the midpoint of
<math>t + \frac{1}{2}*interval</math> and <math>t - \frac{1}{2}*interval</math>.

However this interval appears not to be constant in the reality of ''CumulusMX''.

== Solving the variability of the interval ==


== Monthly Insolation statistics per year ==
== Monthly Insolation statistics per year ==

Revision as of 09:49, 9 April 2021

Introduction

These charts are only available if the station has a solar sensor for measuring the solar radiation.

The Solar charts submodule consists of four charts:

  1. Solar hours statistics - Plotting the range, average and estimator for the standard deviation for the solar hours per year
  2. Monthly solar hours statistics per year - Plotting the range, average and estimator for the standard deviation for the solar hours per month per year
  3. Insolation statistics - Plotting the range, average and estimator for the standard deviation for the solar energy per year
  4. Monthly Insolation statistics per year - Plotting the range, average and estimator for the standard deviation for the solar energy per month per year

Below you will find an example image of each chart and an explanation of the origin of the numbers. For the insolation graphs the method of calculation is explained.

For the calculations the standard C# LINQ-functions Min, Max and Avg are used. For the standard deviation this LINQ-extension is used with a modification for a minimum number of observations required of 2, if less the StdDev returns 0 (zero).

NOTE: for years where no solar sensor was present the chart displays the value 0 on all charts. The possibility not to display the years at all has not been implemented.

Solar hours statistics

Solar hour statistics per year

For all days in a year the value of field 25, Total hours of sunshine (see Dayfile), is taken and the resulting statistics are calculated and plotted.

Monthly solar hours statistics per year

Monthly solar hours statistics per year

For all days in a month in a year, the value of field 25, Total hours of sunshine (see Dayfile), is taken and the resulting statistics are calculated and plotted.

Insolation statistics

Insolation statistics per year

For an explanation of this chart it is necessary to explain the insolation first.

We measure Solar Irradiance as the power per unit area received from the Sun in the form of electromagnetic radiation as measured in the wavelength range of the measuring instrument (your solar sensor of your weather station). CumulusMX stores this in the monthly logs as the value of the Solar Radiation (field nr 19) at that moment. It is the momentary solar power in W/m2.

Using Numerical Integration

The Solar Insolation for a given time period is the integration of the measured Solar Radiation values. Or as the wiki says:

 Solar irradiance is often integrated over a given time period in order to report the radiant energy emitted into the surrounding environment (joule per square metre, J/m2) during that time period. This integrated solar irradiance is called solar irradiation, solar exposure, solar insolation, or insolation. 

So if we take R for Radiation (which we sample in field 19) we get for a time period of a day:

 

But because we do not have continuous measurement we have to approximate this by taking the samples of the Solar Radiation we do have for the sampling interval we use (1, 5, 10 etc... minutes). Assuming equal distance between the samples and a not too disruptive radiation function we get an approximation for the integral as:

 

for all samples, assuming the measured value is the midpoint of

  and .

However this interval appears not to be constant in the reality of CumulusMX.

Solving the variability of the interval

Monthly Insolation statistics per year

Monthly insolation statistics per year