Git Product home page Git Product logo

vikas9087 / bilevel-optimization-emissions Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 5.0 3.75 MB

Proposed a mathematical model for optimizing the profits and emissions while setting dynamic prices of electricity. A bilevel & multi-objective model is proposed for maximizing profits of retailer, minimizing the emissions produced, & minimizing the total cost of customers.

Jupyter Notebook 100.00%
operations-research optimization-algorithms optimization-problem optimization-methods bilevel-optimization multi-objective-optimization cost-optimization emissions electricity-prices demand-management

bilevel-optimization-emissions's Introduction

Bilevel-Optimization-Emissions

Proposed a mathematical model for optimizing the profits and emissions while setting dynamic prices of electricity. A bilevel & multi-objective model is proposed for maximizing profits of retailer, minimizing the emissions produced, & minimizing the total cost of customers. Our models use Time-of-Use(TOU) price structure of Demand Response Management. We use following as the input data parameters.

  1. demand_profile.csv contains the hourly demand for electricity in kWh. The Rows represent customers & each column corresponds hours beginning from 00:00 to 23:00.
  2. fuel_properties.csv contains the attributes of fuels used in the thermal power plants. The attributes are unit costs, unit electricity produced, unit emissions prodcued.

Model Building.ipynb contains the Python script for data storing and optimization building. Here I have built several user defined function to solve the models. Please note here to execute this file you first need to install the mathematical solver Gurobi. For installation please visit Gurobi

  • There is one variable in 'Model Building.ipynb' capacities which means --> maximum percentage of supply available of each fuel type. For example, capacities = [.50, .60, .20] means that 50% of total electricity demand of customer can be satisfied using coal and similarly 60% by natural gas and so on.

Use Data Visualization.ipynb for the visualzation & summary of the results obtained from the models. For any further queries please contact me.

Related Resources:

  • This model is a work of Masters' thesis titled 'Bilevel and Multi-objective Optimization of Electricity Price Setting with Carbon Emission Consideration'. To read click here

Note:

I have written this python code as a novice and it can be improved or made efficient to some extent.

bilevel-optimization-emissions's People

Contributors

vikas9087 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bilevel-optimization-emissions's Issues

explanation problem

I would appreciate it if you could add some explanation of objective functions and constraints

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.