Recommended: run this notebook in Google Colab, nothing to install.

Open In Colab

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#

Map of the Navigate reference scenario: five fuel-supply regions shaded by their 2050 electricity cost, with Europe ringed as the EU ETS and FuelEU jurisdiction

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.

Hide code cell source

# @title Install Navigate and its tools, and set up the session
ROOT = "/content"
# ROOT = "/tmp/notebook"  # running locally: any folder of your own, without spaces in its path
%cd {ROOT}

!git clone -q --depth 1 -b main https://github.com/zerocarbonshipping/navigate-zcs {ROOT}/navigate-zcs
%pip install -q {ROOT}/navigate-zcs horizon-zcs lantern-zcs
%env ASSUMPTIONS_DATA_DIR={ROOT}/navigate-zcs/assumptions

import shutil

shutil.copytree(f"{ROOT}/navigate-zcs/docs/notebooks/notebook_2/global_case", f"{ROOT}/global_case", dirs_exist_ok=True)
%cd {ROOT}/global_case

# notebook helpers: show the pages Lantern writes in the notebook, open Lantern's viewer, and show a deck's files
# in tabs, coloured as VS Code colours them
import html
import json
import os
import subprocess
import uuid
from pathlib import Path

from IPython.display import HTML, display
from pygments import highlight
from pygments.formatters import HtmlFormatter
from pygments.lexer import RegexLexer
from pygments.token import Comment, Keyword, Name, Number, Operator, String, Text

# STEP 4's scenarios: their names in the order they were run, which its plots compare
scenarios = []

def show(*pages, height=360):
    # the pages side by side, each in a frame of its own, height pixels tall
    frames = ""
    for page in pages:
        with open(page, encoding="utf-8") as file:
            frames += f'<iframe srcdoc="{html.escape(file.read())}" style="flex: 1 1 320px; height: {height}px; border: 0"></iframe>'
    display(HTML(f'<div style="display: flex; flex-wrap: wrap">{frames}</div>'))

def open_viewer(*paths):
    # Lantern's viewer of the paths, as `lantern PATH ...` opens it, in the background; started from ROOT,
    # it shows Lantern's own plots rather than this case's plots.yaml, and its messages go nowhere
    subprocess.Popen(["lantern", *(str(Path(path).resolve()) for path in paths)], cwd=ROOT,
                     stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
    try:
        from google.colab import output
        output.serve_kernel_port_as_window(8050, anchor_text="Click here to see more plots")
    except ImportError:  # on your own machine Lantern opens the viewer in your browser
        pass

# Navigate's grammar for VS Code, in navigate-zcs/syntax/vscode, as a lexer, and the colours of VS Code's default theme
grammar = json.loads(Path(f"{ROOT}/navigate-zcs/syntax/vscode/syntaxes/navigate.tmLanguage.json").read_text(encoding="utf-8"))
scopes = {"comment": Comment, "string": String, "variable": Name.Variable, "constant.numeric": Number,
          "keyword.control": Keyword, "storage.type": Keyword.Type, "keyword.operator": Operator}
rules = []
for include in grammar["patterns"]:
    for rule in grammar["repository"][include["include"].lstrip("#")]["patterns"]:
        token = next(token for scope, token in scopes.items() if rule["name"].startswith(scope))
        rules.append((rule.get("match", r'"(?:\\.|[^"\\])*"'), token))  # the rule without a match: a quoted string
LEXER = type("NavigateLexer", (RegexLexer,), {"tokens": {"root": rules + [(r"\w+|\s+|.", Text)]}})(stripnl=False)
COLOURS = {"c": "#6a9955", "s": "#ce9178", "nv": "#9cdcfe", "m": "#b5cea8", "k": "#c586c0", "kt": "#569cd6", "o": "#d4d4d4"}

def show_files(tabs, against=None):
    # a tab per entry, each file under its path from ROOT, with line numbers; the lines that are not in the file
    # against, if given, are marked. The tabs are radio buttons styled by CSS, without a script, so they work on
    # Colab, in Jupyter and in the documentation alike
    uid = f"files-{uuid.uuid4().hex[:8]}"
    base = set(Path(against).read_text(encoding="utf-8").splitlines()) if against else None
    css = [f".{uid} > input, .{uid} > div {{display: none}}",
           f".{uid} > label {{display: inline-block; padding: 6px 14px; cursor: pointer; opacity: .6; border-bottom: 2px solid transparent}}",
           f".{uid} > input:checked + label {{opacity: 1; border-bottom-color: #0078d4}}",
           f".{uid} .path {{margin-top: 8px; padding: 4px 12px; background: #181818; color: #cccccc; font: 12px monospace}}",
           f".{uid} pre {{margin: 0; padding: 8px 12px; max-height: 400px; overflow: auto; background: #1f1f1f; color: #cccccc; font: 12px/1.4 Menlo, Consolas, monospace; tab-size: 4; white-space: pre}}",
           f".{uid} .ln {{color: #6e7681; user-select: none}}",
           f".{uid} .new {{background: #2ea04340}}"]
    css += [f".{uid} .{token} {{color: {colour}}}" for token, colour in COLOURS.items()]
    bar, panels = "", ""
    for i, (label, files) in enumerate(tabs.items()):
        checked = " checked" if i == 0 else ""
        bar += f'<input type="radio" name="{uid}" id="{uid}-{i}"{checked}><label for="{uid}-{i}">{html.escape(label)}</label>'
        css.append(f"#{uid}-{i}:checked ~ .tab-{i} {{display: block}}")
        panel = ""
        for file in files:
            source = Path(file).read_text(encoding="utf-8").splitlines()
            code = highlight("\n".join(source), LEXER, HtmlFormatter(nowrap=True)).splitlines()
            lines = "".join(f'<div{" class=new" if base is not None and line not in base else ""}>'
                            f'<span class="ln">{n:>3}  </span>{coloured}</div>'
                            for n, (line, coloured) in enumerate(zip(source, code), 1))
            panel += f'<div class="path">{html.escape(os.path.relpath(os.path.abspath(file), ROOT))}</div><pre>{lines}</pre>'
        panels += f'<div class="tab-{i}">{panel}</div>'
    display(HTML(f'<style>{" ".join(css)}</style><div class="{uid}">{bar}{panels}</div>'))

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

basecase_no_regulation

nothing at all: fuel chosen on cost

basecase_mid_regulation

EU ETS + FuelEU + a moderate global fuel standard

basecase_strong_regulation

EU ETS + FuelEU + a strict global fuel standard

business_as_usual

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")
global_case/basecase_no_regulation.nav
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping
2 # SPDX-License-Identifier: CC-BY-4.0
3
4 # BASECASE_NO_REGULATION - simulations/scenarios/basecase_no_regulation,
5 # on the coarse grid (--set GRID=coarse) or year by year (--set GRID=yearly).
6
7 DEFINE {
8 Load DefaultModelDefinition
9
10 # fleets
11 Load DefaultFleet
12
13 # voyages
14 Load DefaultPort
15
16 # fuels
17 Load DefaultEmission
18 Load DefaultFeedstock
19 Load DefaultFuel
20 Load DefaultProducer
21 Load DefaultPlant
22 Load DefaultRegion
23 Load DefaultSource
24 Load DefaultTransport
25
26 # calibration
27 Load DefaultCalibration
28 }
29
30 EVENTS {
31 Load DefaultConverterAvailable
32 Include "includes/time_steps_%GRID%.inc"
33 }
global_case/basecase_mid_regulation.nav
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping
2 # SPDX-License-Identifier: CC-BY-4.0
3
4 # BASECASE_MID_REGULATION - simulations/scenarios/basecase_mid_regulation,
5 # on the coarse grid (--set GRID=coarse) or year by year (--set GRID=yearly).
6
7 DEFINE {
8 Load DefaultModelDefinition
9
10 # fleets
11 Load DefaultFleet
12
13 # voyages
14 Load DefaultPort
15
16 # fuels
17 Load DefaultEmission
18 Load DefaultFeedstock
19 Load DefaultFuel
20 Load DefaultProducer
21 Load DefaultPlant
22 Load DefaultRegion
23 Load DefaultSource
24 Load DefaultTransport
25
26 # regulations
27 Load DefaultRegulation
28 Include "includes/mid_regulation.inc"
29
30 # calibration
31 Load DefaultCalibration
32 }
33
34 EVENTS {
35 Load DefaultConverterAvailable
36 Include "includes/time_steps_%GRID%.inc"
37 }
global_case/basecase_strong_regulation.nav
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping
2 # SPDX-License-Identifier: CC-BY-4.0
3
4 # BASECASE_STRONG_REGULATION - simulations/scenarios/basecase_strong_regulation,
5 # on the coarse grid (--set GRID=coarse) or year by year (--set GRID=yearly).
6
7 DEFINE {
8 Load DefaultModelDefinition
9
10 # fleets
11 Load DefaultFleet
12
13 # voyages
14 Load DefaultPort
15
16 # fuels
17 Load DefaultEmission
18 Load DefaultFeedstock
19 Load DefaultFuel
20 Load DefaultProducer
21 Load DefaultPlant
22 Load DefaultRegion
23 Load DefaultSource
24 Load DefaultTransport
25
26 # regulations
27 Load DefaultRegulation
28 Include "includes/strong_regulation.inc"
29
30 # calibration
31 Load DefaultCalibration
32 }
33
34 EVENTS {
35 Load DefaultConverterAvailable
36 Include "includes/time_steps_%GRID%.inc"
37 }
global_case/business_as_usual.nav
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping
2 # SPDX-License-Identifier: CC-BY-4.0
3
4 # BUSINESS_AS_USUAL - simulations/scenarios/business_as_usual,
5 # on the coarse grid (--set GRID=coarse) or year by year (--set GRID=yearly).
6
7 DEFINE {
8 Load DefaultModelDefinition
9
10 # fleets
11 Load DefaultFleetInternational
12 Load DefaultFleetDomestic
13
14 # voyages
15 Load DefaultPort
16 Load DefaultVoyageInternational
17 Load DefaultVoyageDomestic
18
19 # fuels
20 Load DefaultEmission
21 Load DefaultFeedstock
22 Load DefaultFuel
23 Load DefaultProducer
24 Load DefaultPlant
25 Load DefaultRegion
26 Load DefaultSource
27 Load DefaultTransport
28
29 # regulations
30 Load DefaultRegulation
31
32 # calibration
33 Load DefaultCalibration
34 }
35
36 EVENTS {
37 Load DefaultConverterAvailable
38 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")
global_case/includes/mid_regulation.inc
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping
2 # SPDX-License-Identifier: CC-BY-4.0
3
4 # A copy of simulations/scenarios/0_includes/mid_regulation.inc.
5
6 Regulation "gfs" {
7 Measure = INTENSITY
8 Scheme = FLEXIBLE
9
10 Scope = WTW
11 IncludeSlip = TRUE
12
13 Emissions = Emission("*")
14 Fuels = Fuel("*")
15
16 Jurisdiction = [Port("port_global"), Port("port_europe")]
17
18 RemedialCost = Forecast("gfs_remedial_unit")
19
20 set_vessel_threshold("*", Forecast("gfs_target_reduction"))
21
22 set_include_vessel("*", TRUE)
23 }
24
25
26 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 ]
36
37 Multiplier = 93.3
38 Extrapolate = FLAT
39 }
40
41 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 ]
48
49 Extrapolate = FLAT
50 }
global_case/includes/strong_regulation.inc
1 # SPDX-FileCopyrightText: 2026 Fonden Mærsk Mc-Kinney Møller Center for Zero Carbon Shipping
2 # SPDX-License-Identifier: CC-BY-4.0
3
4 Regulation "gfs" {
5 Measure = INTENSITY
6 Scheme = FLEXIBLE
7
8 Scope = WTW
9 IncludeSlip = TRUE
10
11 Emissions = Emission("*")
12 Fuels = Fuel("*")
13
14 Jurisdiction = [Port("port_global"), Port("port_europe")]
15
16 RemedialCost = Forecast("gfs_remedial_unit")
17
18 set_vessel_threshold("*", Forecast("gfs_target_reduction"))
19
20 set_include_vessel("*", TRUE)
21 }
22
23
24 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 ]
39
40 Multiplier = 93.3
41 Extrapolate = FLAT
42 }
43
44 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 ]
51
52 Extrapolate = FLAT
53 }

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_FUELEU and NO_GLOBAL_STANDARD each 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_WORLDWIDE applies the EU ETS and FuelEU to every voyage, not only to the share that touches Europe.

  • FREEZE_EFFICIENCY stops 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:

  • UncFilePath picks the scenario the study changes, by its .unc deck (see STEP 4).

  • The levers and the five switches are those of STEP 4. Only OIL_PRICE is on to start with.

  • GRID, the time grid of STEP 3, is a switch too: every run uses its default, 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.unc itself (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.

  1. Run a simple case

  2. Run a global case (this session)

  3. How a Navigate model is built

  4. How Navigate solves

  5. Build your own case