Fleet#

A Fleet node defines a segment of vessels and is used to control the decisions made by actors of that segment. Examples of fleets are handymax bulk carriers and LR1 tankers.

Example:

Fleet "tug" {
    Vessels = [Vessel("tug_ice_oil"),
               Vessel("tug_ice_ammonia"),
               Vessel("tug_ice_methane"),
               Vessel("tug_ice_methanol")]

    InitialVessels = 8464

    InitialSplit = [0.998,
                    0.000,
                    0.002,
                    0.000]

    Orderbooks = [Forecast("tug_orderbook_oil"),
                  Forecast("tug_orderbook_ammonia"),
                  Forecast("tug_orderbook_methane"),
                  Forecast("tug_orderbook_methanol")]

    TradeGrowth = Forecast("tug_trade_growth")
}

Attributes#

Vessels#

This attribute sets the list of vessel types that exist for the fleet. Vessel types can be viewed as a discretization of the fuel types and technologies of the fleet.

Every Vessel node assigned must be unique. A Vessel node belongs to one fleet: a deck in which two fleets list the same Vessel node is rejected when it is read.

  • Data type: List of Vessel nodes

  • Example values:

    • [Vessel("name1"), Vessel("name2")]

    • [Vessel("*")]

  • Default: None. Must be provided by the user.

Inertia#

This attribute defines the inertia used in the uptake decision of newbuild vessels. The inertia is defined as the fraction of newbuilds that must follow the same vessel type distribution as the previous time-step.

  • Data type: Float, Forecast, Variable

  • Example values:

    • 0.66

    • Forecast("name")

  • Unit: Fraction/year

  • Minimum value: 0

  • Maximum value: 1

  • Default: 0

Memory#

This attribute sets the exponential decay of the memory of the fleet used in the expected uptake decision of newbuild vessels: the expected uptake averages the past uptake over the years, each year’s weight multiplied by the memory for every year since. A high memory means that the expected uptake of newbuild vessels is more stable.

  • Data type: Float, Forecast, Variable

  • Example values:

    • 0.66

    • Forecast("name")

  • Unit: Fraction/year

  • Minimum value: 0

  • Maximum value: 1

  • Default: 0.5

FixedScrapRate#

This attribute sets the fixed scrap rate of the fleet in fraction/year. If the fixed scrap rate is set it overwrites the age-based scrapping functionality resulting in vessels potentially being scrapped prior to their technical lifetime.

The rate compounds over a time step of any length: each year scraps its fraction of what the years before left, so a rate of 0.1 scraps 41% of the fleet over a 5-year step.

A rate too low to keep the vessels within their Lifetime stops the run with an error naming the fleet and the vessel type.

  • Data type: Float, Forecast, Variable

  • Example values:

    • 0.1

    • Forecast("name")

  • Unit: Fraction/year

  • Minimum value: 0

  • Maximum value: 1

  • Default: Not set. Vessels are scrapped by age at the end of their lifetime.

AllowSecondaryScrapping#

This attribute sets whether secondary scrapping is permitted. Secondary scrapping occurs if a drop in trade is not offset by the amount of scrapped vessels. If secondary scrapping is not allowed the actual capacity of the fleet may be higher than the projected trade.

  • Data type: Boolean

  • Default: TRUE

FuelSensitivity#

Set how strongly newbuild fuel-type choice responds to the levelized cost of transport (LCOT).

The value is an odds ratio against a 10% increase: a fuel whose LCOT is 10% higher receives this many times the odds of an otherwise identical fuel. For example 0.5 means a 10%-higher LCOT halves the odds, and 1 means no preference. LCOT is lower-is-better, so use a value below 1.

  • Data type: Float, Forecast, Variable

  • Example values:

    • 0.5

    • Forecast("name")

  • Minimum value: >0

  • Default: None. Must be provided by the user.

VariantSensitivity#

Set how strongly newbuild technology-variant choice within a single fuel type responds to the levelized cost of transport (LCOT).

The value is an odds ratio against a 10% increase: a variant whose LCOT is 10% higher receives this many times the odds of an otherwise identical variant. For example 0.5 means a 10%-higher LCOT halves the odds, and 1 means no preference. Use a value below 1.

  • Data type: Float, Forecast, Variable

  • Example values:

    • 0.5

    • Forecast("name")

  • Minimum value: >0

  • Default: None. Must be provided by the user.

TechnologySensitivity#

Set how strongly the choice to install an energy-saving technology responds to what the technology saves relative to what it costs.

Each of the fleet’s Technologies is a choice of its own, to install it or not. Its saving is the cost of the fuel it is expected to save over the years it would serve, with the fuel’s levy and regulation costs and what its ShorePowerCapacity saves in port. Its cost is its CAPEX, OPEX and replacements over the same years. Both are present values at the TechnologyCostOfCapital. Where the saving equals the cost, half the vessels install the technology. A technology that saves nothing is not installed.

The value is an odds ratio against a 10% increase: a technology whose saving is 10% higher relative to its cost receives this many times the odds of being installed. For example 2 means a 10%-higher saving doubles the odds, and 1 means half the vessels install every technology that saves anything, whatever it costs. A higher saving is better, so use a value above 1.

  • Data type: Float, Forecast, Variable

  • Example values:

    • 2

    • Forecast("name")

  • Minimum value: >0

  • Default: None. Must be provided by the user when Technologies are assigned.

TechnologyCostOfCapital#

This attribute sets the cost of capital used for evaluating technology investments. It is the discount rate at which what a technology saves and what it costs are valued, on newbuilds and in retrofits, and reflects the opportunity cost of capital and the risk associated with technology adoption.

A technology’s cost falls mostly at installation and its saving over the years it serves, so a higher value lowers the saving against the cost and with it the uptake. Half the vessels install a technology whose saving equals its cost at this rate (TechnologySensitivity); set a rate above the vessels’ cost of capital to ask more of a technology than breaking even.

  • Data type: Float, Forecast, Variable

  • Example values:

    • 0.08

    • Forecast("name")

  • Unit: Fraction

  • Minimum value: 0

  • Default: Not set. Each vessel’s own CostOfCapital is used for its technology adoption decisions, which typically leads to a higher uptake of technologies.

TradeGrowth#

This attribute sets the trade-growth rate of the fleet, expressed in fraction/year.

The rate read at each whole year from the start date holds for the year after it, so the trade at a date does not depend on the other dates of the deck.

  • Data type: Float, Forecast, Variable

  • Example values:

    • 0.05

    • Forecast("name")

  • Unit: Fraction/year

  • Default: 0

InitialVessels#

This attribute sets the initial number of vessels in the fleet.

  • Data type: Float, Variable

  • Example value: 150

  • Unit: Number of vessels

  • Minimum value: >0

  • Default: None. Must be provided by the user.

InitialSplit#

This attribute sets the initial distribution of vessel types in the fleet.

The list must have the same length as the list of vessels.

Entries must be finite, non-negative numbers. The list should sum to 1; any other positive total is rescaled proportionally, and a deviation of more than 1% is logged at WARNING. A list whose total is 0 (an all-zero or empty list), an INF entry, or a total too large to represent is an error; omit InitialSplit for a uniform split over the vessels.

  • Data type: List of Float

  • Example value: [0.3, 0.7]

  • Unit: Fraction

  • Minimum value: 0

  • Maximum value: 1

  • Default: Not set. The split is uniform over the vessels.

InitialAgeDistribution#

This attribute sets the initial age distribution of each vessel type in the fleet.

The list must have a length corresponding to the number of vessel types. Each entry is either a Curve reference (where the Curve’s x-values are ages in increasing order and y-values are the corresponding fractions) or 0 for vessel types with no custom distribution. The Curve’s values must be finite, and its ages and fractions must not be negative.

A number in place of a Curve gives a uniform age spread over the vessel type’s lifetime, shortened to 1/FixedScrapRate when that is lower. 0 is the conventional entry, but any other non-negative number behaves the same.

  • Data type: List of Float, Curve

  • Example value: [Curve("age_dist_1"), 0, Curve("age_dist_3")]

  • Minimum value: 0

  • Default: Not set. Every vessel type gets a uniform age spread over its lifetime.

RetrofitInterval#

This attribute sets the interval, in years of vessel age, between a vessel’s retrofit windows: a vessel can retrofit technology or perform a fuel conversion only in the time-step its age reaches a multiple of the interval. For example 5 opens a window at ages 5, 10, 15 and so on.

A window does not by itself lead to a technology retrofit: the vessels at a window retrofit a technology only as far as it pays back for more of them than carry it (Technologies).

  • Data type: Float, Forecast, Variable

  • Example values:

    • 5

    • Forecast("name")

  • Unit: Years

  • Minimum value: >0

  • Default: 5

Orderbooks#

This attribute sets the list of orderbooks used for determining the newbuild uptake from orderbooks. Each orderbook is the cumulative number of vessels of that vessel type ordered up to each date, not the number of new vessels per year. The vessels delivered in a time-step are the increase over the orders already delivered or postponed.

The list must have the same length as the list of vessels.

If the orderbook is a forecast, it must be non-strictly increasing (meaning that it cannot decrease as time progresses in the forecast).

  • Data type: List of Float, Forecast, Variable

  • Example value: [Forecast("name"), 0]

  • Unit: Number of vessels

  • Minimum value: 0

  • Default: Not set. No vessels are delivered from orderbooks.

AllowSpeedManagement#

This attribute sets the flag for whether speed management is allowed.

Speed management dynamically optimizes the speed profile of each vessel type based on a cost optimal approach between adding newbuilds to the model, at their charter and the fleet’s average technology cost per vessel, versus the change in fuel expenses.

  • Data type: Boolean

  • Default: FALSE

MaximumSpeedChange#

This attribute sets the maximum speed change permissible per year during dynamic speed management. INF means no limit. It is only used when AllowSpeedManagement is TRUE.

  • Data type: Float, Forecast, Variable

  • Example values:

    • 0.5

    • Forecast("name")

  • Unit: Knots/year

  • Minimum value: 0

  • Default: INF

SpeedAlignment#

This attribute sets the method used to align speed across vessel types within the fleet. Speed alignment determines how the individually optimized speeds are reconciled across vessel types.

RouteSpeedOptimal#

This attribute sets the flag for whether the speeds of each vessel’s route, set with set_speed, are assumed to be the current market optimum. When enabled, the route’s speeds are treated as the market optimum (accounting for effects not modelled) and speed changes only occur relative to shifts in the modelled optimal speed. It is only used when AllowSpeedManagement is TRUE.

  • Data type: Boolean

  • Default: FALSE

ConversionSensitivity#

Set how strongly the fuel-conversion choice responds to its net present value (NPV).

The value is an odds ratio against an advantage equal to 5% of the summed ship CAPEX: a conversion whose NPV advantage equals 5% of the ship CAPEX receives this many times the odds of an otherwise identical conversion (the do-nothing option has an NPV of zero). For example 2 means such an advantage doubles the odds, and 1 means no preference. NPV is higher-is-better, so use a value above 1.

  • Data type: Float, Forecast, Variable

  • Example values:

    • 2

    • Forecast("name")

  • Minimum value: >0

  • Default: 2

MinimumConversionAge#

This attribute sets the minimum age, in years, at which a vessel can perform a fuel conversion.

  • Data type: Float, Forecast, Variable

  • Example values:

    • 5

    • Forecast("name")

  • Unit: Years

  • Minimum value: 0

  • Default: 0

Technologies#

This attribute sets the list of technologies which can be installed on vessels in the fleet either directly on newbuilds or via retrofit to existing vessels.

Every Technology node assigned must be unique.

Each technology is installed on its own, whatever the others and the order of the list. The share of the vessels it pays back for follows from what it saves and what it costs over the years it would serve (TechnologySensitivity):

  • Newbuilds carry the share the technology pays back for over the vessel’s lifetime.

  • Vessels at a retrofit window (RetrofitInterval) retrofit the gap between the share it pays back for over their remaining lifetime and the share of them already carrying it. Where as many carry it already, none retrofit, as with vessels built at prices that have not changed since.

A technology’s saving is counted on top of what the vessels of its type already carry on average: it saves less where other technologies acting on the same energy demand are widely installed.

  • Data type: List of Technology nodes

  • Example value: [Technology("name1"), Technology("name2")]

  • Default: Not set. No technologies can be installed on the fleet’s vessels.

AllowTechnologyApproximation#

This attribute sets the flag for whether the fleet should approximate technology uptake based on the average impact of technology uptake on other fleets which model it bottom-up. If there is no fleet which models the technology bottom-up, then the technology uptake is set to zero.

  • Data type: Boolean

  • Default: TRUE

Commands#

set_initial_technology_share#

This command sets the initial technology uptake as a function of vessel age. The Curve’s x-axis is vessel age and its y-axis is the uptake fraction in [0, 1]. Wildcards are supported in both keys.

The initial vessels of each age carry the technology at the Curve’s share, whatever the shares of the fleet’s other technologies: the share of the vessels carrying two technologies is the product of the two shares.

This command is only allowed in the DEFINE section.

  • Primary key type: String (Vessel name; supports wildcards)

  • Secondary key type: String (Technology name; supports wildcards)

  • Data type: Curve

  • Example values:

    • "vessel_name", "technology_name", Curve("uptake_curve")

    • "*oil*", "hull_painting*", Curve("uptake_hull_painting")

  • Unit: x: Years, y: Fraction

  • Minimum value: 0

  • Maximum value: 1

  • Default: Not set. The vessel type starts with no uptake of the technology.

set_conversion_cost#

This command sets the cost of performing a fuel conversion from one vessel type to another, in currency. A pair of vessel types without a cost cannot be converted.

  • Primary key type: String (Vessel name being converted from; supports wildcards)

  • Secondary key type: String (Vessel name being converted to; supports wildcards)

  • Data type: Float, Forecast, Variable

  • Example values:

    • "vessel_name_from", "vessel_name_to", 10e6

    • "vessel_name_from", "vessel_name_to", Forecast("name")

  • Unit: currency

  • Minimum value: 0

  • Default: Not set. The pair cannot be converted.

set_allow_vessel#

This command sets a boolean flag indicating whether a specific vessel from the list is allowed in the fleet.

If this command is set to FALSE, the vessel can neither enter the fleet as a newbuild nor enter the fleet through a fuel conversion.

Any existing vessels in the fleet however are unaffected.

This flag supersedes both set_allow_newbuild and set_allow_conversion.

  • Primary key type: String (Vessel name; supports wildcards)

  • Data type: Boolean

  • Example values:

    • "vessel_name", TRUE

    • "vessel_name", FALSE

  • Default: TRUE

set_allow_newbuild#

This command sets a boolean flag indicating whether a specific vessel from the list is allowed as a newbuild in the fleet.

If this command is set to FALSE the vessel cannot enter the fleet as a newbuild, and the fleet no longer expects it to. A fleet with no vessel type available as a newbuild builds none, so trade beyond the capacity of its vessels goes uncarried.

  • Primary key type: String (Vessel name; supports wildcards)

  • Data type: Boolean

  • Example values:

    • "vessel_name", TRUE

    • "vessel_name", FALSE

  • Default: TRUE

set_allow_conversion#

This command sets a boolean flag indicating whether a specific vessel type is allowed as the target of a fuel conversion in the fleet.

If this command is set to FALSE it is not possible to perform fuel conversions to vessels of that type.

  • Primary key type: String (Vessel name; supports wildcards)

  • Data type: Boolean

  • Example values:

    • "vessel_name", TRUE

    • "vessel_name", FALSE

  • Default: TRUE

set_newbuild_limit#

This command caps the number of newbuilds of a given vessel type per year, as a fraction of the fleet’s vessel count before newbuilds. For example, in a fleet of 100 vessels, a limit of 0.05 allows at most 5 newbuilds of that vessel type per year. The cap is shared by the orderbook, inertia, and modelled-uptake newbuild sources, so their combined newbuilds cannot exceed it; orderbook deliveries above the cap are postponed.

  • Primary key type: String (Vessel name; supports wildcards)

  • Data type: Float, Forecast, Variable

  • Example values:

    • "vessel_name", 0.4

    • "*ammonia*", Forecast("name")

  • Unit: Fraction per year

  • Minimum value: 0

  • Maximum value: 1

  • Default: 1

set_conversion_limit#

This command sets the cap on fuel conversions from one vessel type to another, as the fraction of the total fleet allowed to convert on that pair per year. For example, in a fleet of 100 vessels, a limit of 0.05 allows at most 5 vessels per year to convert from vessel_name_from to vessel_name_to.

  • Primary key type: String (Vessel name being converted from; supports wildcards)

  • Secondary key type: String (Vessel name being converted to; supports wildcards)

  • Data type: Float, Forecast, Variable

  • Example values:

    • "vessel_name_from", "vessel_name_to", 0.05

    • "vessel_name_from", "vessel_name_to", Forecast("name")

  • Unit: Fraction per year

  • Minimum value: 0

  • Maximum value: 1

  • Default: 1

set_newbuild_technology_limit#

This command sets the maximum fraction of the existing fleet that can install a given technology on newbuilds in one year. The cap is applied per technology and is independent of the retrofit cap set with set_retrofit_technology_limit. A cap that binds scales down the installs of its own technology alone, on the newbuilds of every vessel type alike, and leaves the other technologies as they were.

  • Primary key type: String (Technology name; supports wildcards)

  • Data type: Float, Forecast, Variable

  • Example values:

    • "technology_name", 0.05

    • "technology_name", Forecast("name")

  • Unit: Fraction per year

  • Minimum value: 0

  • Maximum value: 1

  • Default: 1

set_retrofit_technology_limit#

This command sets the maximum fraction of the existing fleet that can retrofit a given technology in one year. The cap is applied per technology and is independent of the newbuild cap set with set_newbuild_technology_limit. A cap that binds scales down the retrofits of its own technology alone and leaves the other technologies as they were; the vessels it holds back can retrofit at their next retrofit window (RetrofitInterval).

  • Primary key type: String (Technology name; supports wildcards)

  • Data type: Float, Forecast, Variable

  • Example values:

    • "technology_name", 0.03

    • "technology_name", Forecast("name")

  • Unit: Fraction per year

  • Minimum value: 0

  • Maximum value: 1

  • Default: 1

set_operational_saving_sea#

This command sets the fraction of energy saved at sea through operational measures that are not modeled through technology business cases. Examples include Just-In-Time (JIT) arrival, weather routing, trim optimization, and similar zero-cost energy reduction methods.

The operational saving is applied as an intermediate step between the raw energy demand (from speed/operation) and the technology-adjusted energy demand. It reduces the baseline energy against which technology savings are evaluated.

  • Primary key type: EnergyDemandID

  • Data type: Float, Forecast, Variable

  • Example values:

    • PROPULSION, 0.1

    • ELECTRICAL, Forecast("name")

  • Unit: Fraction

  • Minimum value: 0

  • Maximum value: 1

  • Default: 0

set_operational_saving_port#

This command sets the fraction of energy saved in port through operational measures that are not modeled through technology business cases.

The operational saving is applied as an intermediate step between the raw energy demand and the technology-adjusted energy demand.

  • Primary key type: EnergyDemandID, restricted to the demands a vessel has in port: ELECTRICAL and HEAT

  • Data type: Float, Forecast, Variable

  • Example values:

    • ELECTRICAL, 0.05

    • HEAT, Forecast("name")

  • Unit: Fraction

  • Minimum value: 0

  • Maximum value: 1

  • Default: 0