Recommended: run this notebook in Google Colab, nothing to install.
The notebook opens with the results of an earlier run. To start from a clean notebook, choose Edit → Clear all outputs in Colab’s menu first.
Click the ▶ button on each cell (or press Shift+Enter) to see the results and move on to the next one.
If you can’t or don’t want to use Colab, the documentation website shows the pre-run results.
Session 2: Run a global case#
Disclaimer
Navigate is an open-source analytical model intended for research and scenario analysis of maritime decarbonisation pathways. The model, its assumptions and any outputs are provided for illustrative and analytical purposes only.
Model outputs depend on the assumptions selected by the user and should not be interpreted as forecasts, benchmarks, recommendations or commercially optimal outcomes, nor as legal, financial or investment advice.
Users are responsible for selecting and adapting assumptions appropriate to their own circumstances and for exercising their own independent judgement when interpreting or relying on any model outputs.
Navigate ships a set of global reference scenarios under
simulations/scenarios/, which are full decks built and maintained by the Center. This session looks at how the decks differ and at the regulatory assumptions behind them, runs three of them (on a coarse time grid for fast solving, or year by year), and then changes their assumptions. Keep in mind that the simulations in this notebook are illustrative.
The case#
The reference scenario’s geography: five fuel-supply regions, the 2050 electricity cost that feeds them, the production pathways each can host, and the EU jurisdiction the ETS and FuelEU reach.
In these decks, 23 fleets sail 23 routes that represent a global average profile, so geography does not really matter in this simulation.
What you’ll do#
Look at the scenarios. See how each scenario is written as a Navigate simulation (a deck), and the regulatory assumptions behind it.
Run the reference scenarios. Solve them and compare their results.
Local sensitivity analysis. Pick one of the reference scenarios, change some of the input parameters and see what happens.
Global sensitivity analysis. Let Horizon vary several input parameters at once, and see the range of results.
STEP 1: Setup#
Run the cell below on Colab or locally to set up the Navigate model, Horizon and Lantern.
STEP 2: Check the different scenarios#
The Center maintains four reference scenarios in simulations/scenarios/.
The three basecases share the same fleet, fuel and port assumptions and differ only in regulation. business_as_usual applies only the EU ETS and FuelEU and also includes the domestic fleet:
scenario |
regulation |
|---|---|
|
nothing at all: fuel chosen on cost |
|
EU ETS + FuelEU + a moderate global fuel standard |
|
EU ETS + FuelEU + a strict global fuel standard |
|
EU ETS + FuelEU |
In business_as_usual, each ship class is split into an international and a domestic fleet: about half the ships by number are domestic, mostly tugs, ferries, offshore and other small vessels. The two fleets have the same ships and differ only in where they sail. A quarter of the domestic voyages stay inside Europe, where the EU ETS and FuelEU cover them in full, against under 5 % of the international ones.
Run the next cell to see how the scenarios are written in Navigate’s input format, as decks, a tab each: the lines that basecase_no_regulation.nav does not have (what each scenario adds to it) are marked in green.
On Colab, the files can be found in the Files panel on the left (the 📁 folder icon), under global_case/ (the decks) and global_case/includes/.
# the four scenarios as Navigate decks, a tab each; the lines that are not in basecase_no_regulation.nav are marked
decks = ["basecase_no_regulation.nav", "basecase_mid_regulation.nav", "basecase_strong_regulation.nav",
"business_as_usual.nav"]
show_files({deck: [deck] for deck in decks}, against="basecase_no_regulation.nav")
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping2 # SPDX-License-Identifier: CC-BY-4.034 # BASECASE_NO_REGULATION - simulations/scenarios/basecase_no_regulation,5 # on the coarse grid (--set GRID=coarse) or year by year (--set GRID=yearly).67 DEFINE {8 Load DefaultModelDefinition910 # fleets11 Load DefaultFleet1213 # voyages14 Load DefaultPort1516 # fuels17 Load DefaultEmission18 Load DefaultFeedstock19 Load DefaultFuel20 Load DefaultProducer21 Load DefaultPlant22 Load DefaultRegion23 Load DefaultSource24 Load DefaultTransport2526 # calibration27 Load DefaultCalibration28 }2930 EVENTS {31 Load DefaultConverterAvailable32 Include "includes/time_steps_%GRID%.inc"33 }
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping2 # SPDX-License-Identifier: CC-BY-4.034 # BASECASE_MID_REGULATION - simulations/scenarios/basecase_mid_regulation,5 # on the coarse grid (--set GRID=coarse) or year by year (--set GRID=yearly).67 DEFINE {8 Load DefaultModelDefinition910 # fleets11 Load DefaultFleet1213 # voyages14 Load DefaultPort1516 # fuels17 Load DefaultEmission18 Load DefaultFeedstock19 Load DefaultFuel20 Load DefaultProducer21 Load DefaultPlant22 Load DefaultRegion23 Load DefaultSource24 Load DefaultTransport2526 # regulations27 Load DefaultRegulation28 Include "includes/mid_regulation.inc"2930 # calibration31 Load DefaultCalibration32 }3334 EVENTS {35 Load DefaultConverterAvailable36 Include "includes/time_steps_%GRID%.inc"37 }
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping2 # SPDX-License-Identifier: CC-BY-4.034 # BASECASE_STRONG_REGULATION - simulations/scenarios/basecase_strong_regulation,5 # on the coarse grid (--set GRID=coarse) or year by year (--set GRID=yearly).67 DEFINE {8 Load DefaultModelDefinition910 # fleets11 Load DefaultFleet1213 # voyages14 Load DefaultPort1516 # fuels17 Load DefaultEmission18 Load DefaultFeedstock19 Load DefaultFuel20 Load DefaultProducer21 Load DefaultPlant22 Load DefaultRegion23 Load DefaultSource24 Load DefaultTransport2526 # regulations27 Load DefaultRegulation28 Include "includes/strong_regulation.inc"2930 # calibration31 Load DefaultCalibration32 }3334 EVENTS {35 Load DefaultConverterAvailable36 Include "includes/time_steps_%GRID%.inc"37 }
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping2 # SPDX-License-Identifier: CC-BY-4.034 # BUSINESS_AS_USUAL - simulations/scenarios/business_as_usual,5 # on the coarse grid (--set GRID=coarse) or year by year (--set GRID=yearly).67 DEFINE {8 Load DefaultModelDefinition910 # fleets11 Load DefaultFleetInternational12 Load DefaultFleetDomestic1314 # voyages15 Load DefaultPort16 Load DefaultVoyageInternational17 Load DefaultVoyageDomestic1819 # fuels20 Load DefaultEmission21 Load DefaultFeedstock22 Load DefaultFuel23 Load DefaultProducer24 Load DefaultPlant25 Load DefaultRegion26 Load DefaultSource27 Load DefaultTransport2829 # regulations30 Load DefaultRegulation3132 # calibration33 Load DefaultCalibration34 }3536 EVENTS {37 Load DefaultConverterAvailable38 Include "includes/time_steps_%GRID%.inc"39 }
“Global fuel standard” is a limit on the well-to-wake carbon intensity of the energy a ship
uses, applied worldwide: a ship above the limit pays, a ship
below it earns surplus units it can sell. The decks call it gfs.
gfs_target_reduction is the well-to-wake GHG intensity limit every vessel is measured against, as a share of 93.3 gCO2eq/MJ, and
gfs_remedial_unit is the penalty for missing it, in USD per tonne of excess emission. Both are defined per scenario in includes/mid_regulation.inc and includes/strong_regulation.inc.
Run the next cell to see both, a tab each; the lines of the strong regulation that the mid one does not have are marked in green. STEP 3 draws both limits.
# the global fuel standard of the mid and strong regulation scenarios; the lines of the strong one that are not
# in the mid one are marked
standards = ["includes/mid_regulation.inc", "includes/strong_regulation.inc"]
show_files({Path(file).name: [file] for file in standards}, against="includes/mid_regulation.inc")
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping2 # SPDX-License-Identifier: CC-BY-4.034 # A copy of simulations/scenarios/0_includes/mid_regulation.inc.56 Regulation "gfs" {7 Measure = INTENSITY8 Scheme = FLEXIBLE910 Scope = WTW11 IncludeSlip = TRUE1213 Emissions = Emission("*")14 Fuels = Fuel("*")1516 Jurisdiction = [Port("port_global"), Port("port_europe")]1718 RemedialCost = Forecast("gfs_remedial_unit")1920 set_vessel_threshold("*", Forecast("gfs_target_reduction"))2122 set_include_vessel("*", TRUE)23 }242526 Forecast "gfs_target_reduction" {27 Table = [28 "01-01-2025", 1.00;29 "31-12-2027", 1.00;30 "01-01-2028", 0.96;31 "01-01-2029", 0.94;32 "01-01-2030", 0.95;33 "01-01-2035", 0.75;34 "01-01-2050", 0.30;35 ]3637 Multiplier = 93.338 Extrapolate = FLAT39 }4041 Forecast "gfs_remedial_unit" {42 Table = [43 "01-01-2025", 0;44 "31-12-2027", 0;45 "01-01-2028", 300;46 "01-01-2050", 300;47 ]4849 Extrapolate = FLAT50 }
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping2 # SPDX-License-Identifier: CC-BY-4.034 Regulation "gfs" {5 Measure = INTENSITY6 Scheme = FLEXIBLE78 Scope = WTW9 IncludeSlip = TRUE1011 Emissions = Emission("*")12 Fuels = Fuel("*")1314 Jurisdiction = [Port("port_global"), Port("port_europe")]1516 RemedialCost = Forecast("gfs_remedial_unit")1718 set_vessel_threshold("*", Forecast("gfs_target_reduction"))1920 set_include_vessel("*", TRUE)21 }222324 Forecast "gfs_target_reduction" {25 Table = [26 "01-01-2025", 1.00;27 "31-12-2027", 1.00;28 "01-01-2028", 0.96;29 "01-01-2029", 0.94;30 "01-01-2030", 0.92;31 "01-01-2031", 0.876;32 "01-01-2032", 0.832;33 "01-01-2033", 0.788;34 "01-01-2034", 0.744;35 "01-01-2035", 0.70;36 "01-01-2040", 0.50;37 "01-01-2050", 0.00;38 ]3940 Multiplier = 93.341 Extrapolate = FLAT42 }4344 Forecast "gfs_remedial_unit" {45 Table = [46 "01-01-2025", 0;47 "31-12-2027", 0;48 "01-01-2028", 800;49 "01-01-2050", 800;50 ]5152 Extrapolate = FLAT53 }
STEP 3: Run the reference scenarios and compare them#
Run the cell below to solve the scenarios described in STEP 2, one after the other, then compare their results with Lantern, our tool for plotting Navigate’s results. Hover over a plot to read its values, or drag to zoom. The link under the plots opens Lantern’s full viewer. The plots show:
the well-to-wake emissions;
what the ships paid in total per tonne-km;
the global fuel standard of STEP 2, in the two scenarios that have one: its limit, dashed, and the intensity the ships reached, solid;
the fuel consumed, in a panel per scenario.
The switch BUSINESS_AS_USUAL adds business_as_usual; it is off by default, because it takes longer to solve.
By default, the scenarios are solved on 8 time steps instead of 25, to speed up solving: it takes a few minutes on Colab. Set GRID = "yearly" to solve the scenarios year by year instead. Since this takes a while (about half an hour on Colab), you can go for a coffee or tea, or take a nap, in the meantime.
Running the simulation year by year instead of every four years changes the results only slightly. The following table shows some of the differences for basecase_mid_regulation:
mid regulation |
yearly |
coarse |
|---|---|---|
emissions in 2050 |
663 Mt/yr |
668 Mt/yr |
alternative fuels in 2050 |
49.5 % |
50.1 % |
# the time grid: "coarse", 8 time steps, or "yearly", 25
GRID = "coarse"
BUSINESS_AS_USUAL = False # True: business_as_usual as well
# Off by default: business_as_usual is quite different from the three basecases. It splits each ship
# class into an international and a domestic fleet that sail differently (see STEP 2), so its results
# do not differ from theirs by regulation alone. It is also the slowest, with twice as many fleets.
# solve the reference scenarios one after the other: --set GRID picks the time grid's file in each deck,
# and the results go to parquets/<scenario>.parquet
!navigate basecase_no_regulation.nav --set GRID={GRID}
!navigate basecase_mid_regulation.nav --set GRID={GRID}
!navigate basecase_strong_regulation.nav --set GRID={GRID}
references = ["basecase_no_regulation", "basecase_mid_regulation", "basecase_strong_regulation"]
if BUSINESS_AS_USUAL:
!navigate business_as_usual.nav --set GRID={GRID}
references.append("business_as_usual")
# draw them against each other with Lantern, as HTML pages in plots/ at 0.8 times their size, and show
# them; the intensity limit is the global fuel standard's, gfs in the decks, of the two scenarios with one
runs = ",".join(references)
!lantern parquets --scale 0.8 \
--plot "session_emissions[{runs}]" \
--plot "session_expenses_total[{runs}]" \
--plot "session_intensity_limit[basecase_mid_regulation,basecase_strong_regulation][gfs]" \
--plot "session_fuel_consumed[{runs}]"
pages = "+".join(references)
show(f"plots/session_emissions/{pages}.html",
f"plots/session_expenses_total/{pages}.html",
"plots/session_intensity_limit/basecase_mid_regulation+basecase_strong_regulation_gfs.html")
show(f"plots/session_fuel_consumed/{pages}.html", height=480) # a panel per scenario, so a row of its own
# and every plot Lantern can draw, in its viewer; its Refresh button adds the scenarios of STEP 4
open_viewer("parquets")
——————————————————————————————————————————————————————————————————————————————————————————————————
| | | .oO
)_) )_) )_) __/___ _ _
)___))___))___)\ _____/______| __|_|__|_|__
)____)____)_____)\\ _______/_____\_______\_____ _|____________|__
_____|____|____|____\\\__ \ < < < | |o o o o o o o o /
~~~~~~~\ /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
´´´´´´´´´´´´´´´´´´´ Navigate
——————————————————————————————————————————————————————————————————————————————————————————————————
Navigate - an integrated assessment model for decarbonizing shipping
Developed by Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping
Version 1.1.0 - for questions, contact navigate@zerocarbonshipping.com
Running HiGHS 1.16.0 (git hash: f3f113d): Copyright (c) 2026 under MIT licence terms
Includes third-party software components, see THIRD_PARTY_NOTICES.md for full details
Date: 2026-01-01
Date: 2027-01-01
Date: 2030-01-01
Date: 2034-01-01
Date: 2038-01-01
Date: 2042-01-01
Date: 2046-01-01
Date: 2050-01-01
Finished simulation, elapsed time: 0m and 18s.
112 warning(s) logged - see 'basecase_no_regulation.log'.
——————————————————————————————————————————————————————————————————————————————————————————————————
| | | .oO
)_) )_) )_) __/___ _ _
)___))___))___)\ _____/______| __|_|__|_|__
)____)____)_____)\\ _______/_____\_______\_____ _|____________|__
_____|____|____|____\\\__ \ < < < | |o o o o o o o o /
~~~~~~~\ /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
´´´´´´´´´´´´´´´´´´´ Navigate
——————————————————————————————————————————————————————————————————————————————————————————————————
Navigate - an integrated assessment model for decarbonizing shipping
Developed by Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping
Version 1.1.0 - for questions, contact navigate@zerocarbonshipping.com
Running HiGHS 1.16.0 (git hash: f3f113d): Copyright (c) 2026 under MIT licence terms
Includes third-party software components, see THIRD_PARTY_NOTICES.md for full details
Date: 2026-01-01
Date: 2027-01-01
Date: 2030-01-01
Date: 2034-01-01
Date: 2038-01-01
Date: 2042-01-01
Date: 2046-01-01
Date: 2050-01-01
Finished simulation, elapsed time: 0m and 26s.
112 warning(s) logged - see 'basecase_mid_regulation.log'.
——————————————————————————————————————————————————————————————————————————————————————————————————
| | | .oO
)_) )_) )_) __/___ _ _
)___))___))___)\ _____/______| __|_|__|_|__
)____)____)_____)\\ _______/_____\_______\_____ _|____________|__
_____|____|____|____\\\__ \ < < < | |o o o o o o o o /
~~~~~~~\ /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
´´´´´´´´´´´´´´´´´´´ Navigate
——————————————————————————————————————————————————————————————————————————————————————————————————
Navigate - an integrated assessment model for decarbonizing shipping
Developed by Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping
Version 1.1.0 - for questions, contact navigate@zerocarbonshipping.com
Running HiGHS 1.16.0 (git hash: f3f113d): Copyright (c) 2026 under MIT licence terms
Includes third-party software components, see THIRD_PARTY_NOTICES.md for full details
Date: 2026-01-01
Date: 2027-01-01
Date: 2030-01-01
Date: 2034-01-01
Date: 2038-01-01
Date: 2042-01-01
Date: 2046-01-01
Date: 2050-01-01
Finished simulation, elapsed time: 0m and 25s.
112 warning(s) logged - see 'basecase_strong_regulation.log'.
Plots from /tmp/notebook/global_case/plots.yaml
Loaded basecase_mid_regulation: 1 run(s), 5 of 5 plots with data
Loaded basecase_no_regulation: 1 run(s), 4 of 5 plots with data
Loaded basecase_strong_regulation: 1 run(s), 5 of 5 plots with data
Plotting: 100%|████████████████████████████████| 4/4 [00:00<00:00, 20.56plot/s]
Wrote 4 plots to plots
plots/session_emissions/basecase_no_regulation+basecase_mid_regulation+basecase_strong_regulation.html
plots/session_expenses_total/basecase_no_regulation+basecase_mid_regulation+basecase_strong_regulation.html
plots/session_intensity_limit/basecase_mid_regulation+basecase_strong_regulation_gfs.html
plots/session_fuel_consumed/basecase_no_regulation+basecase_mid_regulation+basecase_strong_regulation.html
STEP 4: Local sensitivity analysis#
Pick one of the reference scenarios of STEP 3 with REFERENCE and a name for your scenario with SCENARIO, then change some of the input values to see how the results respond. Your scenario is solved on the time grid of STEP 3: with GRID = "yearly", each one takes a few minutes.
Each scenario of STEP 2 also has a .unc deck, the same deck with the levers as %NAME% placeholders: this step and STEP 5 run it, and --set or Horizon fills the placeholders.
All the levers we prepared are multipliers, so 1.0 keeps the original assumption, except five that are switches, 0 or 1:
NO_EU_ETS,NO_FUELEUandNO_GLOBAL_STANDARDeach take one regulation out and keep the others, to see what that one adds. The levers of a regulation taken out then have no effect.EU_RULES_WORLDWIDEapplies the EU ETS and FuelEU to every voyage, not only to the share that touches Europe.FREEZE_EFFICIENCYstops anything further from being fitted, on newbuilds as well as on retrofits.
The spans indicated in the cell below are a suggestion, not a limit. The plots compare your scenarios with the reference scenario you picked.
GAME: Find out which scenario (realistic?) leads to the lowest emissions and transport costs by 2050.
# YOUR SCENARIO: pick a reference scenario of STEP 3, set the levers in the --set lines below,
# then run this cell
REFERENCE = "basecase_mid_regulation" # the scenario to change, one solved in STEP 3:
# "basecase_no_regulation", "basecase_mid_regulation",
# "basecase_strong_regulation", or "business_as_usual" if STEP 3 included it
SCENARIO = "your_scenario" # a new name, without spaces, adds a scenario to the plots
RESET = False # True: compare this scenario alone with the reference
# Each --set fills the placeholder of that name in the deck. Each number is a multiplier on what
# the deck already says, so 1.0 is the reference; OIL_PRICE=2.0 doubles the fuel oil price.
#
# suggested span what 1.0 means in basecase_mid_regulation
# OIL_PRICE 0.6 - 2.0 485 USD/t, flat to 2050
# LNG_PRICE 0.6 - 2.0 436 USD/t, flat to 2050
# EU_ETS_PRICE 0.5 - 3.0 126 USD/t in 2026, 417 by 2050
# FUELEU_TARGET 0.3 - 1.2 88.6 gCO2eq/MJ in 2026, 18.2 by 2050; under 1.0 is STRICTER
# FUELEU_PENALTY 1.0 - 5.0 760 USD/t of excess emission, flat
# GLOBAL_STANDARD_PENALTY 0.0 - 5.0 0 until 2028, then 300 USD/t of excess (strong: 800)
# GLOBAL_STANDARD_TARGET 0.5 - 1.2 93.3 gCO2eq/MJ in 2026, 28.0 by 2050 (strong: 0); under 1.0 is STRICTER
# EFUEL_ELECTRICITY_PRICE 0.6 - 1.4 58-88 USD/MWh in 2026, by region
# BIOMASS_SHARE_FOR_SHIPPING 0.5 - 3.0 2-50 % of the pool, by feedstock
# BIOGENIC_CO2_AVAILABILITY 0.5 - 2.0 92 Mt/yr pool in 2026, 350 by 2050 (shipping's share: 50 %)
# PLANT_BUILD_LIMIT 0.5 - 3.0 7.1 plants a year in 2026, rising (not biofuel plants)
# TRADE_GROWTH 0.0 - 2.0 0.3-4.7 %/yr in 2026, by segment;
# 0.0 holds trade at its 2026 volume, -1.0 shrinks it as fast as it grew
#
# the five switches: 0 or 1
# NO_EU_ETS 1 = EU ETS taken out; FuelEU and the fuel standard stay
# NO_FUELEU 1 = FuelEU taken out; EU ETS and the fuel standard stay
# NO_GLOBAL_STANDARD 1 = the global fuel standard taken out; the EU rules stay
# EU_RULES_WORLDWIDE 1 = EU ETS and FuelEU apply to every voyage, not only Europe's
# FREEZE_EFFICIENCY 1 = nothing further gets fitted, newbuild or retrofit
#
# basecase_no_regulation has no EU ETS, FuelEU or global fuel standard, so their levers and switches
# change nothing there; business_as_usual has no global fuel standard.
# solve your scenario on STEP 3's time grid; the results go to parquets/<SCENARIO>.parquet
!navigate {REFERENCE}.unc --name {SCENARIO} \
--set GRID={GRID} \
--set OIL_PRICE=2.0 \
--set LNG_PRICE=1.0 \
--set EU_ETS_PRICE=1.0 \
--set FUELEU_TARGET=1.0 \
--set FUELEU_PENALTY=1.0 \
--set GLOBAL_STANDARD_PENALTY=1.0 \
--set GLOBAL_STANDARD_TARGET=1.0 \
--set EFUEL_ELECTRICITY_PRICE=1.0 \
--set BIOMASS_SHARE_FOR_SHIPPING=1.0 \
--set BIOGENIC_CO2_AVAILABILITY=1.0 \
--set PLANT_BUILD_LIMIT=1.0 \
--set TRADE_GROWTH=1.0 \
--set NO_EU_ETS=0 \
--set NO_FUELEU=0 \
--set NO_GLOBAL_STANDARD=0 \
--set EU_RULES_WORLDWIDE=0 \
--set FREEZE_EFFICIENCY=0
# draw your scenarios so far against the reference, and show the plots;
# Refresh in Lantern's viewer adds them there too
if RESET:
scenarios.clear()
if SCENARIO not in scenarios:
scenarios.append(SCENARIO)
runs = ",".join([REFERENCE, *scenarios])
!lantern parquets --scale 0.8 \
--plot "session_emissions[{runs}]" \
--plot "session_expenses_total[{runs}]" \
--plot "session_fuel_consumed[{runs}]"
pages = "+".join([REFERENCE, *scenarios])
show(f"plots/session_emissions/{pages}.html", f"plots/session_expenses_total/{pages}.html")
show(f"plots/session_fuel_consumed/{pages}.html", height=480) # a panel per scenario, so a row of its own
——————————————————————————————————————————————————————————————————————————————————————————————————
| | | .oO
)_) )_) )_) __/___ _ _
)___))___))___)\ _____/______| __|_|__|_|__
)____)____)_____)\\ _______/_____\_______\_____ _|____________|__
_____|____|____|____\\\__ \ < < < | |o o o o o o o o /
~~~~~~~\ /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
´´´´´´´´´´´´´´´´´´´ Navigate
——————————————————————————————————————————————————————————————————————————————————————————————————
Navigate - an integrated assessment model for decarbonizing shipping
Developed by Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping
Version 1.1.0 - for questions, contact navigate@zerocarbonshipping.com
Running HiGHS 1.16.0 (git hash: f3f113d): Copyright (c) 2026 under MIT licence terms
Includes third-party software components, see THIRD_PARTY_NOTICES.md for full details
Date: 2026-01-01
Date: 2027-01-01
Date: 2030-01-01
Date: 2034-01-01
Date: 2038-01-01
Date: 2042-01-01
Date: 2046-01-01
Date: 2050-01-01
Finished simulation, elapsed time: 0m and 32s.
112 warning(s) logged - see 'your_scenario.log'.
Plots from /tmp/notebook/global_case/plots.yaml
Loaded basecase_mid_regulation: 1 run(s), 5 of 5 plots with data
Loaded basecase_no_regulation: 1 run(s), 4 of 5 plots with data
Loaded basecase_strong_regulation: 1 run(s), 5 of 5 plots with data
Loaded your_scenario: 1 run(s), 5 of 5 plots with data
Plotting: 100%|████████████████████████████████| 3/3 [00:00<00:00, 18.72plot/s]
Wrote 3 plots to plots
plots/session_emissions/basecase_mid_regulation+your_scenario.html
plots/session_expenses_total/basecase_mid_regulation+your_scenario.html
plots/session_fuel_consumed/basecase_mid_regulation+your_scenario.html
STEP 5: Global sensitivity analysis with Horizon#
Similarly to Session 1, in its STEP 4, Horizon moves several levers at once: it draws a value for each lever from its range and solves the case once per draw. The study is written the same way, and Session 1 explains the details: the triangular ranges, active, the samples and emissions_low. What is new here:
UncFilePathpicks the scenario the study changes, by its.uncdeck (see STEP 4).The levers and the five switches are those of STEP 4. Only
OIL_PRICEis on to start with.GRID, the time grid of STEP 3, is a switch too: every run uses itsdefault,coarse.
Change the study in the cell, then run it and the cell after it again: each run of the study replaces the one before.
%%writefile levers.hor
# THE STUDY: change it, then run this cell, which writes it to levers.hor, and the next one, which runs it
ContinuousParameter "OIL_PRICE" = TRIANGULAR(0.6, 1.0, 2.0) { active = TRUE, emissions_low = MAXIMUM }
ContinuousParameter "LNG_PRICE" = TRIANGULAR(0.6, 1.0, 2.0) { active = FALSE, emissions_low = MAXIMUM }
ContinuousParameter "EU_ETS_PRICE" = TRIANGULAR(0.5, 1.0, 3.0) { active = FALSE, emissions_low = MAXIMUM }
ContinuousParameter "FUELEU_TARGET" = TRIANGULAR(0.3, 1.0, 1.2) { active = FALSE }
ContinuousParameter "FUELEU_PENALTY" = TRIANGULAR(1.0, 1.0, 5.0) { active = FALSE, emissions_low = MAXIMUM }
ContinuousParameter "GLOBAL_STANDARD_PENALTY" = TRIANGULAR(0.0, 1.0, 5.0) { active = FALSE, emissions_low = MAXIMUM }
ContinuousParameter "GLOBAL_STANDARD_TARGET" = TRIANGULAR(0.5, 1.0, 1.2) { active = FALSE }
ContinuousParameter "EFUEL_ELECTRICITY_PRICE" = TRIANGULAR(0.6, 1.0, 1.4) { active = FALSE }
ContinuousParameter "BIOMASS_SHARE_FOR_SHIPPING" = TRIANGULAR(0.5, 1.0, 3.0) { active = FALSE, emissions_low = MAXIMUM }
ContinuousParameter "BIOGENIC_CO2_AVAILABILITY" = TRIANGULAR(0.5, 1.0, 2.0) { active = FALSE, emissions_low = MAXIMUM }
ContinuousParameter "PLANT_BUILD_LIMIT" = TRIANGULAR(0.5, 1.0, 3.0) { active = FALSE, emissions_low = MAXIMUM }
ContinuousParameter "TRADE_GROWTH" = TRIANGULAR(0.0, 1.0, 2.0) { active = FALSE }
# The five switches of STEP 4: every run of the study uses the default;
# active = TRUE runs the whole study once for each value.
ScenarioParameter "NO_EU_ETS" { values = ["0", "1"], default = "0", active = FALSE } # 1: EU ETS taken out
ScenarioParameter "NO_FUELEU" { values = ["0", "1"], default = "0", active = FALSE } # 1: FuelEU taken out
ScenarioParameter "NO_GLOBAL_STANDARD" { values = ["0", "1"], default = "0", active = FALSE } # 1: the global fuel standard taken out
ScenarioParameter "EU_RULES_WORLDWIDE" { values = ["0", "1"], default = "0", active = FALSE } # 1: EU ETS and FuelEU on every voyage
ScenarioParameter "FREEZE_EFFICIENCY" { values = ["0", "1"], default = "0", active = FALSE } # 1: nothing further gets fitted
# The time grid of STEP 3: "coarse" or "yearly".
ScenarioParameter "GRID" { values = ["coarse", "yearly"], default = "coarse", active = FALSE }
Horizon {
UncFilePath = "basecase_mid_regulation.unc" # the deck: the .unc of a reference scenario of STEP 3
OutputPath = "study" # the folder of the study's runs and results
NumberOfSamples = 15 # number of simulations
SamplingMethod = LHS
RandomSeed = 42
}
Writing levers.hor
Run the next cell: it checks the study, solves it, one simulation per sample, and gathers the runs into one results file. Horizon solves as many simulations at once as the machine has processors: on Colab, a study of fifteen on the coarse grid takes about 15 minutes. On the yearly grid, it takes about 45 minutes.
Each plot shows the reference scenarios of STEP 3 in their colours and the study in dark blue, with its band, median and closest run as in Session 1.
# check the study, run it, one solve per sample, and gather the runs into study/levers.parquet
!horizon check levers.hor
!horizon run levers.hor
!horizon collect levers.hor
# draw the study against the reference scenarios of STEP 3, and show the plots
runs = ",".join([*references, "levers/levers"])
!lantern parquets study/levers.parquet --scale 0.8 \
--plot "session_emissions[{runs}]" \
--plot "session_expenses_total[{runs}]"
pages = "+".join([*references, "levers"])
show(f"plots/session_emissions/{pages}.html", f"plots/session_expenses_total/{pages}.html")
levers.hor: ok: 12 sample parameters, 6 scenario parameters, 1 scenario combinations, 15 runs, 0 errors, 0 warnings
2026-12-02 15:03:32,348 - INFO - Logging to /tmp/notebook/global_case/study/logs/horizon.log (DEBUG), console (INFO)
2026-12-02 15:03:32,349 - INFO - Study levers: 1 scenario combination(s) x 15 samples = 15 runs in /tmp/notebook/global_case/study
2026-12-02 15:03:32,349 - INFO - Running 15 run(s), 14 at a time
Running: 100%|████████████████████████████████| 15/15 [04:12<00:00, 16.84s/run]
2026-12-02 15:07:45,046 - INFO - All 15 run(s) ok; `horizon collect /tmp/notebook/global_case/levers.hor` compacts them
2026-12-02 15:07:45,718 - INFO - Logging to /tmp/notebook/global_case/study/logs/horizon.log (DEBUG), console (INFO)
Compacting: 100%|█████████████████████████████| 15/15 [00:00<00:00, 97.26run/s]
Summarising: 100%|██████████████████████████████| 4/4 [00:00<00:00, 6.01run/s]
2026-12-02 15:07:46,599 - INFO - Compacted 15 run(s) into /tmp/notebook/global_case/study/levers_archive.parquet and their summary (representative, median, 5% and 95%) into /tmp/notebook/global_case/study/levers.parquet
2026-12-02 15:07:46,600 - INFO - levers is represented by levers_sample014
Plots from /tmp/notebook/global_case/plots.yaml
Loaded basecase_mid_regulation: 1 run(s), 5 of 5 plots with data
Loaded basecase_no_regulation: 1 run(s), 4 of 5 plots with data
Loaded basecase_strong_regulation: 1 run(s), 5 of 5 plots with data
Loaded your_scenario: 1 run(s), 5 of 5 plots with data
Loaded levers: 1 run(s), 5 of 5 plots with data
Plotting: 100%|████████████████████████████████| 2/2 [00:00<00:00, 16.34plot/s]
Wrote 2 plots to plots
plots/session_emissions/basecase_no_regulation+basecase_mid_regulation+basecase_strong_regulation+levers.html
plots/session_expenses_total/basecase_no_regulation+basecase_mid_regulation+basecase_strong_regulation+levers.html
Advanced sensitivities#
The levers proposed in the previous sections are only a few examples of what can be changed in the model. Sensitivities on other parameters, or simulations of your own, can be done by:
editing the deck
docs/notebooks/notebook_2/global_case/basecase_mid_regulation.uncitself (easier with a local installation);making fuller use of our Horizon-zcs tool for global sensitivity analysis, starting from STEP 5’s study,
levers.hor.
Workshop sessions#
Next: Session 3: How a Navigate model is built
Each link opens the notebook in Google Colab, in a fresh session, so run it from the top.
Run a global case (this session)
How Navigate solves
Build your own case