Giter VIP home page Giter VIP logo

yanzhipingliu / marketclearingprice Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 36 KB

This package is to estimate the clearing price for each hour based on the Security Constrained Economic Dispatch (SCED) data and the demand data from independent system operators (ISO).  ISOs gather price/quantity bids from every generator in its territory for every hour of the day. The generators report the price at which they would be willing to sell various levels of generation. ISOs aggregate this Security Constrained Economic Dispatch (SCED) data into a system-wide supply curve, describing how much energy is available to the whole market at various prices. In each hour, ISOs dispatch generation in order to meet market demand in a manner that minimizes the costs to customers. The core of this tool involves estimating the system-wide supply curve, which describes the relationship between market price and market generation.

Python 100.00%

marketclearingprice's Introduction

MarketClearingPrice

https://github.com/yanzhipingliu/ClearingPrice

This package is to estimate the clearing price for each hour based on the Security Constrained Economic Dispatch (SCED) data and the demand data from independent system operators (ISO).  ISOs gather price/quantity bids from every generator in its territory for every hour of the day. The generators report the price at which they would be willing to sell various levels of generation. ISOs aggregate this Security Constrained Economic Dispatch (SCED) data into a system-wide supply curve, describing how much energy is available to the whole market at various prices. In each hour, ISOs dispatch generation in order to meet market demand in a manner that minimizes the costs to customers. The core of this tool involves estimating the system-wide supply curve, which describes the relationship between market price and market generation.

marketclearingprice's People

Contributors

yanzhipingliu avatar

Stargazers

陈强 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

marketclearingprice's Issues

Encoutered Problem (IndexError: list index out of range)

Describe the bug
This index error raises while running mcp.py
The original bug is on line 248, the extra x.encode('UTF8') will create an extra letter b in selectResources
This will make the search result of idxK in enumerate(tempResource[:MCPIdx]) empty

Screenshots
image

Environment:

  • OS: Windows10
  • Python: 3.8.0

Solution
change line 248 of mcp.py to selectResourcesArr = [x for x in tempResource[:MCPIdx] if x not in used and (used.add(x) or True)]
as shown below
image
this should solve the bug

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.