Skip to content

This repository contains all model development using Balmorel within the open_MODEX project.

Notifications You must be signed in to change notification settings

open-modex/model_Balmorel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

model_Balmorel

This repository contains all model development using Balmorel within the open_MODEX project.

What is Balmorel?

Balmorel is a partial equilibrium model for analysing the electricity and combined heat and power sectors in an international perspective. It is highly versatile and may be applied for long range planning as well as shorter time operational analysis. Balmorel is implemented as a mainly linear programming optimisation problem.

The model is developed in a model language, and the source code is readily available under open source conditions, thus providing complete documentation of the functionalities. Moreover, the user may modify the model according to specific requirements, making the model suited for any purpose within the focus parts of the energy system.

What can Balmorel be used for?

The Balmorel model has been applied in projects or other activities in a number of countries, e.g., in Denmark, Norway, Sweden, Estonia, Latvia, Lithuania, Poland, Germany, Austria, Ghana, Mauritius, Canada and China. It has been used for analyses of, i.a., security of electricity supply, the role of flexible electricity demand, hydrogen technologies, wind power development, the role of natural gas, development of international electricity markets, market power, heat transmission and pricing, expansion of electricity transmission, international markets for green certificates and emission trading, electric vehicles in the energy system, environmental policy evaluation.

See "Activities" and "Publications" sections in the menu for description of ongoing and past projects using the Balmorel model.

Who can use Balmorel?

Balmorel is a modelling tool that can be used by energy system experts, energy companies, authorities, transmission system operators, researchers and others for the analyses of future developments of a regional energy sector.

How is Balmorel supported and further developed?

The model is developed and distributed under open source ideals. The source code has been provided on its homepage since 2001 and was assigned the ISC license in 2017. Ample documentation is available in the folder within this repository. Application examples and contact information can be found on the Balmorel homepage. Presently the model development is mainly project driven, with a users' network around it, supporting the open source development idea.

Installation for open_MODEX

Install GAMS

  1. Choose the GAMS version depending on your system: https://www.gams.com/download/
  2. Follow the steps of installation wizard.

Note: A GAMS licens is required.

Set up a framework environment

  1. Create a directory with the project name in any convenient location.
  2. Download the model from GitHub by either:
    • cloning the Balmorel GitHub repository, or
    • downloading the zip file and extracting all to the previously created project directory.

Open a model in GAMS

  1. Navigate to one of the scenario directories, e.g. /model_Balmorel/1.
  2. Create a new folder called model: /model_Balmorel/1/model.
  3. Open the /model_Balmorel/1/model folder and create a new text file:
    • name it e.g. as the scenario and
    • change the file extension from txt to gpr (GAMS project file).
  4. Open the .gpr file: This will start the GAMS IDE.
  5. After the GAMS startup open the Balmore.gms file by:
    • pressing Ctrl+o and
    • navigating to model_Balmorel/base/model where the .gms file is located.

Run the model

Run the model by simply pressing F9.

Access results

There are many options, here are two:

  1. The open_MODEX result files are placed in the model folder under:
    • /model_Balmorel/1/output/results.
  2. Open in GAMS the all_endofmodel.gdx file, which is located in the model folder under:
    • /model_Balmorel/1/model.

Scenario data

  1. The input data for the open_MODEX models is stored as .inc files (plain text). They are created by the Data.xlsm file, located under:
    • model_Balmorel/base.
  2. Instructions for use can be found on its first sheet.
  3. To export the data to .inc files create a new folder on the same level as the Data.xlsm called data:
    • __model_Balmorel/base/data

About

This repository contains all model development using Balmorel within the open_MODEX project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages