Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Solar hours and the ChartsCompiler

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Solar hours and the ChartsCompiler

Post by HansR »

Reading this interesting thread on Solar Info and especially when it came to @Cambium asking for how to have that info in a chart, I thought how easily that could be done with the ChartsCompiler. So here it is (created during morning coffee).

If you put the next line in the definition of your Solar radiation chart - assuming you use the chart definitions that come with the distribution - you will get the percentage line. If the radiation is above that line, CMX will count it as the sun is shining, so the time will add to the solar hours. You can view an example on my site (see signature, click Solar pane).

Code: Select all

  Plot  Percent75TSM EVAL [ TheoreticalSolarMax * 0.75 ] As Spline LineWidth 1 Colour DeepPink Zindex 10 Opacity 0.2 Axis Solar
Where TSM stands for TheoreticalSolarMax of course. The percentage if what you define personally in the CMX Solar definition under Station. That is your personal tuning of solar, it is not written in stone.

The complete chart definition of what you see is:

Code: Select all

Chart Solar Title (Max)Radiation en UV 
ConnectsTo 12 23 24
  Plot	UV	zIndex 100
  Plot 	CurrentSolarRad As Area Opacity 0.4 Colour Orange zIndex 50 
  Plot	TheoreticalSolarMax As Area Colour Gold zIndex 10 Opacity 0.2
  Plot	Percent75TSM EVAL [ TheoreticalSolarMax * 0.75 ] As Spline LineWidth 1 Colour DeepPink Zindex 10 Opacity 0.2 Axis Solar
EndChart
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply