DOI Build Status Stable In Development

EnergyModelsBase is the core package for building flexible multi-energy-carrier energy systems models. It is designed to model the basic operations of various generation, conversion and storage technologies. EnergyModelsBase is designed to enable optimization of operations, and to be be easily extendible to investment models, and/or to include new technologies or more detailed models of key technologies.


The usage of the package is best illustrated through the commented examples. The examples are minimum working examples highlighting how to build simple energy system models.


If you find EnergyModelsBase useful in your work, we kindly request that you cite the following publication:

  title={EnergyModelsX: Flexible Energy Systems Modelling with Multiple Dispatch},
  author={Hellemo, Lars and B{\o}dal, Espen Flo and Holm, Sigmund Eggen and Pinel, Dimitri and Straus, Julian},
  journal={Journal of Open Source Software},

For earlier work, see our paper in Applied Energy:

  title = {Hydrogen for harvesting the potential of offshore wind: A {N}orth {S}ea case study},
  journal = {Applied Energy},
  volume = {357},
  pages = {122484},
  year = {2024},
  issn = {0306-2619},
  doi = {},
  url = {},
  author = {Espen Flo B{\o}dal and Sigmund Eggen Holm and Avinash Subramanian and Goran Durakovic and Dimitri Pinel and Lars Hellemo and Miguel Mu{\~n}oz Ortiz and Brage Rugstad Knudsen and Julian Straus}

Project Funding

The development of EnergyModelsBase was funded by the Norwegian Research Council in the project Clean Export, project number 308811