|
UserGuide
User Guide for WattDepot simulations
Featured Table of Contents IntroductionThe WattDepot Simulations project is intended to generate quasi-realistic energy data in order to support evaluation of various WattDepot visualization and analysis services. At the current time, the simulations are quite simplistic in nature and do not take into account many of the complexities of the systems under simulation. Oahu Grid SimulationDesignThe Oahu Grid simulation models 18 power plants on Oahu (KAHE 1-8, Waiau 5-10, HPOWER, AES, Kalaeloa, and Honolulu 8-9). Each power plant is represented by its type (baseload, cycling, spinning reserve, or peaking), and the maximum power the plant can produce. (Other information, such as its overhead and minimum power output are not currently taken into account.) Finally, the simulation also takes into account the carbon intensity of each power plant as published by the Carma website by providing orderings of the power plants: the "Low Carbon Plants" orders the plants with lower carbon intensity plants first, while the "High Carbon Plants" orders them with higher carbon intensity plants first. In addition to modeling the power plants, the Oahu Grid simulation also models the "Daily Demand Curve", which is the amount of power generation required at each point in the day. On Oahu, this curve is generally around 500 MW at night, rising to around 660 MW during the day, with a peak of around 1000 MW at dinnertime. The curve fluctuates according to weather, season, weekends vs. weekdays, and other factors. The simulation implements a "standard" demand curve as well as a "weekend" demand curve, and supports random variation around these general trends. Finally, the simulation implements "strategies", which is the method used to decide how much power is provided by each plant to satisfy the required power as indicated by the daily demand curve. The simulation process is implemented as a timer-based task that wakes up every 15 minutes and does the following:
InvocationTo run the Oahu Grid simulation, download the latest distribution of wattdepot-simulation from the Downloads page. Unzip this file to create a directory containing this distribution. In the top-level directory, find the file called "sample.wattdepot.simulation.properties", and rename it to "wattdepot.simulation.properties". Move this file to the ~/.wattdepot/client directory. Edit this file to contain the correct values for the WattDepot URI, username, and password. Now invoke the simulation as follows: java -jar simulation-oahugrid.jar It will abort almost immediately if it cannot find a file called ~/.wattdepot/client/wattdepot.simulation.properties with appropriate values. Otherwise, you will see output similar to the following: C:\wattdepot\wattdepot-simulation>java -jar simulation-oahugrid.jar
Authenticating WattDepot server... done.
Validating PowerPlant sources and initializing EnergyGeneratedToDate.
SIM_KAHE_1 energy generated to date: 0.00
SIM_KAHE_2 energy generated to date: 0.00
SIM_KAHE_3 energy generated to date: 0.00
SIM_KAHE_4 energy generated to date: 0.00
SIM_KAHE_5 energy generated to date: 0.00
SIM_KAHE_6 energy generated to date: 0.00
SIM_KAHE_7 energy generated to date: 0.00
SIM_WAIAU_7 energy generated to date: 0.00
SIM_WAIAU_8 energy generated to date: 0.00
SIM_HPOWER energy generated to date: 0.00
SIM_AES energy generated to date: 0.00
SIM_KALAELOA energy generated to date: 0.00
SIM_WAIAU_5 energy generated to date: 0.00
SIM_WAIAU_6 energy generated to date: 0.00
SIM_HONOLULU_8 energy generated to date: 0.00
SIM_HONOLULU_9 energy generated to date: 0.00
SIM_WAIAU_9 energy generated to date: 0.00
SIM_WAIAU_10 energy generated to date: 0.00
Oahu grid simulation is now running. Press return to stop server.Note that the "energy generated to date" field will usually be non-zero. Then, at 15 minute intervals, you will see additional output similar to this: Oahu grid simulation waking up at: Tue Apr 06 13:15:00 GMT-10:00 2010 Plant: SIM_HONOLULU_8, Power: 53000000 watts, Energy Generated To Date: 0.00 wH Plant: SIM_HONOLULU_9, Power: 53000000 watts, Energy Generated To Date: 0.00 wH Plant: SIM_WAIAU_5, Power: 46000000 watts, Energy Generated To Date: 0.00 wH Plant: SIM_WAIAU_6, Power: 0 watts, Energy Generated To Date: 0.00 wH Plant: SIM_AES, Power: 180000000 watts, Energy Generated To Date: 0.00 wH Plant: SIM_KALAELOA, Power: 200000000 watts, Energy Generated To Date: 0.00 wH Plant: SIM_WAIAU_7, Power: 88000000 watts, Energy Generated To Date: 0.00 wH Plant: SIM_WAIAU_8, Power: 41000000 watts, Energy Generated To Date: 0.00 wH Plant: SIM_KAHE_6, Power: 0 watts, Energy Generated To Date: 0.00 wH Plant: SIM_KAHE_5, Power: 0 watts, Energy Generated To Date: 0.00 wH Plant: SIM_KAHE_4, Power: 0 watts, Energy Generated To Date: 0.00 wH Plant: SIM_KAHE_3, Power: 0 watts, Energy Generated To Date: 0.00 wH Plant: SIM_KAHE_2, Power: 0 watts, Energy Generated To Date: 0.00 wH Plant: SIM_KAHE_1, Power: 0 watts, Energy Generated To Date: 0.00 wH Plant: SIM_HPOWER, Power: 0 watts, Energy Generated To Date: 0.00 wH Plant: SIM_WAIAU_9, Power: 0 watts, Energy Generated To Date: 0.00 wH Plant: SIM_WAIAU_10, Power: 0 watts, Energy Generated To Date: 0.00 wH Plant: SIM_KAHE_7, Power: 0 watts, Energy Generated To Date: 0.00 wH Total MW power: 661000000 You can stop the simulation at any time by pressing "Return" in the command shell that is running the simulation. UH Campus SimulationDesignThe UH Campus simulation is intended to model the energy consumption of a selection of University of Hawaii campus buildings, as well as energy generation by a few UH Campus buildings that have photovoltaic (PV) panels installed (or are expected to have them install in the near future). The simulation of energy consumption is quite simplistic. We obtained a spreadsheet indicating the total kWh of energy consumed by various UH Manoa campus buildings in a recent year. We used that value to obtain an average consumption per day in kWh. We do not take into account summer when classes are in session, weekends, or Manoa Green Days; we assume average usage is constant across the year. Once we have a target kWh energy consumption for a building during a day, we break the day into 72 twenty minute intervals. We establish "base" targets for energy usage as follows: during night-time hours from 6pm to 7am, we assume the building uses 2.8% of its daily consumption per hour. Thus, these 13 night-time hours collectively account for 13 * 2.8% or roughly 30% of the daily energy use. We define day-time hours as between 8am and 5pm, and each of those hours is targetted to consume approximately 6.8% of the total (or a total of 9 * 6.8% or about 61% of daily energy use). Finally, we define "transition" hours of 7-8am and 5-6pm which are defined to each use about 4%. This all adds up pretty close to 100%, but note that we aren't interested in precisely totalling to the daily average. Instead, we also introduce a "jiggle" factor which is a number between 0 and the average kWh per hour which is either added or subtracted from the "base" target. Power generation values are modelled even more simplistically. We divide the day into two regions: day and night. During night (between 6pm and 6am) there is no PV power generation. During the day, PV generation varies randomly between 25% and 100% of the maximum PV power associated with the panels. (We estimated these maximum values.) This simulates power generation on randomly cloudy days. InvocationTo run the UH Campus simulation, download the latest distribution of wattdepot-simulation from the Downloads page. Unzip this file to create a directory containing this distribution. In the top-level directory, find the file called "sample.wattdepot.simulation.properties", and rename it to "wattdepot.simulation.properties". Move this file to the ~/.wattdepot/client directory. Edit this file to contain the correct values for the WattDepot URI, username, and password. Now invoke the simulation as follows: java -jar simulation-uhcampus.jar It will abort almost immediately if it cannot find a file called ~/.wattdepot/client/wattdepot.simulation.properties with appropriate values. Otherwise, you will see output similar to the following: C:\wattdepot\wattdepot-simulation\build\jar>java -jar simulation-uhcampus.jar
Getting simulation properties and initializing the WattDepot client.
Validating Building sources and getting energy generated/consumed.
SIM_UH_POST energy consumed to date: 2378393.25 kWh
SIM_UH_HOLMES_LOAD energy consumed to date: 1478007.96 kWh
SIM_UH_SAUNDERS_LOAD energy consumed to date: 1276757.17 kWh
SIM_UH_BUSAD_LOAD energy consumed to date: 838018.69 kWh
SIM_UH_WATANABE_LOAD energy consumed to date: 797344.49 kWh
SIM_UH_KELLER energy consumed to date: 543451.75 kWh
SIM_UH_ARCHITECTURE energy consumed to date: 350756.08 kWh
SIM_UH_SINCLAIR energy consumed to date: 239252.98 kWh
SIM_UH_WATANABE_PV energy generated to date: 109.22 kWh
SIM_UH_HOLMES_PV energy generated to date: 25.05 kWh
SIM_UH_BUSAD_PV energy generated to date: 17.05 kWh
SIM_UH_SAUNDERS_PV energy generated to date: 2.58 kWh
UH Campus simulation is now running. Press return to stop server.Then, at 20 (not 15) minute intervals, you will see additional output similar to this: UH Campus simulation waking up at: Tue Apr 13 15:13:52 GMT-10:00 2010 2010-04-13T15:13:52.468-10:00 SIM_UH_POST 1749.67 kW 2378393.25 kWh 2010-04-13T15:13:52.546-10:00 SIM_UH_HOLMES_LOAD 1125.69 kW 1478007.96 kWh 2010-04-13T15:13:52.562-10:00 SIM_UH_SAUNDERS_LOAD 959.84 kW 1276757.17 kWh 2010-04-13T15:13:52.562-10:00 SIM_UH_BUSAD_LOAD 634.45 kW 838018.69 kWh 2010-04-13T15:13:52.578-10:00 SIM_UH_WATANABE_LOAD 593.46 kW 797344.49 kWh 2010-04-13T15:13:52.593-10:00 SIM_UH_KELLER 409.38 kW 543451.75 kWh 2010-04-13T15:13:52.640-10:00 SIM_UH_ARCHITECTURE 264.43 kW 350756.08 kWh 2010-04-13T15:13:52.656-10:00 SIM_UH_SINCLAIR 178.85 kW 239252.98 kWh 2010-04-13T15:13:52.671-10:00 SIM_UH_WATANABE_PV 23.64 kW 109.22 kWh 2010-04-13T15:13:52.687-10:00 SIM_UH_HOLMES_PV 3.64 kW 25.05 kWh 2010-04-13T15:13:52.750-10:00 SIM_UH_BUSAD_PV 3.64 kW 17.05 kWh 2010-04-13T15:13:52.750-10:00 SIM_UH_SAUNDERS_PV 0.44 kW 2.58 kWh This shows the timestamp associated with the sensor data sent to WattDepot, the source name, the current power consumption (except for the last four "PV" sources which are power generation), and the energy consumed (or generated) to date. You can stop the simulation at any time by pressing "Return" in the command shell that is running the simulation. UH Dorm SimulationDesignThe UH Dorm simulation is designed to model the data transferred by meters to be installed into the Freshman dorms at UH for the Fall 2010 dorm energy competition. The actual power data sent is not of primary interest; the more important issue is the rate of transfer (data is sent approximately every 10 seconds), and the source structure (data is sent representing pairs of floors, since that corresponds to the electical architecture of the building. The day is split into 1480 10 second intervals. The power consumed during a 10 second interval is computed as follows. First, a power level between 0 and 1000 watts is generated randomly, representing the power observed in a room on a floor. This is multiplied by 24 to get the power for the pair of floors. Each pair of floors also has a "greenness" factor, which ranges between 1.0 and 2.0. The resulting random value is multiplied by the "greenness" factor so that some floors will be observed to consume more energy than others on a semi-consistent basis. Finally, between 8pm and 8am the resulting power is multiplied by 0.60 to represent the reduced power needed during the night. We assume constant power usage during a 10 second interval, so we can easily compute the watt-hours by multiplying by 360. InvocationTo run the UH Dorm simulation, download the latest distribution of wattdepot-simulation from the Downloads page. Unzip this file to create a directory containing this distribution. In the top-level directory, find the file called "sample.wattdepot.simulation.properties", and rename it to "wattdepot.simulation.properties". Move this file to the ~/.wattdepot/client directory. Edit this file to contain the correct values for the WattDepot URI, username, and password. Note that you need to edit the "dorm" properties. Now invoke the simulation as follows: java -jar simulation-dorm.jar It will abort almost immediately if it cannot find a file called ~/.wattdepot/client/wattdepot.simulation.properties with appropriate values. Otherwise, you will see output similar to the following: UH Dorm simulation is now running. Press return to stop server. Initializing source SIM_UH_ILIMA_FLOORS_3_and_4 with energy to date. SIM_UH_ILIMA_FLOORS_3-4 energy consumed to date: 0.02 kWh 2010-05-18T16:02:11.797-10:00 SIM_UH_ILIMA_FLOORS_3-4 0.36 kW 0.02 kWh Initializing source SIM_UH_ILIMA_FLOORS_5_and_6 with energy to date. SIM_UH_ILIMA_FLOORS_5-6 energy consumed to date: 0.02 kWh 2010-05-18T16:02:12.299-10:00 SIM_UH_ILIMA_FLOORS_5-6 0.36 kW 0.02 kWh Initializing source SIM_UH_ILIMA_FLOORS_7_and_8 with energy to date. SIM_UH_ILIMA_FLOORS_7-8 energy consumed to date: 0.03 kWh 2010-05-18T16:02:12.867-10:00 SIM_UH_ILIMA_FLOORS_7-8 0.54 kW 0.03 kWh Initializing source SIM_UH_ILIMA_FLOORS_9_and_10 with energy to date. : : 2010-05-18T16:02:19.273-10:00 SIM_UH_MOKIHANA_FLOORS_11-12 0.72 kW 0.04 kWh 2010-05-18T16:02:21.774-10:00 SIM_UH_ILIMA_FLOORS_3-4 0.95 kW 0.03 kWh 2010-05-18T16:02:22.299-10:00 SIM_UH_ILIMA_FLOORS_5-6 0.95 kW 0.03 kWh 2010-05-18T16:02:22.866-10:00 SIM_UH_ILIMA_FLOORS_7-8 1.42 kW 0.04 kWh 2010-05-18T16:02:23.386-10:00 SIM_UH_ILIMA_FLOORS_9-10 0.95 kW 0.02 kWh 2010-05-18T16:02:23.904-10:00 SIM_UH_ILIMA_FLOORS_11-12 0.95 kW 0.02 kWh 2010-05-18T16:02:24.469-10:00 SIM_UH_LEHUA_FLOORS_3-4 1.42 kW 0.04 kWh 2010-05-18T16:02:24.987-10:00 SIM_UH_LEHUA_FLOORS_5-6 0.95 kW 0.02 kWh 2010-05-18T16:02:25.504-10:00 SIM_UH_LEHUA_FLOORS_7-8 0.95 kW 0.02 kWh 2010-05-18T16:02:26.068-10:00 SIM_UH_LEHUA_FLOORS_9-10 1.80 kW 0.05 kWh You can stop the simulation at any time by pressing "Return" in the command shell that is running the simulation. |