37
MODELING THE ENERGY INFRASTRUCTURE FOR THE STATE OF IOWA DEC09-02 Mubarak Abbas (E E) Austin Lyons (E E) Muhammad Rahim (E E) Mohammed Ahmed (E E) Faculty Advisor James McCalley

Modeling the Energy Infrastructure for the State of Iowa

Embed Size (px)

DESCRIPTION

Modeling the Energy Infrastructure for the State of Iowa. DEC09-02 Mubarak Abbas (E E ) Austin Lyons (E E ) Muhammad Rahim (E E ) Mohammed Ahmed (E E ). Faculty Advisor James McCalley. Problem/Need Statement. - PowerPoint PPT Presentation

Citation preview

Page 1: Modeling the Energy Infrastructure for the State of Iowa

MODELING THE ENERGY INFRASTRUCTURE FOR THE STATE OF IOWA

DEC09-02Mubarak Abbas (E E)Austin Lyons (E E)Muhammad Rahim (E E)Mohammed Ahmed (E E)

Faculty AdvisorJames McCalley

Page 2: Modeling the Energy Infrastructure for the State of Iowa

PROBLEM/NEED STATEMENTThe state of Iowa needs to make

investment decisions to meet increasing demands on its energy infrastructure. To make educated decisions, a comprehensive and interactive model of the state’s energy infrastructure is needed. Such a model currently does not exist.

Page 3: Modeling the Energy Infrastructure for the State of Iowa

AUDIENCE

Engineers Government City/Regional/State Planners Entrepreneurs Educators Ordinary Citizens

Page 4: Modeling the Energy Infrastructure for the State of Iowa

MARKET/LITERATURE SURVEY

First project of it’s kind for the state of Iowa Based on a similar project on the national

level (NETSCORE 21) Used our advisor (a principal investigator for

NETSCORE 21) as our main reference

Page 5: Modeling the Energy Infrastructure for the State of Iowa

CONCEPT DESCRIPTION

Solution Acquire energy data for Iowa Create a system for visualizing this data Integrate data with existing software to perform

analysis

Page 6: Modeling the Energy Infrastructure for the State of Iowa

SYSTEM DESCRIPTION

Page 7: Modeling the Energy Infrastructure for the State of Iowa

FUNCTIONAL REQUIREMENTS Data

Create an interactive database of Iowa energy data from 2001 to 2006

Visualization Design a system for visualizing

power generation, transmission line, energy resource data

System will need to be: interactive, easy to use, free, platform

independent Analysis Use Wien Automatic System Planning Package

(WASP-IV) with generation data to perform generation system expansion planning

Page 8: Modeling the Energy Infrastructure for the State of Iowa

NON-FUNCTIONAL REQUIREMENTS Data

Energy Resources type

coal hydro wind biomass/bio-fuel solar

capacity investment costs operating costs efficiency expected life reliability

Page 9: Modeling the Energy Infrastructure for the State of Iowa

USER INTERFACE DESCRIPTION

Data & Visualization: User interface must be easy for anyone, regardless of prior knowledge, to interact with

Analysis: Determined by choice of existing software (WASP-IV)

Page 10: Modeling the Energy Infrastructure for the State of Iowa

SYSTEM DESCRIPTION Data

Develop an inventory of the existing energy infrastructure of Iowa by acquiring data and storing it in .csv files

Visualization Use Google Earth to visualize data Create data conversion program to convert .csv file to a format which Google Earth can read (.kml)

Analysis Use Wien Automatic System Planning Package (WASP-IV) with generation data to perform

generation system expansion planning

Page 11: Modeling the Energy Infrastructure for the State of Iowa

OPERATING ENVIRONMENT

Data: platform independent Store data as comma separated value (.csv) files Can edit .csv files in Microsoft Excel or any other spreadsheet

software. Can also edit in any text editor.

Visualization: platform independent Google Earth can run on a PC, Mac, or Linux Data conversion program (will be discussed later) is written in

Java, which runs on PC, Mac, or Linux Data can be viewed in a web browser

Analysis: Determined by existing software WASP-IV – Windows

Page 12: Modeling the Energy Infrastructure for the State of Iowa

WORK BREAKDOWN Acquire data

Get maps & data from EIA, IOWA UTILITY, MEC (through Dr. McCalley) Convert data into .csv format

Manually converted map to spreadsheet by writing down the starting and ending cities for each line, then looking up the coordinates for each city

Write, test, document data conversion program Learn how to create Java GUI

Create website for viewing data Integrate data with WASP-IV

Obtain and install WASP-IV Figure out how to use WASP-IV Obtain any missing data regarding the LDC, spinning reserves, forced

outage rates, and other specific information regarding plants

Create presentations, reports, and fulfill other Senior Design requirements

Page 13: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION

Data conversion program How it works How it was created How it was tested

Documentation Website Deliverables

Page 14: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION – HOW IT WORKS - Data conversion program- Input: .csv (comma separated file)- Output: .kml (Google Earth file)

CSV fileKML file

Page 15: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION – HOW IT WORKS

Reads the .csv file and stores each row of data as a Point object or a Line object

Point object Name, Longitude, Latitude, Description

Line object Start City, End City, Start Longitude, Start

Latitude, End Longitude, End Latitude

Page 16: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION – HOW IT WORKS Ex: Line Data1. Check whether input file exists and can be

opened2. Check if input file actually contains line data3. Parse data one row at a time, storing correctly

formatted rows as a line object1. If data incorrectly formatted, print to error log

4. Open output file, print KML header5. For each stored line object, print data in KML

form6. Finish & close KML file7. Let user know if successful or not

Page 17: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION – HOW IT WORKS Psuedocode

while(ArrayList<Line> has more elements)

LineObject = ArrayList<Line>.removeObject()

print to file “<coordinates>” +

LineObject.getStartLatitude(),

LineObject.getStartLongitude(),

LineObject.getEndLatitude(),

LineObject.getEndLongitude() + “</coordinates>”

Page 18: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION – NETWORK DATA

Page 19: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION – LOCATION DATA

Page 20: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION – HOW IT WORKS- Error handling

- Input file can’t be opened, doesn’t contain line/point data- Skip incorrectly formatted data (don’t output to KML)- Print message to error log (name_of_file_errorLog.txt)

Page 21: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION – HOW IT WAS CREATED

Created using NetBeans IDE Written in Java Aimed for concise code that is easy to

maintain and easy to extend ~1200 lines of code total

Page 22: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION - TESTING- Test all possible input scenarios according to formatting guidelines- Create a spreadsheet for each test- Run program, check that program doesn’t blow up and that output is correct Example

Test003.csv: Allow empty “Start City” (no name for start city) Test005.csv: Throw out element if “Start Latitude” is missing or is not a number between -180 and 180 – print error to log Test016.csv: Check that additional data is appended in the “description” section

Page 23: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION – WEBSITE

Page 24: Modeling the Energy Infrastructure for the State of Iowa

VISUALIZATION DOCUMENTATION & DELIVERABLES Documentation

Line data formatting guide Point data formatting guide Basic instructions Testing instructions Javadoc

Deliverables Data conversion program

Source code Executable Tests Documentation

Website Source code Documentation

Page 25: Modeling the Energy Infrastructure for the State of Iowa

FUTURE WORK

Add functionality for visualizing gradient maps

Create a web based version of data conversion program

Page 26: Modeling the Energy Infrastructure for the State of Iowa

ANALYSIS

Wien Automatic System Planning (WASP-IV) How it works How it was tested

Documentation Deliverables

Page 27: Modeling the Energy Infrastructure for the State of Iowa

ANALYSIS - HOW IT WORKS

WASP-IV takes in the data for LOADSY, FIXSYS, VARSYS, CONGEN, MERSIM and DYNPRO to perform generation system expansion planning

Focus was primarily on LOADSY, FIXSYS, and VARSYS

Page 28: Modeling the Energy Infrastructure for the State of Iowa

LOADSY describes the load characteristics of the

system for each year of the study period

ANALYSIS - HOW IT WORKS (LOADSY)

Input Output

Page 29: Modeling the Energy Infrastructure for the State of Iowa

ANALYSIS – HOW IT WORKS (FIXSYS)

FIXSYS describes the committed (fixed) state of the generating system for each year in study

Input Output

Page 30: Modeling the Energy Infrastructure for the State of Iowa

ANALYSIS – HOW IT WORKS (VARSYS)

VARSYS describes the alternative plants which can be used for system expansion

Input Output

Page 31: Modeling the Energy Infrastructure for the State of Iowa

ANALYSIS - TESTING

The testing for the analysis will be made by using the forecasted data for 2008 and comparing it with the actual data for 2008. If the energy demand data is correctly forecasted within +/-10-15%, it will prove that the software and the input data are accurate (or very close)

Page 32: Modeling the Energy Infrastructure for the State of Iowa

ANALYSIS - DOCUMENTATION

Detailed instructions for LOADSY FIXSYS VARSYS

Testing instructions

CONGEN MERSIM DYNPRO

Page 33: Modeling the Energy Infrastructure for the State of Iowa

ANALYSIS - DELIVERABLES

Documentation All accumulated data from 2 semesters WASP-IV Input Data Output

Results Testing

Page 34: Modeling the Energy Infrastructure for the State of Iowa

FUTURE WORK (ANALYSIS)

Add and input data for the remaining routines/subroutines

Page 35: Modeling the Energy Infrastructure for the State of Iowa

LESSONS LEARNED

Calling Mid-American Energy, introducing yourself as (Mohammed, Muhammad, Mubarak), and asking for power line data is a bad idea.

Working with and utilizing real data for practical purposes.

Page 36: Modeling the Energy Infrastructure for the State of Iowa

CONCLUSION

In conclusion, we obtained energy infrastructure data for the state of Iowa and created a system for visualizing and analyzing this data.

Page 37: Modeling the Energy Infrastructure for the State of Iowa

QUESTIONS?