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 3: How a Navigate model is built#

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.

To have a full understanding of Navigate’s structure and language, we recommend working through the Tutorials and having a look at the Reference Manual before starting this session.

What you’ll do#

Pick the case and run it. The copper trade of Session 1 or the global case of Session 2.

Build the simulation. See how the case is built from Navigate’s library of components.

Explore the input data. Draw the numbers that drive the case and check the input data files.

STEP 1: Setup#

Run the cell below on Colab or locally to set up the Navigate model and Lantern.

Hide code cell source

# @title Set-up
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 lantern-zcs
LIBRARY = f"{ROOT}/navigate-zcs/assumptions"
%env ASSUMPTIONS_DATA_DIR={LIBRARY}

import shutil

notebooks = f"{ROOT}/navigate-zcs/docs/notebooks"
shutil.copytree(f"{notebooks}/notebook_1/copper_trade", f"{ROOT}/session_3/copper_trade", dirs_exist_ok=True)
shutil.copytree(f"{notebooks}/notebook_2/global_case", f"{ROOT}/session_3/global_case", dirs_exist_ok=True)
shutil.copy(f"{notebooks}/notebook_3/plots.yaml", f"{ROOT}/session_3/plots.yaml")
%cd {ROOT}/session_3

# notebook helpers: show plots in the notebook, read the numbers Navigate prepared for the run, and show a deck's files
# in tabs, coloured as VS Code colours them
import html
import json
import os
import re
import uuid
from importlib import resources
from pathlib import Path

import numpy as np
import plotly.io as pio
import polars as pl
import yaml
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

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>'))

# the figures the notebook draws itself take Lantern's colours and font, and its legend under the plot
THEME = yaml.safe_load(resources.files("lantern").joinpath("theme.yaml").read_text(encoding="utf-8"))
pio.templates["lantern"] = {"layout": {"colorway": [THEME["swatches"][colour] for colour in THEME["palette"]],
                                       "font": THEME["font"] | {"size": 12},
                                       "legend": {"orientation": "h", "yanchor": "top", "y": -0.12}}}
pio.templates.default = "plotly_white+lantern"

def draw(figure, name):
    # write a figure as a page next to Lantern's, its y axis from zero and its legend untitled as Lantern's, for show()
    page = Path(f"plots/{RUN}/{name}.html")
    page.parent.mkdir(parents=True, exist_ok=True)
    figure.update_yaxes(rangemode="tozero")
    figure.update_layout(legend_title_text="")
    figure.write_html(page, include_plotlyjs="cdn", config={"displaylogo": False})
    return page

def prepared(series):
    # an input series as Navigate prepared it for STEP 2's run, named as in plots.yaml, such as
    # "vessel.asset_charter_rate": a row per node, key and date. Navigate keeps these series in the run's
    # results file, beside its results
    kind, attribute = series.split(".")
    return pl.scan_parquet(RESULTS).filter(pl.col("kind") == kind, pl.col("attribute") == attribute).collect()

# 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)]}})()
COLOURS = {"c": "#6a9955", "s": "#ce9178", "nv": "#9cdcfe", "m": "#b5cea8", "k": "#c586c0", "kt": "#569cd6", "o": "#d4d4d4"}

def show_files(tabs, folded=None):
    # a tab per entry that lists files, each file under its path from ROOT, with line numbers, and a line starting
    # with "Also" as text, naming more files; folded, the tabs
    # open on a click. 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]}"
    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}}"]
    css += [f".{uid} .{token} {{color: {colour}}}" for token, colour in COLOURS.items()]
    bar, panels = "", ""
    for i, (label, files) in enumerate((label, files) for label, files in tabs.items() if files):
        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:
            if file.startswith("Also"):
                panel += f'<div class="path">{html.escape(file)}</div>'; continue
            code = highlight(Path(file).read_text(encoding="utf-8"), LEXER, HtmlFormatter(nowrap=True))
            lines = "\n".join(f'<span class="ln">{n:>3}  </span>{line}' for n, line in enumerate(code.splitlines(), 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>'
    page = f'<style>{" ".join(css)}</style><div class="{uid}">{bar}{panels}</div>'
    if folded:
        page = f'<details style="margin-top: 12px"><summary style="cursor: pointer">{html.escape(folded)}</summary>{page}</details>'
    display(HTML(page))

# the library's node files: a folder per node type, a file per node
DEFAULTS = f"{LIBRARY}/defaults"

def setting(pattern, files=None):
    # the files, of those the run read unless given, with a line that matches the pattern, then the library file of
    # each number node those lines name, each once
    files = files or [f"{ROOT}/{file}" for file in FILES.split()]
    found, named = [], []
    for file in files:
        lines = [line for line in Path(file).read_text(encoding="utf-8").splitlines() if re.search(pattern, line)]
        if lines:
            found.append(file)
            named += re.findall(r'(Variable|Curve|Forecast|Surface|Timetable)\("([^"]+)"\)', "\n".join(lines))
    nodes = [f"{DEFAULTS}/{kind}/{name}.inc" for kind, name in named]
    return found + [node for node in dict.fromkeys(nodes) if os.path.exists(node)]

def few(files, keep=1):
    # the case's own files, then the first library nodes, as examples; the others only named
    own = [file for file in files if not file.startswith(DEFAULTS)]
    nodes = [file for file in files if file.startswith(DEFAULTS)]
    rest = ", ".join(Path(file).stem for file in nodes[keep:])
    return own + nodes[:keep] + ([f"Also, laid out the same way: {rest}"] if rest else [])


def node(kind, name):
    # a node's file in the library, as text
    return Path(f"{DEFAULTS}/{kind}/{name}.inc").read_text(encoding="utf-8")

def field(text, name):
    # what a node's file sets a field to: for Capex = Forecast("propulsion_methane_capex"), Forecast("propulsion_methane_capex")
    return re.search(rf"^\s*{name} = (.+?)\s*$", text, re.MULTILINE)[1]

def number(reference, year=None):
    # the number a deck writes: a number, a Variable("...") or a Forecast("...") of the library, or their product
    # between < and >. A Forecast is read at the start of the year, between its dates as its Interpolate says, flat
    # beyond them, times its Multiplier; without a year, its first value
    value = 1.0
    for term in reference.strip().strip("<>").split("*"):
        found = re.fullmatch(r'(Variable|Forecast)\("([^"]+)"\)', term.strip())
        if not found:
            value *= float(term)
            continue
        kind, name = found.groups()
        text = node(kind, name)
        if kind == "Variable":
            value *= float(re.search(r"Value = (\S+)", text)[1])
            continue
        rows = [(int(date[-4:]), float(y)) for date, y in re.findall(r'"([\d-]+)",\s*([^;\s]+);', text)]
        if year is None:
            y = rows[0][1]
        elif "Interpolate = PREVIOUS" in text:
            y = [y for x, y in rows if x <= year][-1] if year >= rows[0][0] else rows[0][1]
        else:
            y = float(np.interp(year, [x for x, _ in rows], [y for _, y in rows]))
        multiplier = re.search(r"Multiplier = (\S+)", text)
        value *= y * (float(multiplier[1]) if multiplier else 1.0)
    return value
/tmp/notebook
Note: you may need to restart the kernel to use updated packages.
env: ASSUMPTIONS_DATA_DIR=/tmp/notebook/navigate-zcs/assumptions
/tmp/notebook/session_3

STEP 2: Pick the case and run it#

Pick the case with CASE: "copper_trade", the copper trade of Session 1, or "global_case", the mid regulation scenario of Session 2. To switch case, change CASE and run the cells from here again.

# THE CASE: "copper_trade", the copper trade of Session 1, or "global_case", the global case of Session 2
CASE = "copper_trade"
# click Run all at the top of the page after changing the case

# each case's notebook, its deck, the options its session runs it with, and the log and results file the run
# writes: next to the deck, or, for a run with --set, in the logs/ and parquets/ folders beside it
CASES = {
    "copper_trade": {"notebook": "notebook_1/notebook_1.ipynb", "deck": "copper_trade/example_4.nav", "options": "",
                     "log": "copper_trade/example_4.log",
                     "results": "copper_trade/example_4.parquet"},
    "global_case": {"notebook": "notebook_2/notebook_2.ipynb", "deck": "global_case/basecase_mid_regulation.nav",
                    "options": "--set GRID=coarse",
                    "log": "global_case/logs/basecase_mid_regulation.log",
                    "results": "global_case/parquets/basecase_mid_regulation.parquet"},
}
DECK = CASES[CASE]["deck"]
OPTIONS = CASES[CASE]["options"]
LOG = CASES[CASE]["log"]
RESULTS = CASES[CASE]["results"]
RUN = Path(RESULTS).stem  # the run's name, which Lantern files its pages under

# the case's map and its caption, as its own notebook shows them
from IPython.display import Markdown
cells = ["".join(cell["source"])
         for cell in json.loads(Path(f"{notebooks}/{CASES[CASE]['notebook']}").read_text(encoding="utf-8"))["cells"]]
at = next(i for i, cell in enumerate(cells) if cell.startswith("![Map"))
display(Markdown(cells[at] + "\n\n" + cells[at + 1].split("\n\n")[0]))

# solve the case; -l DEBUG logs every file Navigate reads and every node it takes from the library
!navigate {DECK} {OPTIONS} -l DEBUG

# every file the run read, from the log, as paths from ROOT: the files it loaded or included, then the library
# file of each node it read from the library
log = Path(LOG).read_text(encoding="utf-8")
files = re.findall(r"(?:from|Include) (\S+\.inc)$", log, re.MULTILINE)
files += [f"{DEFAULTS}/{kind}/{name}.inc"
          for kind, name in re.findall(r'(\w+)\("([^"]+)"\) was retrieved from the defaults', log)]
FILES = " ".join(dict.fromkeys(os.path.relpath(file, ROOT) for file in files))

Map of the Chile to Rotterdam copper trade: the two bunker ports, a fleet of ships on the voyage via the Panama Canal, and the fuel production sites in Patagonia and southern Sweden, both of which make e-methanol and e-ammonia, with bio-methanol in Sweden as well

San Antonio to Rotterdam via the Panama Canal: the two bunker ports, the voyage, and the possible fuel plants.

——————————————————————————————————————————————————————————————————————————————————————————————————
            |    |    |                                  .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: 2028-01-01
Date: 2029-01-01
Date: 2030-01-01
Date: 2031-01-01
Date: 2032-01-01
Date: 2033-01-01
Date: 2034-01-01
Date: 2035-01-01
Date: 2036-01-01
Date: 2037-01-01
Date: 2038-01-01
Date: 2039-01-01
Date: 2040-01-01
Date: 2041-01-01
Date: 2042-01-01
Date: 2043-01-01
Date: 2044-01-01
Date: 2045-01-01
Date: 2046-01-01
Date: 2047-01-01
Date: 2048-01-01
Date: 2049-01-01
Date: 2050-01-01
Finished simulation, elapsed time: 0m and 6s.

STEP 3: Build the simulation#

This section is a “fast track” version of the Tutorials. We recommend working through them first.

Summary from the tutorials

Navigate is a bit like a “drag and drop” model: you pick some components (nodes) from the ones available and add them to your simulation (deck).

A node is one specific component of the model: a fleet, a vessel, a route, a port, a fuel plant, a regulation, and so on. Ready-made components are stored in the assumptions library, in assumptions/defaults/, one folder per type of node (Fleet, Vessel, Port, …) and one file per node, named after it: Forecast("electricity_cost_europe_mid") is in assumptions/defaults/Forecast/electricity_cost_europe_mid.inc. A deck can name a node it does not write itself: Navigate then reads it from there.

Modules are lists of components that can be added all at once: for example, Load DefaultFleet (assumptions/modules/default_fleet.inc) adds all 23 fleets of the library.

A deck is the input to a Navigate simulation: one .nav file plus the .inc files it includes. The .nav file is a table of contents with two sections: DEFINE for the nodes the simulation is made of, and EVENTS for the timeline it steps through.

Two commands in the .nav file add components to the deck. Load adds a ready-made module from the assumptions library, by its name (Load DefaultCalibration). Include adds one of the deck’s own .inc files, by its path (Include "includes/fleet.inc"). A single node can also be taken from the library with Import, or copied under a new name with Copy.

In the deck, a node is written as a type (e.g. Fleet), a name in quotes (e.g. "bulk_carrier_80k_dwt"), and a block of attributes in braces. For example, the Fleet node bulk_carrier_80k_dwt declares the Panamax bulk carriers, the ships both cases have. An attribute can be a number (InitialVessels, the number of ships in the first year), a list of numbers (InitialSplit, the share of each vessel type in the first year), or a link to other nodes (Vessels, TradeGrowth).

Run the next cell to see the case’s deck as a code editor (VS Code) shows it: its .nav file and the related .inc files per group: fleet, route, fuel, regulation, behavioural traits and events.

On Colab, every file can also be opened from the Files panel on the left (the 📁 folder icon): the cases under session_3/, the library under navigate-zcs/assumptions/.

# the case's deck as VS Code shows it: its .nav file, then the files it adds, a tab per group; a Load adds a module of
# the library, a file of its modules folder
MODULES = f"{LIBRARY}/modules"
DECK_TABS = {
    "copper_trade": {
        "Fleet": ["copper_trade/includes/fleet.inc"],
        "Route": ["copper_trade/includes/route.inc", "copper_trade/includes/ports.inc"],
        "Fuel": [f"{MODULES}/default_source.inc", f"{MODULES}/default_transport.inc",
                 "copper_trade/includes/fuel_production.inc", "copper_trade/includes/regions.inc",
                 "copper_trade/includes/producer.inc", "copper_trade/includes/fuel_delivery.inc",
                 f"{MODULES}/default_emission.inc"],
        "Regulation": ["copper_trade/includes/eu_ets.inc", "copper_trade/includes/fuel_eu.inc"],
        "Behavioural traits": [f"{MODULES}/default_calibration.inc"],
        "Events": [f"{MODULES}/default_time_step_yearly.inc"],
    },
    "global_case": {
        "Fleet": [f"{MODULES}/default_fleet.inc"],
        "Route": [f"{MODULES}/default_port.inc"],
        "Fuel": [f"{MODULES}/default_{name}.inc"
                 for name in ("emission", "feedstock", "fuel", "producer", "plant", "region", "source", "transport")],
        "Regulation": [f"{MODULES}/default_regulation.inc", "global_case/includes/mid_regulation.inc"],
        "Behavioural traits": [f"{MODULES}/default_calibration.inc"],
        "Events": [f"{MODULES}/default_converter_available.inc", "global_case/includes/time_steps_coarse.inc"],
    },
}
show_files({Path(DECK).name: [DECK], **DECK_TABS[CASE]})
session_3/copper_trade/example_4.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  # EXAMPLE 4 - Panamax fleet, Chile to Rotterdam.
  5  
  6  DEFINE {
  7      Load DefaultModelDefinition
  8  
  9      # ---- fleet ----
 10      Include "includes/fleet.inc"
 11  
 12      # ---- route ----
 13      Include "includes/route.inc"
 14      Include "includes/ports.inc"
 15  
 16      # ---- fuel ----
 17      Load DefaultSource
 18      Load DefaultTransport
 19      Include "includes/fuel_production.inc"
 20      Include "includes/regions.inc"
 21      Include "includes/producer.inc"
 22      Include "includes/fuel_delivery.inc"
 23      Load DefaultEmission
 24  
 25      # ---- regulation ----
 26      Include "includes/eu_ets.inc"
 27      Include "includes/fuel_eu.inc"
 28  
 29      # ---- behavioural traits ----
 30      Load DefaultCalibration
 31  }
 32  
 33  EVENTS {
 34      Load DefaultTimeStepYearly
 35  }
session_3/copper_trade/includes/fleet.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  # FLEET - Panamax bulk carriers (~80,000 DWT): the library's fleet for this class.
  5  # It brings the four configurations of one hull, which share hull, propulsion
  6  # curve, cargo capacity and OPEX; today's split between them (99.9% fuel oil,
  7  # 0.1% LNG) and the ships' ages; trade growth; retrofit costs; speed management;
  8  # and the seven efficiency technologies, with the share of today's ships
  9  # already fitted with each.
 10  # Only what makes this one trade rather than the world's fleet is set here.
 11  
 12  Import Fleet "bulk_carrier_80k_dwt"
 13  
 14  # Imported by name too, so that the Vessel "bulk_carrier_80k_dwt_*" block of
 15  # route.inc matches them: a wildcard block matches only the nodes a deck
 16  # declares, not those its references bring in.
 17  Import Vessel "bulk_carrier_80k_dwt_ice_oil"
 18  Import Vessel "bulk_carrier_80k_dwt_ice_methane"
 19  Import Vessel "bulk_carrier_80k_dwt_ice_methanol"
 20  Import Vessel "bulk_carrier_80k_dwt_ice_ammonia"
 21  
 22  Fleet "bulk_carrier_80k_dwt" {
 23  	InitialVessels = 300 # Arbitrary number (represents 8% of the world Panamax fleet)
 24  
 25  	# the library's orderbooks are sized for the whole world
 26  	Orderbooks = [0, 0, 0, 0]
 27  
 28  	# The library defines no technology-specific rate, so this makes Navigate's
 29  	# own fallback explicit: same value, no warning, nothing invented.
 30  	TechnologyCostOfCapital = Variable("cost_of_capital_vessel")
 31  }
session_3/copper_trade/includes/route.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  # ROUTE - San Antonio to Rotterdam and back via the Panama Canal.
  5  # A LINER visits the ports in the order listed; each per-leg command is keyed by
  6  # the leg's origin and destination ports.
  7  
  8  # the library's ships sail its world-average profile for the class; these sail
  9  # this route
 10  Vessel "bulk_carrier_80k_dwt_*" {
 11      Route = Route("copper_route")
 12  }
 13  
 14  Route "copper_route" {
 15      RouteType = LINER
 16  
 17      Ports = [Port("san_antonio"), Port("rotterdam")]
 18  
 19      # Days alongside per call, from the library's operational profile for this
 20      # class: TimeAtSea 0.55 over 24 calls/year = 0.45 x 365 / 24.
 21      set_port_duration("*", "*", 6.8)
 22  
 23      # The distances for this example are invented since this route geography
 24      # is not included in the Navigate Assumption.
 25      set_distance("*", "*", 7600)
 26  
 27      # Modal service speed from the library's operational profile for this ship class.
 28      set_speed("*", "*", 11.5)
 29  
 30      # Laden out, ballast home.
 31      set_utilization("san_antonio", "rotterdam", 1.0)
 32      set_utilization("rotterdam", "san_antonio", 0.0)
 33  }
session_3/copper_trade/includes/ports.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  # PORTS - the two bunker ports. Every fuel can be bunkered at both, Navigate's
  5  # default; a fuel is shipped to the port that did not produce it, the same way
  6  # Chilean e-ammonia reaches Rotterdam. Delivered price is production cost plus
  7  # transport, set in fuel_delivery.inc.
  8  
  9  Port "san_antonio" {
 10  }
 11  
 12  Port "rotterdam" {
 13  }
 14  
 15  Port "*" {
 16      # DefaultPort's fuel oil and LNG prices and upstream emissions: taken as
 17      # given rather than built bottom-up from a production pathway. Loading
 18      # DefaultPort itself would also declare its two ports, which this route
 19      # does not call at.
 20      set_fuel_price("fossil_fuel_oil", Forecast("fossil_fuel_oil_price_global"))
 21      set_fuel_wtt("fossil_fuel_oil", "carbon_dioxide", Forecast("fossil_fuel_oil_wtt_carbon_dioxide"))
 22      set_fuel_price("liquefied_natural_gas", Forecast("liquefied_natural_gas_price_global"))
 23      set_fuel_wtt("liquefied_natural_gas", "carbon_dioxide", Forecast("liquefied_natural_gas_wtt_carbon_dioxide"))
 24      set_fuel_wtt("liquefied_natural_gas", "methane", Forecast("liquefied_natural_gas_wtt_methane"))
 25  
 26      # cost of physically getting the fuel aboard, USD/ton
 27      set_handling_cost("fossil_fuel_oil", Variable("handling_cost_oil"))
 28      set_handling_cost("liquefied_natural_gas", Variable("handling_cost_lng"))
 29      set_handling_cost("methanol_electro", Variable("handling_cost_methanol"))
 30      set_handling_cost("methanol_bio", Variable("handling_cost_methanol"))
 31      set_handling_cost("ammonia_electro", Variable("handling_cost_ammonia"))
 32  }
 33  
 34  # Values are invented for this example.
 35  Variable "handling_cost_oil" {
 36  	Value = 8
 37  }
 38  
 39  Variable "handling_cost_lng" {
 40  	Value = 15
 41  }
 42  
 43  Variable "handling_cost_methanol" {
 44  	Value = 18
 45  }
 46  
 47  Variable "handling_cost_ammonia" {
 48  	Value = 25
 49  }
navigate-zcs/assumptions/modules/default_source.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  Import Source "renewable"
  5  Import Source "grid"
navigate-zcs/assumptions/modules/default_transport.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  Import Transport "truck"
session_3/copper_trade/includes/fuel_production.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  # FUEL PRODUCTION - five fuels for four ships; both methanols feed one ship.
  5  #
  6  # The plants are regional copies of the library's pathways, named and sited the
  7  # way DefaultPlant does it for its own copies; lead times, lifetimes, capacities
  8  # and process economics come from the library. Loading DefaultPlant itself would
  9  # bring in the fuels of all its other plants too.
 10  
 11  # ---- fossil (global commodities, no production chain modelled) --------------
 12  Import Fuel "fossil_fuel_oil"
 13  Import Fuel "liquefied_natural_gas"
 14  
 15  # ---- e-fuels, made in Chile or in Europe ------------------------------------
 16  Import Fuel "methanol_electro"
 17  Import Fuel "ammonia_electro"
 18  Copy Plant "plant_methanol_electro_alkaline" "plant_methanol_electro_alkaline_americas"
 19  Copy Plant "plant_ammonia_electro_alkaline"  "plant_ammonia_electro_alkaline_americas"
 20  Copy Plant "plant_methanol_electro_alkaline" "plant_methanol_electro_alkaline_europe"
 21  Copy Plant "plant_ammonia_electro_alkaline"  "plant_ammonia_electro_alkaline_europe"
 22  
 23  # ---- bio-methanol, made in Europe only ---------------------------------------
 24  Import Fuel "methanol_bio"
 25  Copy Plant "plant_methanol_bio_gasification" "plant_methanol_bio_gasification_europe"
 26  
 27  # ---- siting and financing, DefaultPlant's rules -------------------------------
 28  # a biofuel plant draws from the grid
 29  Plant "*" {
 30      Source = Source("grid")
 31  }
 32  
 33  # an e-fuel plant runs on dedicated renewable power, not the grid
 34  Plant "*electro*" {
 35      Source = Source("renewable")
 36  }
 37  
 38  Plant "*americas" {
 39      Region = Region("americas")
 40  }
 41  
 42  Plant "*europe" {
 43      Region = Region("europe")
 44  }
 45  
 46  Plant "*electro*americas" {
 47      CostOfCapital = Forecast("cost_of_capital_plant_electro_americas")
 48  }
 49  
 50  Plant "*electro*europe" {
 51      CostOfCapital = Forecast("cost_of_capital_plant_electro_europe")
 52  }
 53  
 54  Plant "*bio*europe" {
 55      CostOfCapital = Forecast("cost_of_capital_plant_bio_europe")
 56  }
session_3/copper_trade/includes/regions.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  # REGIONS - the economics of making fuel, all of them the library's own.
  5  #
  6  # Navigate rejects a command naming a node the deck does not hold. So where a
  7  # library node also prices pathways this deck leaves out, its lines for this
  8  # case's pathways are copied here instead of loaded: the Region "europe" node
  9  # also prices FAME, and DefaultRegion's Region "*" block blue ammonia, the PEM
 10  # and solid-oxide electrolysers, bio-methane, bio-ethanol and e-diesel.
 11  #
 12  # The methanol synthesis steps carry negative CO2 terms: the molecule locks up
 13  # captured carbon, so production is a WTT sink and combustion releases it again.
 14  
 15  # electricity price and grid emissions
 16  Import Region "americas"
 17  
 18  Region "europe" {
 19      set_source_opex("renewable", Forecast("electricity_cost_europe_mid"))
 20      set_source_opex("grid", Forecast("electricity_cost_europe_mid"))
 21      set_source_wtt("grid", "carbon_dioxide", Forecast("grid_emissions_europe"))
 22  }
 23  
 24  # Production economics that do not vary by region, so a plant can be sited
 25  # anywhere.
 26  Region "*" {
 27  
 28      # ---- feedstocks ----
 29      set_feedstock_cost("demineralized_water", Forecast("demineralized_water_cost"))
 30      set_feedstock_cost("carbon_dioxide_biogenic", Forecast("carbon_dioxide_biogenic_cost"))
 31      set_feedstock_cost("feedstock_biomethanol_gasification", Forecast("feedstock_biomethanol_gasification_cost"))
 32      set_feedstock_wtt("carbon_dioxide_biogenic", "carbon_dioxide", Forecast("carbon_dioxide_biogenic_capture_rate"))
 33  
 34      # ---- hydrogen, shared by both e-fuels ----
 35      # Timetable rather than Forecast: cost depends on year and on plant size.
 36      set_process_capex("electrolysis_stack_alkaline", Timetable("electrolysis_stack_alkaline_capex"))
 37      set_process_opex("electrolysis_stack_alkaline", Timetable("electrolysis_stack_alkaline_opex"))
 38      set_process_energy("electrolysis_stack_alkaline", Forecast("electrolysis_stack_alkaline_energy"))
 39      set_process_lifetime("electrolysis_stack_alkaline", Forecast("electrolysis_stack_alkaline_lifetime"))
 40      set_process_replacement("electrolysis_stack_alkaline", Forecast("electrolysis_stack_alkaline_replacement"))
 41  
 42      set_process_capex("hydrogen_electro_alkaline", Timetable("hydrogen_electro_alkaline_capex"))
 43      set_process_opex("hydrogen_electro_alkaline", Timetable("hydrogen_electro_alkaline_opex"))
 44      set_process_energy("hydrogen_electro_alkaline", Forecast("hydrogen_electro_alkaline_energy"))
 45      set_process_lifetime("hydrogen_electro_alkaline", Forecast("hydrogen_electro_alkaline_lifetime"))
 46      set_process_replacement("hydrogen_electro_alkaline", Forecast("hydrogen_electro_alkaline_replacement"))
 47  
 48      # ---- e-methanol: hydrogen + biogenic CO2 ----
 49      set_process_capex("methanol_synthesis_electro_*", Timetable("methanol_synthesis_electro_capex"))
 50      set_process_opex("methanol_synthesis_electro_*", Timetable("methanol_synthesis_electro_opex"))
 51      set_process_energy("methanol_synthesis_electro_*", Forecast("methanol_synthesis_electro_energy"))
 52      set_process_wtt("methanol_synthesis_electro_*", "carbon_dioxide",
 53                      <Variable("methanol_carbon_dioxide_conversion") - Variable("carbon_dioxide_per_methanol")>)
 54  
 55      # ---- e-ammonia: hydrogen + nitrogen from air ----
 56      set_process_capex("ammonia_synthesis_electro_*", Timetable("ammonia_synthesis_capex"))
 57      set_process_opex("ammonia_synthesis_electro_*", Timetable("ammonia_synthesis_opex"))
 58      set_process_energy("ammonia_synthesis_electro_*", Forecast("ammonia_synthesis_energy"))
 59  
 60      # ---- bio-methanol: gasified biomass ----
 61      set_process_capex("methanol_synthesis_bio_gasification", Forecast("methanol_synthesis_bio_gasification_capex"))
 62      set_process_opex("methanol_synthesis_bio_gasification", Forecast("methanol_synthesis_bio_gasification_opex"))
 63      set_process_energy("methanol_synthesis_bio_gasification", Forecast("methanol_synthesis_bio_gasification_energy"))
 64      set_process_wtt("methanol_synthesis_bio_gasification", "carbon_dioxide", <-Variable("carbon_dioxide_per_methanol")>)
 65  
 66      # ---- plant to quayside within a region, at Navigate's default cost of 0 ----
 67      set_transport_wtt("truck", "carbon_dioxide", Forecast("truck_emissions"))
 68  }
session_3/copper_trade/includes/producer.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  # PRODUCERS - the agents that decide whether to build another plant.
  5  
  6  Producer "producer_efuel" {
  7  	Plants = [Plant("plant_methanol_electro_alkaline_americas"),
  8  	          Plant("plant_ammonia_electro_alkaline_americas"),
  9  	          Plant("plant_methanol_electro_alkaline_europe"),
 10  	          Plant("plant_ammonia_electro_alkaline_europe")]
 11  
 12  	MaximumDevelopment = <Forecast("epc_global_capacity_mid") * Forecast("epc_global_share_shipping")>
 13  
 14  	# Ceiling on biogenic CO2, the feedstock both its e-methanol plants draw on.
 15  
 16  	set_feed_limit("carbon_dioxide_biogenic", <Forecast("carbon_dioxide_biogenic_availability_flat") * Forecast("carbon_dioxide_biogenic_share_shipping") * Variable("trade_share_biogenic_carbon_dioxide")>)
 17  }
 18  
 19  Producer "producer_biofuel" {
 20  	Plants = [Plant("plant_methanol_bio_gasification_europe")]
 21  
 22  	MaximumDevelopment = <Forecast("epc_global_capacity_mid") * Forecast("epc_global_share_shipping")>
 23  
 24  	# Ceiling on gasifiable biomass.
 25  	set_feed_limit("feedstock_biomethanol_gasification", <Forecast("feedstock_biomethanol_gasification_availability") * Forecast("feedstock_biomethanol_gasification_share_shipping") * Variable("trade_share_gasifiable_biomass")>)
 26  }
 27  
 28  # The library's feedstock forecasts are global and its *_share_shipping factors
 29  # are the whole sector's slice. This deck is 300 ships on one trade, not the
 30  # world fleet, so each producer gets a slice of that. Both shares are
 31  # invented for this example.
 32  Variable "trade_share_gasifiable_biomass" {
 33  	Value = 0.01
 34  }
 35  
 36  Variable "trade_share_biogenic_carbon_dioxide" {
 37  	Value = 0.003
 38  }
 39  
 40  # INVENTED: the biogenic CO2 pool held flat at the library's 2026 value
 41  # (carbon_dioxide_biogenic_availability on 01-01-2026, 91.55 Mt/yr); the library
 42  # grows it to 350 Mt/yr by 2050.
 43  Forecast "carbon_dioxide_biogenic_availability_flat" {
 44  	Table = [
 45  		"01-01-2026", 91.55e6;
 46  		"01-01-2050", 91.55e6;
 47  	]
 48  	Extrapolate = FLAT
 49  }
session_3/copper_trade/includes/fuel_delivery.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  # FUEL DELIVERY - production site to bunker port. Written for the copper trade:
  5  # the library has no default file for fuel delivery.
  6  # Fuel oil and LNG are LiquidMarket fuels in the library: quoted price, no plant,
  7  # no producer, no logistics chain (ports.inc). Every plant's fuel is shipped to
  8  # both ports and picks up distance x rate.
  9  
 10  Transport "fuel_shipping" {
 11  }
 12  
 13  Region "*" {
 14  	# INVENTED: USD per ton per nautical mile
 15  	set_transport_cost("fuel_shipping", 0.02)
 16  }
 17  
 18  Plant "*" {
 19  	set_fuel_transport("*", Transport("fuel_shipping"))
 20  }
 21  
 22  # INVENTED: nautical miles from the production region to each port
 23  Plant "*_americas" {
 24  	set_fuel_distance("san_antonio", 1250)
 25  	set_fuel_distance("rotterdam", 7600)
 26  }
 27  
 28  Plant "*_europe" {
 29  	set_fuel_distance("rotterdam", 540)
 30  	set_fuel_distance("san_antonio", 7600)
 31  }
navigate-zcs/assumptions/modules/default_emission.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  Import Emission "carbon_dioxide"
  5  Import Emission "methane"
  6  Import Emission "nitrous_oxide"
session_3/copper_trade/includes/eu_ets.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  # EU ETS - absolute price on CO2-equivalent burned on board, no free allowance.
  5  #
  6  # The library's Regulation "eu_ets", for this deck's five fuels and with
  7  # Rotterdam as its jurisdiction. It is copied rather than imported: the library
  8  # node sets factors for fuels this deck does not hold, and Navigate rejects a
  9  # command naming a node the deck does not hold.
 10  #
 11  # The coverage fractions are applied PER LEG (one sailing
 12  # from one port to the next), not to the round trip. Both legs
 13  # here are inter-jurisdiction, so both count at 50%. Port stays are classified
 14  # by their own port, so Rotterdam counts in full and San Antonio not at all.
 15  
 16  Regulation "eu_ets" {
 17  	Measure = ABSOLUTE
 18  	Scheme = INDIVIDUAL
 19  	Scope = TTW
 20  	IncludeSlip = FALSE   # methane slip is carried in the TTW methane factors
 21  	Emissions = [Emission("carbon_dioxide"), Emission("methane"), Emission("nitrous_oxide")]
 22  	Fuels = Fuel("*")
 23  
 24  	# Rotterdam is the only EU port on this route
 25  	Jurisdiction = [Port("rotterdam")]
 26  	IntraFraction = 1     # both ends in the EU
 27  	InterFraction = 0.5   # one end in the EU
 28  	ExtraFraction = 0     # neither end in the EU
 29  
 30  	RemedialCost = <Forecast("eu_ets_carbon_credit_price") * Forecast("eu_ets_maritime_phase_in")>
 31  
 32  	# no free allocation: every covered ton is paid for
 33  	set_vessel_threshold("*", 0.)
 34  	set_include_vessel("*", TRUE)
 35  
 36  	set_gwp("carbon_dioxide", 1)
 37  	set_gwp("methane", 28)
 38  	set_gwp("nitrous_oxide", 265)
 39  
 40  	# Emission factors follow MRV Maritime Regulation Annex I. Bio and electro
 41  	# fuels are assumed to meet the >65% criterion, so are zero-rated for CO2 but
 42  	# still take "highest in class" methane and nitrous oxide.
 43  	set_fuel_ttw("fossil_fuel_oil", "carbon_dioxide", Variable("eu_default_diesel_carbon_dioxide"))
 44  	set_fuel_ttw("fossil_fuel_oil", "methane", <Variable("eu_default_diesel_ice_methane") * Forecast("eu_ets_ghg_phase_in")>)
 45  	set_fuel_ttw("fossil_fuel_oil", "nitrous_oxide", <Variable("eu_default_diesel_ice_nitrous_oxide") * Forecast("eu_ets_ghg_phase_in")>)
 46  
 47  	set_fuel_ttw("liquefied_natural_gas", "carbon_dioxide", Variable("eu_default_methane_carbon_dioxide"))
 48  	set_fuel_ttw("liquefied_natural_gas", "methane", <Forecast("eu_default_methane_slip") * Forecast("eu_ets_ghg_phase_in")>)
 49  	set_fuel_ttw("liquefied_natural_gas", "nitrous_oxide", <Variable("eu_default_methane_ice_nitrous_oxide") * Forecast("eu_ets_ghg_phase_in")>)
 50  
 51  	set_fuel_ttw("methanol_electro", "carbon_dioxide", 0)
 52  	set_fuel_ttw("methanol_electro", "methane", <Variable("eu_default_diesel_ice_methane") * Forecast("eu_ets_ghg_phase_in")>)
 53  	set_fuel_ttw("methanol_electro", "nitrous_oxide", <Variable("eu_default_diesel_ice_nitrous_oxide") * Forecast("eu_ets_ghg_phase_in")>)
 54  
 55  	set_fuel_ttw("methanol_bio", "carbon_dioxide", 0)
 56  	set_fuel_ttw("methanol_bio", "methane", <Variable("eu_default_diesel_ice_methane") * Forecast("eu_ets_ghg_phase_in")>)
 57  	set_fuel_ttw("methanol_bio", "nitrous_oxide", <Variable("eu_default_diesel_ice_nitrous_oxide") * Forecast("eu_ets_ghg_phase_in")>)
 58  
 59  	set_fuel_ttw("ammonia_electro", "carbon_dioxide", 0)
 60  	set_fuel_ttw("ammonia_electro", "methane", <Variable("eu_default_diesel_ice_methane") * Forecast("eu_ets_ghg_phase_in")>)
 61  	set_fuel_ttw("ammonia_electro", "nitrous_oxide", <Variable("eu_default_diesel_ice_nitrous_oxide") * Forecast("eu_ets_ghg_phase_in")>)
 62  }
session_3/copper_trade/includes/fuel_eu.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  # FUELEU MARITIME - caps WTW greenhouse gas intensity, tightening over time.
  5  #
  6  # The library's Regulation "fuel_eu", copied for this deck's five fuels and
  7  # with Rotterdam as its jurisdiction, for the reason given in eu_ets.inc.
  8  #
  9  # The e-fuels get no default set_fuel_wtt. Instead, Navigate calculates
 10  # their upstream intensity from the production chain in regions.inc, so the
 11  # power price at each site feeds their FuelEU score. The fossil fuels and
 12  # bio-methanol instead use the regulation's own defaults.
 13  #
 14  # Same coverage geography as eu_ets.inc.
 15  
 16  Regulation "fuel_eu" {
 17  	Measure = INTENSITY
 18  	Scheme = FLEXIBLE     # pooled and banked across years, unlike the ETS
 19  	Scope = WTW
 20  	IncludeSlip = FALSE   # methane slip is carried in the TTW methane factors
 21  	Emissions = [Emission("carbon_dioxide"), Emission("methane"), Emission("nitrous_oxide")]
 22  	Fuels = Fuel("*")
 23  
 24  	Jurisdiction = [Port("rotterdam")]
 25  	IntraFraction = 1
 26  	InterFraction = 0.5
 27  	ExtraFraction = 0
 28  
 29  	RemedialCost = Variable("fuel_eu_remedial_cost")
 30  
 31  	set_vessel_threshold("*", Forecast("fuel_eu_target_reduction"))
 32  	set_include_vessel("*", TRUE)
 33  
 34  	set_gwp("carbon_dioxide", 1)
 35  	set_gwp("methane", 25)
 36  	set_gwp("nitrous_oxide", 298)
 37  
 38  	# ---- fossil fuel oil: regulation default WTT ----
 39  	set_fuel_wtt("fossil_fuel_oil", "*", 0)
 40  	set_fuel_wtt("fossil_fuel_oil", "carbon_dioxide", Variable("fuel_eu_default_wtt_fossil_fuel_oil"))
 41  	set_fuel_ttw("fossil_fuel_oil", "carbon_dioxide", Variable("eu_default_diesel_carbon_dioxide"))
 42  	set_fuel_ttw("fossil_fuel_oil", "methane", Variable("eu_default_diesel_ice_methane"))
 43  	set_fuel_ttw("fossil_fuel_oil", "nitrous_oxide", Variable("eu_default_diesel_ice_nitrous_oxide"))
 44  
 45  	# ---- LNG ----
 46  	set_fuel_wtt("liquefied_natural_gas", "*", 0)
 47  	set_fuel_wtt("liquefied_natural_gas", "carbon_dioxide", Variable("fuel_eu_default_wtt_liquefied_natural_gas"))
 48  	set_fuel_ttw("liquefied_natural_gas", "carbon_dioxide", Variable("eu_default_methane_carbon_dioxide"))
 49  	set_fuel_ttw("liquefied_natural_gas", "methane", Forecast("eu_default_methane_slip"))
 50  	set_fuel_ttw("liquefied_natural_gas", "nitrous_oxide", Variable("eu_default_methane_ice_nitrous_oxide"))
 51  
 52  	# ---- bio-methanol: regulation default WTT ----
 53  	set_fuel_wtt("methanol_bio", "*", 0)
 54  	set_fuel_wtt("methanol_bio", "carbon_dioxide", Variable("fuel_eu_default_wtt_methanol_bio"))
 55  	set_fuel_ttw("methanol_bio", "carbon_dioxide", Variable("fuel_eu_default_methanol_ice_carbon_dioxide"))
 56  	set_fuel_ttw("methanol_bio", "methane", Variable("eu_default_diesel_ice_methane"))
 57  	set_fuel_ttw("methanol_bio", "nitrous_oxide", Variable("eu_default_diesel_ice_nitrous_oxide"))
 58  
 59  	# ---- e-methanol: WTT calculated, not set ----
 60  	set_fuel_ttw("methanol_electro", "carbon_dioxide", Variable("fuel_eu_default_methanol_ice_carbon_dioxide"))
 61  	set_fuel_ttw("methanol_electro", "methane", Variable("eu_default_diesel_ice_methane"))
 62  	set_fuel_ttw("methanol_electro", "nitrous_oxide", Variable("eu_default_diesel_ice_nitrous_oxide"))
 63  
 64  	# ---- e-ammonia: WTT calculated; no carbon in the molecule ----
 65  	set_fuel_ttw("ammonia_electro", "carbon_dioxide", 0)
 66  	set_fuel_ttw("ammonia_electro", "methane", Variable("eu_default_diesel_ice_methane"))
 67  	set_fuel_ttw("ammonia_electro", "nitrous_oxide", Variable("eu_default_diesel_ice_nitrous_oxide"))
 68  }
navigate-zcs/assumptions/modules/default_calibration.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  Port "*" {
  5  	set_bunkering_inertia("*", 0.0)
  6  }
  7  
  8  # Fleet decision-process calibration.
  9  #
 10  # Each sensitivity is an odds ratio against a fixed reference change. For the cost-based choices
 11  # (lower-is-better levelized cost of transport) a value below 1 penalizes a 10% higher cost. For the
 12  # fuel conversion (higher-is-better NPV) a value above 1 rewards an NPV advantage equal to 5% of the
 13  # summed ship Capex. For the choice to install a technology (higher-is-better saving relative to its
 14  # cost) a value above 1 rewards a saving 10% higher relative to the cost; half the vessels install a
 15  # technology that saves what it costs. A value of 1 means no preference.
 16  Fleet "*" {
 17  	Inertia = 0.0
 18  	FuelSensitivity = 0.75         # a 10% higher cost gives 25% lower odds of a fuel type
 19  	VariantSensitivity = 0.75         # a 10% higher cost gives 25% lower odds of a technology variant
 20  	ConversionSensitivity = 2       # an NPV advantage of 5% of ship Capex doubles the odds
 21  	TechnologySensitivity = 2           # a saving 10% higher relative to the cost doubles the odds of installing
 22  }
 23  
 24  # Producer decision-process calibration.
 25  #
 26  # FuelSensitivity is higher-is-better (odds for a 10% higher expected demand); VariantSensitivity
 27  # is lower-is-better (odds for a 10% higher levelized cost of fuel). A value of 1 means no preference.
 28  Producer "*" {
 29  	FuelSensitivity = 1.25        # a 10% higher expected demand gives 1.25x the odds of a pathway
 30  	VariantSensitivity = 0.75          # a 10% higher LCoF gives 25% lower odds of a plant
 31  }
navigate-zcs/assumptions/modules/default_time_step_yearly.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  Start
  5  
  6  Date "01-01-2027"
  7  Date "01-01-2028"
  8  Date "01-01-2029"
  9  Date "01-01-2030"
 10  Date "01-01-2031"
 11  Date "01-01-2032"
 12  Date "01-01-2033"
 13  Date "01-01-2034"
 14  Date "01-01-2035"
 15  Date "01-01-2036"
 16  Date "01-01-2037"
 17  Date "01-01-2038"
 18  Date "01-01-2039"
 19  Date "01-01-2040"
 20  Date "01-01-2041"
 21  Date "01-01-2042"
 22  Date "01-01-2043"
 23  Date "01-01-2044"
 24  Date "01-01-2045"
 25  Date "01-01-2046"
 26  Date "01-01-2047"
 27  Date "01-01-2048"
 28  Date "01-01-2049"
 29  Date "01-01-2050"

Nodes refer to each other, forming a nested structure: the Fleet lists its Vessel nodes, each vessel names its Tank nodes (as well as its Route and its engines, the Converter nodes) and links to the nodes that hold its CAPEX and OPEX.

The nested structure ends with a numerical assumption. A numerical assumption is either written in the attribute itself (InitialSplit = [0.000, 0.001, 0.000, 0.999]) or held in a “numerical assumption node” that the attribute links to: a Variable, Curve, Forecast, Surface or Timetable (see STEP 4).

Run the next cell to follow the nested structure for one of the case’s fleets, FLEET.

# THE FLEET to follow: the copper trade has only bulk_carrier_80k_dwt, the global case the 23 fleets of DefaultFleet
FLEET = "bulk_carrier_80k_dwt"

# where the files the run read write the fleet, import it or change it
!cd {ROOT} && grep -n 'Fleet "{FLEET}"' {FILES}

# then three files of the library:
# - the fleet: Vessels lists its ship types, one for each fuel they can burn
# - its ship that burns LNG: its Capex adds two Forecasts, Tanks names its tanks
# - the first Forecast of that Capex: the hull, in USD, from 2025 to 2050
show_files({"Fleet": [f"{DEFAULTS}/Fleet/{FLEET}.inc"],
            "Vessel": [f"{DEFAULTS}/Vessel/{FLEET}_ice_methane.inc"],
            "Forecast": [f"{DEFAULTS}/Forecast/{FLEET}_capex.inc"]})
session_3/copper_trade/includes/fleet.inc:12:Import Fleet "bulk_carrier_80k_dwt"
session_3/copper_trade/includes/fleet.inc:22:Fleet "bulk_carrier_80k_dwt" {
navigate-zcs/assumptions/defaults/Fleet/bulk_carrier_80k_dwt.inc:4:Fleet "bulk_carrier_80k_dwt" {
navigate-zcs/assumptions/defaults/Fleet/bulk_carrier_80k_dwt.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  Fleet "bulk_carrier_80k_dwt" {
  5  
  6      # vessel types		
  7  	Vessels = [
  8  		Vessel("bulk_carrier_80k_dwt_ice_ammonia"),
  9  		Vessel("bulk_carrier_80k_dwt_ice_methane"),
 10   		Vessel("bulk_carrier_80k_dwt_ice_methanol"),
 11  		Vessel("bulk_carrier_80k_dwt_ice_oil")
 12  	]
 13  	
 14  	# initial conditions
 15  	InitialVessels = Variable("initial_vessels_bulk_carrier_80k_dwt")
 16  	
 17  	InitialSplit = [
 18  		0.000,
 19  		0.001,
 20  		0.000,
 21  		0.999
 22  	]
 23  	
 24  	InitialAgeDistribution = [
 25  		0,
 26  		Curve("age_dist_bulk_carrier_80k_dwt_methane"),
 27  		0,
 28  		Curve("age_dist_bulk_carrier_80k_dwt_oil")
 29  	]
 30  	
 31  	
 32  	# trade growth
 33  	TradeGrowth = Forecast("trade_growth_bulk_carrier")
 34  	
 35  	# orderbook
 36  	Orderbooks = [
 37  		Forecast("orderbook_bulk_carrier_80k_dwt_ammonia"),
 38  		Forecast("orderbook_bulk_carrier_80k_dwt_methane"),
 39  		Forecast("orderbook_bulk_carrier_80k_dwt_methanol"),
 40  		Forecast("orderbook_bulk_carrier_80k_dwt_oil")
 41  	]
 42  
 43  	# technologies
 44  	Technologies = [
 45  		Technology("air_lubrication_bulk_carrier_panamax"),
 46  		Technology("exhaust_gas_boiler_ae_bulk_carrier_panamax"),
 47  		Technology("flettner_rotor_bulk_carrier_panamax"),
 48  		Technology("hull_painting_bulk_carrier_panamax"),
 49  		Technology("lighting_system_bulk_carrier_panamax"),
 50  		Technology("propeller_improvement_devices_bulk_carrier_panamax"),
 51  		Technology("variable_frequency_drive_bulk_carrier_panamax")
 52  	]
 53  
 54  	set_initial_technology_share("*", "exhaust_gas_boiler_ae_bulk_carrier_panamax", Curve("uptake_exhaust_gas_boiler_ae_bulk_carrier_panamax"))
 55  	set_initial_technology_share("*", "hull_painting_bulk_carrier_panamax", Curve("uptake_hull_painting_bulk_carrier_panamax"))
 56  	set_initial_technology_share("*", "lighting_system_bulk_carrier_panamax", Curve("uptake_lighting_system_bulk_carrier_panamax"))
 57  	set_initial_technology_share("*", "propeller_improvement_devices_bulk_carrier_panamax", Curve("uptake_propeller_improvement_devices_bulk_carrier_panamax"))
 58  	set_initial_technology_share("*", "variable_frequency_drive_bulk_carrier_panamax", Curve("uptake_variable_frequency_drive_bulk_carrier_panamax"))
 59  
 60  	# fuel conversions
 61  	set_conversion_cost("*ice_oil*", "*ice_methanol*", 17.5e6)
 62  	set_conversion_cost("*ice_oil*", "*ice_ammonia*", 24.1e6)
 63  	set_conversion_cost("*ice_methane*", "*ice_ammonia*", 14.2e6)
 64  
 65  	# speed management
 66  	AllowSpeedManagement = TRUE
 67  	RouteSpeedOptimal = TRUE
 68  	MaximumSpeedChange = 0.7
 69  }
navigate-zcs/assumptions/defaults/Vessel/bulk_carrier_80k_dwt_ice_methane.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  Vessel "bulk_carrier_80k_dwt_ice_methane" {
  5  	
  6  	PropulsionLoad = Surface("bulk_carrier_80k_dwt_propulsion_load")
  7  	ElectricalLoadAtSea = Variable("bulk_carrier_80k_dwt_electrical_load_sea")
  8  	ElectricalLoadInPort = Variable("bulk_carrier_80k_dwt_electrical_load_port")
  9  	HeatLoadAtSea = Variable("bulk_carrier_80k_dwt_heat_load_sea")
 10  	HeatLoadInPort = Variable("bulk_carrier_80k_dwt_heat_load_port")
 11  	
 12  	PropulsionConverter = Converter("propulsion_ice_methane_bulk_carrier_80k_dwt")
 13  	ElectricalConverter = Converter("electrical_ice_methane_bulk_carrier_80k_dwt")
 14  	HeatConverter = Converter("heat_boiler_oil_bulk_carrier_80k_dwt")
 15  	Tanks = [Tank("main_methane_bulk_carrier_80k_dwt"), Tank("pilot_oil_bulk_carrier_80k_dwt")]
 16  	
 17  	Route = Route("operational_profile_bulk_carrier_80k_dwt")
 18  	NominalCapacity = Variable("bulk_carrier_80k_dwt_nominal_capacity")
 19  	Lifetime = Variable("bulk_carrier_80k_dwt_lifetime")
 20  	
 21  	Capex = <Forecast("bulk_carrier_80k_dwt_capex") + Forecast("bulk_carrier_80k_dwt_supply_system_methane_capex")>
 22  	Opex = <Forecast("bulk_carrier_80k_dwt_opex") + Forecast("bulk_carrier_80k_dwt_supply_system_methane_capex") * Variable("supply_system_opex_percentage_of_capex")>
 23  	CostOfCapital = Variable("cost_of_capital_vessel")
 24  }
navigate-zcs/assumptions/defaults/Forecast/bulk_carrier_80k_dwt_capex.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  Forecast "bulk_carrier_80k_dwt_capex" {
  5  	Table = [
  6  		"01-01-2025",	42.4e6;
  7  		"01-01-2050",	42.4e6;
  8  	]
  9  }

STEP 4: Explore the input data#

General introduction to Navigate numerical assumptions#

Most numerical assumptions in the library are written into a .inc file as one of five node types. A Variable is a single number. The other four are lookup tables, from which the model reads a value when it needs one: a Curve is looked up by one number, a Forecast by a date, a Surface by two numbers, and a Timetable by a date and a number.

The default numbers in the assumptions folder were collected by the Center. Extended documentation of the underlying assumptions is under development.

Using your own numbers instead of the Center's
  • For one case: in one of the case’s own files, Import the node from the library, then set the attributes to change in a block of the same name. The copper trade’s includes/fleet.inc does this for its number of ships: Import Fleet "bulk_carrier_80k_dwt", then InitialVessels = 300.

  • For every case: change the numbers in a copy of the assumptions folder, and run Navigate with -d followed by your copy’s path.

See the Reference Manual for Variable, Curve, Forecast, Surface and Timetable for more details.

Run the next cell to see one node of each of the five data types.

# one node of each type, from the library, a tab each:
# - a Variable, a single number: the cost of capital a ship burning oil, LNG or methanol is financed at
# - a Curve, looked up by one number: the share of the Panamax bulk carriers burning oil at each age, in years
# - a Forecast, looked up by a date: the cost of electricity in Europe
# - a Surface, looked up by two numbers: the propulsion power of a Panamax bulk carrier, in MW, by its speed in
#   knots (rows) and its cargo utilisation (columns: 0 in ballast, 1 laden)
# - a Timetable, looked up by a date and a number: what a hydrogen plant costs to build, by its size in tons a day
show_files({"Variable": [f"{DEFAULTS}/Variable/cost_of_capital_vessel.inc"],
            "Curve": [f"{DEFAULTS}/Curve/age_dist_bulk_carrier_80k_dwt_oil.inc"],
            "Forecast": [f"{DEFAULTS}/Forecast/electricity_cost_europe_mid.inc"],
            "Surface": [f"{DEFAULTS}/Surface/bulk_carrier_80k_dwt_propulsion_load.inc"],
            "Timetable": [f"{DEFAULTS}/Timetable/hydrogen_electro_alkaline_capex.inc"]})
navigate-zcs/assumptions/defaults/Variable/cost_of_capital_vessel.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  # Description: Cost of capital for financing a MF-oil, DF-methane, and DF-methanol vessel.
  5  # Unit: Fraction / year
  6  
  7  Variable "cost_of_capital_vessel" {
  8  	Value = 0.0889
  9  }
navigate-zcs/assumptions/defaults/Curve/age_dist_bulk_carrier_80k_dwt_oil.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  Curve "age_dist_bulk_carrier_80k_dwt_oil" {
  5  	Table = [
  6  		0,	0.04;
  7  		1,	0.044;
  8  		2,	0.038;
  9  		3,	0.035;
 10  		4,	0.048;
 11  		5,	0.046;
 12  		6,	0.024;
 13  		7,	0.036;
 14  		8,	0.037;
 15  		9,	0.041;
 16  		10,	0.052;
 17  		11,	0.077;
 18  		12,	0.106;
 19  		13,	0.085;
 20  		14,	0.054;
 21  		15,	0.025;
 22  		16,	0.024;
 23  		17,	0.026;
 24  		18,	0.034;
 25  		19,	0.03;
 26  		20,	0.025;
 27  		21,	0.008;
 28  		22,	0.017;
 29  		23,	0.032;
 30  		24,	0.015;
 31  	]
 32  }
navigate-zcs/assumptions/defaults/Forecast/electricity_cost_europe_mid.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  # Description: Levelized cost of electricity in Europe (mid case).
  5  # Unit: USD / MWh / year
  6  
  7  
  8  Forecast "electricity_cost_europe_mid" {
  9  	Table = [
 10  		"01-01-2025",	77.1;
 11  		"01-01-2026",	72.1;
 12  		"01-01-2027",	69.2;
 13  		"01-01-2028",	72.1;
 14  		"01-01-2029",	70.9;
 15  		"01-01-2030",	70.9;
 16  		"01-01-2031",	68.8;
 17  		"01-01-2032",	67.4;
 18  		"01-01-2033",	66.1;
 19  		"01-01-2034",	64.8;
 20  		"01-01-2035",	63.7;
 21  		"01-01-2036",	62.6;
 22  		"01-01-2037",	61.6;
 23  		"01-01-2038",	60.6;
 24  		"01-01-2039",	59.7;
 25  		"01-01-2040",	58.8;
 26  		"01-01-2041",	57.9;
 27  		"01-01-2042",	57.1;
 28  		"01-01-2043",	56.4;
 29  		"01-01-2044",	55.8;
 30  		"01-01-2045",	55.2;
 31  		"01-01-2046",	54.6;
 32  		"01-01-2047",	54.0;
 33  		"01-01-2048",	53.5;
 34  		"01-01-2049",	53.2;
 35  		"01-01-2050",	52.7;
 36  	]
 37  	
 38  	Extrapolate = LINEAR
 39  }
navigate-zcs/assumptions/defaults/Surface/bulk_carrier_80k_dwt_propulsion_load.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  Surface "bulk_carrier_80k_dwt_propulsion_load" {
  5  	Table = [		 
  6  				0,		 1;
  7  		 6.5,	0.78,	 1.25;
  8  		 7.5,	1.08,	 1.71;
  9  		 8.5,	1.44,	 2.28;
 10  		 9.5,	1.87,	 2.97;
 11  		10.5,	2.39,	 3.79;
 12  		11.5,	3.04,	 4.82;
 13  		12.5,	3.84,	 6.09;
 14  		13.5,	4.85,	 7.70;
 15  		14.5,	6.21,	 9.85;
 16  		15.5,	7.76,	12.31;
 17  	]
 18  }
navigate-zcs/assumptions/defaults/Timetable/hydrogen_electro_alkaline_capex.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  # Description: Capital expenditure of e-hydrogen production plant (alkaline).
  5  # Unit: USD / ton
  6  
  7  Timetable "hydrogen_electro_alkaline_capex" {
  8  	Table = [
  9          	            10,  	20,  	30,  	40,  	50,  	75,  	100, 	200, 	300, 	400, 	500, 	750, 	1000,	1250;
 10          "01-01-2025",	8210,	7173,	6641,	6292,	6037,	5607,	5325,	4718,	4405,	4199,	4049,	3794,	3626,	3503;
 11          "01-01-2050",	8210,	7173,	6641,	6292,	6037,	5607,	5325,	4718,	4405,	4199,	4049,	3794,	3626,	3503;
 12  	]
 13  	
 14  	Extrapolate = LINEAR
 15  }

Exploring some of the important input data#

This part go through some of the important numbers of the case picked in STEP 2, in four groups: fleet, fuels, regulations and behavioural traits


1. Data about the fleet#

The most important data that will affect how the fleet ends up being designed are:

  • the CAPEX of newbuild ships, the retrofitting costs and financing conditions

  • the efficiency technology on offer, the expected savings and what it costs

The fleet design also depends on the composition of the initial fleet (InitialVessels, InitialSplit and InitialAgeDistribution), the efficiency technology already installed, how fast the trade grows (TradeGrowth), when ships are scrapped (Lifetime, FixedScrapRate), and the ship orderbook (Orderbooks, the ships already ordered but not yet delivered).

Newbuild CAPEX, retrofitting costs and financing conditions#

A newbuild is charged in four parts: the vessel’s own Capex, here the hull plus the fuel supply system (fuel handling and safety), the engines (each Converter priced per MW installed) and the tanks (each Tank priced per m3 of containment).

Notes
  • The cargo space lost to larger fuel tanks is deliberately not included in the base assumptions: with an optimised ship design it can be reduced to a negligible amount.

  • The ammonia ship is financed at a higher cost of capital in the early years, because of the higher risk.

Run the next cell to draw what a new ship of each of the fleet’s types costs to build, by part, and what converting an existing ship to another fuel costs.

Hide code cell source

# @title Ship costs
import plotly.express as px

# what a new ship of each of the fleet's types costs to build, in four parts, from the library's files: the vessel's
# own Capex, its hull plus its fuel supply system; its engines, each Converter's Capex per MW times its
# PowerCapacity; and its tanks, each Tank's Capex per m3 times its Volume. The library's ship costs hold from 2025
fleet = node("Fleet", FLEET)
FUELS = ["oil", "methane", "methanol", "ammonia"]
vessels = sorted(re.findall(r'Vessel\("([^"]+)"\)', fleet), key=lambda name: FUELS.index(name.rsplit("_", 1)[1]))
parts = []
for vessel in vessels:
    text = node("Vessel", vessel)
    hull, supply = field(text, "Capex").strip("<>").split(" + ")
    converters = [node("Converter", name) for name in re.findall(r'Converter\("([^"]+)"\)', text)]
    tanks = [node("Tank", name) for name in re.findall(r'Tank\("([^"]+)"\)', text)]
    costs = {"hull": number(hull), "supply system": number(supply),
             "engines": sum(number(field(c, "Capex")) * number(field(c, "PowerCapacity")) for c in converters),
             "tanks": sum(number(field(t, "Capex")) * number(field(t, "Volume")) for t in tanks)}
    parts += [{"ship": vessel.removeprefix(FLEET + "_").removeprefix("ice_"), "part": part, "cost": cost / 1e6} for part, cost in costs.items()]
parts = pl.DataFrame(parts)
totals = parts.group_by("ship", maintain_order=True).agg(pl.col("cost").sum())
newbuild = px.bar(parts, x="ship", y="cost", color="part", title="What a new ship costs to build, by part",
                  labels={"ship": "", "cost": "M USD"})
newbuild.add_scatter(x=totals["ship"], y=totals["cost"], mode="text", text=[f"{t:.1f}" for t in totals["cost"]],
                     textposition="top center", showlegend=False, hoverinfo="skip")
newbuild.update_yaxes(range=[0, totals["cost"].max() * 1.15])
newbuild.update_layout(legend_y=-0.2)

# what converting an existing ship to another fuel costs, from the fleet's file: from the ship types the first
# pattern matches to those the second matches
conversions = re.findall(r'set_conversion_cost\("([^"]+)", "([^"]+)", ([^)]+)\)', fleet)
retrofit = px.bar(x=[f"{source.strip('*_').removeprefix('ice_')} → {target.strip('*_').removeprefix('ice_')}"
                     for source, target, _ in conversions],
                  y=[float(cost) / 1e6 for *_, cost in conversions], text_auto=".1f",
                  title="What converting a ship to another fuel costs", labels={"x": "", "y": "M USD"})

show(draw(newbuild, "newbuild_cost"), draw(retrofit, "retrofit_cost"), height=420)

Efficiency technologies#

The assumptions library carries efficiency measures for most vessel classes, associated with costs and savings. The fleet starts with a share of its ships already carrying each technology, which set_initial_technology_share sets by the ship’s age.

Run the next cell to draw what share of each ship type already carries each technology, then what each technology costs to fit and what it saves.

Hide code cell source

# @title Technologies
# the share of each of the fleet's ship types (columns) carrying each technology (rows) in the first year, as
# Navigate works it out from the ships' ages
uptake = prepared("fleet.technology_uptake").filter(pl.col("node") == FLEET)
uptake = uptake.filter(pl.col("date") == uptake["date"].min())
shares = uptake.pivot(on="key1", index="key2", values="value").sort("key2")
fitted = px.imshow(shares.drop("key2").to_numpy(), x=[name.removeprefix(FLEET + "_") for name in shares.columns[1:]],
                   y=shares["key2"].to_list(), text_auto=".0%", aspect="auto", zmin=0, zmax=1,
                   color_continuous_scale=["#ffffff", THEME["swatches"]["blue_7"]], title="Ships already fitted, first year")
fitted.update_layout(coloraxis_showscale=False)

# what each technology the fleet's file lists costs to fit, in USD, and what it saves, from its own file
technologies = [f"{DEFAULTS}/Technology/{name}.inc" for name in re.findall(r'Technology\("([^"]+)"\)', fleet)]
costs = []
for file in technologies:
    text = Path(file).read_text(encoding="utf-8")
    savings = re.findall(r"set_(?:energy_saving|external_power)\((\w+), ([\d.]+)\)", text)
    costs.append({"technology": Path(file).stem, "capex": float(re.search(r"Capex = (\S+)", text)[1]),
                  "saves": ", ".join(f"{float(share):.0%} of {demand.lower()}" for demand, share in savings)})
offer = px.bar(pl.DataFrame(costs), x="capex", y="technology", text="saves", orientation="h",
               title="What a technology costs, and what it saves", labels={"capex": "USD", "technology": ""})
offer.update_traces(textposition="outside", cliponaxis=False)
offer.update_layout(margin_r=160)

show(draw(fitted, "technology_fitted"))
show(draw(offer, "technology_offer"))

# the cheapest technology of each kind: what it saves (propulsion, heat, electrical energy) or supplies from
# outside the ship
kinds = {}
for file, cost in sorted(zip(technologies, costs), key=lambda pair: pair[1]["capex"]):
    kinds.setdefault(tuple(re.findall(r"set_(\w+)\((\w+)", Path(file).read_text(encoding="utf-8"))[:1]), file)
shown = list(kinds.values())

# the files behind the fleet's numbers, folded
# the methane ship first, as the one shown in full
vessels = sorted((str(file) for file in Path(f"{DEFAULTS}/Vessel").glob(f"{FLEET}_*.inc")),
                 key=lambda file: not file.endswith("_methane.inc"))
show_files({"Fleet": setting(f'Fleet "{FLEET}"'),
            "Ship types and their costs": setting(r"^\s*(Capex|CostOfCapital|Lifetime) =", vessels[:1])
            + [f"Also, laid out the same way: {', '.join(Path(file).stem for file in vessels[1:])}"],
            "Technologies": few(shown + [file for file in technologies if file not in shown], keep=len(shown))},
           folded="The files behind the fleet's numbers")
The files behind the fleet's numbers
session_3/copper_trade/includes/fleet.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  # FLEET - Panamax bulk carriers (~80,000 DWT): the library's fleet for this class.
  5  # It brings the four configurations of one hull, which share hull, propulsion
  6  # curve, cargo capacity and OPEX; today's split between them (99.9% fuel oil,
  7  # 0.1% LNG) and the ships' ages; trade growth; retrofit costs; speed management;
  8  # and the seven efficiency technologies, with the share of today's ships
  9  # already fitted with each.
 10  # Only what makes this one trade rather than the world's fleet is set here.
 11  
 12  Import Fleet "bulk_carrier_80k_dwt"
 13  
 14  # Imported by name too, so that the Vessel "bulk_carrier_80k_dwt_*" block of
 15  # route.inc matches them: a wildcard block matches only the nodes a deck
 16  # declares, not those its references bring in.
 17  Import Vessel "bulk_carrier_80k_dwt_ice_oil"
 18  Import Vessel "bulk_carrier_80k_dwt_ice_methane"
 19  Import Vessel "bulk_carrier_80k_dwt_ice_methanol"
 20  Import Vessel "bulk_carrier_80k_dwt_ice_ammonia"
 21  
 22  Fleet "bulk_carrier_80k_dwt" {
 23  	InitialVessels = 300 # Arbitrary number (represents 8% of the world Panamax fleet)
 24  
 25  	# the library's orderbooks are sized for the whole world
 26  	Orderbooks = [0, 0, 0, 0]
 27  
 28  	# The library defines no technology-specific rate, so this makes Navigate's
 29  	# own fallback explicit: same value, no warning, nothing invented.
 30  	TechnologyCostOfCapital = Variable("cost_of_capital_vessel")
 31  }
navigate-zcs/assumptions/defaults/Fleet/bulk_carrier_80k_dwt.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  Fleet "bulk_carrier_80k_dwt" {
  5  
  6      # vessel types		
  7  	Vessels = [
  8  		Vessel("bulk_carrier_80k_dwt_ice_ammonia"),
  9  		Vessel("bulk_carrier_80k_dwt_ice_methane"),
 10   		Vessel("bulk_carrier_80k_dwt_ice_methanol"),
 11  		Vessel("bulk_carrier_80k_dwt_ice_oil")
 12  	]
 13  	
 14  	# initial conditions
 15  	InitialVessels = Variable("initial_vessels_bulk_carrier_80k_dwt")
 16  	
 17  	InitialSplit = [
 18  		0.000,
 19  		0.001,
 20  		0.000,
 21  		0.999
 22  	]
 23  	
 24  	InitialAgeDistribution = [
 25  		0,
 26  		Curve("age_dist_bulk_carrier_80k_dwt_methane"),
 27  		0,
 28  		Curve("age_dist_bulk_carrier_80k_dwt_oil")
 29  	]
 30  	
 31  	
 32  	# trade growth
 33  	TradeGrowth = Forecast("trade_growth_bulk_carrier")
 34  	
 35  	# orderbook
 36  	Orderbooks = [
 37  		Forecast("orderbook_bulk_carrier_80k_dwt_ammonia"),
 38  		Forecast("orderbook_bulk_carrier_80k_dwt_methane"),
 39  		Forecast("orderbook_bulk_carrier_80k_dwt_methanol"),
 40  		Forecast("orderbook_bulk_carrier_80k_dwt_oil")
 41  	]
 42  
 43  	# technologies
 44  	Technologies = [
 45  		Technology("air_lubrication_bulk_carrier_panamax"),
 46  		Technology("exhaust_gas_boiler_ae_bulk_carrier_panamax"),
 47  		Technology("flettner_rotor_bulk_carrier_panamax"),
 48  		Technology("hull_painting_bulk_carrier_panamax"),
 49  		Technology("lighting_system_bulk_carrier_panamax"),
 50  		Technology("propeller_improvement_devices_bulk_carrier_panamax"),
 51  		Technology("variable_frequency_drive_bulk_carrier_panamax")
 52  	]
 53  
 54  	set_initial_technology_share("*", "exhaust_gas_boiler_ae_bulk_carrier_panamax", Curve("uptake_exhaust_gas_boiler_ae_bulk_carrier_panamax"))
 55  	set_initial_technology_share("*", "hull_painting_bulk_carrier_panamax", Curve("uptake_hull_painting_bulk_carrier_panamax"))
 56  	set_initial_technology_share("*", "lighting_system_bulk_carrier_panamax", Curve("uptake_lighting_system_bulk_carrier_panamax"))
 57  	set_initial_technology_share("*", "propeller_improvement_devices_bulk_carrier_panamax", Curve("uptake_propeller_improvement_devices_bulk_carrier_panamax"))
 58  	set_initial_technology_share("*", "variable_frequency_drive_bulk_carrier_panamax", Curve("uptake_variable_frequency_drive_bulk_carrier_panamax"))
 59  
 60  	# fuel conversions
 61  	set_conversion_cost("*ice_oil*", "*ice_methanol*", 17.5e6)
 62  	set_conversion_cost("*ice_oil*", "*ice_ammonia*", 24.1e6)
 63  	set_conversion_cost("*ice_methane*", "*ice_ammonia*", 14.2e6)
 64  
 65  	# speed management
 66  	AllowSpeedManagement = TRUE
 67  	RouteSpeedOptimal = TRUE
 68  	MaximumSpeedChange = 0.7
 69  }
navigate-zcs/assumptions/defaults/Vessel/bulk_carrier_80k_dwt_ice_methane.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  Vessel "bulk_carrier_80k_dwt_ice_methane" {
  5  	
  6  	PropulsionLoad = Surface("bulk_carrier_80k_dwt_propulsion_load")
  7  	ElectricalLoadAtSea = Variable("bulk_carrier_80k_dwt_electrical_load_sea")
  8  	ElectricalLoadInPort = Variable("bulk_carrier_80k_dwt_electrical_load_port")
  9  	HeatLoadAtSea = Variable("bulk_carrier_80k_dwt_heat_load_sea")
 10  	HeatLoadInPort = Variable("bulk_carrier_80k_dwt_heat_load_port")
 11  	
 12  	PropulsionConverter = Converter("propulsion_ice_methane_bulk_carrier_80k_dwt")
 13  	ElectricalConverter = Converter("electrical_ice_methane_bulk_carrier_80k_dwt")
 14  	HeatConverter = Converter("heat_boiler_oil_bulk_carrier_80k_dwt")
 15  	Tanks = [Tank("main_methane_bulk_carrier_80k_dwt"), Tank("pilot_oil_bulk_carrier_80k_dwt")]
 16  	
 17  	Route = Route("operational_profile_bulk_carrier_80k_dwt")
 18  	NominalCapacity = Variable("bulk_carrier_80k_dwt_nominal_capacity")
 19  	Lifetime = Variable("bulk_carrier_80k_dwt_lifetime")
 20  	
 21  	Capex = <Forecast("bulk_carrier_80k_dwt_capex") + Forecast("bulk_carrier_80k_dwt_supply_system_methane_capex")>
 22  	Opex = <Forecast("bulk_carrier_80k_dwt_opex") + Forecast("bulk_carrier_80k_dwt_supply_system_methane_capex") * Variable("supply_system_opex_percentage_of_capex")>
 23  	CostOfCapital = Variable("cost_of_capital_vessel")
 24  }
navigate-zcs/assumptions/defaults/Variable/bulk_carrier_80k_dwt_lifetime.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  Variable "bulk_carrier_80k_dwt_lifetime" {
  5  	Value = 25
  6  }
navigate-zcs/assumptions/defaults/Forecast/bulk_carrier_80k_dwt_capex.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  Forecast "bulk_carrier_80k_dwt_capex" {
  5  	Table = [
  6  		"01-01-2025",	42.4e6;
  7  		"01-01-2050",	42.4e6;
  8  	]
  9  }
navigate-zcs/assumptions/defaults/Forecast/bulk_carrier_80k_dwt_supply_system_methane_capex.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  Forecast "bulk_carrier_80k_dwt_supply_system_methane_capex" {
  5  	Table = [
  6  		"01-01-2025",	4.37e6;
  7  		"01-01-2050",	4.37e6;
  8  	]
  9  }
navigate-zcs/assumptions/defaults/Variable/cost_of_capital_vessel.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  # Description: Cost of capital for financing a MF-oil, DF-methane, and DF-methanol vessel.
  5  # Unit: Fraction / year
  6  
  7  Variable "cost_of_capital_vessel" {
  8  	Value = 0.0889
  9  }
Also, laid out the same way: bulk_carrier_80k_dwt_ice_oil, bulk_carrier_80k_dwt_ice_methanol, bulk_carrier_80k_dwt_ice_ammonia
navigate-zcs/assumptions/defaults/Technology/exhaust_gas_boiler_ae_bulk_carrier_panamax.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  Technology "exhaust_gas_boiler_ae_bulk_carrier_panamax" {
  5  	set_energy_saving(HEAT, 0.05)
  6  	
  7  	Capex = 100e3
  8  	Opex = 10e3
  9  }
navigate-zcs/assumptions/defaults/Technology/lighting_system_bulk_carrier_panamax.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  Technology "lighting_system_bulk_carrier_panamax" {
  5  	set_energy_saving(ELECTRICAL, 0.025)
  6  	
  7  	Capex = 1e5
  8  	Opex = 0.
  9  }
navigate-zcs/assumptions/defaults/Technology/propeller_improvement_devices_bulk_carrier_panamax.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  Technology "propeller_improvement_devices_bulk_carrier_panamax" {
  5  	set_energy_saving(PROPULSION, 0.02)
  6  	
  7  	Capex = 150e3
  8  	Opex = 0.
  9  }
navigate-zcs/assumptions/defaults/Technology/flettner_rotor_bulk_carrier_panamax.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  Technology "flettner_rotor_bulk_carrier_panamax" {
  5  	set_external_power(PROPULSION, 0.4)
  6  	
  7  	Capex = 2e6
  8  	Opex = 40e3
  9  }
Also, laid out the same way: air_lubrication_bulk_carrier_panamax, hull_painting_bulk_carrier_panamax, variable_frequency_drive_bulk_carrier_panamax

2. Data about the fuels#

The most important data related to fuels are:

  • the market price of the fuels bought on a liquid market, such as fuel oil and LNG

  • the cost of making each alternative fuel: the plant, the electricity and the feedstock it uses

  • how much feedstock there is, which limits how much of a fuel can be made

  • what it costs to deliver a fuel to the bunker port, and the port’s handling cost

The supply also depends on each plant’s cost of capital, lead time, lifetime and uptime, and on how much a port can deliver (set_bunkering_limit).

In both cases, we assume that fossil fuels (fuel oil and LNG) have a flat price until 2050. Electricity is the largest part of what an e-fuel costs to make. It is assumed that its cost decreases in the future.

Run the next cell to draw the market price of fuel oil and LNG and the cost of renewable electricity in each region, from the Forecast files the case names for them: set_fuel_price on the ports, set_source_opex on the regions.

Hide code cell source

# @title Fuel and electricity prices
# the Forecasts the case names for the market price of a fuel and for the cost of renewable electricity, from the
# lines of the files the run read that set them
read = "\n".join(Path(ROOT, file).read_text(encoding="utf-8") for file in FILES.split())
fuels = dict(re.findall(r'set_fuel_price\("(\w+)", Forecast\("(\w+)"\)\)', read))
regions = dict.fromkeys(re.findall(r'set_source_opex\("renewable", Forecast\("(\w+)"\)\)', read))

def forecast(name, label):
    # the dates and values of a library Forecast's Table, a row each, under the label
    text = Path(f"{DEFAULTS}/Forecast/{name}.inc").read_text(encoding="utf-8")
    rows = [(date, float(value), label) for date, value in re.findall(r'"(\d\d-\d\d-\d{4})",\s*(\S+);', text)]
    return pl.DataFrame(rows, schema=["date", "value", "series"], orient="row").with_columns(
        pl.col("date").str.to_date("%d-%m-%Y"))

prices = pl.concat([forecast(name, fuel) for fuel, name in fuels.items()])
electricity = pl.concat([forecast(name, name.removeprefix("electricity_cost_")) for name in regions])
show(draw(px.line(prices, x="date", y="value", color="series", title="Market price of the fossil fuels",
                  labels={"date": "", "value": "USD/t"}), "fuel_prices"),
     draw(px.line(electricity, x="date", y="value", color="series", title="Cost of renewable electricity",
                  labels={"date": "", "value": "USD/MWh"}), "electricity_cost"))

A fuel is made in a chain of processes (Process nodes), for example hydrogen production by electrolysis, then methanol synthesis. Each region sets what each process costs to build and run (set_process_capex, set_process_opex) and the energy it uses (set_process_energy).

The synthesis and electrolyser cost tables are currently assumed to be flat over time. Learning rates (costs falling as more capacity is built) may be added in a future version of Navigate.

A process’s CAPEX and fixed OPEX are given in USD per ton/year of nominal production capacity, and depend on the process’s size, in tons/day of output: the Timetable of STEP 4’s introduction is the hydrogen plant’s. The plant’s full load hours (the hours it runs at full capacity) are set with Uptime, as a share of the year: 0.9 for a biofuel plant in the library, such as bio-methanol from gasification, about 7,900 hours.

Shipping a fuel from its plant to the bunker port adds to its cost (set_fuel_distance on the Plant, at the rate its region sets with set_transport_cost), so fuel is cheap at the port next door and carries a penalty at the far one. The global case ships no fuel at a cost.

Run the next cell to draw what each plant’s fuel costs to make (excluding delivery to the bunker port), in USD/GJ, by the year the plant is built, for the plants in Europe, a panel per fuel. Lantern draws it, as set in this session’s plots.yaml.

Hide code cell source

# @title Fuel production costs
# what each plant's fuel costs to make, for a plant invested in at each date, as Navigate works it out, drawn by
# Lantern with this session's plots.yaml, and shown
# the plants in Europe, which both cases have: a copy of the results with the fuel in key1, a panel each, and the
# route in key2, a line each, and the results' metadata, which Lantern reads
europe = pl.read_parquet(RESULTS).filter((pl.col("kind") == "plant") & pl.col("node").str.ends_with("_europe"))
# the node is plant_<fuel>_<route>_europe, or plant_<fuel>_europe for a plant with one route, a biofuel
plant = r"^plant_(fatty_acid_methyl_ester|[a-z]+)(?:_(.+))?_europe$"
europe = europe.with_columns(key1=pl.col("node").str.extract(plant, 1),
                             key2=pl.col("node").str.extract(plant, 2).fill_null("bio"))
europe.write_parquet("plants_europe.parquet", metadata=pl.read_parquet_metadata(RESULTS))
!lantern plants_europe.parquet --scale 0.8 --plot inputs_production_cost
show("plots/plants_europe/inputs_production_cost.html", height=480)
Plots from /tmp/notebook/session_3/plots.yaml
Loaded plants_europe: 1 run(s), 1 of 4 plots with data
Plotting: 100%|████████████████████████████████| 1/1 [00:00<00:00, 11.68plot/s]
Wrote 1 plots to plots
plots/plants_europe/inputs_production_cost.html

Feedstock availability#

The availability of a fuel made from biomass or biogenic CO2 is limited by its feedstock supply. For example, bio-methanol needs gasifiable biomass, and e-methanol needs biogenic CO2. Each cap is set on the producer that makes the fuel, with set_feed_limit.

Run the next cell to draw the caps as Navigate read them.

Hide code cell source

# @title Feedstock caps
# the caps as Navigate read them, drawn by Lantern, and shown
!lantern {RESULTS} --scale 0.8 --plot inputs_feed_constraint
show(f"plots/{RUN}/inputs_feed_constraint.html", height=480)

# the plants: the file of the run that makes them, then the library plant each copies or imports
plants = setting(r'(Copy|Import) Plant "')
plants += [f"{DEFAULTS}/Plant/{name}.inc" for name in dict.fromkeys(re.findall(
    r'(?:Copy|Import) Plant "(\w+)"', "\n".join(Path(file).read_text(encoding="utf-8") for file in plants)))]

# the files behind the fuels' numbers, folded
show_files({"Prices": few(setting(r'set_fuel_price|set_handling_cost|set_source_opex\("renewable"'), keep=3),
            "Plants": few(plants),
            "Production": few(setting(r"set_process_capex")),
            "Feedstock": few(setting(r"set_feed_limit")),
            "Delivery": few(setting(r"set_fuel_distance|set_transport_cost"))},
           folded="The files behind the fuels' numbers")
Plots from /tmp/notebook/session_3/plots.yaml
Loaded example_4: 1 run(s), 4 of 4 plots with data
Plotting: 100%|████████████████████████████████| 1/1 [00:00<00:00, 11.28plot/s]
Wrote 1 plots to plots
plots/example_4/inputs_feed_constraint.html
The files behind the fuels' numbers
session_3/copper_trade/includes/ports.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  # PORTS - the two bunker ports. Every fuel can be bunkered at both, Navigate's
  5  # default; a fuel is shipped to the port that did not produce it, the same way
  6  # Chilean e-ammonia reaches Rotterdam. Delivered price is production cost plus
  7  # transport, set in fuel_delivery.inc.
  8  
  9  Port "san_antonio" {
 10  }
 11  
 12  Port "rotterdam" {
 13  }
 14  
 15  Port "*" {
 16      # DefaultPort's fuel oil and LNG prices and upstream emissions: taken as
 17      # given rather than built bottom-up from a production pathway. Loading
 18      # DefaultPort itself would also declare its two ports, which this route
 19      # does not call at.
 20      set_fuel_price("fossil_fuel_oil", Forecast("fossil_fuel_oil_price_global"))
 21      set_fuel_wtt("fossil_fuel_oil", "carbon_dioxide", Forecast("fossil_fuel_oil_wtt_carbon_dioxide"))
 22      set_fuel_price("liquefied_natural_gas", Forecast("liquefied_natural_gas_price_global"))
 23      set_fuel_wtt("liquefied_natural_gas", "carbon_dioxide", Forecast("liquefied_natural_gas_wtt_carbon_dioxide"))
 24      set_fuel_wtt("liquefied_natural_gas", "methane", Forecast("liquefied_natural_gas_wtt_methane"))
 25  
 26      # cost of physically getting the fuel aboard, USD/ton
 27      set_handling_cost("fossil_fuel_oil", Variable("handling_cost_oil"))
 28      set_handling_cost("liquefied_natural_gas", Variable("handling_cost_lng"))
 29      set_handling_cost("methanol_electro", Variable("handling_cost_methanol"))
 30      set_handling_cost("methanol_bio", Variable("handling_cost_methanol"))
 31      set_handling_cost("ammonia_electro", Variable("handling_cost_ammonia"))
 32  }
 33  
 34  # Values are invented for this example.
 35  Variable "handling_cost_oil" {
 36  	Value = 8
 37  }
 38  
 39  Variable "handling_cost_lng" {
 40  	Value = 15
 41  }
 42  
 43  Variable "handling_cost_methanol" {
 44  	Value = 18
 45  }
 46  
 47  Variable "handling_cost_ammonia" {
 48  	Value = 25
 49  }
session_3/copper_trade/includes/regions.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  # REGIONS - the economics of making fuel, all of them the library's own.
  5  #
  6  # Navigate rejects a command naming a node the deck does not hold. So where a
  7  # library node also prices pathways this deck leaves out, its lines for this
  8  # case's pathways are copied here instead of loaded: the Region "europe" node
  9  # also prices FAME, and DefaultRegion's Region "*" block blue ammonia, the PEM
 10  # and solid-oxide electrolysers, bio-methane, bio-ethanol and e-diesel.
 11  #
 12  # The methanol synthesis steps carry negative CO2 terms: the molecule locks up
 13  # captured carbon, so production is a WTT sink and combustion releases it again.
 14  
 15  # electricity price and grid emissions
 16  Import Region "americas"
 17  
 18  Region "europe" {
 19      set_source_opex("renewable", Forecast("electricity_cost_europe_mid"))
 20      set_source_opex("grid", Forecast("electricity_cost_europe_mid"))
 21      set_source_wtt("grid", "carbon_dioxide", Forecast("grid_emissions_europe"))
 22  }
 23  
 24  # Production economics that do not vary by region, so a plant can be sited
 25  # anywhere.
 26  Region "*" {
 27  
 28      # ---- feedstocks ----
 29      set_feedstock_cost("demineralized_water", Forecast("demineralized_water_cost"))
 30      set_feedstock_cost("carbon_dioxide_biogenic", Forecast("carbon_dioxide_biogenic_cost"))
 31      set_feedstock_cost("feedstock_biomethanol_gasification", Forecast("feedstock_biomethanol_gasification_cost"))
 32      set_feedstock_wtt("carbon_dioxide_biogenic", "carbon_dioxide", Forecast("carbon_dioxide_biogenic_capture_rate"))
 33  
 34      # ---- hydrogen, shared by both e-fuels ----
 35      # Timetable rather than Forecast: cost depends on year and on plant size.
 36      set_process_capex("electrolysis_stack_alkaline", Timetable("electrolysis_stack_alkaline_capex"))
 37      set_process_opex("electrolysis_stack_alkaline", Timetable("electrolysis_stack_alkaline_opex"))
 38      set_process_energy("electrolysis_stack_alkaline", Forecast("electrolysis_stack_alkaline_energy"))
 39      set_process_lifetime("electrolysis_stack_alkaline", Forecast("electrolysis_stack_alkaline_lifetime"))
 40      set_process_replacement("electrolysis_stack_alkaline", Forecast("electrolysis_stack_alkaline_replacement"))
 41  
 42      set_process_capex("hydrogen_electro_alkaline", Timetable("hydrogen_electro_alkaline_capex"))
 43      set_process_opex("hydrogen_electro_alkaline", Timetable("hydrogen_electro_alkaline_opex"))
 44      set_process_energy("hydrogen_electro_alkaline", Forecast("hydrogen_electro_alkaline_energy"))
 45      set_process_lifetime("hydrogen_electro_alkaline", Forecast("hydrogen_electro_alkaline_lifetime"))
 46      set_process_replacement("hydrogen_electro_alkaline", Forecast("hydrogen_electro_alkaline_replacement"))
 47  
 48      # ---- e-methanol: hydrogen + biogenic CO2 ----
 49      set_process_capex("methanol_synthesis_electro_*", Timetable("methanol_synthesis_electro_capex"))
 50      set_process_opex("methanol_synthesis_electro_*", Timetable("methanol_synthesis_electro_opex"))
 51      set_process_energy("methanol_synthesis_electro_*", Forecast("methanol_synthesis_electro_energy"))
 52      set_process_wtt("methanol_synthesis_electro_*", "carbon_dioxide",
 53                      <Variable("methanol_carbon_dioxide_conversion") - Variable("carbon_dioxide_per_methanol")>)
 54  
 55      # ---- e-ammonia: hydrogen + nitrogen from air ----
 56      set_process_capex("ammonia_synthesis_electro_*", Timetable("ammonia_synthesis_capex"))
 57      set_process_opex("ammonia_synthesis_electro_*", Timetable("ammonia_synthesis_opex"))
 58      set_process_energy("ammonia_synthesis_electro_*", Forecast("ammonia_synthesis_energy"))
 59  
 60      # ---- bio-methanol: gasified biomass ----
 61      set_process_capex("methanol_synthesis_bio_gasification", Forecast("methanol_synthesis_bio_gasification_capex"))
 62      set_process_opex("methanol_synthesis_bio_gasification", Forecast("methanol_synthesis_bio_gasification_opex"))
 63      set_process_energy("methanol_synthesis_bio_gasification", Forecast("methanol_synthesis_bio_gasification_energy"))
 64      set_process_wtt("methanol_synthesis_bio_gasification", "carbon_dioxide", <-Variable("carbon_dioxide_per_methanol")>)
 65  
 66      # ---- plant to quayside within a region, at Navigate's default cost of 0 ----
 67      set_transport_wtt("truck", "carbon_dioxide", Forecast("truck_emissions"))
 68  }
navigate-zcs/assumptions/defaults/Region/americas.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  Region "americas" {
  5      # sources ----------------------------------------------------------------------------------------------------------
  6      # source cost
  7      set_source_opex("renewable", Forecast("electricity_cost_americas_mid"))
  8      set_source_opex("grid", Forecast("electricity_cost_americas_mid"))    # renewable LCoE is used as a proxy as no alternative assumption is available
  9  
 10  	# source emissions
 11  	set_source_wtt("grid", "carbon_dioxide", Forecast("grid_emissions_americas"))
 12  }
navigate-zcs/assumptions/defaults/Forecast/fossil_fuel_oil_price_global.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  # Description: Forecast of the global fossil fuel oil price.
  5  # Unit: USD / ton
  6  
  7  Forecast "fossil_fuel_oil_price_global" {
  8  	Table = [
  9  		"01-01-2026",	485;
 10  		"01-01-2050",	485;
 11  	]
 12  
 13  	Extrapolate = FLAT
 14  }
navigate-zcs/assumptions/defaults/Forecast/liquefied_natural_gas_price_global.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  # Description: Cost of liquefied natural gas (LNG) in Middle East
  5  # Unit: USD / ton
  6  
  7  Forecast "liquefied_natural_gas_price_global" {
  8  	Table = [
  9  		"01-01-2026",	436;
 10  		"01-01-2050",	436;
 11  	]
 12  
 13  	Extrapolate = FLAT
 14  }
Also, laid out the same way: electricity_cost_europe_mid, electricity_cost_americas_mid
session_3/copper_trade/includes/fuel_production.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  # FUEL PRODUCTION - five fuels for four ships; both methanols feed one ship.
  5  #
  6  # The plants are regional copies of the library's pathways, named and sited the
  7  # way DefaultPlant does it for its own copies; lead times, lifetimes, capacities
  8  # and process economics come from the library. Loading DefaultPlant itself would
  9  # bring in the fuels of all its other plants too.
 10  
 11  # ---- fossil (global commodities, no production chain modelled) --------------
 12  Import Fuel "fossil_fuel_oil"
 13  Import Fuel "liquefied_natural_gas"
 14  
 15  # ---- e-fuels, made in Chile or in Europe ------------------------------------
 16  Import Fuel "methanol_electro"
 17  Import Fuel "ammonia_electro"
 18  Copy Plant "plant_methanol_electro_alkaline" "plant_methanol_electro_alkaline_americas"
 19  Copy Plant "plant_ammonia_electro_alkaline"  "plant_ammonia_electro_alkaline_americas"
 20  Copy Plant "plant_methanol_electro_alkaline" "plant_methanol_electro_alkaline_europe"
 21  Copy Plant "plant_ammonia_electro_alkaline"  "plant_ammonia_electro_alkaline_europe"
 22  
 23  # ---- bio-methanol, made in Europe only ---------------------------------------
 24  Import Fuel "methanol_bio"
 25  Copy Plant "plant_methanol_bio_gasification" "plant_methanol_bio_gasification_europe"
 26  
 27  # ---- siting and financing, DefaultPlant's rules -------------------------------
 28  # a biofuel plant draws from the grid
 29  Plant "*" {
 30      Source = Source("grid")
 31  }
 32  
 33  # an e-fuel plant runs on dedicated renewable power, not the grid
 34  Plant "*electro*" {
 35      Source = Source("renewable")
 36  }
 37  
 38  Plant "*americas" {
 39      Region = Region("americas")
 40  }
 41  
 42  Plant "*europe" {
 43      Region = Region("europe")
 44  }
 45  
 46  Plant "*electro*americas" {
 47      CostOfCapital = Forecast("cost_of_capital_plant_electro_americas")
 48  }
 49  
 50  Plant "*electro*europe" {
 51      CostOfCapital = Forecast("cost_of_capital_plant_electro_europe")
 52  }
 53  
 54  Plant "*bio*europe" {
 55      CostOfCapital = Forecast("cost_of_capital_plant_bio_europe")
 56  }
navigate-zcs/assumptions/defaults/Plant/plant_methanol_electro_alkaline.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  Plant "plant_methanol_electro_alkaline" {
  5  	Fuel = Fuel("methanol_electro")
  6  	Process = Process("methanol_synthesis_electro_alkaline")
  7  
  8  	Capacity = Forecast("methanol_electro_plant_capacity_mid")
  9  
 10  	LeadTime = Forecast("lead_time_plant_electro")
 11  	Lifetime = Forecast("lifetime_plant_methanol_electro")
 12  	Uptime = Forecast("uptime_plant_electro")
 13  }
Also, laid out the same way: plant_ammonia_electro_alkaline, plant_methanol_bio_gasification
session_3/copper_trade/includes/regions.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  # REGIONS - the economics of making fuel, all of them the library's own.
  5  #
  6  # Navigate rejects a command naming a node the deck does not hold. So where a
  7  # library node also prices pathways this deck leaves out, its lines for this
  8  # case's pathways are copied here instead of loaded: the Region "europe" node
  9  # also prices FAME, and DefaultRegion's Region "*" block blue ammonia, the PEM
 10  # and solid-oxide electrolysers, bio-methane, bio-ethanol and e-diesel.
 11  #
 12  # The methanol synthesis steps carry negative CO2 terms: the molecule locks up
 13  # captured carbon, so production is a WTT sink and combustion releases it again.
 14  
 15  # electricity price and grid emissions
 16  Import Region "americas"
 17  
 18  Region "europe" {
 19      set_source_opex("renewable", Forecast("electricity_cost_europe_mid"))
 20      set_source_opex("grid", Forecast("electricity_cost_europe_mid"))
 21      set_source_wtt("grid", "carbon_dioxide", Forecast("grid_emissions_europe"))
 22  }
 23  
 24  # Production economics that do not vary by region, so a plant can be sited
 25  # anywhere.
 26  Region "*" {
 27  
 28      # ---- feedstocks ----
 29      set_feedstock_cost("demineralized_water", Forecast("demineralized_water_cost"))
 30      set_feedstock_cost("carbon_dioxide_biogenic", Forecast("carbon_dioxide_biogenic_cost"))
 31      set_feedstock_cost("feedstock_biomethanol_gasification", Forecast("feedstock_biomethanol_gasification_cost"))
 32      set_feedstock_wtt("carbon_dioxide_biogenic", "carbon_dioxide", Forecast("carbon_dioxide_biogenic_capture_rate"))
 33  
 34      # ---- hydrogen, shared by both e-fuels ----
 35      # Timetable rather than Forecast: cost depends on year and on plant size.
 36      set_process_capex("electrolysis_stack_alkaline", Timetable("electrolysis_stack_alkaline_capex"))
 37      set_process_opex("electrolysis_stack_alkaline", Timetable("electrolysis_stack_alkaline_opex"))
 38      set_process_energy("electrolysis_stack_alkaline", Forecast("electrolysis_stack_alkaline_energy"))
 39      set_process_lifetime("electrolysis_stack_alkaline", Forecast("electrolysis_stack_alkaline_lifetime"))
 40      set_process_replacement("electrolysis_stack_alkaline", Forecast("electrolysis_stack_alkaline_replacement"))
 41  
 42      set_process_capex("hydrogen_electro_alkaline", Timetable("hydrogen_electro_alkaline_capex"))
 43      set_process_opex("hydrogen_electro_alkaline", Timetable("hydrogen_electro_alkaline_opex"))
 44      set_process_energy("hydrogen_electro_alkaline", Forecast("hydrogen_electro_alkaline_energy"))
 45      set_process_lifetime("hydrogen_electro_alkaline", Forecast("hydrogen_electro_alkaline_lifetime"))
 46      set_process_replacement("hydrogen_electro_alkaline", Forecast("hydrogen_electro_alkaline_replacement"))
 47  
 48      # ---- e-methanol: hydrogen + biogenic CO2 ----
 49      set_process_capex("methanol_synthesis_electro_*", Timetable("methanol_synthesis_electro_capex"))
 50      set_process_opex("methanol_synthesis_electro_*", Timetable("methanol_synthesis_electro_opex"))
 51      set_process_energy("methanol_synthesis_electro_*", Forecast("methanol_synthesis_electro_energy"))
 52      set_process_wtt("methanol_synthesis_electro_*", "carbon_dioxide",
 53                      <Variable("methanol_carbon_dioxide_conversion") - Variable("carbon_dioxide_per_methanol")>)
 54  
 55      # ---- e-ammonia: hydrogen + nitrogen from air ----
 56      set_process_capex("ammonia_synthesis_electro_*", Timetable("ammonia_synthesis_capex"))
 57      set_process_opex("ammonia_synthesis_electro_*", Timetable("ammonia_synthesis_opex"))
 58      set_process_energy("ammonia_synthesis_electro_*", Forecast("ammonia_synthesis_energy"))
 59  
 60      # ---- bio-methanol: gasified biomass ----
 61      set_process_capex("methanol_synthesis_bio_gasification", Forecast("methanol_synthesis_bio_gasification_capex"))
 62      set_process_opex("methanol_synthesis_bio_gasification", Forecast("methanol_synthesis_bio_gasification_opex"))
 63      set_process_energy("methanol_synthesis_bio_gasification", Forecast("methanol_synthesis_bio_gasification_energy"))
 64      set_process_wtt("methanol_synthesis_bio_gasification", "carbon_dioxide", <-Variable("carbon_dioxide_per_methanol")>)
 65  
 66      # ---- plant to quayside within a region, at Navigate's default cost of 0 ----
 67      set_transport_wtt("truck", "carbon_dioxide", Forecast("truck_emissions"))
 68  }
navigate-zcs/assumptions/defaults/Timetable/electrolysis_stack_alkaline_capex.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  # Description: Capital expenditure of alkaline electrolysis.
  5  # Unit: USD / ton
  6  
  7  Timetable "electrolysis_stack_alkaline_capex" {
  8  	Table = [
  9                          10,	    20,  	30,  	40,  	50,  	75,  	100, 	200, 	300, 	400, 	500, 	750, 	1000,	1250;
 10          "01-01-2025",	5022,	4851,	4753,	4685,	4633,	4540,	4475,	4323,	4236,	4176,	4129,	4047,	3989,	3945;
 11          "01-01-2050",	5022,	4851,	4753,	4685,	4633,	4540,	4475,	4323,	4236,	4176,	4129,	4047,	3989,	3945;
 12  	]
 13  	
 14  	Extrapolate = LINEAR
 15  }
Also, laid out the same way: hydrogen_electro_alkaline_capex, methanol_synthesis_electro_capex, ammonia_synthesis_capex, methanol_synthesis_bio_gasification_capex
session_3/copper_trade/includes/producer.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  # PRODUCERS - the agents that decide whether to build another plant.
  5  
  6  Producer "producer_efuel" {
  7  	Plants = [Plant("plant_methanol_electro_alkaline_americas"),
  8  	          Plant("plant_ammonia_electro_alkaline_americas"),
  9  	          Plant("plant_methanol_electro_alkaline_europe"),
 10  	          Plant("plant_ammonia_electro_alkaline_europe")]
 11  
 12  	MaximumDevelopment = <Forecast("epc_global_capacity_mid") * Forecast("epc_global_share_shipping")>
 13  
 14  	# Ceiling on biogenic CO2, the feedstock both its e-methanol plants draw on.
 15  
 16  	set_feed_limit("carbon_dioxide_biogenic", <Forecast("carbon_dioxide_biogenic_availability_flat") * Forecast("carbon_dioxide_biogenic_share_shipping") * Variable("trade_share_biogenic_carbon_dioxide")>)
 17  }
 18  
 19  Producer "producer_biofuel" {
 20  	Plants = [Plant("plant_methanol_bio_gasification_europe")]
 21  
 22  	MaximumDevelopment = <Forecast("epc_global_capacity_mid") * Forecast("epc_global_share_shipping")>
 23  
 24  	# Ceiling on gasifiable biomass.
 25  	set_feed_limit("feedstock_biomethanol_gasification", <Forecast("feedstock_biomethanol_gasification_availability") * Forecast("feedstock_biomethanol_gasification_share_shipping") * Variable("trade_share_gasifiable_biomass")>)
 26  }
 27  
 28  # The library's feedstock forecasts are global and its *_share_shipping factors
 29  # are the whole sector's slice. This deck is 300 ships on one trade, not the
 30  # world fleet, so each producer gets a slice of that. Both shares are
 31  # invented for this example.
 32  Variable "trade_share_gasifiable_biomass" {
 33  	Value = 0.01
 34  }
 35  
 36  Variable "trade_share_biogenic_carbon_dioxide" {
 37  	Value = 0.003
 38  }
 39  
 40  # INVENTED: the biogenic CO2 pool held flat at the library's 2026 value
 41  # (carbon_dioxide_biogenic_availability on 01-01-2026, 91.55 Mt/yr); the library
 42  # grows it to 350 Mt/yr by 2050.
 43  Forecast "carbon_dioxide_biogenic_availability_flat" {
 44  	Table = [
 45  		"01-01-2026", 91.55e6;
 46  		"01-01-2050", 91.55e6;
 47  	]
 48  	Extrapolate = FLAT
 49  }
navigate-zcs/assumptions/defaults/Forecast/carbon_dioxide_biogenic_share_shipping.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  # Description: Shipping's share of global biogenic carbon feedstock.
  5  # Unit: ton / year
  6  
  7  Forecast "carbon_dioxide_biogenic_share_shipping" {
  8  	Table = [
  9  		"01-01-2025",	0.5;
 10  		"01-01-2050",	0.5;
 11  	]
 12  	
 13  	Extrapolate = LINEAR
 14  }
Also, laid out the same way: feedstock_biomethanol_gasification_availability, feedstock_biomethanol_gasification_share_shipping
session_3/copper_trade/includes/fuel_delivery.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  # FUEL DELIVERY - production site to bunker port. Written for the copper trade:
  5  # the library has no default file for fuel delivery.
  6  # Fuel oil and LNG are LiquidMarket fuels in the library: quoted price, no plant,
  7  # no producer, no logistics chain (ports.inc). Every plant's fuel is shipped to
  8  # both ports and picks up distance x rate.
  9  
 10  Transport "fuel_shipping" {
 11  }
 12  
 13  Region "*" {
 14  	# INVENTED: USD per ton per nautical mile
 15  	set_transport_cost("fuel_shipping", 0.02)
 16  }
 17  
 18  Plant "*" {
 19  	set_fuel_transport("*", Transport("fuel_shipping"))
 20  }
 21  
 22  # INVENTED: nautical miles from the production region to each port
 23  Plant "*_americas" {
 24  	set_fuel_distance("san_antonio", 1250)
 25  	set_fuel_distance("rotterdam", 7600)
 26  }
 27  
 28  Plant "*_europe" {
 29  	set_fuel_distance("rotterdam", 540)
 30  	set_fuel_distance("san_antonio", 7600)
 31  }

3. Data about the regulations#

The most important data about a regulation are:

  • the price it puts on emissions, for a scheme that prices them

  • the limit it sets, for a scheme that caps the intensity of the fuel

  • the penalty for missing that limit

  • its scope: which emissions it counts, with its own emission factors

  • how much of the voyage it counts: which ports are inside the scheme (Jurisdiction)

Both cases model FuelEU Maritime, which caps the intensity of the energy used, well-to-wake, and the EU ETS, which prices every ton emitted on board, tank-to-wake: the global case from the library, the copper trade in its own files. The global case adds a global fuel standard (gfs), an intensity limit with a penalty, as FuelEU, on every voyage.

Run the next cell to draw what each regulation charges per ton (RemedialCost) and the intensity limits (set_vessel_threshold). The EU ETS price includes its phase-in.

Hide code cell source

# @title Regulation prices and limits
# the price of a ton and the intensity limits as Navigate prepares them, drawn by Lantern, and shown
!lantern {RESULTS} --scale 0.8 --plot inputs_remedial_cost --plot inputs_intensity_limit
show(f"plots/{RUN}/inputs_remedial_cost.html", f"plots/{RUN}/inputs_intensity_limit.html")
Plots from /tmp/notebook/session_3/plots.yaml
Loaded example_4: 1 run(s), 4 of 4 plots with data
Plotting: 100%|████████████████████████████████| 2/2 [00:00<00:00, 17.41plot/s]
Wrote 2 plots to plots
plots/example_4/inputs_remedial_cost.html
plots/example_4/inputs_intensity_limit.html

Run the next cell to draw what the EU ETS and FuelEU count per MJ of each fuel, from the factors (set_fuel_ttw, set_fuel_wtt) and warming potentials (set_gwp) they state. Change YEAR to see another year. Where FuelEU states no upstream factor, as for e-fuels, Navigate calculates it during the run, so the figure cannot show it. The global case’s gfs states no factors: it counts as Navigate does.

Hide code cell source

# @title Regulation emission factors
from plotly.subplots import make_subplots

# THE YEAR to count in: the methane slip and the EU ETS phase-in change over time
YEAR = 2030  # @param {type:"integer"}

# each regulation the run read that states its own factors (the global case's gfs states none: it counts as Navigate
# does): its scope, its warming potentials, and the factor it states for each fuel and gas, in the order written,
# a "*" gas setting every gas
read = "\n".join(Path(ROOT, file).read_text(encoding="utf-8") for file in FILES.split())
regulations = {}
for name, block in re.findall(r'^Regulation "(\w+)" \{(.*?)^\}', read, re.MULTILINE | re.DOTALL):
    if "set_fuel_ttw" not in block:
        continue
    gwp = {gas: float(value) for gas, value in re.findall(r'set_gwp\("(\w+)", ([\d.]+)\)', block)}
    stated = {"ttw": {}, "wtt": {}}
    for part, fuel, gas, value in re.findall(r'set_fuel_(ttw|wtt)\("(\w+)", "([\w*]+)", (.+?)\)\s*(?:#.*)?$', block,
                                             re.MULTILINE):
        for each in gwp if gas == "*" else [gas]:
            stated[part][(fuel, each)] = value
    regulations[name] = {"scope": re.search(r"Scope = (\w+)", block)[1], "gwp": gwp, **stated}

# what each counts per MJ of each fuel it states factors for, gas by gas, in gCO2eq/MJ: the factor, in tons per ton
# of fuel, times the regulation's warming potential, over the fuel's heating value in GJ per ton
FUELS = ["fossil_fuel_oil", "liquefied_natural_gas", "methane_bio", "methane_electro", "methanol_bio",
         "methanol_electro", "ethanol_bio", "fatty_acid_methyl_ester", "diesel_electro", "ammonia_blue",
         "ammonia_electro"]
fuels = sorted({fuel for regulation in regulations.values() for fuel, _ in regulation["ttw"]},
               key=lambda fuel: FUELS.index(fuel) if fuel in FUELS else len(FUELS))
heating = {fuel: number(field(node("Fuel", fuel), "LowerHeatingValue")) for fuel in fuels}

def per_mj(regulation, part, fuel, gas):
    value = regulation[part].get((fuel, gas))
    return number(value, YEAR) * regulation["gwp"][gas] / heating[fuel] * 1e3 if value else 0.0

# a panel per regulation, a bar per fuel: on board (TTW) by gas, then the upstream part (WTT) the regulation states,
# below zero where the fuel's carbon came from the air or from biomass. A WTW regulation that states no WTT for a
# fuel takes the one Navigate calculates during the run, which no file holds
GASES = {"carbon_dioxide": ("CO2 on board", "blue_7"), "methane": ("methane on board", "yellow_5"),
         "nitrous_oxide": ("N2O on board", "peach_5")}
TITLES = {"eu_ets": "EU ETS", "fuel_eu": "FuelEU"}
figure = make_subplots(rows=1, cols=len(regulations), shared_yaxes=True, horizontal_spacing=0.04,
                       subplot_titles=[f"{TITLES.get(name, name)} ({regulation['scope']})"
                                       for name, regulation in regulations.items()])
names = [fuel.replace("_", " ") for fuel in fuels]
for col, regulation in enumerate(regulations.values(), 1):
    for gas, (label, colour) in GASES.items():
        figure.add_bar(y=names, x=[per_mj(regulation, "ttw", fuel, gas) for fuel in fuels], orientation="h",
                       name=label, legendgroup=label, showlegend=col == 1, marker_color=THEME["swatches"][colour],
                       row=1, col=col)
    if regulation["scope"] == "TTW":
        continue
    upstream = [sum(per_mj(regulation, "wtt", fuel, gas) for gas in regulation["gwp"]) for fuel in fuels]
    figure.add_bar(y=names, x=upstream, orientation="h", name="upstream, as the regulation states it",
                   legendgroup="wtt", showlegend=True, marker_color=THEME["swatches"]["green_5"], row=1, col=col)
    for fuel, name in zip(fuels, names):
        if not any(key[0] == fuel for key in regulation["wtt"]):
            on_board = sum(per_mj(regulation, "ttw", fuel, gas) for gas in GASES)
            figure.add_annotation(x=on_board, y=name, text=" + upstream calculated when running Navigate", showarrow=False,
                                  xanchor="left", font_size=10, row=1, col=col)
figure.update_layout(barmode="relative", title=f"What each regulation counts per MJ of fuel, in {YEAR}", height=460,
                     legend_y=-0.2)
figure.update_xaxes(title_text="gCO2eq/MJ")
figure.update_yaxes(autorange="reversed")  # fossil fuel oil on top
show(draw(figure, "regulation_factors"), height=480)

# the files behind the regulations' numbers, folded: a tab per regulation's file, then examples of the numbers
levels = setting(r'^Regulation "|RemedialCost|set_vessel_threshold')
regulations = [file for file in levels if "/Regulation/" in file or not file.startswith(DEFAULTS)]
show_files({**{Path(file).name: [file] for file in regulations},
            "Prices and limits": few([file for file in levels if file not in regulations], keep=2),
            "Emission factors": few([file for file in setting(r"set_fuel_ttw|set_fuel_wtt", regulations)
                                     if file not in regulations], keep=2)},
           folded="The files behind the regulations' numbers")
The files behind the regulations' numbers
session_3/copper_trade/includes/eu_ets.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  # EU ETS - absolute price on CO2-equivalent burned on board, no free allowance.
  5  #
  6  # The library's Regulation "eu_ets", for this deck's five fuels and with
  7  # Rotterdam as its jurisdiction. It is copied rather than imported: the library
  8  # node sets factors for fuels this deck does not hold, and Navigate rejects a
  9  # command naming a node the deck does not hold.
 10  #
 11  # The coverage fractions are applied PER LEG (one sailing
 12  # from one port to the next), not to the round trip. Both legs
 13  # here are inter-jurisdiction, so both count at 50%. Port stays are classified
 14  # by their own port, so Rotterdam counts in full and San Antonio not at all.
 15  
 16  Regulation "eu_ets" {
 17  	Measure = ABSOLUTE
 18  	Scheme = INDIVIDUAL
 19  	Scope = TTW
 20  	IncludeSlip = FALSE   # methane slip is carried in the TTW methane factors
 21  	Emissions = [Emission("carbon_dioxide"), Emission("methane"), Emission("nitrous_oxide")]
 22  	Fuels = Fuel("*")
 23  
 24  	# Rotterdam is the only EU port on this route
 25  	Jurisdiction = [Port("rotterdam")]
 26  	IntraFraction = 1     # both ends in the EU
 27  	InterFraction = 0.5   # one end in the EU
 28  	ExtraFraction = 0     # neither end in the EU
 29  
 30  	RemedialCost = <Forecast("eu_ets_carbon_credit_price") * Forecast("eu_ets_maritime_phase_in")>
 31  
 32  	# no free allocation: every covered ton is paid for
 33  	set_vessel_threshold("*", 0.)
 34  	set_include_vessel("*", TRUE)
 35  
 36  	set_gwp("carbon_dioxide", 1)
 37  	set_gwp("methane", 28)
 38  	set_gwp("nitrous_oxide", 265)
 39  
 40  	# Emission factors follow MRV Maritime Regulation Annex I. Bio and electro
 41  	# fuels are assumed to meet the >65% criterion, so are zero-rated for CO2 but
 42  	# still take "highest in class" methane and nitrous oxide.
 43  	set_fuel_ttw("fossil_fuel_oil", "carbon_dioxide", Variable("eu_default_diesel_carbon_dioxide"))
 44  	set_fuel_ttw("fossil_fuel_oil", "methane", <Variable("eu_default_diesel_ice_methane") * Forecast("eu_ets_ghg_phase_in")>)
 45  	set_fuel_ttw("fossil_fuel_oil", "nitrous_oxide", <Variable("eu_default_diesel_ice_nitrous_oxide") * Forecast("eu_ets_ghg_phase_in")>)
 46  
 47  	set_fuel_ttw("liquefied_natural_gas", "carbon_dioxide", Variable("eu_default_methane_carbon_dioxide"))
 48  	set_fuel_ttw("liquefied_natural_gas", "methane", <Forecast("eu_default_methane_slip") * Forecast("eu_ets_ghg_phase_in")>)
 49  	set_fuel_ttw("liquefied_natural_gas", "nitrous_oxide", <Variable("eu_default_methane_ice_nitrous_oxide") * Forecast("eu_ets_ghg_phase_in")>)
 50  
 51  	set_fuel_ttw("methanol_electro", "carbon_dioxide", 0)
 52  	set_fuel_ttw("methanol_electro", "methane", <Variable("eu_default_diesel_ice_methane") * Forecast("eu_ets_ghg_phase_in")>)
 53  	set_fuel_ttw("methanol_electro", "nitrous_oxide", <Variable("eu_default_diesel_ice_nitrous_oxide") * Forecast("eu_ets_ghg_phase_in")>)
 54  
 55  	set_fuel_ttw("methanol_bio", "carbon_dioxide", 0)
 56  	set_fuel_ttw("methanol_bio", "methane", <Variable("eu_default_diesel_ice_methane") * Forecast("eu_ets_ghg_phase_in")>)
 57  	set_fuel_ttw("methanol_bio", "nitrous_oxide", <Variable("eu_default_diesel_ice_nitrous_oxide") * Forecast("eu_ets_ghg_phase_in")>)
 58  
 59  	set_fuel_ttw("ammonia_electro", "carbon_dioxide", 0)
 60  	set_fuel_ttw("ammonia_electro", "methane", <Variable("eu_default_diesel_ice_methane") * Forecast("eu_ets_ghg_phase_in")>)
 61  	set_fuel_ttw("ammonia_electro", "nitrous_oxide", <Variable("eu_default_diesel_ice_nitrous_oxide") * Forecast("eu_ets_ghg_phase_in")>)
 62  }
session_3/copper_trade/includes/fuel_eu.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  # FUELEU MARITIME - caps WTW greenhouse gas intensity, tightening over time.
  5  #
  6  # The library's Regulation "fuel_eu", copied for this deck's five fuels and
  7  # with Rotterdam as its jurisdiction, for the reason given in eu_ets.inc.
  8  #
  9  # The e-fuels get no default set_fuel_wtt. Instead, Navigate calculates
 10  # their upstream intensity from the production chain in regions.inc, so the
 11  # power price at each site feeds their FuelEU score. The fossil fuels and
 12  # bio-methanol instead use the regulation's own defaults.
 13  #
 14  # Same coverage geography as eu_ets.inc.
 15  
 16  Regulation "fuel_eu" {
 17  	Measure = INTENSITY
 18  	Scheme = FLEXIBLE     # pooled and banked across years, unlike the ETS
 19  	Scope = WTW
 20  	IncludeSlip = FALSE   # methane slip is carried in the TTW methane factors
 21  	Emissions = [Emission("carbon_dioxide"), Emission("methane"), Emission("nitrous_oxide")]
 22  	Fuels = Fuel("*")
 23  
 24  	Jurisdiction = [Port("rotterdam")]
 25  	IntraFraction = 1
 26  	InterFraction = 0.5
 27  	ExtraFraction = 0
 28  
 29  	RemedialCost = Variable("fuel_eu_remedial_cost")
 30  
 31  	set_vessel_threshold("*", Forecast("fuel_eu_target_reduction"))
 32  	set_include_vessel("*", TRUE)
 33  
 34  	set_gwp("carbon_dioxide", 1)
 35  	set_gwp("methane", 25)
 36  	set_gwp("nitrous_oxide", 298)
 37  
 38  	# ---- fossil fuel oil: regulation default WTT ----
 39  	set_fuel_wtt("fossil_fuel_oil", "*", 0)
 40  	set_fuel_wtt("fossil_fuel_oil", "carbon_dioxide", Variable("fuel_eu_default_wtt_fossil_fuel_oil"))
 41  	set_fuel_ttw("fossil_fuel_oil", "carbon_dioxide", Variable("eu_default_diesel_carbon_dioxide"))
 42  	set_fuel_ttw("fossil_fuel_oil", "methane", Variable("eu_default_diesel_ice_methane"))
 43  	set_fuel_ttw("fossil_fuel_oil", "nitrous_oxide", Variable("eu_default_diesel_ice_nitrous_oxide"))
 44  
 45  	# ---- LNG ----
 46  	set_fuel_wtt("liquefied_natural_gas", "*", 0)
 47  	set_fuel_wtt("liquefied_natural_gas", "carbon_dioxide", Variable("fuel_eu_default_wtt_liquefied_natural_gas"))
 48  	set_fuel_ttw("liquefied_natural_gas", "carbon_dioxide", Variable("eu_default_methane_carbon_dioxide"))
 49  	set_fuel_ttw("liquefied_natural_gas", "methane", Forecast("eu_default_methane_slip"))
 50  	set_fuel_ttw("liquefied_natural_gas", "nitrous_oxide", Variable("eu_default_methane_ice_nitrous_oxide"))
 51  
 52  	# ---- bio-methanol: regulation default WTT ----
 53  	set_fuel_wtt("methanol_bio", "*", 0)
 54  	set_fuel_wtt("methanol_bio", "carbon_dioxide", Variable("fuel_eu_default_wtt_methanol_bio"))
 55  	set_fuel_ttw("methanol_bio", "carbon_dioxide", Variable("fuel_eu_default_methanol_ice_carbon_dioxide"))
 56  	set_fuel_ttw("methanol_bio", "methane", Variable("eu_default_diesel_ice_methane"))
 57  	set_fuel_ttw("methanol_bio", "nitrous_oxide", Variable("eu_default_diesel_ice_nitrous_oxide"))
 58  
 59  	# ---- e-methanol: WTT calculated, not set ----
 60  	set_fuel_ttw("methanol_electro", "carbon_dioxide", Variable("fuel_eu_default_methanol_ice_carbon_dioxide"))
 61  	set_fuel_ttw("methanol_electro", "methane", Variable("eu_default_diesel_ice_methane"))
 62  	set_fuel_ttw("methanol_electro", "nitrous_oxide", Variable("eu_default_diesel_ice_nitrous_oxide"))
 63  
 64  	# ---- e-ammonia: WTT calculated; no carbon in the molecule ----
 65  	set_fuel_ttw("ammonia_electro", "carbon_dioxide", 0)
 66  	set_fuel_ttw("ammonia_electro", "methane", Variable("eu_default_diesel_ice_methane"))
 67  	set_fuel_ttw("ammonia_electro", "nitrous_oxide", Variable("eu_default_diesel_ice_nitrous_oxide"))
 68  }
navigate-zcs/assumptions/defaults/Forecast/eu_ets_carbon_credit_price.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  # Description: Price of carbon credits under the EU ETS regulation.
  5  # Unit: USD / ton
  6  
  7  Forecast "eu_ets_carbon_credit_price" {
  8  	Table = [
  9  		"01-01-2024",	100;
 10  		"01-01-2025",	119;
 11  		"01-01-2030",	155;
 12  		"01-01-2035",	198;
 13  		"01-01-2040",	252;
 14  		"01-01-2045",	325;
 15  		"01-01-2050",	417;
 16  	]
 17  	
 18  	Extrapolate = LINEAR
 19  }
navigate-zcs/assumptions/defaults/Forecast/eu_ets_maritime_phase_in.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  # Description: The percentage of emissions the maritime industry will be required to pay for under the EU ETS regulation.
  5  # Unit: Fraction
  6  
  7  Forecast "eu_ets_maritime_phase_in" {
  8  	Table = [
  9  		"01-01-2024",	0.4;
 10  		"01-01-2025",	0.7;
 11  		"01-01-2026",	1;
 12  		"01-01-2050",	1;
 13  	]
 14  	
 15  	Extrapolate = FLAT
 16  }
Also, laid out the same way: fuel_eu_remedial_cost, fuel_eu_target_reduction
navigate-zcs/assumptions/defaults/Variable/eu_default_diesel_carbon_dioxide.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  # Description: Default carbon dioxide emissions emitted per ton of diesel consumed in a diesel-injection internal combustion engine under the EU ETS and FuelEU Maritime regulation.
  5  # Unit: ton methane / ton fuel
  6  
  7  Variable "eu_default_diesel_carbon_dioxide" {
  8      Value = 3.114
  9  }
navigate-zcs/assumptions/defaults/Variable/eu_default_diesel_ice_methane.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  # Description: Default methane emissions emitted per ton of fuel consumed in a diesel-injection internal combustion engine under the EU ETS and FuelEU Maritime regulation.
  5  # Unit: ton methane / ton fuel
  6  
  7  Variable "eu_default_diesel_ice_methane" {
  8      Value = 0.00005
  9  }
Also, laid out the same way: eu_ets_ghg_phase_in, eu_default_diesel_ice_nitrous_oxide, eu_default_methane_carbon_dioxide, eu_default_methane_slip, eu_default_methane_ice_nitrous_oxide, fuel_eu_default_wtt_fossil_fuel_oil, fuel_eu_default_wtt_liquefied_natural_gas, fuel_eu_default_wtt_methanol_bio, fuel_eu_default_methanol_ice_carbon_dioxide

4. Data about behavioural traits#

The most important data about how the owners and the producers decide are:

  • the decision sensitivities: how sharply the owners respond to a cost difference, and the producers to a difference in expected demand or cost

  • the two inertias: the owners and the operators (when bunkering) each repeat part of the previous year’s choices, as much as the inertia says

Besides these, the decisions are bounded by limits: how often a ship can be retrofitted (RetrofitInterval), how far the operators may change speed (MaximumSpeedChange) and how fast the producers can build (MaximumDevelopment).

Each sensitivity says how strongly the owners favour the cheaper option. The fleet stands for many owners who face the same costs but do not all decide alike, so a choice comes out as shares spread across them. A value close to 1 means they hardly care about cost and their choices stay evenly spread. A value far from 1 means nearly all of them pick the cheapest.

The formulas: fuel type sensitivity (newbuild and retrofit)

For the choice of fuel type for a newbuild ship, with \(c_i\) the levelised cost per cargo-mile of a new ship of fuel type \(i\), \(s_i\) its share of the newbuilds and \(S\) the value of FuelSensitivity:

\[\frac{s_i}{s_j} = \left(\frac{c_i}{c_j}\right)^{-\beta}, \qquad \beta = -\frac{\ln S}{\ln 1.1}\]

Retrofits work the same way, but on NPV rather than cost. When a ship reaches a retrofit cycle, each possible conversion is weighed against keeping the ship as it is. With \(\mathrm{NPV}_i\) the net present value of conversion \(i\) (the fuel and compliance savings over the ship’s remaining life, minus the conversion cost), CAPEX the capital cost of a new ship of its type and \(S\) the value of ConversionSensitivity:

\[\frac{s_i}{s_\mathrm{keep}} = e^{\beta \, \mathrm{NPV}_i / \mathrm{CAPEX}}, \qquad \beta = \frac{\ln S}{0.05}\]

The producers choose their plants the same way, in two steps: the year’s build is first shared between fuels by expected demand (the Producer’s FuelSensitivity), then each fuel’s share is split between the plants that make it, by delivered cost (VariantSensitivity).

The formulas: fuel demand sensitivity and fuel cost sensitivity

First, the year’s build is shared between fuels by demand. With \(D_i\) the expected unmet demand for fuel \(i\) over a plant’s lifetime, discounted so the first years count most, \(s_i\) its share of the build and \(S\) the value of the Producer’s FuelSensitivity:

\[\frac{s_i}{s_j} = \left(\frac{D_i}{D_j}\right)^{\beta}, \qquad \beta = \frac{\ln S}{\ln 1.1}\]

With the default calibration’s 1.25, a fuel with 10 % more expected demand gets 1.25 times the odds. Then each fuel’s share is split between the plants that make it, by cost. With \(c_p\) the levelised cost of the fuel that plant \(p\) delivers to the ports, \(s_p\) its share and \(S\) the value of VariantSensitivity:

\[\frac{s_p}{s_q} = \left(\frac{c_p}{c_q}\right)^{-\beta}, \qquad \beta = -\frac{\ln S}{\ln 1.1}\]

In both cases, the sensitivities and the inertias come from Load DefaultCalibration. It sets both inertias to 0: each year’s choices start afresh. Run the next cell to draw the owners’ two formulas for a choice between two options: the bold line is the value it sets, the dashed lines less and more decisive owners. Folded under the figure is the file itself: its comments say what each value means.

Hide code cell source

# @title Behavioural traits
import numpy as np
import plotly.graph_objects as go

# the sensitivities DefaultCalibration sets, by the node type of the block that sets them
calibration = Path(f"{MODULES}/default_calibration.inc").read_text(encoding="utf-8")
sensitivities = {f"{kind}: {name}": float(value)
                 for kind, block in re.findall(r'(\w+) "\*" \{(.*?)\}', calibration, re.DOTALL)
                 for name, value in re.findall(r"(\w+Sensitivity) = ([\d.]+)", block)}

# the share one of two options gets: a fuel type by how much more it costs than the other, whose odds the
# sensitivity multiplies for every 10% more; a conversion by its NPV, whose odds it multiplies for every 5% of
# the ship's CAPEX
def by_cost(gap, sensitivity):
    return 1 / (1 + (1 + gap) ** (-np.log(sensitivity) / np.log(1.1)))

def by_npv(npv, sensitivity):
    return 1 / (1 + np.exp(-np.log(sensitivity) / 0.05 * npv))

# the owners' two choices: the value DefaultCalibration sets in bold, less and more decisive owners dashed, and
# the share at one point
figures = []
for share, name, others, x, point, title, axis, note in (
        (by_cost, "Fleet: FuelSensitivity", (0.9, 0.5), np.linspace(-0.3, 0.3, 121), 0.10,
         "Choosing a fuel type: FuelSensitivity", "how much more this fuel type costs than the other",
         "10 % dearer: {:.0%} of the newbuilds"),
        (by_npv, "Fleet: ConversionSensitivity", (1.5, 4), np.linspace(-0.15, 0.15, 121), 0.05,
         "Retrofitting a ship: ConversionSensitivity", "NPV of the conversion, as a share of the ship's CAPEX",
         "NPV worth 5 % of CAPEX: {:.0%} convert")):
    value = sensitivities[name]
    figure = go.Figure()
    for other, kind in zip(others, ("less decisive", "more decisive")):
        figure.add_scatter(x=x, y=share(x, other), mode="lines", name=f"{other:g} ({kind})",
                           line={"color": THEME["swatches"]["black_4"], "width": 1.5, "dash": "dash"})
    figure.add_scatter(x=x, y=share(x, value), mode="lines", name=f"{value:g} (DefaultCalibration)",
                       line={"color": THEME["swatches"]["blue_7"], "width": 3})
    figure.add_scatter(x=[point], y=[share(point, value)], mode="markers", showlegend=False,
                       marker={"color": THEME["swatches"]["blue_7"], "size": 9})
    figure.add_annotation(x=point, y=share(point, value), text=note.format(share(point, value)),
                          ax=30, ay=-50 if share(point, value) < 0.5 else 50, bgcolor="rgba(255, 255, 255, 0.85)")
    figure.update_layout(title=title, legend_y=-0.3)
    figure.update_xaxes(title_text=axis, tickformat="+.0%")
    figure.update_yaxes(title_text="share", tickformat=".0%", range=[0, 1])
    figures.append(draw(figure, name.split(": ")[1].lower()))
show(*figures, height=420)

# the file itself, folded
show_files({"default_calibration.inc": [f"{MODULES}/default_calibration.inc"]}, folded="The file behind the behavioural traits")
The file behind the behavioural traits
navigate-zcs/assumptions/modules/default_calibration.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  Port "*" {
  5  	set_bunkering_inertia("*", 0.0)
  6  }
  7  
  8  # Fleet decision-process calibration.
  9  #
 10  # Each sensitivity is an odds ratio against a fixed reference change. For the cost-based choices
 11  # (lower-is-better levelized cost of transport) a value below 1 penalizes a 10% higher cost. For the
 12  # fuel conversion (higher-is-better NPV) a value above 1 rewards an NPV advantage equal to 5% of the
 13  # summed ship Capex. For the choice to install a technology (higher-is-better saving relative to its
 14  # cost) a value above 1 rewards a saving 10% higher relative to the cost; half the vessels install a
 15  # technology that saves what it costs. A value of 1 means no preference.
 16  Fleet "*" {
 17  	Inertia = 0.0
 18  	FuelSensitivity = 0.75         # a 10% higher cost gives 25% lower odds of a fuel type
 19  	VariantSensitivity = 0.75         # a 10% higher cost gives 25% lower odds of a technology variant
 20  	ConversionSensitivity = 2       # an NPV advantage of 5% of ship Capex doubles the odds
 21  	TechnologySensitivity = 2           # a saving 10% higher relative to the cost doubles the odds of installing
 22  }
 23  
 24  # Producer decision-process calibration.
 25  #
 26  # FuelSensitivity is higher-is-better (odds for a 10% higher expected demand); VariantSensitivity
 27  # is lower-is-better (odds for a 10% higher levelized cost of fuel). A value of 1 means no preference.
 28  Producer "*" {
 29  	FuelSensitivity = 1.25        # a 10% higher expected demand gives 1.25x the odds of a pathway
 30  	VariantSensitivity = 0.75          # a 10% higher LCoF gives 25% lower odds of a plant
 31  }

Workshop sessions#

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

  3. How a Navigate model is built (this session)

  4. How Navigate solves

  5. Build your own case