Solar Energy Systems in Denmark#

The Danish Agency for Data Supply and Infrastructure (Styrelsen for Dataforsyning og Infrastruktur - SDFI) recently released a dataset of all the solar energy plants in Denmark. The dataset consists of polygons of all the PV plants and solar thermal district heating plants. The initiative is described in more detail here

This blog post is a simple demonstration of how to interactively visualize this dataset, which can be used to explore the locations of solar energy plants in Denmark.

The necessary token can be obtained by creating a user at https://dataforsyningen.dk.

For the demonstration of the WMS tile service, I will take the Vandel PV plant as an example which is shown in the photo below. Notice how the plant is located at a decommissioned air strip.

../../_images/vandel_pv_plant.png

The interactive map below was made using Folium and has the WMS tile overlays of the solar energy plants.

Hide code cell source
import folium
from folium import plugins

map = folium.Map(
    location=[55.70, 9.20],
    zoom_start=14,
    tiles='openstreetmap',
)

names_dict = {'solceller': 'PV plants', 'solfanger': 'Solar district heating plants'}

for type in names_dict.keys():
    folium.raster_layers.WmsTileLayer(
        url=f'https://api.dataforsyningen.dk/wms/solenergianlaeg?token={token}',
        layers=type,
        styles=None,
        fmt="image/png",
        transparent=True, 
        attr='Styrelsen for Dataforsyning og Infrastruktur',
        name=names_dict[type],
        overlay=True,
        control=True,
        show=True,
        ).add_to(map)

EsriImagery = "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"
EsriAttribution = "Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community"
folium.raster_layers.TileLayer(EsriImagery, name='World imagery', attr=EsriAttribution).add_to(map)

folium.LayerControl().add_to(map)
folium.plugins.Fullscreen().add_to(map)  # Add full screen button to map
folium.LatLngPopup().add_to(map)  # Show latitude/longitude when clicking on the map

map
Make this Notebook Trusted to load map: File -> Trust Notebook