Solar Data Animation

A solar data animation is supplied to assess quality, spatial and time series dimensions:

  • The quality dimension is a function of the availability of different sunlight components: Global Horizontal Irradiance (GHI), Direct Normal Irradiance (DNI), and Diffuse Horizontal Irradiance (DHI).
  • The spatial dimension is a function of sunlight availability across the x/y plane (e.g. longitude/latitude).  Meanwhile, solar production for any location is also a function of whether the solar collection plane is a fixed surface, has single axis tracking along the North/South meridian, or dual axis tracking in all directions to ensure the collection plane is perpendicular to the Sun at all times.
  • Finally, the time series dimension defines the time granularity of the sunlight profile, be it monthly, daily, hourly, or smaller.

The ability to quickly decipher quality, spatial and time series trends is essential.  For example, solar data is used to anticipate solar energy production, grid integration, and supply imbalances.  Trend analysis is challenged since solar related data for commercial applications is getting larger and larger,  the demand for results is getting faster and faster, and the ambitions to exploit solar opportunities are becoming greater and greater.

The need to assess trends by dimension should not be delegated to a “black box,” especially when hundreds of millions are being bet on the solar resource. The ability to achieve control and to integrate solar data across the value chain is possible with data science tools like R.  Within R, there are two closely related, but distinct, products to visualize data with multiple dimensions: lattice graphics and data animations.

Lattice graphics are a core capability in R that is bundled into the grid package.  One of its features is to provide multi-plot layouts in a lattice or matrix format.  The dimensions of the matrix plot must be configured to correspond to the dimensions in the solar data to allow trends to be visible.  Data animations in R are supported by the package extension animation, working in combination with external command line tools like ImageMagick.  Data animations integrate all frames across a lattice into a single image file, easily capturing the dimensionality in solar data.

To illustrate the point, the following plot is created to depict annual irradiance across the globe.  Satellite data observations are averaged for each pixel, using daily data over 22 years.

plot19Click to enlarge

The units of measure is kW/m^2/day.  The image supports a quick “eye ball” exercise in spatial analysis, but the analysis is incomplete since the long-term average masks significant variability by month and by location.   

A series of plots arranged in a matrix, where each image depicts the solar resource by location and by month, would clearly reveal variability by time.  The problem with muti-plot layouts is that eye quickly tires trying to decipher trends across multiple images and dimensions.  

A solar data animation is a better approach.  The animation below easily illustrates the variability by location and time that is missing in the simple plot of mean insolation:

solar

Click to enlarge

By controlling the loop rate of the animation, variability can be studied carefully and according to the preference of each user.

The data and R source code that generated these plots is provided below.  Ignore all the comments and you see that animations can be created with just a few lines of code:

 

This entry was posted in Animation, R Graphics, Solar, Spatial Analysis. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

eighteen − 14 =