Here, we describe the terminology and the general workflow in more detail.


We define the terminology used within this documentation, the code, and input data:

  • Technology: a technology that produces, consumes, converts or transports energy
  • Node: a site which can contain multiple technologies
  • Line: a link between two sites that can carry energy between those sites
  • Carrier: an energy carrier that groups technologies together into the same network, for example, electricity or heat
  • Parameter: a fixed coefficient that enters into model equations
  • Variable: a variable coefficient (decision variable) that enters into model equations
  • Set: an index in the algebraic formulation of the equations
  • Constraint: equality or inequality expression that constrains one or several variables


The workflow for this package can be broken down to:

  • Data Preparation
  • Optimization

Data Preparation

CEP needs two types of data:

They are kept separate as just the time series dependent data is used to determine representative periods (clustering).


Example Workflow

using CapacityExpansion
using Clp
optimizer=Clp.Optimizer # select optimizer

# laod ts-data
ts_input_data = load_timeseries_data_provided("GER_1"; T=24, years=[2016])
# load cep-data
cep_data = load_cep_data_provided("GER_1")

# run a simple