Monday, November 16, 2009

Wattdepot Version 2.0

It is now time to release the version 2.0 of our Wattdepot program. In this version, we implemented some brand new commands that a user can work with. We also improved our code in many different ways. We have implemented a few more interfaces to make the code clearer and easier to read, and we have also implemented hash code so that we can map a class instance into a string literal. This way, our code looks a bit nicer and now it is somewhat easier to make modifications if need be.

My WattDepot Version 2.0 can be downloaded Here.

We had numerous problems trying to transfer all our methods into separate classes however. It seems that rewriting our code in this style was not an easy task. I ran into numerous problems with variables and class instances. When we managed to put together, we realized how easy and simple the program looks.

We were also asked to asnwer some questions which can be derived by using or tweaking some of our commands. Following are the questions:
  • What day and time during the month was Oahu energy usage at its highest? How many MW was this?
** During most of November the usage seemed to be at the highest. My value came out to be 1630 lbs Co2/MWh
  • What day and time during the month was Oahu energy usage at its lowest? How many MW was this?
** Minimum value occurs throughout early morning of November. The value was around 1597 lbs Co2/MWh.
  • What day during the month did Oahu consume the most energy? How many MWh was this?
** So far the most energy consumed is 1630 lbs Co2/MWh.
  • What day during the month did Oahu consume the least energy? How many MWh was this?
** So far the least consumed energy is at 1597 lbs Co2/MWh.
  • What day during the month did Oahu emit the most carbon (i.e. the "dirtiest" day)? How many lbs of carbon were emitted?
** Dirtiest carbon were emitted at November 4th and 5th, with value 29959 lbs.
  • What day during the month did Oahu emit the least carbon (i.e. the "cleanest" day)? How many lbs of carbon were emitted?
** Least carbon were emitted at November 7th or 8th at value 22908 lbs.

No comments:

Post a Comment