.. _Traffic-Growth:

Traffic Growth
==============

This module takes the air traffic dataset from the year 2019 and applies a traffic growth forecast to calculate the number of flights on each route for each year in the future.
Two traffic growth models are available: (1) a custom traffic growth curve or (2) the Boeing Traffic growth forecast scenario, which applies a different growth rate for each region pair as defined in the Boeing Commercial Market Outlook (:term:`CMO`) for passenger traffic and World Air Cargo Forecast (:term:`WACF`) for freighter traffic.
The flight count forecasted according to the traffic growth model on each route then determines values for virtually all other metrics, such as fuel burn, energy consumption, and emissions, throughout the timespan of the simulation.

.. list-table:: - Output Variables
  :header-rows: 1

  * - Variable Name
    - Description
    - Units
  * - :math:`n(rt,t)`
    - The forecasted number of flights on a route by year :math:`t`
    - -
  * - :math:`ttk(rt,t)`
    - The forecasted tonnage carried on a route by year :math:`t`
    - tonne-km
  * - :math:`fb(rt,t)`
    - The forecasted fuel-burn on a route by year :math:`t`
    - kg
  * - :math:`e(rt,t)`
    - The forecasted energy consumption on a route by year :math:`t`
    - MJ
  * - :math:`g(rt,t)`
    - The forecasted life cycle |co2|-equivalent emissions on a route by year :math:`t`
    - |kgco2eq|


.. list-table:: - Input Variables
  :header-rows: 1

  * - Variable Name
    - Description
    - Units
  * - :math:`n_\mathrm{2019}(rt)`
    - The number of flights on a route in the year 2019
    - -
  * - :math:`\gamma`
    - The compound annual growth rate (:term:`CAGR`) of all flight traffic. Used when the custom traffic growth forecast is selected.
    - -
  * - :math:`t_i`, :math:`\gamma_i`
    - The terminal year and compound annual growth rate (:term:`CAGR`) of each segment of a piecewise exponential growth curve applied to all flight traffic. Optionally supplied as an alternative to :math:`\gamma` when custom traffic growth forecast is selected.
    - -
  * - :math:`t_\mathrm{start}`
    - The model start year (2019)
    - -
  * - :math:`t_\mathrm{end}`
    - The model end year
    - -
  * - :math:`ttk_\mathrm{2019}(rt)`
    - The estimated tonnage carried on a route b in the year 2019
    - tonne-km
  * - :math:`fb_\mathrm{2019}(rt)`
    - The estimated fuel-burn on a route in the year 2019
    - kg
  * - :math:`e_\mathrm{2019}(rt)`
    - The estimated energy consumption on a route in the year 2019
    - MJ
  * - :math:`g_\mathrm{2019}(rt)`
    - The estimated life cycle CO2-eq emissions on a route in the year 2019
    - |kgco2eq|



Custom Traffic Growth
~~~~~~~~~~~~~~~~~~~~~

Simple exponential growth
-------------------------

The custom traffic growth model defaults to a curve based on a simple exponential that takes in a compound annual growth rate (:term:`CAGR`), :math:`\gamma`, which uniformly defines the fractional increase in traffic from one year to the next across all routes.
Defining

.. math::
    :label:

    y(rt,t) = \frac{n(rt,t)}{n_{t_\mathrm{start}}(rt)}

to be the traffic growth factor on route :math:`rt` relative to the start year :math:`t_\mathrm{start}`, the following ideal form is thus prescribed:

.. math::
    :label:

    y(rt, t) = (1 + \gamma)^{t-t_\mathrm{start}}, \qquad t_\mathrm{start} \leq t \leq t_\mathrm{end}.

However, this curve is adjusted using actual traffic growth values for the years 2019-2023, which exhibit a prominent dip in growth due to the COVID-19 pandemic.
These values, which are computed such that the baseline net emissions in these years match the corresponding values produced by the Boeing traffic forecast, are given in :numref:`historic-growth-factors` below.

.. list-table:: - Traffic growth factors used for 2019-2023
  :header-rows: 1
  :name: historic-growth-factors

  * - Year
    - Growth Factor
  * - 2019
    - 1
  * - 2020
    - 0.3940771
  * - 2021
    - 0.46310596
  * - 2022
    - 0.71675534
  * - 2023
    - 0.9423749

To incorporate these actual values into our traffic growth curve, the full traffic forecast curve is divided into three domains:

* For the years 2019-2023, the values in :numref:`historic-growth-factors` are used
* Long term, the growth curve converges to a simple exponential with CAGR :math:`\gamma` that is equal to one in the year 2019
* Between these two domains, there is a smooth linking curve that ensures there are no discontinuities in either the traffic growth or growth rate

We use a Cubic Hermite spline for this linking curve, which is a polynomial curve set by the position
and slope at its endpoints. The general functional form of this type of curve within the interval
:math:`t\in\{t_0,t_1\}` is

.. math::
    :label:

    y(rt,t) = h_{00}(\tau)y_0+h_{10}(\tau)(t_1-t_0)m_0+h_{01}(\tau)y_1+h_{11}(\tau)(t_1-t_0)m_1, \qquad t_{0} < t < t_{1},

where :math:`t_0, t_1` are the years at the endpoints of the interval, :math:`y_0, y_1` are the growth factor values at the endpoints of the interval,
:math:`m_0, m_1` are the slopes of the growth curve at the endpoints of the interval,
:math:`\tau = \frac{t-t_0}{t_1-t_0}`,
and :math:`h_{00}, h_{10}, h_{01}, h_{11}` are Hermite basis functions defined by

.. math::
    :label:

    h_{00}(t) = 2t^3 - 3t^2 + 1,

.. math::
    :label:

    h_{10}(t) = t^3 - 2t^2 + t,

.. math::
    :label:

    h_{01}(t) = -2t^3 + 3t^2,

.. math::
    :label:

    h_{11}(t) = t^3 - t^2.

For the left end of the interval, the values are set by the actual growth factor data for 2023.
To estimate the slope at this point, we fit an exponential regression to the actual growth factor data.
A factor of a half is applied to the slope of the exponential regression to get the slope at the left
end of our transition curve; this smooths out the transition from the pandemic era to the long-term
growth phase and accounts for greater difficulty in sustaining traffic growth by acquiring new aircraft
compared to reactivating parked assets.

The width of the linking curve domain can be set freely; we set it such that the transition from actual
to ideal values is as smooth as possible with no overshoot. This is achieved by scaling the width of
the linking curve domain with the difference between the actual and ideal growth factor in 2023 using a scaling parameter :math:`\alpha`:

.. math::
    :label:

    t_1 = t_0 + \alpha ((1 + \gamma)^{t_0-t_\mathrm{start}} - y(rt,t=2023)).

Once :math:`t_1` is known, the values of :math:`y_1` and :math:`m_1` can be calculated from the
formula for the ideal exponential curve:

.. math::
    :label:

    y_1 = (1+\gamma)^{t_1},

.. math::
    :label:

    m_1 = \log(1+\gamma)(1+\gamma){t_1}.

With the ideal long-term growth and linking polynomial fully defined, the traffic for any year
on a route :math:`n(rt,t)` can be calculated from the growth factor by

.. math::
    :label:

    n(rt,t) = n_\mathrm{2019}(rt) \cdot y(rt,t).


Piecewise exponential growth
----------------------------

The user can also specify a custom traffic growth forecast in terms of a piecewise exponential curve.
As in the case of simple exponential growth, the traffic growth factors in years 2019-2023 are fixed to the values in :numref:`historic-growth-factors`.
For years after 2023, a piecewise exponential with up to nine segments can be defined in terms of the CAGR within each segment and its terminal year.
By default, this domain of the traffic forecast consists of a single segment with a CAGR of 3.5% that extends from 2024 to the end year of the simulation:

.. math::
    :label:

    y(rt,t) = y(rt, t=2023) \cdot (1.035)^{t-2023}, \qquad 2024 \leq t \leq t_\mathrm{end}.

If, for example, two segments were specified with CAGRs :math:`\gamma_1`, :math:`\gamma_2`, and terminal years :math:`t_1` and :math:`t_2`, the piecewise exponential portion of the curve would take the form

.. math::
    :label:

    y(rt,t) = \begin{cases}
        y(rt, t=2023) \cdot (1 + \gamma_1)^{t-2023}, \qquad 2024 \leq t \leq t_1,\\
        y(rt, t=t_1) \cdot (1 + \gamma_2)^{t-t_1}, \qquad t_1 < t \leq t_2.
    \end{cases}

Note that the final segment must always have a terminal year equal to the end year of the simulation, :math:`t_\mathrm{end}`.
Finally, note that unlike in the previous section, where custom traffic growth is defined based on a single scalar CAGR, no smoothing with a spline is performed, and so having a piecewise exponential consisting of different CAGRs will result in a traffic growth curve with discontinuous derivatives.

Boeing Traffic Growth Forecast
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alternatively, the user can select the Boeing Traffic Growth forecast, which sets the value of the CAGR on a route by geographic region pair.
This means that the CAGR does not have the same value for all routes; rather, it depends on the regions in which a route's origin and destination airports are located.
Once the CAGR on a particular route has been assigned, the same function is used to calculate the flight traffic in a future year :math:`t > t_\mathrm{start}`, with the addition of the growth rate being a function of region, :math:`\gamma(reg)`:

.. math::
    :label:

    n(rt,t) = n_\mathrm{2019}(rt)(1+\gamma(reg))^{t-t_\mathrm{start}}, \qquad t_\mathrm{start} < t < t_\mathrm{end}.

This calculation is done separately for passenger aircraft and cargo aircraft, which use values from the Boeing Commercial Market Outlook and World Air Cargo Forecast, respectively.

Projecting Other Metrics
~~~~~~~~~~~~~~~~~~~~~~~~

It is assumed that other metrics such as tonnage carried, fuel burn,
energy consumption, and emissions scale proportionally with flight traffic.
Hence, the value of these metrics on a route in a future year :math:`t > t_\mathrm{start}` can be
calculated by multiplying the value in the model start year (i.e. 2019) with the
growth in flight traffic from :math:`t_\mathrm{start}` to :math:`t`:

.. math::
    :label:

    ttk(rt,t) = ttk_\mathrm{2019}(rt) \cdot \frac{n(rt,t)}{n_\mathrm{2019}(rt)},

.. math::
    :label:

    fb(rt,t) = fb_\mathrm{2019}(rt) \cdot \frac{n(rt,t)}{n_\mathrm{2019}(rt)},

.. math::
    :label:

    e(rt,t) = e_\mathrm{2019}(rt) \cdot \frac{n(rt,t)}{n_\mathrm{2019}(rt)},

.. math::
    :label:

    g(rt,t) = g_\mathrm{2019}(rt) \cdot \frac{n(rt,t)}{n_\mathrm{2019}(rt)}.

Data Sources
~~~~~~~~~~~~

Flight traffic :term:`CAGRs<CAGR>` in the Boeing Traffic Forecast are from the 2025 Boeing Commercial Market Outlook (:term:`CMO`) :cite:p:`CMO`
and the 2022 World Air Cargo Forecast (:term:`WACF`) :cite:p:`WAC`. These forecasts provide predictions of the total passenger
and freighter air traffic by region pair by year in the ranges 2025-2044 and 2022-2041 respectively.
The geographic regions included this analysis are listed in :numref:`cmo-regions`.

These reports include estimates for traffic at 10-year increments (2034 and 2044
in the CMO, and 2031 and 2041 in the WACF) for specific region pairs. Growth
factors between these intervals are interpolated using an exponential function
(:math:`Y\sim Ae^{bx}`), such that all years within each decade have the same annual growth
rate. To extrapolate traffic growth factors beyond the final published year to
the end year of the simulation, a 2.5% annual growth rate is assumed for all region pairs.

Data was only provided for region pairs with significant flight traffic in the year the forecast was created.
For remaining region pairs, traffic forecast data was aggregated into a single value for the region *Rest of World*.
The :term:`CAGR` used for routes with these region pairs was calculated from the Rest of World traffic forecast.

The table below indicates which region pairs have their own :term:`CAGR` calculated from published data (marked with an X)
and which use the Rest of World value:

.. _cmo-regions:

.. figure:: ../../_static/images/trafficGrowth/CMORegionsTableLight.png

    \- Regions included in the Commercial Market Outlook and World Cargo Forecast