The ERA5 reanalysis data (1979-2018) has been used to calculate the three-hourly country aggregated wind and solar power generation for 28 European countries based on a distribution of wind and solar farms which is considered to be representative of the current situation (2017). In addition a corresponding daily time series of nationally aggregated electricity demand is provided. The datasets have been produced to investigate the inter-annual variability of the three weather-dependent power system components. ** Issues with the timestamps in the 3-hourly wind and solar power in this dataset were identified, and a corrected version is available at http://dx.doi.org/10.17864/1947.273. **