Skip to content

yongqx/EASE-Project

 
 

Repository files navigation

...

EASE-Project_v1.0


Background and Objective

Electricity is a globally consumed energy source, such that electricity generation based on conventional energy sources (Petroleum, Coal, and Natrual Gas) are accompanied with large amount of greanhouse gas emission, particularly the carbon dioxide gas. Figure below mapped out the electricity generation plants with different type of energy sources within the United States in year 2015.

...

Electricity Analysis Suggestion Ensemble, or short for EASE, is a Proejct guided by the eScience Insititue and Chemical Engineering Department at the University of Washington.

EASE is a suggestion model with an aim to help industrial users who desire to build an electricity generation plant that offsets long term cost from continuously buying electricity from the Government. User inputs weather information and plant capacity (average summer temperature, average winter temperature, annual precipitation, and average wind speed), EASE will automatically allocate energy information that can be utilized and provide suggestions on electricity generation sources.

Based on RandomForest classification model from scikit-learn, EASE considers weather, cost, carbon dioxide emission/taxation, and energy source distribution information. The output of the model is an optimized suggestion with most economical, best weather suitable, clean, and most efficient.

...

Please give credits for the contributors if you use this code.

EASE_RF_v1.0

Jiarong I. Cui**(1), Tai-Yu D. Pan(1), Jiayuan Guo(1), Yongquan Xie(2)**

(1) University of Washington, Department of Chemical Engineering, Seattle, WA

(2) University of Washington, Department of Material Science and Engineering, Seattle, WA


License

This work is under GNU GPLv3 licence, such that it requires anyone who distributes this code or a derivative work to make the source available under the same terms, and also provides an express grant of patent rights from contributors to users.


Database Sources

All the database are either self-constructed, or obtained from open sources.

EASE cost prediction is largely based on 2015 average plant construction cost data, this includes but not limited to installation cost, maintenance cost, operation cost, and electricity sale price. Carbon dioxide taxation is based on a 2013 proposed legislation (S. 332 of the 113th)


Software Dependencies

Package is written in Python 3.x version

All the required software is open source.

Numpy: http://www.numpy.org/

Pandas: http://pandas.pydata.org/

Scikit-Learn: http://scikit-learn.org/stable/

Matplotlib: http://matplotlib.org

Tkinter: a built-in package in Python https://wiki.python.org/moin/TkInter

Operating system information

Both Mac OS X and Windows operating system should be able to execute the package in default Python environment. MAC OS X provides the best user experience*


Unittest Results

...


Package Usage

For Mac:

Step 1: Open the terminal, type

$ python --version

If your Python version is Python 3.5.0 or later, skip step 2 & 3.

Step 2: Install Homebrew, type

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

For more information, visit Homebrew.

Step 3: Use Homebrew to install Python, type

$ brew install python3

Once Python 3 is installed, we’re going to check that is it ready to use or our system by launching the interactive console. Type

$ python3

and you should see Python 3.6.0. Type

>>> exit()

Step 4: Install dependencies, type

$ brew tap homebrew/science

$ brew install matplotlib pandaseq

$ pip3 install numpy scipy scikit-learn

Step 5: Get our package, type

$ git clone https://github.com/danielfather7/EASE-Project.git

Step 6: Change directory, type

$ cd EASE-Project/GUI/

Step 7: Open our package, type

$ python3 EASE_GUI.py

Enjoy!


GUI Example

Step 1: GUI license page: ...

Step 2: GUI prompts user input values: ...

Step3: GUI output suggestion model: ...


Folders

Project_Goal - The folder contains the project scope, example of use case of the package, user interactive diagram, as well as all other brainstorming thoughts and dataset descriptions relative to the project from the very beginning.

Original_Data - The folder contains the orginal datasets downloaded from all the open sources stated above, these raw dataset contains information that are not useful for the package development.

Arrange_Data - The folder contains the iPython scripts that import and clean different original raw dataset from the Original_Data folder.

EASE - The code for the model, EASE_v1.0, and all other scripts for the model development.

GUI - The folder contains GUI development code.

Test - The folder contains unittest codes.

README.md - descrption of background, License, Database Sources, Unittest, Software Installation, Folder Descriptions and Acknowledgement

LICENSE.md - Outlines of the GPL-3.0 license for this package.


Acknowledgements

David A. Beck and Jim Pfaendtner, eScience Institue, Chemical Engineering Department, as well as Directors for the DIRECT program at University of Washington, served as mentors for the development of this package.

About

Electricity Analysis Suggestion Ensemble

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.2%
  • Python 0.8%