Adding investments

Investment options are added through loading the package EnergyModelsInvestments. EnergyModelsInvestments was previously seen as an extension package to EnergyModelsBase, that is, it was dependent on EnergyModelsBase and only allowed investment options in EnergyModelsBase. This approach was reversed from version 0.7 onwards and EnergyModelsInvestments is now a standalone package and provides an extension to EnergyModelsBase.

As a consequence, it was also necessary to move the EnergyModelsGeography extension of EnergyModelsInvestments to an EnergyModelsInvestments extension of EnergyModelsGeography.

General concept

Investment options are added separately to each individual transmission mode through the field data. This is similar to the approach used in EnergyModelsBase for nodes. Hence, it is possible to use different prices for the same technology in different regions or allow investments only in a limited subset of technologies.

Transmission mode investments utilize the same data type SingleInvData as the majority of the node investments. This type includes as fields AbstractInvData which can be either in the form of StartInvData or NoStartInvData. The exact description of the individual investment data and their fields can be found in the public library of EnergyModelsInvestments.

Investments require the application of an InvestmentModel instead of an OperationalModel. The extension provides new methods for three functions:

  • constraints_capacity_installed (as described on Constraint functions) adds the investment constraints,
  • EMB.variables_ext_data declares the investment variables for transmission modes with SingleInvData, and
  • EMB.objective_invest adds the capital expenditures of the transmission modes to the objective function.

Added variables

Investment options increase the number of variables. The individual variables are described in the documentation of EnergyModelsInvestments.

All transmission modes with investments use the prefix :trans_cap. The installed capacity is given by the variable $\texttt{trans\_cap}$ instead of a variable with the suffix _inst.