Visualizing Energy Usage and Consumption of the World

Similar documents
GIS Functions and Integration. Tyler Pauley Associate Consultant

Orbital Insight Energy: Oil Storage v5.1 Methodologies & Data Documentation

Data Structures & Database Queries in GIS

Chapter 2 - Lessons 1 & 2 Studying Geography, Economics

... Asia. Based on Bloom s Taxonomy. Human & Movement. Location Place. Regions. Environment. Interactions

Visual Studies Exercise, Assignment 07 (Architectural Paleontology) Geographic Information Systems (GIS), Part II

Section III - Designing Models for 3D Printing

Where on Earth are We? Projections and Coordinate Reference Systems

C1: From Weather to Climate Looking at Air Temperature Data

Central Valley School District Social Studies Curriculum Map Grade 7. August - September

Intro to GIS In Review

Google Earth. Overview: Targeted Alaska Grade Level Expectations: Objectives: Materials: Grades 5-8

DATA 301 Introduction to Data Analytics Geographic Information Systems

Trouble-Shooting Coordinate System Problems

GIS Visualization: A Library s Pursuit Towards Creative and Innovative Research

Name: Date: Period: #: Chapter 1: Outline Notes What Does a Historian Do?

About the Geo-referencing of BIM models

Evaluating Physical, Chemical, and Biological Impacts from the Savannah Harbor Expansion Project Cooperative Agreement Number W912HZ

Chapter 2: Studying Geography, Economics, and Citizenship

Introducing GIS analysis

SocViz: Visualization of Facebook Data

MIS 0855 Data Science (Section 005) Fall 2016 In-Class Exercise (Week 4) Visualizing with Maps

Transactions on Information and Communications Technologies vol 18, 1998 WIT Press, ISSN

V1.0. Session: Labelled Maps Verification, entering names into a GIS and Google Maps/Earth. Pier-Giorgio Zaccheddu

Theory, Concepts and Terminology

GIS Semester Project Working With Water Well Data in Irion County, Texas

caused displacement of ocean water resulting in a massive tsunami. II. Purpose

Using Geographic Information Systems and Remote Sensing Technology to Analyze Land Use Change in Harbin, China from 2005 to 2015

A Reconstruction of Regional and Global Temperature for the Past 11,300 Years Marcott et al STUDENT ACTIVITY

Is Greenland Really That Big?

What are the five components of a GIS? A typically GIS consists of five elements: - Hardware, Software, Data, People and Procedures (Work Flows)

Prosurv LLC Presents

Temporal Evolution of the ScientificCollaboration Network in Europe

Using Ice Thickness and Bed Topography to Pick Field Sites Near Swiss Camp, Greenland

A Study on Trade of Complementarity among Xinjiang and Its Neighboring Countries

DATA SOURCES AND INPUT IN GIS. By Prof. A. Balasubramanian Centre for Advanced Studies in Earth Science, University of Mysore, Mysore

Lauren Jacob May 6, Tectonics of the Northern Menderes Massif: The Simav Detachment and its relationship to three granite plutons

Working with Map Projections

AUTOMATED METERED WATER CONSUMPTION ANALYSIS

GeoPostcodes. Grecia

Lesson Plan 2 - Middle and High School Land Use and Land Cover Introduction. Understanding Land Use and Land Cover using Google Earth

Introduction to Google Mapping Tools

Software requirements * :

CentropeSTATISTICS Working Interactively with Cross-Border Statistic Data Clemens Beyer, Walter Pozarek, Manfred Schrenk

Dynamic Maps and Historical Context

ADDRESSING A HOW TO LOOK AT GIS ADDRESSING 9/13/2017

GPS Worldwide Laboratory: a community of knowledge-seekers spanning the globe

The Night Sky [Optional - only for those interested] by Michael Kran - Thursday, 2 October 2008, 03:49 PM

ArcGIS for Applied Economists Session 2

DisDirToXYplus: program&interface b y R o n P e n n d e r s, P A 2 I O N

Atlas Historical World Atlas By Rand Mcnally

Peoples, Places and Cultures in Africa, Asia and the Southwest Pacific

Welcome! Power BI User Group (PUG) Copenhagen

Geography 281 Map Making with GIS Project Eight: Comparing Map Projections

Answer key for chapter questions in Getting to Know ArcGIS Desktop, 5th edition

Virtual Beach Building a GBM Model

Year 34 B2 Geography - Continents and Oceans 2018 Key Skills to be covered: Taken from Level 3 Taken from Level 4

Catchment Delineation Workflow

Learning Target : Describe the purposes and uses of different types of maps.

Spatial Extension of the Reality Mining Dataset

Search for the Dubai in the remap search bar:

Traffic accidents and the road network in SAS/GIS

Reaxys Medicinal Chemistry Fact Sheet

GeoPostcodes. Trinidad & Tobago

GeoPostcodes. Litauen

Trouble-Shooting Coordinate System Problems

New Nuclear In Europe: 2030 Outlook By Stephen Tarlton

The Rain in Spain - Tableau Public Workbook

Performing. Geospatial Analysis. Using Latitude and Longitude Data. Ginger Ni - Software Engineer

3/4/2010. ESRI Education Community. CommunityWeb Mapping Tools

Energy Efficiency, Acoustics & Daylighting in building Prof. B. Bhattacharjee Department of Civil Engineering Indian Institute of Technology, Delhi

FS2004 / Ultimate Terrain Landclass Primer

QGIS FLO-2D Integration

Features and Benefits

Geographic Analysis of Linguistically Encoded Movement Patterns A Contextualized Perspective

ARCGIS TRAINING AT KU GIS LABS: INTRODUCTION TO GIS: EXPLORING ARCCATALOG AND ARCGIS TOOLS

Moving into the information age: From records to Google Earth

for XPS surface analysis

Using a library of downscaled climate projections to teach climate change analysis

GeoPostcodes. Denmark

Exploring Visualization of Geospatial Ontologies Using Cesium

Free Webinar: Regionalized LCIA in openlca 1.5. Cristina Rodríguez GreenDelta GmbH May 2016

The Application of 3D Web GIS In Land Administration - 3D Building Model System

-ASTR 204 Application of Astroimaging Techniques

Preparing Spatial Data

Map your way to deeper insights

Land-Line Technical information leaflet

Important Developments in International Coke Markets

Transcription:

Visualizing Energy Usage and Consumption of the World William Liew Abstract As the world becomes more and more environmentally aware, a simple layman s visualization of worldwide energy use is needed to inform the public quickly and efficiently about worldwide energy use. This paper describes how this program efficiently and effectively represents energy usage around the world. I. Introduction The modern world cannot function without energy. It is easy to assume energy demand is growing rapidly, but how quickly and in which areas. As energy usage increases, it is important for this fact to be able to be communicated quickly and effectively. This project allows user to see which nations are growing quickly (energy usage wise) and which nations are stagnant. Being able to see where there is the most growth is crucial to understanding how to regulate supply for the constant demand of energy. This paper presents a way to effectively demonstrate where in the world energy demand will be the highest. It also presents an easy way to show en ergy usage growth in each nation. Although the data of energy usage is readily available, the human mind really is not meant to handle large numbers (i.e. any numbers greater than 100), this means although the data is available, the scale of the number is lost in transition. The program described will not only show exactly how much energy is used, but does it in a simple manner in which human can interpret it quickly. The project projects Earth onto the screen, with each country floating on top of the sphere. The farther away the country is from the globe, the more energy the country use. A color is also mapped onto the country based on energy usage. The most similar method I found actually exists on http://enerdata.org, which is the source of my energy usage data. The website displays its energy data through a world map using a color-map. Although it is quick and effective, I believe color-maps are not instantaneous enough for human comprehension. Wikipedia and Google also provide energy usage information; however neither has a visual representation of the data. I did not find any other well-known provider of global energy usage data. Although the US census provides data of the United States, it does not provide any data for other nations.

II. Technical Detail OpenGL in C++ is the main display tool used due to my familiarity to it. Several short Java programs were created to find or parse data. The energy usage data is retrieved from http://enerdata.org as a Microsoft Excel sheet exported into a CSV file. Although the excel sheet contains many other data (such as energy from coal), only total Energy Usage was considered. All of the energy data was recorded with the unit: mtoe, or Metric Ton Oil Equivalent. The data recorded energy data from 1990 to 2010, each neatly aligned with its respective nation. However, to display this data in the format I wanted, I needed to be able to find out where each country is. At first I considered using GLUT to draw a sphere, apply texture map to represent the Earth, then using a Web API, find out where each nation is, then using a shader to transform the sphere. This was highly ineffective. Not only was texture mapping a sphere difficult, often came with obscure results, but finding out a position relative to the texture was even worse. I decided not to use the GLUT default sphere. A more accurate way to draw Earth was to use longitude and latitude data to draw Earth. A formula is used to convert longitude (ranging from -180 to 180) and latitude (-90 to 90) into an X, Y, and Z coordinate that can be used to display onto the screen. This means I could easily draw a sphere, but also just as easily locate a specific coordinate. The Algorithm is as followed: (R represents radius of the sphere) LAT = latitude * pi/180

LON = longitude * pi/180 x = -R * cos(lat) * cos(lon) y = R * sin(lat) z = R * cos(lat) * sin(lon) However, I still needed data on where each country is. At first I wanted to do this manually, however, if I use each integer as a data point, this would take me 64,800 checks. I decided to see if I could parse this data with my program. I found a C++ library called libcurl which would allow me to download data from a URL. I used an API for reverse-geocoding from http://geonames.org. The API allows me to see what country exist at a specific coordinate and returns a 2-character ISO Country Code. The API was not only very easy to use, but provided exactly what I needed. Then disaster struck. Although the API interface was fantastic and very easy to use, it only allowed a certain number of lookups every hour. It also performed very slowly, thus a real-time look up of 64,800 coordinates was just not practical. Thus, I had to create a file with all the data. I decided not to use the libcurl library and instead used the URL parser from Java.net library. The Java program was called Reverse Geocode, it looked up all 64,800 coordinates and then records the coordinates which returns the ISO Country Code. Due to the hourly limit of lookups, Reverse

Geocode left out many segments. Thus Reverse Geocode was manually tuned many times to lookup the missing segments of the world. It took a while but finally I have a complete set of world country data for my program to use. Figure 1: Segmented Incomplete Map Data I recorded all ISO Country Code in a 2D Array sized 360 by 180. Although this was not memory efficient, it was the quickest way to do it. It also allowed lookups to be done very quickly, thus the program can run more quickly in real-time. The program records any coordinate with a Country Code as landmass. After the program stores all Energy Data with their respective nation, it inputs it into 2 sets of arrays, one for the ISO Country Code, and the second for the list of yearly data. The program compares these country codes with the map data, locates the ones that are on the Energy Data, and draws them with different parameters.

A point and three of its neighbors is taken to create a polygon (after transforming it from longitude/ latitude algorithm to XYZ-coordinates). This is repeated until an entire sphere is created. For countries which do have an energy usage data, the radius of the sphere they re projected on is increased, based on the value of the energy usage. This means every layer of energy value is on its own sphere. This makes the map look much cleaner. I included a few more features other than just looking at the globe. First I decided to create a map view; this made it simpler to look at all the energy data as a whole. This is done by using longitude and latitude as X-coordinate and Y-coordinate. I also decided to include a scaling option, so that energy usage of smaller nations can become more apparent (relative to other small nations). I made sure countries without data was still displayed on the map so that the geographic importance of the globe is not lost. In the end the program takes two files, a map file (included as country.txt ) and a formatted CSV data. III. Results The result of the visualization was spectacular. Not only could I tell which countries had the most energy growth by stepping through the years, but I can also see which region of the world that grew similarly. Coupled with the knowledge of historical significance of the years, I was actually surprised at some of the findings from this visualization. One of the more obvious facts is that China had the most growth. In the 1990s its energy usage was much lower than that of a normal, developed nation. Factoring its massive population, one can tell that China did not start as prosperous as other nations. However, stepping from 1990 to 2010 reveals that China s energy spending grew rapidly. As Chinese population moved from rural to urban areas, energy usage shot up, eventually overtaking the United States as the nation with the highest energy usage. It should also be mentioned that India is also seeing quick growth in energy usage. Another interesting fact was that Russian energy usage declined and then increased. It was actually one of the only nations in the world with an energy decline. It also saw one of the most massive energy declines in that of any nation. This is most likely due to the fall of the Berlin wall, which occurred in 1989, which caused Russia to fall into a state of economic recession and chaos for the next decade. This explains why Russian energy use started growing at a steady rate again after 2000. A surprising fact I found was that the energy usage of the United States grew very slowly. In 20 years, the total energy use is very low. This means either the United States energy growth is either stagnant, or that the United States is becoming more efficient. Europe actually uses very little energy per country. This surprises me because it seems energy usage and economy seems to be strongly correlated. Germany has one of the strongest economies in the world; yet, the energy usage in Germany does not even come close to that of Russia, US, and China. My guess is that developing country with high population will tend to have explosive energy usage growth.

A very disappointing fact was that because the energy usage between super-power nations (i.e. Russia, United States, and China) far out used any other nations. This makes it very difficult to differentiate energy usage of smaller nations. However, the resolution method makes the energy usage easier to differentiate. I was also disappointed that the dataset from enerdata.org was not as large as I liked. There were only about 40-50 nations with recorded data, with India missing data from 2010. IV. Conclusion The visualization came out generally how I envisioned it. I thought I would have to compromise and not be able to raise the borders of each nation. However, because of the geoname.org API I found, I could have an accurate map that can be swapped between countries. Given more time I would like to have found a better way to import map data. On geoname.org it was actually possible to download the dataset they used, however, I did not research enough on how to parse that data into the useful format I needed it to be. Another feature I would have added is the ability to read in XML files for Country Data. That would give me more data about each nation (full name, which continent the country exist in, etc). This will allow me to display continental energy usage, which was provided in the dataset. Being able to parse XML file easily would also allow me to take data from multiple sources, including Wikipedia. I really wish I had time to gather the data for population from 1990 to 2010. This will allow me to see energy usage per capita rather than just total energy usage. This might even mean that the United States, due to population rising faster than energy usage, is actually lowering energy usage per capita each yeah. It might also mean the smaller European nations will show signs of growth that is otherwise overshadowed by the huge total usage from the superpower nations. I have no doubt both China and India will still show rapid growth per capita, but their current energy usage per capita will still be much lower than that of United States. References [1] Enerdata.org. The main data used in each individual country data. Available from http://enerdata.org [2] Geonames.org. Used to parse country data to show the globe, available from http://geonames.org