When discussing the rollout of biomass district heating networks in Galicia, the conversation usually starts in the forest:resource availability, tree species, stand density, or environmental restrictions. However, the real feasibility of a district heating network depends just as much on supply as on a far more concrete spatial question: where is there a concentrated, stable thermal demand with buildings close enough to justify the infrastructure investment?
To answer this question from an empirical, reproducible perspective, we worked alongside the Galician Biomass Cluster (Clúster da Biomasa de Galicia) to develop the Bioenergy Potential WebGIS of Galicia (visor-bioenergetico.clusterbiomasa.gal), a web application that brings together spatial energy demand analysis, supply logistics modeling, and official cartography in a single consultation environment.
In this article, we break down the technical methodology behind the project: how we estimated thermal demand from cadastral records, how we designed the municipal and urban clustering algorithm, how we structured the web viewer architecture, and what the next phase of work will look like.
1. Thermal Demand Inventory and Cadastral Cross-Referencing
The starting point of the study was building a reliable, georeferenced inventory of the main thermal energy consumers across Galicia: swimming pools, hospitals, health centers, hotels, hostels, and other public and private facilities with significant heating demand.
To ensure the geometric and thematic accuracy of the dataset:
- Data sources: We prioritized records from official public administrations (municipalities, provincial councils, and regional government agencies), filling spatial gaps with data extracted from OpenStreetMap.
- Geometric cleanup: Every collected feature was reviewed and spatially adjusted to ensure accurate placement directly over the actual building footprint.
- Heatable floor area calculation: Having a point location or a generic facility category is not enough to size thermal consumption. To address this, each facility was cross-referenced with its corresponding cadastral reference, analyzing the building’s registered uses to calculate its heatable floor area. This metric serves as a direct proxy for estimating each building’s energy demand and allows facilities to be ranked by their real weight within a potential network.
2. Biomass Supply Logistics Network Modeling
A viable district heating network requires a continuous fuel supply at competitive transport costs. To integrate logistics into the spatial model:
- Supply-side georeferencing: All existing biomass production and supply centers in Galicia were inventoried and geolocated.
- 100 km isochrone analysis: Around each production center, we generated 100 km road-network isochrones to evaluate their actual territorial service coverage.
Overlaying these service areas with thermal demand clusters makes it easy to identify which areas in Galicia enjoy guaranteed logistical coverage from one or more suppliers and where longer transport distances come into play.
3. Municipal Potential Index: A Two-Tier Spatial Algorithm
The analytical core of the project is a spatial algorithm executed at the municipal level—constraining each grouping within its own administrative municipality boundaries—designed to detect technically viable concentrations of thermal demand.
The model operates across two complementary tiers:
Tier 1: Type 1 Clusters (Anchor-Driven)
Large, year-round consumers are the typical backbone of a district heating network. The algorithm first identifies these anchor facilities—such as hospitals, 24-hour health centers, or swimming pools—and calculates a buffer zone around each one with a radius proportional to its floor area and estimated thermal demand.
A grouping is validated as a viable Type 1 cluster when, in addition to the anchor facility itself, at least one other demand center falls within that catchment radius and can be connected to the network.
Tier 2: Type 2 Clusters (Density-Driven)
Many rural or semi-urban municipalities lack large anchor facilities, yet still have several public or tertiary buildings located relatively close to one another. To capture these opportunities, facilities not absorbed into any Type 1 cluster move into a second stage of spatial density analysis.
At this level, the algorithm detects groupings of smaller individual consumers whose aggregated thermal demandreaches a threshold high enough to justify deploying a shared heating network.
Resulting Municipal Classification
Based on the viable clusters detected within their boundaries, every municipality in Galicia is categorized into four levels:
- Very low: The municipality has no viable clusters, neither anchor-driven nor density-driven.
- Low, Medium, or High: The municipality contains at least one viable cluster, with the tier assigned according to the energy demand of the most favorable cluster identified within its municipal territory.
4. The Scale Challenge in Urban Environments: Potential Sub-Networks in the Seven Cities
Applying the general methodology across Galicia revealed a classic multi-scale spatial analysis challenge: urban over-aggregation.
In Galicia’s seven major cities—A Coruña, Ferrol, Lugo, Ourense, Pontevedra, Santiago de Compostela, and Vigo—the high density and proximity of hospitals, schools, sports facilities, and tertiary buildings cause catchment radii to overlap. As a result, the algorithm merges facilities into macro-clusters spanning large portions of the urban fabric,automatically classifying every city as having “High” potential. While accurate at a macro level, that diagnosis lacks the granularity needed to decide which specific neighborhood or district warrants further study.
To solve this, we carried out a dedicated, higher-resolution analysis for the seven cities:
- The continuous urban area was segmented into smaller potential sub-networks, grouping nearby facilities and evaluating each set independently.
- Each sub-network was scored using the exact same classification logic (High, Medium, or Low), but without lumping the entire city’s demand into a single pool.
In the WebGIS viewer, this layer (Potential sub-networks in cities) complements the municipal potential layer: while the municipal layer provides a comparative view across all of Galicia, the sub-networks allow planners to prioritize interventions inside the urban core by balancing aggregated demand, network size, and layout compactness.
5. WebGIS Architecture and Layer Integration
To make the study’s findings accessible to the forestry and energy sectors as well as local administrations, we built a lightweight, open WebGIS viewer powered by our open-source technology stack:
- Frontend and mapping engine: The application is built with React, using MUI for the user interface components and Leaflet as the map rendering engine.
- Custom analytical layers: Users can explore and query the municipal potential index, thermal demand centers,biomass production and supply plants, 100 km logistical coverage isochrones, and potential sub-networks across the seven cities.
- Interoperability via official WMS services: The viewer directly integrates external standard WMS services so each site can be evaluated against resource availability and territorial constraints:
- Galician Forest Inventory (land cover, basic wood density for eucalyptus and pine, and technical and legal restrictions).
- Wildfire protection buffer strips (50 m buffer strips, isolated strips, and land-use boundaries).
- Cadastre and SIGPAC (cadastral parcels and agricultural land parcels).
The result is an operational, open, and field-ready tool currently live in production at visor-bioenergetico.clusterbiomasa.gal.
6. Next Steps: Moving from Euclidean Radii to Street-Level Routing and Elevation Models
The published tool represents a first phase of territorial diagnosis, designed to identify and prioritize the areas with the highest bioenergy potential at the regional and municipal scales. However, moving from demand cluster detection to an engineering pre-feasibility study requires refining the actual geometry along which a district heating network would be built.
In a second phase of the project, the goal is to replace catchment-radius approximations (buffers) with a detailed physical route feasibility analysis, incorporating two critical civil engineering variables:
- Actual street-network distance (routing algorithms): Pre-insulated heating pipes do not run in straight lines between parcels; they follow the existing urban or peri-urban street network. During this first stage, we have already conducted exploratory tests using road-graph routing algorithms to determine which approach yields the highest accuracy when calculating real trenching lengths between nearby buildings and optimizing network topology.
- Topography and elevation changes using Digital Elevation Models (DEMs): Planimetric proximity alone does not guarantee technical or economic feasibility. Connecting two buildings 200 meters apart on flat terrain is vastly different from crossing a steep slope or an intermediate valley that drives up excavation costs, pumping station requirements, or thermal losses. Integrating elevation data will allow route costs to be weighted according to terrain slope and longitudinal elevation profiles.
In this way, the current WebGIS provides the cartographic and analytical foundation on which to continue iterating,bringing spatial modeling closer to real-world construction conditions on the ground.