Skip to content

Data and codes for energy circuit method-based optimal energy flow

License

Notifications You must be signed in to change notification settings

Aspirin96/ECM_based_OEF

Repository files navigation

Background

This is the code repository of the article "An Efficient Optimal Energy Flow Model for Integrated Energy Systems Based on Energy Circuit Modeling in the Frequency Domain", which solves the optimal energy flow (OEF) problem of an integrated energy system by the energy circuit method (ECM).

Quick Start

  1. Install Gurobi (a license is required) and Anaconda (not necessary but recommended).

  2. Prepare a Python environment:

    Clone this repo to your local disk, and open a terminal/cmd in its root directory to enter the following codes.

    conda create -n ecm_oef python=3.8
    conda activate ecm_oef
    pip install -r requirements.txt
  3. Run the demo codes:

    python demo_usage.py --instance_file "instance/small case/IES_E9H12G7-v1.xlsx" --model_type lazy_explicit
  4. Do modifications to satisfy your customized needs.

TODO List

  • Code cleaning and commenting.
  • A document about the input file structure, script arguments, involved classes and functions, etc.
  • Support more functions, e.g. considering N-1 contingency.

Issues and Pull Requests are welcomed : )

About

Data and codes for energy circuit method-based optimal energy flow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages