
Adapting flexibly across diverse application scenarios
Authors: Katharina Demmich, Martin Pontius
The maritime sector is in a major transition driven by digitalization and green technologies. An important goal is decarbonization while keeping the overall costs low. This goal can be reached by various measures of which one is the efficient planning of shipping routes by facilitating weather routing algorithms.
Accurate calculation of a ship’s optimal, fuel-efficient route relies heavily on a sophisticated fuel consumption model. However, every vessel type, such as a tanker, RoRo, or RoPax vessel, requires its own dedicated model that takes the ship’s characteristics, such as air and water resistance or machine configuration into consideration. It is essential to incorporate modular fuel consumption models when designing a versatile weather routing tool adaptable to diverse operational scenarios.
This week’s challenge is:
How to build a modular weather routing framework that adapts flexibly across diverse application scenarios in the maritime sector?

Initially developed through the MariData project and currently advanced under the TwinShip Horizon Europe project, 52°North’s Weather Routing Tool is an open-source weather-routing solution. It has been designed for flexible modularity since day one. Today, the WRT offers a suite of dynamic, configurable components:
- Environmental Data: To determine optimal routing, the software processes environmental data such as bathymetry and metocean data (e.g., wave height and wind speed). Users can download data directly from providers like the European Union’s Copernicus program or the U.S. National Oceanic and Atmospheric Administration, load local files, or synthesize artificial weather data for testing.
- Routing Algorithms: Finding the most fuel-efficient route can be accomplished using either an Isofuel algorithm – building sequential paths based on set fuel consumption segments – or a Genetic Algorithm (GA) that iteratively evolves closed routes. The GA can be used to not only optimize waypoints, but also to perform a combined waypoint and speed optimization. Additionally, it supports single objective or multi-objective optimization. The genetic algorithm itself is a modular suite of crossover and mutation methods, functionality to generate the initial population and mathematics to determine the best route compromising competing objectives.
- Operational Constraints: The tool enforces strict boundaries such as avoiding land crossings, while combining additional models for water depth, fixed time schedules, and nautical chart information like traffic separation schemes.
- Fuel-Consumption Models: Users can plug in custom fuel consumption models without editing core code, or rely on a simple default model when custom solutions are not provided.
These various configuration options may be somewhat overwhelming. Don’t worry, try out our QGIS plugin QGIS config wizard! First-time users can easily explore the routing tool’s functionality without diving into the details. For more information, check out the blog post on the QGIS plugin development.
As mentioned previously, the fuel consumption model is particularly vital for ensuring routing result accuracy. Users can configure a simple physics-based model built into the WRT for testing, but should connect to dedicated models describing the physics of their ship in its entirety for greater precision. Over time, the WRT has demonstrated wide flexibility across simple physics-based models and proprietary research models like ‘mariPower’ developed within the MariData project and TwinShip context. Needless to say, it is ready to be combined with your dedicated model!
To enable easy plug-and-play, the WRT’s fuel-consumption module uses Python entry points to access standalone fuel consumption models. This means users can simply implement their Python plugin, which
- declares the entry point for the rooting tool in the pyproject.toml
- implements a single method that feeds the plugin with the necessary information about position, vessel speed and time and requests the corresponding environmental data
- carefully considers required parameter conversions or coordinate transformations with respect to the WRT’s conventions
After installing the plugin within the Python environment, the WRT automatically identifies all available models. Users can then select their desired model directly in the configuration file. As you might notice, no modifications to the core WRT are necessary! The key benefits of of this modularity are obvious
- Privacy: Proprietary plugins and routing adapters remain private.
- Easy comparison: Switching between models requires updating only a single line in the configuration file.
- Flexibility: A single core routing framework can be used for various models.
- Independence: The WRT framework and fuel consumption models can be developed completely independently.
Check out the WRT’s documentation for more detailed information.
In addition to connecting your fuel consumption model to our routing software, 52°North brings extensive expertise from years of close collaboration within research consortia. Working alongside partners in vessel and port operations, hydrodynamic modeling, and machine simulation has given us valuable insight into what is required for real-world routing. We are ready to customize and refine routing algorithms for your specific needs, implement constraints from commercial nautical charts or integrate additional environmental data sources.
Feel free to explore our project resources for further information:
WeatherRoutingTool Software Repository and Documentation: Access 52°North’s open-source weather-routing software and its documentation on GitHub: WeatherRoutingTool
WRT-QGIS Software Repository: Use 52°North’s QGIS plugin to configure the WRT and visualize its results in comparison to metocean data: GitHub: WRT-QGIS
WRT-QGIS Blog Post: Learn further about the functionality of the QGIS plugin in the blog post From Manual Configuration to an Interactive GIS Workflow – My GSoC 2026 Journey
Conference Contributions: Acquire in-depth knowledge from contributions to IMDC 2024 and Martech 2026
Official Project Websites: Explore the official websites of the TwinShip and the MariData projects
Leave a Reply