Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Input file format

This file contains information about the input file format for MUSE 2.0.

Time slices

time_slices.csv

Time slices define how the year is divided up. Each time slice is composed of a season and a time of day. Often, this is written separated by a dot (e.g. winter.day).

FieldDescriptionNotes
seasonName of season
time_of_dayName of time of day
fractionFraction of yearMust be >0 and <=1

Notes

  • The fractions for the different time slices must sum to one.

Regions

regions.csv

Describes regions in the system.

FieldDescriptionNotes
idA unique identifier for a region
descriptionA human-readable label for the region

Agents

agent_commodity_portions.csv

Portions of commodity demand for which agents are responsible.

FieldDescriptionNotes
agent_idThe agent to apply these values to
commodity_idThe commodity for which the agent is responsible
yearsThe year(s) to which this entry appliesOne or more milestone years separated by semicolons or all
commodity_portionPortion of commodity demandValue must be >0 and <=1. The portion applies only to the specified years.

Notes

  • If an entry is specified for one agent and commodity, there must be entries covering all milestone years.
  • For each agent listed in this file, the total portions for each region/commodity/year combination must sum to one.
  • In addition, there must be entries for every SVD and SED commodity for all regions and milestone years.

agent_cost_limits.csv

Limits on expenditure for agents.

FieldDescriptionNotes
agent_idThe agent to apply these values to
yearsThe year(s) to which this entry appliesOne or more milestone years separated by semicolons or all
capex_limitMaximum capital cost the agent will payMust be >0. Optional (defaults to infinity).
annual_cost_limitMaximum annual operating costThe maximum annual operating cost (fuel plus variable operating cost etc.) that the agent will pay. Must be >0. Optional (defaults to infinity).

Notes

  • If cost limits are provided for an agent, they must be present for all years.

agent_objectives.csv

Describes the agents' objectives.

FieldDescriptionNotes
agent_idAn agent ID
yearsThe year(s) to which this entry appliesOne or more milestone years separated by semicolons or all
objective_typeThe type of objectiveCurrently only lcox is supported
decision_weightWeight for weighted sum decision ruleCurrently unused
decision_lexico_orderOrder in which to consider objectives for lexico decision ruleCurrently unused

Notes

  • Every agent must have one objective for each milestone year.
  • If the weighted sum decision rule is in use, the decision_weight value must be provided, otherwise it must be omitted.
  • If the lexico decision rule is in use, the decision_lexico_order value must be provided, otherwise it must be omitted.

agent_search_space.csv

Defines the processes in which an agent will invest for given parameters.

FieldDescriptionNotes
agent_idAn agent ID
commodity_idThe commodity to which this entry applies
yearsThe year(s) to which this entry appliesOne or more milestone years separated by semicolons or all
search_spaceThe processes in which this agent will investOne or more process IDs separated by semicolons. If this field is empty or all, all processes will be considered.

Notes

  • If entries are missing for any combination of agent, commodity or milestone year, then it is assumed that all processes can be considered in this case.

agents.csv

Describes agents in the system.

FieldDescriptionNotes
idA unique identifier for an agent
descriptionA human-readable label for the agent
regionsThe region(s) in which the agent operatesOne or more region IDs, separated by semicolons or the string all
decision_ruleThe decision rule applied to objectivesCurrently the only supported rule is simple
decision_lexico_toleranceTolerance for lexico decision ruleCurrently unused

Assets

assets.csv

Defines assets in the system.

FieldDescriptionNotes
process_idThe process of which this asset is an instance
region_idThe region in which this agent operates
agent_idThe agent to which this asset belongs
capacityThe capacity of the assetMust be >0
commission_yearThe year in which to commission this assetThis value can be any integer >=0. If it is before the start of the simulation, it will already be commissioned in the first year and if it after the end of the simulation then it will never be commissioned.

Commodities

commodities.csv

Describes commodities in the system.

FieldDescriptionNotes
idA unique identifier for the commodity
descriptionA human-readable label for the commodity
typeThe type of commodityMust be one of svd (service demand), sed (supply equals demand), inc (input commodity) or ouc (output commodity)
time_slice_levelThe time slice level at which constraints for this commodity are appliedMust be one of annual (whole year), season (whole season) or daynight (a particular time of day)

Notes

  • Every SED (supply equals demand) commodity must have both producer and consumer processes for every region and milestone year.
  • Every SVD (service demand) commodity must have a producer for every region and milestone year.

commodity_levies.csv

Defines levies for commodities (or, if value is negative, incentives).

FieldDescriptionNotes
commodity_idThe commodity to which this entry applies
regionsThe region(s) to which this entry appliesOne or more region IDs, separated by semicolons or the string all
yearsThe year(s) to which this entry appliesOne or more milestone years separated by semicolons or all
time_sliceThe time slices(s) to which this entry appliesCan be a single time slice (e.g. winter.day), a whole season (e.g. winter) or annual, representing the whole year
balance_typeThe type of balance to which this is appliedCan be cons (applies to consumption only), prod (applies to production only) or net (applies to consumption and production)
valueThe value of the levy/incentive

Notes

  • If an entry is included for a given combination of commodity and region, entries must be provided covering all milestone years and time slices.

demand.csv

Specifies the demand for service demand commodities.

FieldDescriptionNotes
commodity_idThe service demand commodity to which this entry applies
region_idThe region to which this entry appliesA region ID
yearThe year(s) to which this entry appliesOne or more milestone years separated by semicolons or all
demandTotal demand for this year

Notes

  • Every service demand commodity must have entries in this file covering every combination of milestone year and region.

demand_slicing.csv

Specifies how demand is distributed throughout the year (i.e. for different milestones).

FieldDescriptionNotes
commodity_idThe service demand commodity to which this entry applies
region_idThe region to which this entry appliesA region ID
time_sliceThe time slices(s) to which this entry appliesCan be a single time slice (e.g. winter.day), a whole season (e.g. winter) or annual, representing the whole year
fractionThe fraction of annual demand for this entryMust be >0 and <=1

Notes

  • The user must provide entries covering every combination of service demand commodity, region and time slice.
  • For each combination, the sum of the fractions must equal one.

Processes

process_availabilities.csv

Defines how much of a process's capacity is available throughout the year.

FieldDescriptionNotes
process_idThe process to which this entry applies
regionsThe region(s) to which this entry appliesOne or more region IDs, separated by semicolons or the string all
yearsThe milestone year(s) to which this entry appliesOne or more milestone years separated by semicolons or all
time_sliceThe time slices(s) to which this entry appliesCan be a single time slice (e.g. winter.day), a whole season (e.g. winter) or annual, representing the whole year
limit_typeThe type of limitCan be lo (a lower bound), hi (an upper bound) or fx (indicating that the availability is constant)
valueThe proportion of capacity which is availableMust be >0 and <=1

Notes

  • Must be provided for every process.
  • Only one type of limit can be supplied for each combination of process/region/year/time slice.

process_flows.csv

The commodity flows for each process.

FieldDescriptionNotes
process_idThe process to which this entry applies
commodity_idThe commodity for this flow
regionsThe region(s) to which this entry appliesOne or more region IDs, separated by semicolons or the string all. Must be regions in which the process operates.
yearsThe year(s) to which this entry appliesOne or more milestone years separated by semicolons or all
coeffThe flow for this commodityCan be <0, indicating an input flow, or >0, indicating an output flow. Cannot be zero.
typeThe type of commodity flowCurrently this value must be fixed
costThe cost per unit flowOptional. If present, must be >0.

Notes

  • Commodity flows can vary by region and year.
  • For each process, there must be entries covering all the years and regions in which the process operates.

process_parameters.csv

Parameters for processes which vary by region and year.

FieldDescriptionNotes
process_idThe process to which this entry applies
regionsThe region(s) to which this entry appliesOne or more region IDs, separated by semicolons or the string all. Must be regions in which the process operates.
yearsThe milestone year(s) to which this entry appliesOne or more milestone years separated by semicolons or all
capital_costOvernight capital cost per unit capacity
fixed_operating_costAnnual operating cost per unit capacity
variable_operating_costAnnual variable operating cost per unit activity
lifetimeLifetime in years of an asset created from this processMust be a positive integer
discount_rateProcess-specific discount rateMust be positive. A warning will be issued if this number is >1.
capacity_to_activityFactor for calculating the maximum consumption/production over a year.Must be >=0

Notes

  • For each process, entries must be provided which cover every combination of milestone year and region in which the process operates.

processes.csv

Describes processes in the system.

FieldDescriptionNotes
idA unique identifier for a process
descriptionA human-readable label for the process
regionsThe region(s) in which this process can operateOne or more region IDs, separated by semicolons or the string all
start_yearThe first year when this process is available to agents
end_yearThe last year when this process is available to agentsMust be >= to start_year