diff --git a/p6/README.md b/p6/README.md new file mode 100644 index 0000000000000000000000000000000000000000..ab42db56868ae89568315b3f17477f80f4dd82c9 --- /dev/null +++ b/p6/README.md @@ -0,0 +1,50 @@ +# Project 6 (P6): Investigating Airbnb Data + +## Corrections and clarifications: + +* None yet. + +**Find any issues?** Report to us: + +- Yuheng Wu <wu459@wisc.edu> +- Abhinav Harish <aharish2@wisc.edu> +- Tunan Wang <tunan.wang@wisc.edu> +- Shutong Wu <shutong.wu@wisc.edu> +- Yunfu Deng <yunfu.deng@wisc.edu> + +## Note on Academic Misconduct: +You are **allowed** to work with a partner on your projects. While it is not required that you work with a partner, it is **recommended** that you find a project partner as soon as possible as the projects will get progressively harder. Be careful **not** to work with more than one partner. If you worked with a partner on Lab-P6, you are **not** allowed to finish your project with a different partner. You may either continue to work with the same partner, or work on P6 alone. Now may be a good time to review our [course policies](https://cs220.cs.wisc.edu/f23/syllabus.html). + +## Instructions: + +This project will focus on **accessing data in csv file** and **string methods**. To start, download [`p6.ipynb`](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-f23-projectdesign/-/raw/main/p6/p6.ipynb), [`public_tests.py`](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-f23-projectdesign/-/raw/main/p6/public_tests.py) and [`power_generators.csv`](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-f23-projectdesign/-/raw/main/p6/power_generators.csv). + +**Note:** Please go through [Lab-P6](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-f23-projects/-/tree/main/lab-p6) before you start the project. The lab contains some very important information that will be necessary for you to finish the project. + +You will work on `p6.ipynb` and hand it in. You should follow the provided directions for each question. Questions have **specific** directions on what **to do** and what **not to do**. + +After you've downloaded the file to your `p6` directory, open a terminal window and use `cd` to navigate to that directory. To make sure you're in the correct directory in the terminal, type `pwd`. To make sure you've downloaded the notebook file, type `ls` to ensure that `p6.ipynb`, `public_tests.py`, and `power_generators.csv` are listed. Then run the command `jupyter notebook` to start Jupyter, and get started on the project! + +**IMPORTANT**: You should **NOT** terminate/close the session where you run the above command. If you need to use any other Terminal/PowerShell commands, open a new window instead. Keep constantly saving your notebook file, by either clicking the "Save and Checkpoint" button (floppy disk) or using the appropriate keyboard shortcut. + +------------------------------ + +## IMPORTANT Submission instructions: +- Review the [Grading Rubric](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-f23-projects/-/tree/main/p6/rubric.md), to ensure that you don't lose points during code review. +- Login to [Gradescope](https://www.gradescope.com/) and upload the zip file into the P6 assignment. +- If you completed the project with a **partner**, make sure to **add their name** by clicking "Add Group Member" +in Gradescope when uploading the P6 zip file. + + <img src="images/add_group_member.png" width="400"> + + **Warning:** You will have to add your partner on Gradescope even if you have filled out this information in your `p6.ipynb` notebook. + +- It is **your responsibility** to make sure that your project clears auto-grader tests on the Gradescope test system. Otter test results should be available within forty minutes after your submission (usually within ten minutes). **Ignore** the `-/100.00` that is displayed to the right. You should be able to see both PASS / FAIL results for the 20 test cases, which is accessible via Gradescope Dashboard (as in the image below): + + <img src="images/gradescope.png" width="400"> + +- You can view your **final score** at the **end of the page**. If you pass all tests, then you will receive **full points** for the project. Otherwise, you can see your final score in the **summary** section of the test results (as in the image below): + + <img src="images/summary.png" width="400"> + + If you want more details on why you lost points on a particular test, you can scroll up to find more details about the test. diff --git a/p6/images/README.md b/p6/images/README.md new file mode 100644 index 0000000000000000000000000000000000000000..723be3c6902cbfc270e9aae8df3375033c03931d --- /dev/null +++ b/p6/images/README.md @@ -0,0 +1,3 @@ +# Images + +Images from p6 are stored here. diff --git a/p6/images/add_group_member.png b/p6/images/add_group_member.png new file mode 100644 index 0000000000000000000000000000000000000000..402e5962e3e54ce8349f60ccfe4ce2b60840dd3b Binary files /dev/null and b/p6/images/add_group_member.png differ diff --git a/p6/images/gradescope.png b/p6/images/gradescope.png new file mode 100644 index 0000000000000000000000000000000000000000..7441faae41d8eb98bfceeb78855b67896b1ff911 Binary files /dev/null and b/p6/images/gradescope.png differ diff --git a/p6/images/summary.png b/p6/images/summary.png new file mode 100644 index 0000000000000000000000000000000000000000..4a63e32ff1a29903584746aa4873373855558e7b Binary files /dev/null and b/p6/images/summary.png differ diff --git a/p6/p6.ipynb b/p6/p6.ipynb new file mode 100644 index 0000000000000000000000000000000000000000..7354a266bdf30303a320baaac3b1c63191df8207 --- /dev/null +++ b/p6/p6.ipynb @@ -0,0 +1,2708 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "id": "8da9b8bc", + "metadata": { + "cell_type": "code", + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "# import and initialize otter\n", + "import otter\n", + "grader = otter.Notebook(\"p6.ipynb\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "dba7dff6", + "metadata": { + "editable": false, + "execution": { + "iopub.execute_input": "2023-10-11T02:27:47.438834Z", + "iopub.status.busy": "2023-10-11T02:27:47.438834Z", + "iopub.status.idle": "2023-10-11T02:27:48.833718Z", + "shell.execute_reply": "2023-10-11T02:27:48.832693Z" + } + }, + "outputs": [], + "source": [ + "import public_tests" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c2d3d239", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:48.838719Z", + "iopub.status.busy": "2023-10-11T02:27:48.837718Z", + "iopub.status.idle": "2023-10-11T02:27:48.843512Z", + "shell.execute_reply": "2023-10-11T02:27:48.842503Z" + } + }, + "outputs": [], + "source": [ + "# PLEASE FILL IN THE DETAILS\n", + "# enter none if you don't have a project partner\n", + "# you will have to add your partner as a group member on Gradescope even after you fill this\n", + "\n", + "# project: p6\n", + "# submitter: NETID1\n", + "# partner: NETID2\n", + "# hours: ????" + ] + }, + { + "cell_type": "markdown", + "id": "b350efe9", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "# Project 6: Power Generators in Wisconsin" + ] + }, + { + "cell_type": "markdown", + "id": "7d055979", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "## Learning Objectives:\n", + "\n", + "In this project, you will demonstrate how to:\n", + "\n", + "* access and utilize data in CSV files,\n", + "* process real world datasets,\n", + "* use string methods and sorting function / method to order data.\n", + "\n", + "Please go through [Lab-P6](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-f23-projects/-/tree/main/lab-p6) before working on this project. The lab introduces some useful techniques related to this project." + ] + }, + { + "cell_type": "markdown", + "id": "d37abde3", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "## Testing your code:\n", + "\n", + "Along with this notebook, you must have downloaded the file `public_tests.py`. If you are curious about how we test your code, you can explore this file, and specifically the function `get_expected_json`, to understand the expected answers to the questions." + ] + }, + { + "cell_type": "markdown", + "id": "d3175a0d", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "## Project Description:\n", + "\n", + "In this project, we will use Python to analyze Electric Power Generation within the state of Wisconsin. The data used in this project has been adapted from [this dataset](https://www.eia.gov/electricity/data/eia860m/) maintained by the **US Energy Information Administration**. `power_generators.csv` has data of all 613 power generators within the state of Wisconsin that were in operation as of August 2023. This file includes information about the capacities, locations, and the technologies used by the generators." + ] + }, + { + "cell_type": "markdown", + "id": "93ed6c93", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "## Dataset:\n", + "\n", + "A small portion of the dataset `power_generators.csv` you will be working with for this project is reproduced here:" + ] + }, + { + "cell_type": "markdown", + "id": "d0621cd2", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "entity_id|entity_name|plant_id|plant_name|generator_id|county|net_summer_capacity|net_winter_capacity|technology|latitude|longitude\n", + "---|---|---|---|---|---|---|---|---|---|---\n", + "13781|Northern States Power Co - Minnesota|1756|Saxon Falls|1|Iron|0.5|0.5|Conventional Hydroelectric|46.5392|-90.3742\n", + "13781|Northern States Power Co - Minnesota|1756|Saxon Falls|2|Iron|0.5|0.6|Conventional Hydroelectric|46.5392|-90.3742\n", + "20847|Wisconsin Electric Power Co|1775|Brule|1|Florence|1.3|1.3|Conventional Hydroelectric|45.9472|-88.2189\n", + "20847|Wisconsin Electric Power Co|1775|Brule|2|Florence|2|2|Conventional Hydroelectric|45.9472|-88.2189\n", + "20847|Wisconsin Electric Power Co|1775|Brule|3|Florence|2|2|Conventional Hydroelectric|45.9472|-88.2189" + ] + }, + { + "cell_type": "markdown", + "id": "8f075c07", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "Each row of data represents a **single** generator. The columns contain the following data about each generator (along with the correct data type you **must** represent it as):\n", + "\n", + "1. `entity_id` - the **ID** of the **entity** that operates the Power Generator (`int`)\n", + "2. `entity_name` - the **name** of the **entity** that operates the Power Generator (`str`)\n", + "3. `plant_id` - the **ID** of the **Power Plant** hosting the Power Generator (`int`)\n", + "4. `plant_name` - the **name** of the **Power Plant** hosting the Power Generator (`str`)\n", + "5. `generator_id` - the **ID** of the specific **Power Generator** within its Power Plant (`str`)\n", + "6. `county` - the **name** of the **county** that the **Power Plant** is located in (`str`)\n", + "7. `net_summer_capacity` - the maximum **capacity** of the **Power Generator** (in units of MW) during the Summer months (`float`)\n", + "8. `net_winter_capacity` - the maximum **capacity** of the **Power Generator** (in units of MW) during the Winter months (`float`)\n", + "9. `technology` - the **technology** used by the **Power Generator** (`str`)\n", + "10. `latitude` - the **latitude** where the **Power Plant** is located (`float`)\n", + "11. `longitude` - the **longitude** where the **Power Plant** is located (`float`)\n", + "\n", + "You can find more details on the dataset in [Lab-P6](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-f23-projects/-/tree/main/lab-p6)." + ] + }, + { + "cell_type": "markdown", + "id": "e1259d94", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "## Project Requirements:\n", + "\n", + "You **may not** hardcode indices in your code unless specified in the question. If you are not sure what hardcoding is, here is a simple test you can use to determine whether you have hardcoded:\n", + "\n", + "*If we were to change the data (e.g. add more power generators, remove some power generators, or swap some columns or rows), would your code still find the correct answer to the question as it is asked?*\n", + "\n", + "If your answer to that question is *No*, then you have likely hardcoded something. Please reach out to TAs/PMs during office hours to find out how you can **avoid hardcoding**.\n", + "\n", + "**Store** your final answer for each question in the **variable specified for each question**. This step is important because Otter grades your work by comparing the value of this variable against the correct answer.\n", + "\n", + "For some of the questions, we'll ask you to write (then use) a function to compute the answer. If you compute the answer **without** creating the function we ask you to write, the Gradescope autograder will **deduct** points, even if the way you did it produced the correct answer.\n", + "\n", + "Required Functions:\n", + "- `process_csv`\n", + "- `cell`\n", + "- `find_entities_with_phrase`\n", + "- `num_generators_by`\n", + "- `find_indices_within`\n", + "- `median`\n", + "- `total_summer_capacity_of`\n", + "- `avg_winter_capacity_of`\n", + " \n", + "Students are only allowed to use Python commands and concepts that have been taught in the course prior to the release of P6. Therefore, **you should not use concepts/modules such as dictionaries, or the pandas module, to name a few examples**. Otherwise, the Gradescope autograder will **deduct** points, even if the way you did it produced the correct answer.\n", + "\n", + "For more details on what will cause you to lose points during code review and specific requirements, please take a look at the [Grading rubric](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-f23-projects/-/blob/main/p6/rubric.md)." + ] + }, + { + "cell_type": "markdown", + "id": "15954a07", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "## Questions and Functions:\n", + "\n", + "Let us start by importing all the modules we will need for this project." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "cb349cfe", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:48.848521Z", + "iopub.status.busy": "2023-10-11T02:27:48.848521Z", + "iopub.status.idle": "2023-10-11T02:27:48.853596Z", + "shell.execute_reply": "2023-10-11T02:27:48.852585Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# it is considered a good coding practice to place all import statements at the top of the notebook\n", + "# please place all your import statements in this cell if you need to import any more modules for this project\n" + ] + }, + { + "cell_type": "markdown", + "id": "1545f366", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "### Function 0: `cell`\n", + "\n", + "Copy and paste the `process_csv` and `cell` functions from your Lab-P6 notebook to the cell below.\n", + "\n", + "You are expected to call the `process_csv` function correctly, and read the data on `power_generators.csv`. After reading the file, define the `csv_header`, and `csv_rows` variables as in Lab-P6, and define the `cell` function.\n", + "\n", + "**Important:** You **must** only use the `cell` function to extract data from the dataset. If you extract any data without explicitly using this function, the Gradescope autograder will **deduct points**." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "fcc96412", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:48.858595Z", + "iopub.status.busy": "2023-10-11T02:27:48.857615Z", + "iopub.status.idle": "2023-10-11T02:27:48.868258Z", + "shell.execute_reply": "2023-10-11T02:27:48.867246Z" + }, + "tags": [] + }, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "58b80213", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"cell\")" + ] + }, + { + "cell_type": "markdown", + "id": "f7954e7e", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 1:** What **unique** technologies (`technology`) are used by the power generators in Wisconsin?\n", + "\n", + "Your output **must** be a *list* which stores all the **unique** technologies (i.e., without any duplicates). The order **does not** matter." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "558e7e76", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:48.934460Z", + "iopub.status.busy": "2023-10-11T02:27:48.933458Z", + "iopub.status.idle": "2023-10-11T02:27:48.945678Z", + "shell.execute_reply": "2023-10-11T02:27:48.944668Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'technologies', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "d537fb5d", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q1\")" + ] + }, + { + "cell_type": "markdown", + "id": "da1c7aff", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 2:** How many power generators are in the `county` *Dane*?" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "640e47c1", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.002883Z", + "iopub.status.busy": "2023-10-11T02:27:49.001885Z", + "iopub.status.idle": "2023-10-11T02:27:49.010638Z", + "shell.execute_reply": "2023-10-11T02:27:49.009630Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'count_dane', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "5800b3c0", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q2\")" + ] + }, + { + "cell_type": "markdown", + "id": "aaa4d1c5", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 3:** What is the **total** `net_summer_capacity` of all the power generators in Wisconsin?\n", + "\n", + "Your answer **must** be a **float** that represents the total `net_summer_capacity`. You **must** **ignore** all power generators whose `net_summer_capacity` data is **missing**." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "948071a4", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.055016Z", + "iopub.status.busy": "2023-10-11T02:27:49.054015Z", + "iopub.status.idle": "2023-10-11T02:27:49.064338Z", + "shell.execute_reply": "2023-10-11T02:27:49.063329Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'total_summer_capacity', then display it" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b57617f1", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q3\")" + ] + }, + { + "cell_type": "markdown", + "id": "dd6c8651", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "### Function 1: `find_entities_with_phrase(phrase)`\n", + "\n", + "We require you to complete the below function. You can review string methods from any of these lecture slides: [Mike](https://canvas.wisc.edu/courses/374263/files/folder/Mikes_Lecture_Notes/Lec13_Strings), [Gurmail](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-lecture-material/-/tree/main/f23/Gurmail_Lecture_Notes/13_Strings), or [Cole](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-lecture-material/-/tree/main/f23/Cole_Lecture_Notes/13_Strings)." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "dcb08e62", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.106523Z", + "iopub.status.busy": "2023-10-11T02:27:49.106523Z", + "iopub.status.idle": "2023-10-11T02:27:49.113072Z", + "shell.execute_reply": "2023-10-11T02:27:49.112064Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "def find_entities_with_phrase(phrase):\n", + " \"\"\"\n", + " find_entities_with_phrase(phrase) returns a list of all the entity names\n", + " WITHOUT duplicates that CONTAIN the substring\n", + " (case insensitive match) `phrase`.\n", + " \"\"\"\n", + " pass # replace with your code\n", + " # TODO: create an empty list\n", + " # TODO: check if the entity name string contains phrase (case insensitive match)\n", + " # TODO: if so, add these entity names to the list (the entity names should be as in the dataset)\n", + " # TODO: return your list of entity names after removing duplicates" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "54f9b43d", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"find_entities_with_phrase\")" + ] + }, + { + "cell_type": "markdown", + "id": "ed32d8f2", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 4:** Find all entity names (`entity_name`) that contain the string *\"Madison\"* (case insensitive).\n", + " \n", + "Your output **must** be a **list**. The order **does not** matter. You **must** use the `find_entities_with_phrase` function to answer this question." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c540e0c8", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.164805Z", + "iopub.status.busy": "2023-10-11T02:27:49.164805Z", + "iopub.status.idle": "2023-10-11T02:27:49.172798Z", + "shell.execute_reply": "2023-10-11T02:27:49.171789Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'madison_entities', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "0a781c1c", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q4\")" + ] + }, + { + "cell_type": "markdown", + "id": "eeeac007", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 5:** Find all entity names (`entity_name`) that contain **either** *\"Wisconsin\"* **or** *\"Power\"* (case insensitive).\n", + "\n", + "If an entity's name contains **both** *\"Wisconsin\"* and *\"Power\"*, then the `entity_name` must be included **only once** in your list.\n", + "\n", + "Your output **must** be a **list**. The order **does not** matter.\n", + "\n", + "**Hint**: You can use the `find_entities_with_phrase` function on *\"Wisconsin\"* and *\"Power\"* to answer this question." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "1f63eeb7", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.196177Z", + "iopub.status.busy": "2023-10-11T02:27:49.196177Z", + "iopub.status.idle": "2023-10-11T02:27:49.204674Z", + "shell.execute_reply": "2023-10-11T02:27:49.203662Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'entities_contain_wisconsin_power', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "815f8251", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q5\")" + ] + }, + { + "cell_type": "markdown", + "id": "ec8a711a", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 6:** Find all entity names (`entity_name`) that contain **both** *\"Solar\"* **and** *\"LLC\"* (case insensitive).\n", + "\n", + "Your output **must** be a **list**. The order **does not** matter.\n", + "\n", + "**Hint**: You can use the `find_entities_with_phrase` function on *\"Solar\"* and *\"LLC\"* to answer this question." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "8f243866", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.244229Z", + "iopub.status.busy": "2023-10-11T02:27:49.244229Z", + "iopub.status.idle": "2023-10-11T02:27:49.253218Z", + "shell.execute_reply": "2023-10-11T02:27:49.252210Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'entities_contain_solar_llc', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c7bd0a09", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q6\")" + ] + }, + { + "cell_type": "markdown", + "id": "d7f1fe7c", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 7:** Find the generator IDs (`generator_id`) of all the generators that use the `technology` *\"Wood/Wood Waste Biomass\"* within the power plant with the `plant_id` *50614*.\n", + "\n", + "Your output **must** be a *list*. The IDs **must** be sorted in **descending (alphabetical) order**." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "14e60189", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.294837Z", + "iopub.status.busy": "2023-10-11T02:27:49.294837Z", + "iopub.status.idle": "2023-10-11T02:27:49.303357Z", + "shell.execute_reply": "2023-10-11T02:27:49.302349Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'plant_50614_generators', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "16793e9a", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q7\")" + ] + }, + { + "cell_type": "markdown", + "id": "1e4c8af3", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 8:** What are the power plants (`plant_name`) that contain generators which use the `technology` *Conventional Hydroelectric* and have a `net_summer_capacity` greater than *5*?\n", + "\n", + "You **must** **ignore** all generators with **missing** `net_summer_capacity` data.\n", + "\n", + "Your output **must** be a *list* of **unique** plant names (`plant_name`). The names **must** be sorted in **ascending (alphabetical) order**." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "22bf0bd6", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.362779Z", + "iopub.status.busy": "2023-10-11T02:27:49.362779Z", + "iopub.status.idle": "2023-10-11T02:27:49.371703Z", + "shell.execute_reply": "2023-10-11T02:27:49.371703Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'powerful_hydro_electric_plants', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "311ca32a", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q8\")" + ] + }, + { + "cell_type": "markdown", + "id": "e4b088bd", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "### Function 2: `num_generators_by(entity_name)`\n", + "\n", + "We require you to complete the below function." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c15d3cff", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.431821Z", + "iopub.status.busy": "2023-10-11T02:27:49.431821Z", + "iopub.status.idle": "2023-10-11T02:27:49.437784Z", + "shell.execute_reply": "2023-10-11T02:27:49.436774Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "def num_generators_by(entity_name):\n", + " \"\"\"\n", + " num_generators_by(entity_name) returns the number of\n", + " power generators operated by the given `entity_name`\n", + " (case sensitive match).\n", + " \"\"\"\n", + " pass # replace with your code" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "176f7127", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"num_generators_by\")" + ] + }, + { + "cell_type": "markdown", + "id": "6d7c9ad7", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 9:** How **many** generators are operated by the entity (`entity_name`) *Madison Gas & Electric Co*?\n", + "\n", + "You **must** use the `num_generators_by` function to answer this question." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "7b63cd92", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.471254Z", + "iopub.status.busy": "2023-10-11T02:27:49.471254Z", + "iopub.status.idle": "2023-10-11T02:27:49.478589Z", + "shell.execute_reply": "2023-10-11T02:27:49.477579Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'num_generators_by_mge', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b4295606", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q9\")" + ] + }, + { + "cell_type": "markdown", + "id": "cd774290", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 10:** How **many** generators are operated by entities whose name (`entity_name`) **contains** the **phrase** *River* (case insensitive)?\n", + "\n", + "You **must** use the `num_generators_by` and `find_entities_with_phrase` functions to answer this question." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "47a40343", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.501049Z", + "iopub.status.busy": "2023-10-11T02:27:49.501049Z", + "iopub.status.idle": "2023-10-11T02:27:49.508903Z", + "shell.execute_reply": "2023-10-11T02:27:49.507894Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'num_generators_by_river', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "be57d52b", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q10\")" + ] + }, + { + "cell_type": "markdown", + "id": "e9461f73", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 11:** Which entity (`entity_name`) operates the **most** number of generators within Wisconsin?\n", + "\n", + "You **must** use the `num_generators_by` function to answer this question. You do **not** have to worry about any ties. There is a **unique** entity with the most number of generators in the dataset.\n", + "\n", + "**Hint**: You must first create a list of unique entities (`entity_name`) in the dataset, then loop through them to find the entity with the most number of generators.\n", + "\n", + "**Extra Hint**: If you are clever about it, you can generate a list of all the unique entities using the `find_entities_with_phrase` function. You do **not** have to answer this question that way, but try to find out how you can use it here!" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "005d5411", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.549342Z", + "iopub.status.busy": "2023-10-11T02:27:49.549342Z", + "iopub.status.idle": "2023-10-11T02:27:49.615539Z", + "shell.execute_reply": "2023-10-11T02:27:49.614528Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'most_generators_entity', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "e2779914", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q11\")" + ] + }, + { + "cell_type": "markdown", + "id": "4b5dc3a0", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "### Function 3: `find_indices_within(lat_min, lat_max, long_min, long_max)` \n", + "\n", + "We require you to complete the below function." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c6802dc2", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.667401Z", + "iopub.status.busy": "2023-10-11T02:27:49.666398Z", + "iopub.status.idle": "2023-10-11T02:27:49.673783Z", + "shell.execute_reply": "2023-10-11T02:27:49.672567Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "def find_indices_within(lat_min, lat_max, long_min, long_max):\n", + " \"\"\"\n", + " find_indices_within(lat_min, lat_max, long_min, long_max) returns a\n", + " list of *row indices* of all generators located within the\n", + " latitudes `lat_min` and `lat_max` (both inclusive) and the\n", + " longitudes `long_min` and `long_max` (both inclusive).\n", + " \"\"\"\n", + " pass # replace with your code" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "e5488d98", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"find_indices_within\")" + ] + }, + { + "cell_type": "markdown", + "id": "18c74fa6", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 12:** How **many** power generators are located **within** the *City of Milwaukee* (`42.9870 <= latitude <= 43.1936`, `-88.0636 <= longitude <= -87.8727`)?\n", + "\n", + "Note that simply checking if the `county` is *Milwaukee* will lead you to count generators that are within *Milwaukee County*, but not within the City. Use the coordinates given above to determine the generators that lie within the City.\n", + "\n", + "You **must** use the `find_indices_within` function to answer this question." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "aee6c489", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.719054Z", + "iopub.status.busy": "2023-10-11T02:27:49.719054Z", + "iopub.status.idle": "2023-10-11T02:27:49.729853Z", + "shell.execute_reply": "2023-10-11T02:27:49.728843Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'num_generators_in_milwaukee', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "ff3ece04", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q12\")" + ] + }, + { + "cell_type": "markdown", + "id": "6f4513b3", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 13:** What are the **unique** technologies (`technology`) used by power generators located **near** the *University of Wisconsin-Madison Department of Computer Sciences* (`43.0675 <= latitude <= 43.0725`, `-89.4100 <= longitude <= -89.4000`)?\n", + "\n", + "You may assume that any power generator that lies within the coordinates given above are **near** the *University of Wisconsin-Madison Department of Computer Sciences*. You **must** use the `find_indices_within` function to answer this question.\n", + "\n", + "You **must** return a **list** of **unique** technologies. The order **does not** matter. " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "5f1b89a6", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.771496Z", + "iopub.status.busy": "2023-10-11T02:27:49.769497Z", + "iopub.status.idle": "2023-10-11T02:27:49.785802Z", + "shell.execute_reply": "2023-10-11T02:27:49.784788Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'uw_madison_technologies', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "8159bf47", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q13\")" + ] + }, + { + "cell_type": "markdown", + "id": "53ceb4f6", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 14:** Which power plant (`plant_name`) in *North Wisconsin* (`44.9657 <= latitude <= 46.6989`, `-92.1908 <= longitude <= -87.6449`) has the generator with the **highest** `net_summer_capacity`?\n", + "\n", + "You may assume that any power generator that lies within the coordinates given above are **in** *North Wisconsin*. You **may** assume that **none** of the `net_summer_capacity` values of any of the power generators within this area are **missing**.\n", + "\n", + "You do **not** have to worry about any ties. There is a **unique** generator in *North Wisconsin* with the highest `net_summer_capacity`.\n", + "\n", + "You **must** use the `find_indices_within` function to answer this question." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "4b85701d", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.850101Z", + "iopub.status.busy": "2023-10-11T02:27:49.849103Z", + "iopub.status.idle": "2023-10-11T02:27:49.865571Z", + "shell.execute_reply": "2023-10-11T02:27:49.864561Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'north_wisconsin_most_powerful', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "4e6aa753", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q14\")" + ] + }, + { + "cell_type": "markdown", + "id": "cd60dff7", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "### Function 4: `median(items)` \n", + "\n", + "We require you to complete the below function. You may **copy/paste** this function from your Lab-P6 notebook." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "3497c585", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.926577Z", + "iopub.status.busy": "2023-10-11T02:27:49.925577Z", + "iopub.status.idle": "2023-10-11T02:27:49.932074Z", + "shell.execute_reply": "2023-10-11T02:27:49.932074Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "def median(items):\n", + " \"\"\"\n", + " median(items) returns the median of the list `items`\n", + " \"\"\"\n", + " pass # replace with your code\n", + " # you may copy/paste this function from your Lab-P6 notebook" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "343ea46f", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"median\")" + ] + }, + { + "cell_type": "markdown", + "id": "8df56d8a", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 15:** What is the **median** `net_winter_capacity` of *Conventional Hydroelectric* (`technology`) power generators **near** *Lake Winnebago* (`43.6961 <= latitude <= 44.3512`, `-88.5375 <= longitude <= -88.2713`)?\n", + "\n", + "You may assume that any power generator that lies within the coordinates given above are **near** *Lake Winnebago*. You **may** assume that **none** of the `net_winter_capacity` values of any of the power generators within this area are **missing**.\n", + "\n", + "You **must** use the `find_indices_within` and `median` functions to answer this question." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "2369bd91", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:49.967292Z", + "iopub.status.busy": "2023-10-11T02:27:49.967292Z", + "iopub.status.idle": "2023-10-11T02:27:49.977881Z", + "shell.execute_reply": "2023-10-11T02:27:49.976873Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'winnebago_hydro_winter_capacity', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "2232d972", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q15\")" + ] + }, + { + "cell_type": "markdown", + "id": "c3a93f3f", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "### Function 5: `total_summer_capacity_of(plant_name)` \n", + "\n", + "We **require** you to complete the below function. This function must take in a `plant_name` and return the **total** `net_summer_capacity` of all the power generators within that power plant. If a particular `plant_name` has **some** generators with **missing data**, those generators **must** be **ignored** while finding the sum.\n", + "\n", + "This function can be **case-sensitive**. You **only** need to consider the power plants whose names **exactly match** `plant_name`." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "5e413275", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:50.032782Z", + "iopub.status.busy": "2023-10-11T02:27:50.032782Z", + "iopub.status.idle": "2023-10-11T02:27:50.040092Z", + "shell.execute_reply": "2023-10-11T02:27:50.039085Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "def total_summer_capacity_of(plant_name):\n", + " \"\"\"\n", + " total_summer_capacity_of(plant_name) returns the total\n", + " `net_summer_capacity` of all power generators within\n", + " the given `plant_name`; this function **ignores**\n", + " any generator whose `net_summer_capacity` data is\n", + " missing.\n", + " \"\"\"\n", + " pass # replace with your code" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "acf7cc42", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"total_summer_capacity_of\")" + ] + }, + { + "cell_type": "markdown", + "id": "7eccb8d9", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 16:** What is the **net summer capacity** of the **power plant** *Point Beach Nuclear Plant*?\n", + "\n", + "The **net summer capacity** of a **power plant** refers to the **total** `net_summer_capacity` of **all** the generators within the power plant.\n", + "\n", + "You **must** use the `total_summer_capacity_of` function to answer this question." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b7c3401b", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:50.094056Z", + "iopub.status.busy": "2023-10-11T02:27:50.094056Z", + "iopub.status.idle": "2023-10-11T02:27:50.102246Z", + "shell.execute_reply": "2023-10-11T02:27:50.101232Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'point_beach_summer_capacity', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c58a655b", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q16\")" + ] + }, + { + "cell_type": "markdown", + "id": "c234f97d", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 17:** Find the **median** of the **net summer capacities** of **all** the **power plants** in Wisconsin.\n", + "\n", + "The **net summer capacity** of a **power plant** refers to the **total** `net_summer_capacity` of **all** the generators within the power plant.\n", + "\n", + "You **must** use the `total_summer_capacity_of` function to answer this question.\n", + "\n", + "**WARNING**: You **must not** find the **median** across all the power **generators**. Multiple generators may belong to the same power plant. Instead, you **must** find the **median** across the **total** power generated by each **power plant**.\n", + "\n", + "**Hint**: You must first make a list of all the **unique** power plants (`plant_name`) in the dataset, then make a **list** of all their **total** net summer capacities (using `total_summer_capacity_of`), and finally, find the **median** of this list." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "8d4b30df", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:50.127465Z", + "iopub.status.busy": "2023-10-11T02:27:50.127465Z", + "iopub.status.idle": "2023-10-11T02:27:50.207825Z", + "shell.execute_reply": "2023-10-11T02:27:50.206815Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'median_summer_capacity', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b4efe698", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q17\")" + ] + }, + { + "cell_type": "markdown", + "id": "0d3ad3d2", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "### Function 6: `avg_winter_capacity_of(technology)`\n", + "\n", + "We **require** you to complete the below function. This function must take in a `technology` and return the **average** (i.e., **mean**) `net_winter_capacity` of **all** the power generators which use that particular `technology`. If a particular `technology` has **some** generators with **missing data**, those generators **must** be **ignored** while finding the average (i.e., ignored in **both** the *numerator* and the *denominator*).\n", + "\n", + "This function can be **case-sensitive**. You **only** need to consider the technologies whose names **exactly match** `technology`." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "26778535", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:50.289565Z", + "iopub.status.busy": "2023-10-11T02:27:50.288567Z", + "iopub.status.idle": "2023-10-11T02:27:50.296554Z", + "shell.execute_reply": "2023-10-11T02:27:50.295542Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "def avg_winter_capacity_of(technology):\n", + " \"\"\"\n", + " avg_winter_capacity_of(technology)\n", + " returns the average (mean) of `net_winter_capacity`\n", + " of all power generators which use the given\n", + " `technology`; generators with missing data\n", + " are ignored.\n", + " \"\"\" \n", + " pass # replace with your code" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "7a5d3206", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"avg_winter_capacity_of\")" + ] + }, + { + "cell_type": "markdown", + "id": "5b216183", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 18:** What is the **average** `net_winter_capacity` of all power generators that use the `technology` *Conventional Hydroelectric*?\n", + "\n", + "You **must** use the `avg_winter_capacity_of` function to answer this question." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "1327b28f", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:50.357674Z", + "iopub.status.busy": "2023-10-11T02:27:50.356674Z", + "iopub.status.idle": "2023-10-11T02:27:50.369511Z", + "shell.execute_reply": "2023-10-11T02:27:50.368494Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'hydro_avg_winter_capacity', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "186f538d", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q18\")" + ] + }, + { + "cell_type": "markdown", + "id": "a8c3a5c4", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 19:** Which `technology` has the **highest** `net_winter_capacity` on **average**?\n", + "\n", + "You **must** use the `avg_winter_capacity_of` function to answer this question. You do **not** have to worry about any ties. There is a **unique** technology with the highest `net_winter_capacity` on average.\n", + "\n", + "**Hint**: You already created a list of the **unique** technologies to answer Question 1. Loop through that list and find which of those technologies has the **highest** average `net_winter_capacity` (using `avg_winter_capacity_of`)." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "cb4b3515", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:50.398993Z", + "iopub.status.busy": "2023-10-11T02:27:50.398993Z", + "iopub.status.idle": "2023-10-11T02:27:50.420956Z", + "shell.execute_reply": "2023-10-11T02:27:50.419946Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'max_winter_capacity_tech', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "dbd1c5a7", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q19\")" + ] + }, + { + "cell_type": "markdown", + "id": "d52113b6", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "**Question 20:** Find the **difference** between the **average** net winter capacities of the `technology` with the **highest** average and the **second highest** average.\n", + "\n", + "You must use the `avg_winter_capacity_of` function to answer this question.\n", + "\n", + "**Hint**: You have already found the `technology` with the **highest** average. You need to find the `technology` with the **second highest** average, and find the difference between their average net winter capacities using the `avg_winter_capacity_of` function.\n", + "\n", + "**Extra Hint**: There is also another (easier) way to solve this question. Try to find it! Reviewing Lab-P6 could help you find it." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "fda50bf0", + "metadata": { + "execution": { + "iopub.execute_input": "2023-10-11T02:27:50.487976Z", + "iopub.status.busy": "2023-10-11T02:27:50.487976Z", + "iopub.status.idle": "2023-10-11T02:27:50.503476Z", + "shell.execute_reply": "2023-10-11T02:27:50.502465Z" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# compute and store the answer in the variable 'diff_avg_winter_capacity', then display it\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "2bb63bdf", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"q20\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "36501521", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"general_deductions\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "8646562e", + "metadata": { + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "grader.check(\"summary\")" + ] + }, + { + "cell_type": "markdown", + "id": "54aebf55", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + "## Submission\n", + "It is recommended that at this stage, you Restart and Run all Cells in your notebook.\n", + "That will automatically save your work and generate a zip file for you to submit.\n", + "\n", + "**SUBMISSION INSTRUCTIONS**:\n", + "1. **Upload** the zipfile to Gradescope.\n", + "2. If you completed the project with a **partner**, make sure to **add their name** by clicking \"Add Group Member\"\n", + "in Gradescope when uploading the zip file.\n", + "3. Check **Gradescope** results as soon as the auto-grader execution gets completed.\n", + "4. Your **final score** for this project is the score that you see on **Gradescope**.\n", + "5. You are **allowed** to resubmit on Gradescope as many times as you want to.\n", + "6. **Contact** a TA/PM if you lose any points on Gradescope for any **unclear reasons**." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "50a954f7", + "metadata": { + "cell_type": "code", + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "# running this cell will create a new save checkpoint for your notebook\n", + "from IPython.display import display, Javascript\n", + "display(Javascript('IPython.notebook.save_checkpoint();'))" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c27d5953", + "metadata": { + "cell_type": "code", + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "!jupytext --to py p6.ipynb" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "4c156ffd", + "metadata": { + "cell_type": "code", + "deletable": false, + "editable": false + }, + "outputs": [], + "source": [ + "public_tests.check_file_size(\"p6.ipynb\")\n", + "grader.export(pdf=False, run_tests=False, files=[\"p6.py\"])" + ] + }, + { + "cell_type": "markdown", + "id": "7ac48f2e", + "metadata": { + "deletable": false, + "editable": false + }, + "source": [ + " " + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3 (ipykernel)", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.11.4" + }, + "otter": { + "OK_FORMAT": true, + "tests": { + "avg_winter_capacity_of": { + "name": "avg_winter_capacity_of", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> \n>>> public_tests.rubric_check('avg_winter_capacity_of: not all rows are looped through')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'not all rows are looped through (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('avg_winter_capacity_of: missing data is not ignored')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'missing data is not ignored (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('avg_winter_capacity_of: function logic is incorrect')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'function logic is incorrect (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('avg_winter_capacity_of: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "cell": { + "name": "cell", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> \n>>> public_tests.rubric_check('cell: variables `csv_data`, `csv_header`, and `csv_rows` are not defined as expected')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'variables `csv_data`, `csv_header`, and `csv_rows` are not defined as expected (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('cell: function does not return `None` when data is missing')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'function does not return `None` when data is missing (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('cell: function does not typecast to `int` or `float` when expected')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'function does not typecast to `int` or `float` when expected (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('cell: function logic is incorrect', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'function logic is incorrect (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('cell: `process_csv` function is not used to read `power_generators.csv`')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`process_csv` function is not used to read `power_generators.csv` (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "find_entities_with_phrase": { + "name": "find_entities_with_phrase", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> \n>>> public_tests.rubric_check('find_entities_with_phrase: not all rows are looped through')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'not all rows are looped through (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('find_entities_with_phrase: case insensitive matches are not considered')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'case insensitive matches are not considered (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('find_entities_with_phrase: duplicates are not removed')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'duplicates are not removed (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('find_entities_with_phrase: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "find_indices_within": { + "name": "find_indices_within", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> \n>>> public_tests.rubric_check('find_indices_within: not all rows are looped through')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'not all rows are looped through (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('find_indices_within: incorrect comparison operators are used')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect comparison operators are used (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('find_indices_within: function logic is incorrect')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'function logic is incorrect (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('find_indices_within: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "general_deductions": { + "name": "general_deductions", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> \n>>> public_tests.rubric_check('general_deductions: Did not save the notebook file prior to running the cell containing \"export\". We cannot see your output if you do not save before generating the zip file. This deduction will become stricter for future projects.')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'Did not save the notebook file prior to running the cell containing \"export\". We cannot see your output if you do not save before generating the zip file. This deduction will become stricter for future projects. (-3)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('general_deductions: Used concepts/modules such as dictionaries, or pandas not covered in class yet - built-in functions that you have been introduced to can be used.')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'Used concepts/modules such as dictionaries, or pandas not covered in class yet - built-in functions that you have been introduced to can be used. (-3)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('general_deductions: Import statements are not all placed at the top of the notebook.')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'Import statements are not all placed at the top of the notebook. (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "median": { + "name": "median", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> \n>>> public_tests.rubric_check('median: function modifies the original input list')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'function modifies the original input list (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('median: function logic is incorrect when inputs are of odd length')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'function logic is incorrect when inputs are of odd length (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('median: function logic is incorrect when inputs are of even length')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'function logic is incorrect when inputs are of even length (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "num_generators_by": { + "name": "num_generators_by", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> \n>>> public_tests.rubric_check('num_generators_by: not all rows are looped through')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'not all rows are looped through (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('num_generators_by: function logic is incorrect')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'function logic is incorrect (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('num_generators_by: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q1": { + "name": "q1", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q1', technologies)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q1: not all rows are looped through')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'not all rows are looped through (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q1: incorrect logic is used')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q1: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> public_tests.rubric_check('q1: public tests')\nAll test cases passed!\n", + "hidden": false, + "locked": false + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q10": { + "name": "q10", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q10', num_generators_by_river)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q10: incorrect logic is used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q10: `num_generators_by` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`num_generators_by` function is not used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q10: `find_entities_with_phrase` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`find_entities_with_phrase` function is not used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q11": { + "name": "q11", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q11', most_generators_entity)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q11: all entities are looped through instead of just the unique entities')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'all entities are looped through instead of just the unique entities (-2)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q11: incorrect logic is used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q11: `num_generators_by` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`num_generators_by` function is not used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> public_tests.rubric_check('q11: public tests')\nAll test cases passed!\n", + "hidden": false, + "locked": false + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q12": { + "name": "q12", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q12', num_generators_in_milwaukee)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q12: length of the list is found by looping through it')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'length of the list is found by looping through it (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q12: `find_indices_within` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`find_indices_within` function is not used to answer (-2)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q13": { + "name": "q13", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q13', uw_madison_technologies)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q13: duplicates are not removed from the list')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'duplicates are not removed from the list (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q13: incorrect logic is used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q13: `find_indices_within` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`find_indices_within` function is not used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q14": { + "name": "q14", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q14', north_wisconsin_most_powerful)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q14: incorrect logic is used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used to answer (-2)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q14: `find_indices_within` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`find_indices_within` function is not used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q14: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> public_tests.rubric_check('q14: public tests')\nAll test cases passed!\n", + "hidden": false, + "locked": false + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q15": { + "name": "q15", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q15', winnebago_hydro_winter_capacity)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q15: incorrect logic is used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q15: `find_indices_within` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`find_indices_within` function is not used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q15: `median` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`median` function is not used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q15: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q16": { + "name": "q16", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q16', point_beach_summer_capacity)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q16: `total_summer_capacity_of` function is not used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`total_summer_capacity_of` function is not used to answer (-2)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q17": { + "name": "q17", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q17', median_summer_capacity)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q17: all power plants are looped through instead of just the unique power plants')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'all power plants are looped through instead of just the unique power plants (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q17: incorrect logic is used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q17: `total_summer_capacity_of` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`total_summer_capacity_of` function is not used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q17: `median` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`median` function is not used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> public_tests.rubric_check('q17: public tests')\nAll test cases passed!\n", + "hidden": false, + "locked": false + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q18": { + "name": "q18", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q18', hydro_avg_winter_capacity)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q18: `avg_winter_capacity_of` function is not used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`avg_winter_capacity_of` function is not used to answer (-2)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q19": { + "name": "q19", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q19', max_winter_capacity_tech)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q19: all technologies are looped through instead of just the unique technologies')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'all technologies are looped through instead of just the unique technologies (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q19: list of unique technologies is recomputed')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'list of unique technologies is recomputed (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q19: incorrect logic is used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q19: `avg_winter_capacity_of` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`avg_winter_capacity_of` function is not used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> public_tests.rubric_check('q19: public tests')\nAll test cases passed!\n", + "hidden": false, + "locked": false + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q2": { + "name": "q2", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q2', count_dane)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q2: not all rows are looped through')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'not all rows are looped through (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q2: incorrect logic is used')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q2: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q20": { + "name": "q20", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q20', diff_avg_winter_capacity)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q20: all technologies are looped through instead of just the unique technologies')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'all technologies are looped through instead of just the unique technologies (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q20: incorrect logic is used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q20: `avg_winter_capacity_of` function is not used to answer', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`avg_winter_capacity_of` function is not used to answer (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> public_tests.rubric_check('q20: public tests')\nAll test cases passed!\n", + "hidden": false, + "locked": false + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q3": { + "name": "q3", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q3', total_summer_capacity)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q3: not all rows are looped through')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'not all rows are looped through (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q3: incorrect logic is used')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q3: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q4": { + "name": "q4", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q4', madison_entities)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q4: `find_entities_with_phrase` function is not used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`find_entities_with_phrase` function is not used to answer (-2)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q5": { + "name": "q5", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q5', entities_contain_wisconsin_power)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q5: incorrect logic is used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used to answer (-2)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q5: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> public_tests.rubric_check('q5: public tests')\nAll test cases passed!\n", + "hidden": false, + "locked": false + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q6": { + "name": "q6", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q6', entities_contain_solar_llc)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q6: incorrect logic is used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used to answer (-2)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q6: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> public_tests.rubric_check('q6: public tests')\nAll test cases passed!\n", + "hidden": false, + "locked": false + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q7": { + "name": "q7", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q7', plant_50614_generators)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q7: not all rows are looped through')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'not all rows are looped through (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q7: the output is not sorted correctly')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'the output is not sorted correctly (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q7: incorrect logic is used', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q7: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> public_tests.rubric_check('q7: public tests')\nAll test cases passed!\n", + "hidden": false, + "locked": false + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q8": { + "name": "q8", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q8', powerful_hydro_electric_plants)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q8: not all rows are looped through')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'not all rows are looped through (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q8: the output is not sorted correctly')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'the output is not sorted correctly (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q8: incorrect comparison operators are used')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect comparison operators are used (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q8: incorrect logic is used', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'incorrect logic is used (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q8: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "q9": { + "name": "q9", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.check('q9', num_generators_by_mge)\nAll test cases passed!\n", + "hidden": false, + "locked": false + }, + { + "code": ">>> \n>>> public_tests.rubric_check('q9: `num_generators_by` function is not used to answer')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`num_generators_by` function is not used to answer (-2)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "summary": { + "name": "summary", + "points": 127, + "suites": [ + { + "cases": [ + { + "code": ">>> public_tests.get_summary()\nTotal Score: 100/100\n", + "hidden": false, + "locked": false + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + }, + "total_summer_capacity_of": { + "name": "total_summer_capacity_of", + "points": 0, + "suites": [ + { + "cases": [ + { + "code": ">>> \n>>> public_tests.rubric_check('total_summer_capacity_of: not all rows are looped through')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'not all rows are looped through (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('total_summer_capacity_of: missing data is not ignored')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'missing data is not ignored (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('total_summer_capacity_of: function logic is incorrect')\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - 'function logic is incorrect (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + }, + { + "code": ">>> \n>>> public_tests.rubric_check('total_summer_capacity_of: `cell` function is not used to read data', False)\nAll test cases passed!\n", + "hidden": false, + "locked": false, + "success_message": "Note that the Gradescope autograder will deduct points if your code fails the following rubric point - '`cell` function is not used to read data (-1)'. The public tests cannot determine if your code satisfies these requirements. Verify your code manually." + } + ], + "scored": true, + "setup": "", + "teardown": "", + "type": "doctest" + } + ] + } + } + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/p6/power_generators.csv b/p6/power_generators.csv new file mode 100644 index 0000000000000000000000000000000000000000..55e3e2565a475ee2cb39366f89457cde72e5fcb8 --- /dev/null +++ b/p6/power_generators.csv @@ -0,0 +1,614 @@ +entity_id,entity_name,plant_id,plant_name,generator_id,county,net_summer_capacity,net_winter_capacity,technology,latitude,longitude +13781,Northern States Power Co - Minnesota,1756,Saxon Falls,1,Iron,0.5,0.5,Conventional Hydroelectric,46.5392,-90.3742 +13781,Northern States Power Co - Minnesota,1756,Saxon Falls,2,Iron,0.5,0.6,Conventional Hydroelectric,46.5392,-90.3742 +20847,Wisconsin Electric Power Co,1775,Brule,1,Florence,1.3,1.3,Conventional Hydroelectric,45.9472,-88.2189 +20847,Wisconsin Electric Power Co,1775,Brule,2,Florence,2,2,Conventional Hydroelectric,45.9472,-88.2189 +20847,Wisconsin Electric Power Co,1775,Brule,3,Florence,2,2,Conventional Hydroelectric,45.9472,-88.2189 +4247,Consolidated Water Power Co,3971,Biron,1,Wood,1.3,1.3,Conventional Hydroelectric,44.4306,-89.7808 +4247,Consolidated Water Power Co,3971,Biron,2,Wood,1.3,1.3,Conventional Hydroelectric,44.4306,-89.7808 +4247,Consolidated Water Power Co,3971,Biron,3,Wood,0.4,0.4,Conventional Hydroelectric,44.4306,-89.7808 +4247,Consolidated Water Power Co,3971,Biron,4,Wood,0.4,0.4,Conventional Hydroelectric,44.4306,-89.7808 +4247,Consolidated Water Power Co,3971,Biron,5,Wood,0.4,0.4,Conventional Hydroelectric,44.4306,-89.7808 +4247,Consolidated Water Power Co,3971,Biron,6,Wood,0.4,0.4,Conventional Hydroelectric,44.4306,-89.7808 +4247,Consolidated Water Power Co,3971,Biron,7,Wood,0.4,0.4,Conventional Hydroelectric,44.4306,-89.7808 +4247,Consolidated Water Power Co,3971,Biron,9,Wood,0.8,0.8,Conventional Hydroelectric,44.4306,-89.7808 +4247,Consolidated Water Power Co,3972,Du Bay,1,Portage,1.2,1.2,Conventional Hydroelectric,44.6647,-89.6511 +4247,Consolidated Water Power Co,3972,Du Bay,2,Portage,2,2,Conventional Hydroelectric,44.6647,-89.6511 +4247,Consolidated Water Power Co,3972,Du Bay,3,Portage,2,2,Conventional Hydroelectric,44.6647,-89.6511 +4247,Consolidated Water Power Co,3972,Du Bay,4,Portage,2,2,Conventional Hydroelectric,44.6647,-89.6511 +4247,Consolidated Water Power Co,3973,Stevens Point,1,Portage,0.8,0.8,Conventional Hydroelectric,44.5153,-89.585 +4247,Consolidated Water Power Co,3973,Stevens Point,2,Portage,0.8,0.8,Conventional Hydroelectric,44.5153,-89.585 +4247,Consolidated Water Power Co,3973,Stevens Point,3,Portage,0.8,0.8,Conventional Hydroelectric,44.5153,-89.585 +4247,Consolidated Water Power Co,3973,Stevens Point,4,Portage,0.8,0.8,Conventional Hydroelectric,44.5153,-89.585 +4247,Consolidated Water Power Co,3973,Stevens Point,5,Portage,0.8,0.8,Conventional Hydroelectric,44.5153,-89.585 +4247,Consolidated Water Power Co,3973,Stevens Point,6,Portage,0.8,0.8,Conventional Hydroelectric,44.5153,-89.585 +4247,Consolidated Water Power Co,3974,Wisconsin Rapids,1,Wood,2.3,2.3,Conventional Hydroelectric,44.3939,-89.825 +4247,Consolidated Water Power Co,3974,Wisconsin Rapids,10,Wood,0.6,0.6,Conventional Hydroelectric,44.3939,-89.825 +4247,Consolidated Water Power Co,3974,Wisconsin Rapids,2,Wood,2.3,2.3,Conventional Hydroelectric,44.3939,-89.825 +4247,Consolidated Water Power Co,3974,Wisconsin Rapids,3,Wood,0.6,0.6,Conventional Hydroelectric,44.3939,-89.825 +4247,Consolidated Water Power Co,3974,Wisconsin Rapids,4,Wood,0.6,0.6,Conventional Hydroelectric,44.3939,-89.825 +4247,Consolidated Water Power Co,3974,Wisconsin Rapids,5,Wood,0.6,0.6,Conventional Hydroelectric,44.3939,-89.825 +4247,Consolidated Water Power Co,3974,Wisconsin Rapids,6,Wood,0.3,0.3,Conventional Hydroelectric,44.3939,-89.825 +4247,Consolidated Water Power Co,3974,Wisconsin Rapids,7,Wood,0.6,0.6,Conventional Hydroelectric,44.3939,-89.825 +4247,Consolidated Water Power Co,3974,Wisconsin Rapids,8,Wood,0.3,0.3,Conventional Hydroelectric,44.3939,-89.825 +4247,Consolidated Water Power Co,3974,Wisconsin Rapids,9,Wood,0.6,0.6,Conventional Hydroelectric,44.3939,-89.825 +4247,Consolidated Water Power Co,3975,Whiting,1,Portage,1.2,1.2,Conventional Hydroelectric,44.4889,-89.5756 +4247,Consolidated Water Power Co,3975,Whiting,10,Portage,0.3,0.3,Conventional Hydroelectric,44.4889,-89.5756 +4247,Consolidated Water Power Co,3975,Whiting,2,Portage,0.5,0.5,Conventional Hydroelectric,44.4889,-89.5756 +4247,Consolidated Water Power Co,3975,Whiting,3,Portage,0.5,0.5,Conventional Hydroelectric,44.4889,-89.5756 +4247,Consolidated Water Power Co,3975,Whiting,4,Portage,0.5,0.5,Conventional Hydroelectric,44.4889,-89.5756 +4247,Consolidated Water Power Co,3975,Whiting,5,Portage,0.5,0.5,Conventional Hydroelectric,44.4889,-89.5756 +4247,Consolidated Water Power Co,3975,Whiting,6,Portage,0.5,0.5,Conventional Hydroelectric,44.4889,-89.5756 +4247,Consolidated Water Power Co,3975,Whiting,7,Portage,0.5,0.5,Conventional Hydroelectric,44.4889,-89.5756 +4247,Consolidated Water Power Co,3975,Whiting,8,Portage,0.3,0.3,Conventional Hydroelectric,44.4889,-89.5756 +4247,Consolidated Water Power Co,3975,Whiting,9,Portage,0.3,0.3,Conventional Hydroelectric,44.4889,-89.5756 +4715,Dahlberg Light & Power Co,3976,Gordon,3,Douglas,0.7,0.7,Petroleum Liquids,46.23669,-91.78553 +4715,Dahlberg Light & Power Co,3976,Gordon,4,Douglas,0.7,0.7,Petroleum Liquids,46.23669,-91.78553 +4715,Dahlberg Light & Power Co,3976,Gordon,5,Douglas,0.7,0.7,Petroleum Liquids,46.23669,-91.78553 +4715,Dahlberg Light & Power Co,3976,Gordon,6,Douglas,0.7,0.7,Petroleum Liquids,46.23669,-91.78553 +13781,Northern States Power Co - Minnesota,3982,Bay Front,5,Ashland,18,18,Wood/Wood Waste Biomass,46.587222,-90.9017 +13781,Northern States Power Co - Minnesota,3982,Bay Front,6,Ashland,23,23,Natural Gas Steam Turbine,46.587222,-90.9017 +13781,Northern States Power Co - Minnesota,3983,Big Falls,1,Rusk,1.1,1,Conventional Hydroelectric,45.491667,-91.0469 +13781,Northern States Power Co - Minnesota,3983,Big Falls,2,Rusk,1.1,1,Conventional Hydroelectric,45.491667,-91.0469 +13781,Northern States Power Co - Minnesota,3983,Big Falls,3,Rusk,1.1,1,Conventional Hydroelectric,45.491667,-91.0469 +13781,Northern States Power Co - Minnesota,3986,Ladysmith Dam,1,Rusk,0.3,0.3,Conventional Hydroelectric,45.464444,-91.08361 +13781,Northern States Power Co - Minnesota,3986,Ladysmith Dam,2,Rusk,0.3,0.2,Conventional Hydroelectric,45.464444,-91.08361 +13781,Northern States Power Co - Minnesota,3986,Ladysmith Dam,3,Rusk,0.4,0.3,Conventional Hydroelectric,45.464444,-91.08361 +13781,Northern States Power Co - Minnesota,3988,Thornapple,1,Rusk,0.4,0.4,Conventional Hydroelectric,45.411139,-91.21828 +13781,Northern States Power Co - Minnesota,3988,Thornapple,2,Rusk,0.4,0.4,Conventional Hydroelectric,45.411139,-91.21828 +13781,Northern States Power Co - Minnesota,3989,White River (WI),1,Ashland,0.2,0.2,Conventional Hydroelectric,46.498333,-90.90389 +13781,Northern States Power Co - Minnesota,3989,White River (WI),2,Ashland,0.2,0.2,Conventional Hydroelectric,46.498333,-90.90389 +11479,Madison Gas & Electric Co,3991,Fitchburg,1,Dane,15.3,15.3,Natural Gas Fired Combustion Turbine,43.0147,-89.4603 +11479,Madison Gas & Electric Co,3991,Fitchburg,2,Dane,15.8,15.8,Natural Gas Fired Combustion Turbine,43.0147,-89.4603 +11479,Madison Gas & Electric Co,3992,Blount Street,6,Dane,47.2,47.2,Natural Gas Steam Turbine,43.0789,-89.3744 +11479,Madison Gas & Electric Co,3992,Blount Street,7,Dane,47.9,47.9,Natural Gas Steam Turbine,43.0789,-89.3744 +11479,Madison Gas & Electric Co,3993,Sycamore (WI),1,Dane,12.2,12.2,Natural Gas Fired Combustion Turbine,43.1133,-89.3128 +11479,Madison Gas & Electric Co,3993,Sycamore (WI),2,Dane,17.4,17.4,Natural Gas Fired Combustion Turbine,43.1133,-89.3128 +58149,Renewable World Energies LLC,3995,Arpin Dam,1,Sawyer,0.6,0.6,Conventional Hydroelectric,45.7517,-91.2028 +58149,Renewable World Energies LLC,3995,Arpin Dam,2,Sawyer,0.6,0.6,Conventional Hydroelectric,45.7517,-91.2028 +58149,Renewable World Energies LLC,3995,Arpin Dam,3,Sawyer,0.2,0.2,Conventional Hydroelectric,45.7517,-91.2028 +13781,Northern States Power Co - Minnesota,3998,Cedar Falls (WI),1,Dunn,1.3,1.2,Conventional Hydroelectric,44.9367,-91.8883 +13781,Northern States Power Co - Minnesota,3998,Cedar Falls (WI),2,Dunn,1.1,1.1,Conventional Hydroelectric,44.9367,-91.8883 +13781,Northern States Power Co - Minnesota,3998,Cedar Falls (WI),3,Dunn,1.2,1.1,Conventional Hydroelectric,44.9367,-91.8883 +13781,Northern States Power Co - Minnesota,4000,Chippewa Falls,1,Chippewa,1.9,1.9,Conventional Hydroelectric,44.9308,-91.3889 +13781,Northern States Power Co - Minnesota,4000,Chippewa Falls,2,Chippewa,2.1,2.1,Conventional Hydroelectric,44.9308,-91.3889 +13781,Northern States Power Co - Minnesota,4000,Chippewa Falls,3,Chippewa,2,2,Conventional Hydroelectric,44.9308,-91.3889 +13781,Northern States Power Co - Minnesota,4000,Chippewa Falls,4,Chippewa,2,2,Conventional Hydroelectric,44.9308,-91.3889 +13781,Northern States Power Co - Minnesota,4000,Chippewa Falls,5,Chippewa,2,2,Conventional Hydroelectric,44.9308,-91.3889 +13781,Northern States Power Co - Minnesota,4000,Chippewa Falls,6,Chippewa,2.1,2.1,Conventional Hydroelectric,44.9308,-91.3889 +13781,Northern States Power Co - Minnesota,4002,Dells,1,Eau Claire,1.9,1.9,Conventional Hydroelectric,44.828056,-91.51111 +13781,Northern States Power Co - Minnesota,4002,Dells,2,Eau Claire,1.5,1.5,Conventional Hydroelectric,44.828056,-91.51111 +13781,Northern States Power Co - Minnesota,4002,Dells,3,Eau Claire,1.5,1.5,Conventional Hydroelectric,44.828056,-91.51111 +13781,Northern States Power Co - Minnesota,4002,Dells,4,Eau Claire,1.5,1.5,Conventional Hydroelectric,44.828056,-91.51111 +13781,Northern States Power Co - Minnesota,4002,Dells,5,Eau Claire,0.9,0.9,Conventional Hydroelectric,44.828056,-91.51111 +13781,Northern States Power Co - Minnesota,4005,French Island,1,La Crosse,9,9,Wood/Wood Waste Biomass,43.8292,-91.2597 +13781,Northern States Power Co - Minnesota,4005,French Island,2,La Crosse,7,7,Wood/Wood Waste Biomass,43.8292,-91.2597 +13781,Northern States Power Co - Minnesota,4005,French Island,3,La Crosse,61,81,Petroleum Liquids,43.8292,-91.2597 +13781,Northern States Power Co - Minnesota,4005,French Island,4,La Crosse,58,78,Petroleum Liquids,43.8292,-91.2597 +13781,Northern States Power Co - Minnesota,4007,Holcombe,1,Chippewa,7.3,7.3,Conventional Hydroelectric,45.223611,-91.12722 +13781,Northern States Power Co - Minnesota,4007,Holcombe,2,Chippewa,7.3,7.3,Conventional Hydroelectric,45.223611,-91.12722 +13781,Northern States Power Co - Minnesota,4007,Holcombe,3,Chippewa,7.3,7.3,Conventional Hydroelectric,45.223611,-91.12722 +13781,Northern States Power Co - Minnesota,4008,Jim Falls,1,Chippewa,12.3,12.3,Conventional Hydroelectric,45.051,-91.274 +13781,Northern States Power Co - Minnesota,4008,Jim Falls,2,Chippewa,12.5,12.5,Conventional Hydroelectric,45.051,-91.274 +13781,Northern States Power Co - Minnesota,4008,Jim Falls,4,Chippewa,0.2,0.2,Conventional Hydroelectric,45.051,-91.274 +13781,Northern States Power Co - Minnesota,4009,Menomonie,1,Dunn,1.1,1.2,Conventional Hydroelectric,44.884167,-91.92944 +13781,Northern States Power Co - Minnesota,4009,Menomonie,2,Dunn,1.1,1.2,Conventional Hydroelectric,44.884167,-91.92944 +13781,Northern States Power Co - Minnesota,4011,St Croix Falls,1,Polk,1.8,1.4,Conventional Hydroelectric,45.41167,-92.6469 +13781,Northern States Power Co - Minnesota,4011,St Croix Falls,2,Polk,1.8,1.4,Conventional Hydroelectric,45.41167,-92.6469 +13781,Northern States Power Co - Minnesota,4011,St Croix Falls,3,Polk,1.9,1.5,Conventional Hydroelectric,45.41167,-92.6469 +13781,Northern States Power Co - Minnesota,4011,St Croix Falls,4,Polk,1.9,1.5,Conventional Hydroelectric,45.41167,-92.6469 +13781,Northern States Power Co - Minnesota,4011,St Croix Falls,5,Polk,2,1.6,Conventional Hydroelectric,45.41167,-92.6469 +13781,Northern States Power Co - Minnesota,4011,St Croix Falls,6,Polk,1.9,1.5,Conventional Hydroelectric,45.41167,-92.6469 +13781,Northern States Power Co - Minnesota,4011,St Croix Falls,7,Polk,2,1.6,Conventional Hydroelectric,45.41167,-92.6469 +13781,Northern States Power Co - Minnesota,4011,St Croix Falls,8,Polk,1.9,1.5,Conventional Hydroelectric,45.41167,-92.6469 +13781,Northern States Power Co - Minnesota,4012,Trego,1,Washburn,0.4,0.4,Conventional Hydroelectric,45.94794,-91.88837 +13781,Northern States Power Co - Minnesota,4012,Trego,2,Washburn,0.3,0.3,Conventional Hydroelectric,45.94794,-91.88837 +13781,Northern States Power Co - Minnesota,4014,Wheaton,1,Chippewa,44,56,Natural Gas Fired Combustion Turbine,44.885416,-91.51583 +13781,Northern States Power Co - Minnesota,4014,Wheaton,2,Chippewa,51,66,Natural Gas Fired Combustion Turbine,44.885416,-91.51583 +13781,Northern States Power Co - Minnesota,4014,Wheaton,3,Chippewa,44,56,Natural Gas Fired Combustion Turbine,44.885416,-91.51583 +13781,Northern States Power Co - Minnesota,4014,Wheaton,4,Chippewa,47,61,Natural Gas Fired Combustion Turbine,44.885416,-91.51583 +13781,Northern States Power Co - Minnesota,4014,Wheaton,6,Chippewa,48,70,Petroleum Liquids,44.885416,-91.51583 +13781,Northern States Power Co - Minnesota,4015,Wissota,1,Chippewa,3,3,Conventional Hydroelectric,44.9378,-91.3406 +13781,Northern States Power Co - Minnesota,4015,Wissota,2,Chippewa,3.1,3.1,Conventional Hydroelectric,44.9378,-91.3406 +13781,Northern States Power Co - Minnesota,4015,Wissota,3,Chippewa,3,3,Conventional Hydroelectric,44.9378,-91.3406 +13781,Northern States Power Co - Minnesota,4015,Wissota,4,Chippewa,3,3,Conventional Hydroelectric,44.9378,-91.3406 +13781,Northern States Power Co - Minnesota,4015,Wissota,5,Chippewa,2.9,2.9,Conventional Hydroelectric,44.9378,-91.3406 +13781,Northern States Power Co - Minnesota,4015,Wissota,6,Chippewa,3,3,Conventional Hydroelectric,44.9378,-91.3406 +58149,Renewable World Energies LLC,4018,Clam River Dam,1,Burnett,0.4,0.4,Conventional Hydroelectric,45.9467,-92.5383 +58149,Renewable World Energies LLC,4018,Clam River Dam,2,Burnett,0.4,0.4,Conventional Hydroelectric,45.9467,-92.5383 +58149,Renewable World Energies LLC,4018,Clam River Dam,3,Burnett,0.4,0.4,Conventional Hydroelectric,45.9467,-92.5383 +58149,Renewable World Energies LLC,4019,Danbury Dam,1,Burnett,0.1,0.1,Conventional Hydroelectric,46,-92.3725 +58149,Renewable World Energies LLC,4019,Danbury Dam,2,Burnett,0.3,0.3,Conventional Hydroelectric,46,-92.3725 +58149,Renewable World Energies LLC,4019,Danbury Dam,HY3,Burnett,0.6,0.6,Conventional Hydroelectric,46,-92.3725 +13815,Northwestern Wisconsin Elec Co,4020,Frederic Diesel,10,Polk,2.5,2.6,Petroleum Liquids,45.654835,-92.46506 +13815,Northwestern Wisconsin Elec Co,4020,Frederic Diesel,2,Polk,0.7,0.7,Petroleum Liquids,45.654835,-92.46506 +13815,Northwestern Wisconsin Elec Co,4020,Frederic Diesel,3,Polk,0.7,0.7,Petroleum Liquids,45.654835,-92.46506 +13815,Northwestern Wisconsin Elec Co,4020,Frederic Diesel,4,Polk,0.6,0.6,Petroleum Liquids,45.654835,-92.46506 +13815,Northwestern Wisconsin Elec Co,4020,Frederic Diesel,5,Polk,0.5,0.5,Petroleum Liquids,45.654835,-92.46506 +13815,Northwestern Wisconsin Elec Co,4020,Frederic Diesel,6,Polk,1.7,1.7,Petroleum Liquids,45.654835,-92.46506 +13815,Northwestern Wisconsin Elec Co,4020,Frederic Diesel,7,Polk,1.8,1.8,Petroleum Liquids,45.654835,-92.46506 +13815,Northwestern Wisconsin Elec Co,4020,Frederic Diesel,8,Polk,2.5,2.6,Petroleum Liquids,45.654835,-92.46506 +13815,Northwestern Wisconsin Elec Co,4020,Frederic Diesel,9,Polk,2.5,2.6,Petroleum Liquids,45.654835,-92.46506 +13815,Northwestern Wisconsin Elec Co,4021,Grantsburg Diesel,1A,Burnett,0.8,0.8,Petroleum Liquids,45.779189,-92.67805 +13815,Northwestern Wisconsin Elec Co,4021,Grantsburg Diesel,2,Burnett,0.8,0.8,Petroleum Liquids,45.779189,-92.67805 +13815,Northwestern Wisconsin Elec Co,4021,Grantsburg Diesel,3,Burnett,0.9,0.9,Petroleum Liquids,45.779189,-92.67805 +13815,Northwestern Wisconsin Elec Co,4021,Grantsburg Diesel,4,Burnett,2,2,Petroleum Liquids,45.779189,-92.67805 +13815,Northwestern Wisconsin Elec Co,4021,Grantsburg Diesel,8,Burnett,1.8,1.8,Petroleum Liquids,45.779189,-92.67805 +20847,Wisconsin Electric Power Co,4040,Port Washington Generating Station,1CT1,Ozaukee,178.2,207,Natural Gas Fired Combined Cycle,43.3842,-87.8689 +20847,Wisconsin Electric Power Co,4040,Port Washington Generating Station,1CT2,Ozaukee,178.8,207,Natural Gas Fired Combined Cycle,43.3842,-87.8689 +20847,Wisconsin Electric Power Co,4040,Port Washington Generating Station,2CT1,Ozaukee,174.8,204.2,Natural Gas Fired Combined Cycle,43.3842,-87.8689 +20847,Wisconsin Electric Power Co,4040,Port Washington Generating Station,2CT2,Ozaukee,174.9,204.5,Natural Gas Fired Combined Cycle,43.3842,-87.8689 +20847,Wisconsin Electric Power Co,4040,Port Washington Generating Station,ST1,Ozaukee,265.1,265.2,Natural Gas Fired Combined Cycle,43.3842,-87.8689 +20847,Wisconsin Electric Power Co,4040,Port Washington Generating Station,ST2,Ozaukee,264.7,264.3,Natural Gas Fired Combined Cycle,43.3842,-87.8689 +20847,Wisconsin Electric Power Co,4041,South Oak Creek,5,Milwaukee,242.2,242.2,Conventional Steam Coal,42.8457,-87.8294 +20847,Wisconsin Electric Power Co,4041,South Oak Creek,6,Milwaukee,253.8,253.8,Conventional Steam Coal,42.8457,-87.8294 +20847,Wisconsin Electric Power Co,4041,South Oak Creek,7,Milwaukee,306.5,309.3,Conventional Steam Coal,42.8457,-87.8294 +20847,Wisconsin Electric Power Co,4041,South Oak Creek,8,Milwaukee,309.5,312.7,Conventional Steam Coal,42.8457,-87.8294 +20847,Wisconsin Electric Power Co,4042,Valley (WI),1,Milwaukee,124.7,88.3,Natural Gas Steam Turbine,43.0303,-87.9233 +20847,Wisconsin Electric Power Co,4042,Valley (WI),2,Milwaukee,139.2,140.1,Natural Gas Steam Turbine,43.0303,-87.9233 +20847,Wisconsin Electric Power Co,4042,Valley (WI),3,Milwaukee,2.7,2.7,Petroleum Liquids,43.0303,-87.9233 +20847,Wisconsin Electric Power Co,4043,Appleton,4,Outagamie,1.2,1.2,Conventional Hydroelectric,44.25393,-88.40956 +20847,Wisconsin Electric Power Co,4043,Appleton,5,Outagamie,0.5,0.5,Conventional Hydroelectric,44.25393,-88.40956 +20847,Wisconsin Electric Power Co,4043,Appleton,6,Outagamie,0.5,0.5,Conventional Hydroelectric,44.25393,-88.40956 +57280,"Eagle Creek Renewable Energy, LLC",4044,Oconto Falls Upper,1,Oconto,0.4,0.4,Conventional Hydroelectric,44.8764,-88.1475 +57280,"Eagle Creek Renewable Energy, LLC",4044,Oconto Falls Upper,2,Oconto,0.4,0.4,Conventional Hydroelectric,44.8764,-88.1475 +57280,"Eagle Creek Renewable Energy, LLC",4044,Oconto Falls Upper,3,Oconto,0.3,0.3,Conventional Hydroelectric,44.8764,-88.1475 +20847,Wisconsin Electric Power Co,4045,Pine,1,Florence,1.6,1.6,Conventional Hydroelectric,45.8275,-88.2483 +20847,Wisconsin Electric Power Co,4045,Pine,2,Florence,1.6,1.6,Conventional Hydroelectric,45.8275,-88.2483 +55906,NextEra Energy Point Beach LLC,4046,Point Beach Nuclear Plant,1,Manitowoc,595.4,599.6,Nuclear,44.2806,-87.5369 +55906,NextEra Energy Point Beach LLC,4046,Point Beach Nuclear Plant,2,Manitowoc,600.6,606.2,Nuclear,44.2806,-87.5369 +55906,NextEra Energy Point Beach LLC,4046,Point Beach Nuclear Plant,5,Manitowoc,15,18,Petroleum Liquids,44.2806,-87.5369 +20856,Wisconsin Power & Light Co,4050,Edgewater,5,Sheboygan,409.1,409.3,Conventional Steam Coal,43.715142,-87.70586 +20856,Wisconsin Power & Light Co,4053,Kilbourn,2,Columbia,9.5,9.5,Conventional Hydroelectric,43.625845,-89.78076 +20856,Wisconsin Power & Light Co,4053,Kilbourn,HC1,Columbia, , ,Conventional Hydroelectric,43.625845,-89.78076 +20856,Wisconsin Power & Light Co,4053,Kilbourn,HC5,Columbia, , ,Conventional Hydroelectric,43.625845,-89.78076 +20856,Wisconsin Power & Light Co,4053,Kilbourn,HC6,Columbia, , ,Conventional Hydroelectric,43.625845,-89.78076 +20856,Wisconsin Power & Light Co,4056,Prairie Du Sac,1,Sauk,29,29,Conventional Hydroelectric,43.309932,-89.72778 +20856,Wisconsin Power & Light Co,4056,Prairie Du Sac,2,Sauk, , ,Conventional Hydroelectric,43.309932,-89.72778 +20856,Wisconsin Power & Light Co,4056,Prairie Du Sac,3,Sauk, , ,Conventional Hydroelectric,43.309932,-89.72778 +20856,Wisconsin Power & Light Co,4056,Prairie Du Sac,4,Sauk, , ,Conventional Hydroelectric,43.309932,-89.72778 +20856,Wisconsin Power & Light Co,4056,Prairie Du Sac,5,Sauk, , ,Conventional Hydroelectric,43.309932,-89.72778 +20856,Wisconsin Power & Light Co,4056,Prairie Du Sac,6,Sauk, , ,Conventional Hydroelectric,43.309932,-89.72778 +20856,Wisconsin Power & Light Co,4056,Prairie Du Sac,7,Sauk, , ,Conventional Hydroelectric,43.309932,-89.72778 +20856,Wisconsin Power & Light Co,4056,Prairie Du Sac,8,Sauk, , ,Conventional Hydroelectric,43.309932,-89.72778 +20860,Wisconsin Public Service Corp,4060,Alexander,1,Lincoln,1.4,1.4,Conventional Hydroelectric,45.1875,-89.7553 +20860,Wisconsin Public Service Corp,4060,Alexander,2,Lincoln,1.4,1.4,Conventional Hydroelectric,45.1875,-89.7553 +20860,Wisconsin Public Service Corp,4060,Alexander,3,Lincoln,1.4,1.4,Conventional Hydroelectric,45.1875,-89.7553 +20860,Wisconsin Public Service Corp,4061,Caldron Falls,1,Marinette,3.2,3.2,Conventional Hydroelectric,45.3569,-88.2306 +20860,Wisconsin Public Service Corp,4061,Caldron Falls,2,Marinette,3.2,3.2,Conventional Hydroelectric,45.3569,-88.2306 +20860,Wisconsin Public Service Corp,4063,Grandfather Falls,1,Lincoln,11,11,Conventional Hydroelectric,45.3019,-89.7917 +20860,Wisconsin Public Service Corp,4063,Grandfather Falls,2,Lincoln,6.2,6.2,Conventional Hydroelectric,45.3019,-89.7917 +20860,Wisconsin Public Service Corp,4064,Hat Rapids,1,Oneida,0.8,0.8,Conventional Hydroelectric,45.5711,-89.4806 +20860,Wisconsin Public Service Corp,4064,Hat Rapids,2A,Oneida,0.5,0.5,Conventional Hydroelectric,45.5711,-89.4806 +20860,Wisconsin Public Service Corp,4064,Hat Rapids,3A,Oneida,0.4,0.4,Conventional Hydroelectric,45.5711,-89.4806 +20860,Wisconsin Public Service Corp,4065,High Falls (WI),1,Marinette,1.4,1.4,Conventional Hydroelectric,45.2794,-88.1997 +20860,Wisconsin Public Service Corp,4065,High Falls (WI),2,Marinette,1.4,1.4,Conventional Hydroelectric,45.2794,-88.1997 +20860,Wisconsin Public Service Corp,4065,High Falls (WI),3,Marinette,1.4,1.4,Conventional Hydroelectric,45.2794,-88.1997 +20860,Wisconsin Public Service Corp,4065,High Falls (WI),4,Marinette,1.4,1.4,Conventional Hydroelectric,45.2794,-88.1997 +20860,Wisconsin Public Service Corp,4065,High Falls (WI),5,Marinette,1.4,1.4,Conventional Hydroelectric,45.2794,-88.1997 +20860,Wisconsin Public Service Corp,4067,Johnson Falls,1,Marinette,1.7,1.7,Conventional Hydroelectric,45.2875,-88.1603 +20860,Wisconsin Public Service Corp,4067,Johnson Falls,2,Marinette,1.7,1.7,Conventional Hydroelectric,45.2875,-88.1603 +20860,Wisconsin Public Service Corp,4068,Merrill,1,Lincoln,0.4,0.4,Conventional Hydroelectric,45.1786,-89.685 +20860,Wisconsin Public Service Corp,4068,Merrill,2,Lincoln,0.4,0.4,Conventional Hydroelectric,45.1786,-89.685 +20860,Wisconsin Public Service Corp,4068,Merrill,3,Lincoln,1.5,1.5,Conventional Hydroelectric,45.1786,-89.685 +20860,Wisconsin Public Service Corp,4071,Potato Rapids,1,Marinette,0.5,0.5,Conventional Hydroelectric,45.1136,-87.7586 +20860,Wisconsin Public Service Corp,4071,Potato Rapids,2,Marinette,0.4,0.4,Conventional Hydroelectric,45.1136,-87.7586 +20860,Wisconsin Public Service Corp,4071,Potato Rapids,3,Marinette,0.4,0.4,Conventional Hydroelectric,45.1136,-87.7586 +20860,Wisconsin Public Service Corp,4072,Pulliam,31,Brown,79.8,106.3,Natural Gas Fired Combustion Turbine,44.54,-88.0086 +20860,Wisconsin Public Service Corp,4074,Sandstone Rapids,1,Marinette,1.9,1.9,Conventional Hydroelectric,45.2333,-88.0678 +20860,Wisconsin Public Service Corp,4074,Sandstone Rapids,2,Marinette,1.9,1.9,Conventional Hydroelectric,45.2333,-88.0678 +20860,Wisconsin Public Service Corp,4075,Tomahawk,1,Lincoln,1.3,1.3,Conventional Hydroelectric,45.4411,-89.7306 +20860,Wisconsin Public Service Corp,4075,Tomahawk,2,Lincoln,1.3,1.3,Conventional Hydroelectric,45.4411,-89.7306 +20860,Wisconsin Public Service Corp,4076,West Marinette,31,Marinette,38.1,49.8,Natural Gas Fired Combustion Turbine,45.0869,-87.6881 +20860,Wisconsin Public Service Corp,4076,West Marinette,32,Marinette,36.7,47.9,Natural Gas Fired Combustion Turbine,45.0869,-87.6881 +20860,Wisconsin Public Service Corp,4076,West Marinette,33,Marinette,78.2,104.1,Natural Gas Fired Combustion Turbine,45.0869,-87.6881 +20860,Wisconsin Public Service Corp,4077,Wausau,1,Marathon,1.8,1.8,Conventional Hydroelectric,44.9575,-89.6367 +20860,Wisconsin Public Service Corp,4077,Wausau,2,Marathon,1.8,1.8,Conventional Hydroelectric,44.9575,-89.6367 +20860,Wisconsin Public Service Corp,4077,Wausau,3,Marathon,1.8,1.8,Conventional Hydroelectric,44.9575,-89.6367 +20860,Wisconsin Public Service Corp,4078,Weston,3,Marathon,334.7,339.8,Conventional Steam Coal,44.8606,-89.6553 +20860,Wisconsin Public Service Corp,4078,Weston,4,Marathon,553.2,558.5,Conventional Steam Coal,44.8606,-89.6553 +20863,Wisconsin River Power Company,4079,Castle Rock,1,Adams,2.8,2.8,Conventional Hydroelectric,43.8656,-89.9514 +20863,Wisconsin River Power Company,4079,Castle Rock,2,Adams,2.8,2.8,Conventional Hydroelectric,43.8656,-89.9514 +20863,Wisconsin River Power Company,4079,Castle Rock,3,Adams,2.8,2.8,Conventional Hydroelectric,43.8656,-89.9514 +20863,Wisconsin River Power Company,4079,Castle Rock,4,Adams,2.8,2.8,Conventional Hydroelectric,43.8656,-89.9514 +20863,Wisconsin River Power Company,4079,Castle Rock,5,Adams,2.8,2.8,Conventional Hydroelectric,43.8656,-89.9514 +20863,Wisconsin River Power Company,4080,Petenwell,1,Juneau,5,5,Conventional Hydroelectric,44.0572,-90.0217 +20863,Wisconsin River Power Company,4080,Petenwell,2,Juneau,5,5,Conventional Hydroelectric,44.0572,-90.0217 +20863,Wisconsin River Power Company,4080,Petenwell,3,Juneau,5,5,Conventional Hydroelectric,44.0572,-90.0217 +20863,Wisconsin River Power Company,4080,Petenwell,4,Juneau,5,5,Conventional Hydroelectric,44.0572,-90.0217 +765,City of Arcadia - (WI),4100,Arcadia Electric,1,Trempealeau,1.3,1.3,Petroleum Liquids,44.2524,-91.5034 +765,City of Arcadia - (WI),4100,Arcadia Electric,10,Trempealeau,2,2,Petroleum Liquids,44.2524,-91.5034 +765,City of Arcadia - (WI),4100,Arcadia Electric,2,Trempealeau,1,1,Petroleum Liquids,44.2524,-91.5034 +765,City of Arcadia - (WI),4100,Arcadia Electric,3,Trempealeau,0.4,0.4,Petroleum Liquids,44.2524,-91.5034 +765,City of Arcadia - (WI),4100,Arcadia Electric,4,Trempealeau,0.2,0.2,Petroleum Liquids,44.2524,-91.5034 +765,City of Arcadia - (WI),4100,Arcadia Electric,5,Trempealeau,3,3,Natural Gas Internal Combustion Engine,44.2524,-91.5034 +765,City of Arcadia - (WI),4100,Arcadia Electric,6,Trempealeau,3,3,Natural Gas Internal Combustion Engine,44.2524,-91.5034 +765,City of Arcadia - (WI),4100,Arcadia Electric,7,Trempealeau,2,2,Petroleum Liquids,44.2524,-91.5034 +765,City of Arcadia - (WI),4100,Arcadia Electric,8,Trempealeau,2,2,Petroleum Liquids,44.2524,-91.5034 +765,City of Arcadia - (WI),4100,Arcadia Electric,9,Trempealeau,2,2,Petroleum Liquids,44.2524,-91.5034 +1278,City of Barron - (WI),4102,Barron,1A,Barron,1.1,1.1,Petroleum Liquids,45.40193,-91.84038 +1278,City of Barron - (WI),4102,Barron,2A,Barron,1.1,1.1,Petroleum Liquids,45.40193,-91.84038 +1278,City of Barron - (WI),4102,Barron,3A,Barron,1.1,1.1,Petroleum Liquids,45.40193,-91.84038 +1278,City of Barron - (WI),4102,Barron,4,Barron,1.1,1.1,Petroleum Liquids,45.40193,-91.84038 +1278,City of Barron - (WI),4102,Barron,7,Barron,0.6,0.6,Petroleum Liquids,45.40193,-91.84038 +1278,City of Barron - (WI),4102,Barron,8,Barron,1.3,1.3,Petroleum Liquids,45.40193,-91.84038 +1278,City of Barron - (WI),4102,Barron,9,Barron,2,2,Petroleum Liquids,45.40193,-91.84038 +1278,City of Barron - (WI),4102,Barron,H2,Barron,0.1,0.1,Conventional Hydroelectric,45.40193,-91.84038 +3156,Village of Cashton - (WI),4107,Cashton,3,Monroe,0.4,0.4,Petroleum Liquids,43.742874,-90.78033 +3156,Village of Cashton - (WI),4107,Cashton,5,Monroe,1.1,1.1,Natural Gas Internal Combustion Engine,43.742874,-90.78033 +3156,Village of Cashton - (WI),4107,Cashton,6,Monroe,2,2,Petroleum Liquids,43.742874,-90.78033 +4627,City of Cumberland - (WI),4112,Cumberland (WI),1,Barron,0.7,0.7,Petroleum Liquids,45.5336,-92.0224 +4627,City of Cumberland - (WI),4112,Cumberland (WI),2,Barron,0.3,0.3,Petroleum Liquids,45.5336,-92.0224 +4627,City of Cumberland - (WI),4112,Cumberland (WI),3,Barron,0.3,0.3,Petroleum Liquids,45.5336,-92.0224 +4627,City of Cumberland - (WI),4112,Cumberland (WI),4,Barron,1.2,1.2,Petroleum Liquids,45.5336,-92.0224 +4627,City of Cumberland - (WI),4112,Cumberland (WI),5,Barron,2.1,2.1,Natural Gas Internal Combustion Engine,45.5336,-92.0224 +4627,City of Cumberland - (WI),4112,Cumberland (WI),6,Barron,6.7,6.7,Petroleum Liquids,45.5336,-92.0224 +4627,City of Cumberland - (WI),4112,Cumberland (WI),7,Barron,6.2,6.2,Natural Gas Internal Combustion Engine,45.5336,-92.0224 +4627,City of Cumberland - (WI),4112,Cumberland (WI),8,Barron,3.5,3.5,Natural Gas Internal Combustion Engine,45.5336,-92.0224 +5834,City of Elroy - (WI),4113,Elroy,1A,Juneau,2.2,2.3,Petroleum Liquids,43.7395,-90.2675 +5834,City of Elroy - (WI),4113,Elroy,2A,Juneau,2.2,2.3,Petroleum Liquids,43.7395,-90.2675 +5834,City of Elroy - (WI),4113,Elroy,5,Juneau,2.2,2.2,Petroleum Liquids,43.7395,-90.2675 +6274,City of Fennimore - (WI),4114,Fennimore,4,Grant,1.1,1.1,Petroleum Liquids,42.9828,-90.6558 +6274,City of Fennimore - (WI),4114,Fennimore,5,Grant,0.9,0.9,Petroleum Liquids,42.9828,-90.6558 +6274,City of Fennimore - (WI),4114,Fennimore,6,Grant,1.8,1.8,Petroleum Liquids,42.9828,-90.6558 +6274,City of Fennimore - (WI),4114,Fennimore,7,Grant,1.8,1.8,Petroleum Liquids,42.9828,-90.6558 +6274,City of Fennimore - (WI),4114,Fennimore,8,Grant,1.8,1.8,Petroleum Liquids,42.9828,-90.6558 +10056,City of Kaukauna,4118,Kaukauna Gas Turbine,GT1,Outagamie,15.8,18.3,Natural Gas Fired Combustion Turbine,44.276199,-88.26545 +10056,City of Kaukauna,4119,Little Chute,1,Outagamie,1.1,1.1,Conventional Hydroelectric,44.279897,-88.25558 +10056,City of Kaukauna,4119,Little Chute,2,Outagamie,1.1,1.1,Conventional Hydroelectric,44.279897,-88.25558 +10056,City of Kaukauna,4119,Little Chute,3,Outagamie,1.1,1.1,Conventional Hydroelectric,44.279897,-88.25558 +10056,City of Kaukauna,4120,New Badger,3,Outagamie,4,4,Conventional Hydroelectric,44.2772,-88.2678 +10056,City of Kaukauna,4120,New Badger,4,Outagamie,4,4,Conventional Hydroelectric,44.2772,-88.2678 +10056,City of Kaukauna,4122,Rapide Croche,1,Outagamie,0.6,0.6,Conventional Hydroelectric,44.3164,-88.3147 +10056,City of Kaukauna,4122,Rapide Croche,2,Outagamie,0.6,0.6,Conventional Hydroelectric,44.3164,-88.3147 +10056,City of Kaukauna,4122,Rapide Croche,3,Outagamie,0.6,0.6,Conventional Hydroelectric,44.3164,-88.3147 +10056,City of Kaukauna,4122,Rapide Croche,4,Outagamie,0.6,0.6,Conventional Hydroelectric,44.3164,-88.3147 +10525,La Farge Municipal Electric Co,4124,La Farge,2A,Vernon,1.5,1.5,Petroleum Liquids,43.5722,-90.6391 +11571,Manitowoc Public Utilities,4125,Manitowoc,5,Manitowoc,22,22,Wood/Wood Waste Biomass,44.082,-87.6558 +11571,Manitowoc Public Utilities,4125,Manitowoc,6,Manitowoc,22,22,Wood/Wood Waste Biomass,44.082,-87.6558 +11571,Manitowoc Public Utilities,4125,Manitowoc,9,Manitowoc,58.4,58.4,Petroleum Coke,44.082,-87.6558 +13466,City of New Lisbon,4130,New Lisbon,2,Juneau,1.2,1.2,Petroleum Liquids,43.8797,-90.1645 +13466,City of New Lisbon,4130,New Lisbon,5,Juneau,2.4,2.4,Petroleum Liquids,43.8797,-90.1645 +13466,City of New Lisbon,4130,New Lisbon,6,Juneau,2,2.1,Petroleum Liquids,43.8797,-90.1645 +13466,City of New Lisbon,4130,New Lisbon,7,Juneau,2,2.1,Petroleum Liquids,43.8797,-90.1645 +19867,Village of Viola - (WI),4139,Viola,3,Richland,1.8,1.8,Petroleum Liquids,43.507,-90.669 +4716,Dairyland Power Coop,4142,Flambeau Hydroelectric Station,1,Rusk,8.1,8.1,Conventional Hydroelectric,45.491826,-91.04721 +4716,Dairyland Power Coop,4142,Flambeau Hydroelectric Station,2,Rusk,8,8,Conventional Hydroelectric,45.491826,-91.04721 +4716,Dairyland Power Coop,4142,Flambeau Hydroelectric Station,3,Rusk,8,8,Conventional Hydroelectric,45.491826,-91.04721 +13964,Oconto Electric Cooperative,4147,Stiles,1,Oconto,0.3,0.3,Conventional Hydroelectric,44.8747,-88.1586 +13964,Oconto Electric Cooperative,4147,Stiles,2,Oconto,0.3,0.3,Conventional Hydroelectric,44.8747,-88.1586 +20153,"Washington Island El Coop, Inc",4148,Washington Island,2,Door,0.1,0.1,Petroleum Liquids,45.370922,-86.93082 +20153,"Washington Island El Coop, Inc",4148,Washington Island,3,Door,0.1,0.1,Petroleum Liquids,45.370922,-86.93082 +20153,"Washington Island El Coop, Inc",4148,Washington Island,4,Door,0.2,0.2,Petroleum Liquids,45.370922,-86.93082 +20153,"Washington Island El Coop, Inc",4148,Washington Island,5,Door,0.5,0.5,Petroleum Liquids,45.370922,-86.93082 +20153,"Washington Island El Coop, Inc",4148,Washington Island,6,Door,0.9,0.9,Petroleum Liquids,45.370922,-86.93082 +20153,"Washington Island El Coop, Inc",4148,Washington Island,7,Door,1.6,1.6,Petroleum Liquids,45.370922,-86.93082 +20153,"Washington Island El Coop, Inc",4148,Washington Island,8,Door,1.6,1.6,Petroleum Liquids,45.370922,-86.93082 +10056,City of Kaukauna,4201,Combined Locks,HC1,Outagamie,3.1,3.1,Conventional Hydroelectric,44.273511,-88.30055 +10056,City of Kaukauna,4201,Combined Locks,HC2,Outagamie,3.1,3.1,Conventional Hydroelectric,44.273511,-88.30055 +4716,Dairyland Power Coop,4271,John P Madgett,1,Buffalo,389.8,392.5,Conventional Steam Coal,44.303583,-91.91265 +13781,Northern States Power Co - Minnesota,6086,Cornell,1,Chippewa,6.2,6.2,Conventional Hydroelectric,45.164024,-91.15743 +13781,Northern States Power Co - Minnesota,6086,Cornell,2,Chippewa,6.4,6.4,Conventional Hydroelectric,45.164024,-91.15743 +13781,Northern States Power Co - Minnesota,6086,Cornell,3,Chippewa,6.9,6.9,Conventional Hydroelectric,45.164024,-91.15743 +13781,Northern States Power Co - Minnesota,6086,Cornell,4,Chippewa,0.4,0.4,Conventional Hydroelectric,45.164024,-91.15743 +13781,Northern States Power Co - Minnesota,6231,Apple River,1,St Croix,0.4,0.5,Conventional Hydroelectric,45.157552,-92.71621 +13781,Northern States Power Co - Minnesota,6231,Apple River,3,St Croix,0.5,0.6,Conventional Hydroelectric,45.157552,-92.71621 +13781,Northern States Power Co - Minnesota,6231,Apple River,4,St Croix,0.5,0.6,Conventional Hydroelectric,45.157552,-92.71621 +20847,Wisconsin Electric Power Co,6253,Germantown,1,Washington,49.2,69.9,Petroleum Liquids,43.1952,-88.1496 +20847,Wisconsin Electric Power Co,6253,Germantown,2,Washington,49,69.6,Petroleum Liquids,43.1952,-88.1496 +20847,Wisconsin Electric Power Co,6253,Germantown,3,Washington,47.5,67.5,Petroleum Liquids,43.1952,-88.1496 +20847,Wisconsin Electric Power Co,6253,Germantown,4,Washington,46.8,66.5,Petroleum Liquids,43.1952,-88.1496 +20847,Wisconsin Electric Power Co,6253,Germantown,5,Washington,76.2,103.9,Natural Gas Fired Combustion Turbine,43.1952,-88.1496 +4715,Dahlberg Light & Power Co,7058,Solon Diesel,1,Douglas,0.8,0.8,Petroleum Liquids,46.358956,-91.82363 +4715,Dahlberg Light & Power Co,7058,Solon Diesel,2,Douglas,0.8,0.8,Petroleum Liquids,46.358956,-91.82363 +4715,Dahlberg Light & Power Co,7058,Solon Diesel,3,Douglas,0.8,0.8,Petroleum Liquids,46.358956,-91.82363 +4715,Dahlberg Light & Power Co,7058,Solon Diesel,4,Douglas,0.8,0.8,Petroleum Liquids,46.358956,-91.82363 +4715,Dahlberg Light & Power Co,7058,Solon Diesel,5,Douglas,0.8,0.8,Petroleum Liquids,46.358956,-91.82363 +4715,Dahlberg Light & Power Co,7058,Solon Diesel,6,Douglas,0.8,0.8,Petroleum Liquids,46.358956,-91.82363 +4715,Dahlberg Light & Power Co,7058,Solon Diesel,7,Douglas,0.8,0.8,Petroleum Liquids,46.358956,-91.82363 +4715,Dahlberg Light & Power Co,7058,Solon Diesel,8,Douglas,0.8,0.8,Petroleum Liquids,46.358956,-91.82363 +20847,Wisconsin Electric Power Co,7159,Concord,1,Jefferson,92.5,100,Natural Gas Fired Combustion Turbine,43.1669,-88.69 +20847,Wisconsin Electric Power Co,7159,Concord,2,Jefferson,91.3,100,Natural Gas Fired Combustion Turbine,43.1669,-88.69 +20847,Wisconsin Electric Power Co,7159,Concord,3,Jefferson,90.7,100,Natural Gas Fired Combustion Turbine,43.1669,-88.69 +20847,Wisconsin Electric Power Co,7159,Concord,4,Jefferson,94,100,Natural Gas Fired Combustion Turbine,43.1669,-88.69 +20856,Wisconsin Power & Light Co,7203,South Fond Du Lac,CT1,Fond Du Lac,80.8,90.8,Natural Gas Fired Combustion Turbine,43.7353,-88.49667 +20856,Wisconsin Power & Light Co,7203,South Fond Du Lac,CT2,Fond Du Lac,81.3,91.5,Natural Gas Fired Combustion Turbine,43.7353,-88.49667 +20856,Wisconsin Power & Light Co,7203,South Fond Du Lac,CT3,Fond Du Lac,83.1,93.5,Natural Gas Fired Combustion Turbine,43.7353,-88.49667 +20856,Wisconsin Power & Light Co,7203,South Fond Du Lac,CT4,Fond Du Lac,83,93.3,Natural Gas Fired Combustion Turbine,43.7353,-88.49667 +20847,Wisconsin Electric Power Co,7270,Paris (WI),1,Kenosha,90.1,100,Natural Gas Fired Combustion Turbine,42.6658,-88.0131 +20847,Wisconsin Electric Power Co,7270,Paris (WI),2,Kenosha,89.9,100,Natural Gas Fired Combustion Turbine,42.6658,-88.0131 +20847,Wisconsin Electric Power Co,7270,Paris (WI),3,Kenosha,93.5,100,Natural Gas Fired Combustion Turbine,42.6658,-88.0131 +20847,Wisconsin Electric Power Co,7270,Paris (WI),4,Kenosha,90.4,100,Natural Gas Fired Combustion Turbine,42.6658,-88.0131 +11571,Manitowoc Public Utilities,7795,Custer Energy Center,1,Manitowoc,22,24,Natural Gas Fired Combustion Turbine,44.085437,-87.7261 +11479,Madison Gas & Electric Co,7799,West Marinette 34,34,Marinette,70.2,70.2,Natural Gas Fired Combustion Turbine,45.0869,-87.6892 +792,City of Argyle - (WI),7810,Argyle,5,Lafayette,2,2,Petroleum Liquids,42.7019,-89.8697 +10056,City of Kaukauna,7822,Kaukauna City Hydro,1,Outagamie,2.4,2.4,Conventional Hydroelectric,44.274582,-88.31907 +10056,City of Kaukauna,7822,Kaukauna City Hydro,2,Outagamie,2.4,2.4,Conventional Hydroelectric,44.274582,-88.31907 +4716,Dairyland Power Coop,7863,Elk Mound,1,Chippewa,30.7,40.4,Natural Gas Fired Combustion Turbine,44.902814,-91.5681 +4716,Dairyland Power Coop,7863,Elk Mound,2,Chippewa,33.9,44.3,Natural Gas Fired Combustion Turbine,44.902814,-91.5681 +11479,Madison Gas & Electric Co,7886,Wind Turbine,1,Kewaunee,11,11,Onshore Wind Turbine,44.6694,-87.6333 +11479,Madison Gas & Electric Co,7991,West Campus Cogeneration Facility,1,Dane,30.9,30.9,Natural Gas Fired Combined Cycle,43.075071,-89.4251 +11479,Madison Gas & Electric Co,7991,West Campus Cogeneration Facility,CT2,Dane,32.6,32.6,Natural Gas Fired Combined Cycle,43.075071,-89.4251 +11479,Madison Gas & Electric Co,7991,West Campus Cogeneration Facility,STG1,Dane,66.1,66.1,Natural Gas Fired Combined Cycle,43.075071,-89.4251 +13697,North Central Power Co Inc,8013,Winter,IC 1,Sawyer,2.8,2.8,Petroleum Liquids,45.836675,-90.97352 +13697,North Central Power Co Inc,8013,Winter,IC 2,Sawyer,2.8,2.8,Petroleum Liquids,45.836675,-90.97352 +20856,Wisconsin Power & Light Co,8023,Columbia (WI),1,Columbia,579.3,582.3,Conventional Steam Coal,43.4864,-89.4203 +20856,Wisconsin Power & Light Co,8023,Columbia (WI),2,Columbia,568.8,578.8,Conventional Steam Coal,43.4864,-89.4203 +11479,Madison Gas & Electric Co,9674,Nine Springs,GT1,Dane,12.6,12.6,Natural Gas Fired Combustion Turbine,43.0386,-89.3586 +61813,"ND Paper, Inc.",10234,Biron Mill,GEN1,Wood,15.3,15.3,Conventional Steam Coal,44.43,-89.78 +61813,"ND Paper, Inc.",10234,Biron Mill,GEN3,Wood,7.5,7.5,Natural Gas Steam Turbine,44.43,-89.78 +61813,"ND Paper, Inc.",10234,Biron Mill,GEN4,Wood,12.5,12.5,Natural Gas Steam Turbine,44.43,-89.78 +61813,"ND Paper, Inc.",10234,Biron Mill,GEN5,Wood,20,20,Conventional Steam Coal,44.43,-89.78 +55919,Georgia-Pacific Consumer Oper. Green Bay LLC,10360,Consumer Operations LLC,GEN6,Brown,18,18,Natural Gas Steam Turbine,44.4936,-88.0303 +55919,Georgia-Pacific Consumer Oper. Green Bay LLC,10360,Consumer Operations LLC,GEN7,Brown,23,23,Natural Gas Steam Turbine,44.4936,-88.0303 +58149,Renewable World Energies LLC,10453,LAC Courte Oreilles Hydroelect,U1,Sawyer,0.2,0.2,Conventional Hydroelectric,45.888333,-91.07694 +58149,Renewable World Energies LLC,10453,LAC Courte Oreilles Hydroelect,U2,Sawyer,1.5,1.5,Conventional Hydroelectric,45.888333,-91.07694 +58149,Renewable World Energies LLC,10453,LAC Courte Oreilles Hydroelect,U3,Sawyer,1.5,1.5,Conventional Hydroelectric,45.888333,-91.07694 +55965,Verso Corporation,10477,Wisconsin Rapids Pulp Mill,GEN1,Wood,27.2,32,Wood/Wood Waste Biomass,44.3953,-89.826 +55965,Verso Corporation,10477,Wisconsin Rapids Pulp Mill,GEN2,Wood,37.5,40.3,Wood/Wood Waste Biomass,44.3953,-89.826 +55997,Domtar Paper Company Rothschild,50190,Domtar Paper Company Rothschild,HG3,Marathon,0.6,0.6,Conventional Hydroelectric,44.8867,-89.6272 +55997,Domtar Paper Company Rothschild,50190,Domtar Paper Company Rothschild,HG7,Marathon,0.5,0.5,Conventional Hydroelectric,44.8867,-89.6272 +5033,Domtar Industries Inc,50395,Georgia-Pacific Corp - Nekoosa Mill,HY1,Wood,0.8,0.7,Conventional Hydroelectric,44.3142,-89.8964 +5033,Domtar Industries Inc,50395,Georgia-Pacific Corp - Nekoosa Mill,HY2,Wood,0.8,0.7,Conventional Hydroelectric,44.3142,-89.8964 +5033,Domtar Industries Inc,50395,Georgia-Pacific Corp - Nekoosa Mill,HY3,Wood,0.8,0.7,Conventional Hydroelectric,44.3142,-89.8964 +5033,Domtar Industries Inc,50395,Georgia-Pacific Corp - Nekoosa Mill,HY4,Wood,0.6,0.6,Conventional Hydroelectric,44.3142,-89.8964 +5033,Domtar Industries Inc,50395,Georgia-Pacific Corp - Nekoosa Mill,HY5,Wood,0.7,0.6,Conventional Hydroelectric,44.3142,-89.8964 +5033,Domtar Industries Inc,50395,Georgia-Pacific Corp - Nekoosa Mill,NHG1,Wood,0.2,0.2,Conventional Hydroelectric,44.3142,-89.8964 +5033,Domtar Industries Inc,50395,Georgia-Pacific Corp - Nekoosa Mill,TG14,Wood,12.5,12.1,Wood/Wood Waste Biomass,44.3142,-89.8964 +5033,Domtar Industries Inc,50395,Georgia-Pacific Corp - Nekoosa Mill,TG6,Wood,5.7,5.5,Natural Gas Steam Turbine,44.3142,-89.8964 +5033,Domtar Industries Inc,50395,Georgia-Pacific Corp - Nekoosa Mill,TG8,Wood,13,15,Natural Gas Steam Turbine,44.3142,-89.8964 +57280,"Eagle Creek Renewable Energy, LLC",50408,Park Mill,1,Marinette,0.4,0.4,Conventional Hydroelectric,45.1058,-87.6514 +57280,"Eagle Creek Renewable Energy, LLC",50408,Park Mill,10,Marinette,0.3,0.3,Conventional Hydroelectric,45.1058,-87.6514 +57280,"Eagle Creek Renewable Energy, LLC",50408,Park Mill,2,Marinette,0.2,0.2,Conventional Hydroelectric,45.1058,-87.6514 +57280,"Eagle Creek Renewable Energy, LLC",50408,Park Mill,3,Marinette,0.4,0.4,Conventional Hydroelectric,45.1058,-87.6514 +57280,"Eagle Creek Renewable Energy, LLC",50408,Park Mill,6,Marinette,0.4,0.4,Conventional Hydroelectric,45.1058,-87.6514 +57280,"Eagle Creek Renewable Energy, LLC",50408,Park Mill,7,Marinette,0.4,0.4,Conventional Hydroelectric,45.1058,-87.6514 +57280,"Eagle Creek Renewable Energy, LLC",50439,Oconto Falls Lower,GEN1,Oconto,0.3,0.3,Conventional Hydroelectric,44.8719,-88.1439 +57280,"Eagle Creek Renewable Energy, LLC",50439,Oconto Falls Lower,GEN2,Oconto,1.7,1.7,Conventional Hydroelectric,44.8719,-88.1439 +14369,PCA-Tomahawk Mill,50476,Packaging of America Tomahawk Mill,GEN1,Lincoln,5.4,5.8,Wood/Wood Waste Biomass,45.4431,-89.7342 +14369,PCA-Tomahawk Mill,50476,Packaging of America Tomahawk Mill,GEN2,Lincoln,8.2,8.9,Wood/Wood Waste Biomass,45.4431,-89.7342 +14369,PCA-Tomahawk Mill,50476,Packaging of America Tomahawk Mill,GEN3,Lincoln,0.5,0.6,Conventional Hydroelectric,45.4431,-89.7342 +14369,PCA-Tomahawk Mill,50476,Packaging of America Tomahawk Mill,GEN4,Lincoln,0.3,0.2,Conventional Hydroelectric,45.4431,-89.7342 +14369,PCA-Tomahawk Mill,50476,Packaging of America Tomahawk Mill,GEN5,Lincoln,0.3,0.3,Conventional Hydroelectric,45.4431,-89.7342 +54842,WM Renewable Energy LLC,50576,Metro Gas Recovery,GEN1,Milwaukee,2.9,3.3,Landfill Gas,42.850556,-88.06972 +54842,WM Renewable Energy LLC,50576,Metro Gas Recovery,GEN2,Milwaukee,2.9,3.3,Landfill Gas,42.850556,-88.06972 +54842,WM Renewable Energy LLC,50576,Metro Gas Recovery,GEN3,Milwaukee,0.8,0.8,Landfill Gas,42.850556,-88.06972 +54842,WM Renewable Energy LLC,50576,Metro Gas Recovery,GEN4,Milwaukee,0.8,0.8,Landfill Gas,42.850556,-88.06972 +54842,WM Renewable Energy LLC,50576,Metro Gas Recovery,GEN5,Milwaukee,0.8,0.8,Landfill Gas,42.850556,-88.06972 +54842,WM Renewable Energy LLC,50576,Metro Gas Recovery,GEN6,Milwaukee,0.8,0.8,Landfill Gas,42.850556,-88.06972 +54842,WM Renewable Energy LLC,50577,Omega Hills Gas Recovery,GEN1,Washington,2.9,3.3,Landfill Gas,43.1922,-88.1597 +54842,WM Renewable Energy LLC,50577,Omega Hills Gas Recovery,GEN2,Washington,2.9,3.3,Landfill Gas,43.1922,-88.1597 +54842,WM Renewable Energy LLC,50577,Omega Hills Gas Recovery,GEN3,Washington,3,3,Landfill Gas,43.1922,-88.1597 +54842,WM Renewable Energy LLC,50577,Omega Hills Gas Recovery,GEN5,Washington,2.9,3.3,Landfill Gas,43.1922,-88.1597 +13008,"Ahlstrom-Munksjo NA Specialty Solutions, LLC",50614,Mosinee Mill,GEN1,Marathon,13,13,Wood/Wood Waste Biomass,44.7881,-89.6917 +13008,"Ahlstrom-Munksjo NA Specialty Solutions, LLC",50614,Mosinee Mill,HYD1,Marathon,2,2,Conventional Hydroelectric,44.7881,-89.6917 +13008,"Ahlstrom-Munksjo NA Specialty Solutions, LLC",50614,Mosinee Mill,HYD2,Marathon,0.7,0.7,Conventional Hydroelectric,44.7881,-89.6917 +13008,"Ahlstrom-Munksjo NA Specialty Solutions, LLC",50614,Mosinee Mill,HYD3,Marathon,0.7,0.7,Conventional Hydroelectric,44.7881,-89.6917 +13008,"Ahlstrom-Munksjo NA Specialty Solutions, LLC",50614,Mosinee Mill,WEST,Marathon,5,5,Wood/Wood Waste Biomass,44.7881,-89.6917 +61707,Ahlstrom-Munksjo,50933,Rhinelander Mill,GEN5,Oneida,4,7,Natural Gas Steam Turbine,45.6394,-89.4205 +61707,Ahlstrom-Munksjo,50933,Rhinelander Mill,GEN6,Oneida,6.3,8.5,Conventional Steam Coal,45.6394,-89.4205 +61707,Ahlstrom-Munksjo,50933,Rhinelander Mill,HYD1,Oneida,0.5,0.5,Conventional Hydroelectric,45.6394,-89.4205 +61707,Ahlstrom-Munksjo,50933,Rhinelander Mill,HYD2,Oneida,0.5,0.5,Conventional Hydroelectric,45.6394,-89.4205 +61707,Ahlstrom-Munksjo,50933,Rhinelander Mill,HYD3,Oneida,1,1,Conventional Hydroelectric,45.6394,-89.4205 +20854,Winnebago County,50936,Winnebago County Landfill Gas,EG2R,Winnebago,0.6,0.6,Landfill Gas,44.083,-88.5411 +20854,Winnebago County,50936,Winnebago County Landfill Gas,EG3,Winnebago,0.9,0.9,Landfill Gas,44.083,-88.5411 +20854,Winnebago County,50936,Winnebago County Landfill Gas,EG4,Winnebago,1,1,Landfill Gas,44.083,-88.5411 +54738,Thilmany LLC,54098,Kaukauna Paper Mill,GEN1,Outagamie,6,6,Wood/Wood Waste Biomass,44.2826,-88.2534 +54738,Thilmany LLC,54098,Kaukauna Paper Mill,GEN2,Outagamie,11,11,Wood/Wood Waste Biomass,44.2826,-88.2534 +54738,Thilmany LLC,54098,Kaukauna Paper Mill,GEN3,Outagamie,15.6,15.6,Wood/Wood Waste Biomass,44.2826,-88.2534 +54738,Thilmany LLC,54098,Kaukauna Paper Mill,GEN4,Outagamie,12,12,Conventional Steam Coal,44.2826,-88.2534 +5033,Domtar Industries Inc,54103,Port Edwards Mill,HG1,Wood,0.4,0.4,Conventional Hydroelectric,44.3364,-89.8672 +5033,Domtar Industries Inc,54103,Port Edwards Mill,HG2,Wood,0.4,0.4,Conventional Hydroelectric,44.3364,-89.8672 +5033,Domtar Industries Inc,54103,Port Edwards Mill,HG3,Wood,0.4,0.4,Conventional Hydroelectric,44.3364,-89.8672 +5033,Domtar Industries Inc,54103,Port Edwards Mill,HG4,Wood,0.4,0.4,Conventional Hydroelectric,44.3364,-89.8672 +5033,Domtar Industries Inc,54103,Port Edwards Mill,HG5,Wood,0.8,0.7,Conventional Hydroelectric,44.3364,-89.8672 +5033,Domtar Industries Inc,54103,Port Edwards Mill,HG6,Wood,0.8,0.7,Conventional Hydroelectric,44.3364,-89.8672 +5033,Domtar Industries Inc,54103,Port Edwards Mill,JHG1,Wood,1.2,1.2,Conventional Hydroelectric,44.3364,-89.8672 +5033,Domtar Industries Inc,54103,Port Edwards Mill,JHG2,Wood,0.6,0.6,Conventional Hydroelectric,44.3364,-89.8672 +5033,Domtar Industries Inc,54103,Port Edwards Mill,JHG3,Wood,0.6,0.6,Conventional Hydroelectric,44.3364,-89.8672 +5033,Domtar Industries Inc,54103,Port Edwards Mill,JHG4,Wood,0.4,0.4,Conventional Hydroelectric,44.3364,-89.8672 +5033,Domtar Industries Inc,54103,Port Edwards Mill,JHG5,Wood,0.6,0.6,Conventional Hydroelectric,44.3364,-89.8672 +18028,State of Wisconsin,54406,Capitol Heat and Power,P31,Dane,1,1,Petroleum Liquids,43.078512,-89.37726 +18028,State of Wisconsin,54406,Capitol Heat and Power,P32,Dane,1,1,Petroleum Liquids,43.078512,-89.37726 +18028,State of Wisconsin,54407,Waupun Correctional Central Heating Plt,1,Dodge,1,1,Natural Gas Steam Turbine,43.6233,-88.7297 +18028,State of Wisconsin,54407,Waupun Correctional Central Heating Plt,2,Dodge,1,1,Natural Gas Steam Turbine,43.6233,-88.7297 +18028,State of Wisconsin,54407,Waupun Correctional Central Heating Plt,3,Dodge,0.8,0.8,Petroleum Liquids,43.6233,-88.7297 +18028,State of Wisconsin,54407,Waupun Correctional Central Heating Plt,4,Dodge,1.5,1.5,Petroleum Liquids,43.6233,-88.7297 +18028,State of Wisconsin,54408,UW Madison Charter Street Plant,1,Dane,9.7,9.7,Natural Gas Steam Turbine,43.07,-89.4006 +18028,State of Wisconsin,54408,UW Madison Charter Street Plant,3,Dane,1.3,1.3,Petroleum Liquids,43.07,-89.4006 +54842,WM Renewable Energy LLC,54661,Pheasant Run Landfill Gas Recovery,GE10,Kenosha,0.8,0.8,Landfill Gas,42.5825,-88.0436 +54842,WM Renewable Energy LLC,54661,Pheasant Run Landfill Gas Recovery,GE11,Kenosha,0.8,0.8,Landfill Gas,42.5825,-88.0436 +54842,WM Renewable Energy LLC,54661,Pheasant Run Landfill Gas Recovery,GEN1,Kenosha,0.8,0.8,Landfill Gas,42.5825,-88.0436 +54842,WM Renewable Energy LLC,54661,Pheasant Run Landfill Gas Recovery,GEN2,Kenosha,0.8,0.8,Landfill Gas,42.5825,-88.0436 +54842,WM Renewable Energy LLC,54661,Pheasant Run Landfill Gas Recovery,GEN3,Kenosha,0.8,0.8,Landfill Gas,42.5825,-88.0436 +54842,WM Renewable Energy LLC,54661,Pheasant Run Landfill Gas Recovery,GEN4,Kenosha,0.8,0.8,Landfill Gas,42.5825,-88.0436 +54842,WM Renewable Energy LLC,54661,Pheasant Run Landfill Gas Recovery,GEN5,Kenosha,0.8,0.8,Landfill Gas,42.5825,-88.0436 +54842,WM Renewable Energy LLC,54661,Pheasant Run Landfill Gas Recovery,GEN6,Kenosha,0.8,0.8,Landfill Gas,42.5825,-88.0436 +54842,WM Renewable Energy LLC,54661,Pheasant Run Landfill Gas Recovery,GEN7,Kenosha,0.8,0.8,Landfill Gas,42.5825,-88.0436 +54842,WM Renewable Energy LLC,54661,Pheasant Run Landfill Gas Recovery,GEN8,Kenosha,0.8,0.8,Landfill Gas,42.5825,-88.0436 +54842,WM Renewable Energy LLC,54661,Pheasant Run Landfill Gas Recovery,GEN9,Kenosha,0.8,0.8,Landfill Gas,42.5825,-88.0436 +12619,Milwaukee Metro Sewerage Dist,54851,MMSD Jones Island Wastewater,GEN1,Milwaukee,13,15,Natural Gas Fired Combustion Turbine,43.0214,-87.9014 +12619,Milwaukee Metro Sewerage Dist,54851,MMSD Jones Island Wastewater,SOL1,Milwaukee,4.6,4.6,Natural Gas Fired Combustion Turbine,43.0214,-87.9014 +12619,Milwaukee Metro Sewerage Dist,54851,MMSD Jones Island Wastewater,SOL2,Milwaukee,4.6,4.6,Landfill Gas,43.0214,-87.9014 +12619,Milwaukee Metro Sewerage Dist,54851,MMSD Jones Island Wastewater,SOL3,Milwaukee,4.6,4.6,Landfill Gas,43.0214,-87.9014 +10056,City of Kaukauna,54885,Kimberly Mill,1H,Outagamie,0.7,0.7,Conventional Hydroelectric,44.2769,-88.3344 +10056,City of Kaukauna,54885,Kimberly Mill,2H,Outagamie,0.7,0.7,Conventional Hydroelectric,44.2769,-88.3344 +10056,City of Kaukauna,54885,Kimberly Mill,3H,Outagamie,0.7,0.7,Conventional Hydroelectric,44.2769,-88.3344 +55911,Whitewater Operating Services LLC,55011,LSP-Whitewater LP,CTG1,Jefferson,162,175,Natural Gas Fired Combined Cycle,42.855463,-88.72992 +55911,Whitewater Operating Services LLC,55011,LSP-Whitewater LP,STG1,Jefferson,99,97,Natural Gas Fired Combined Cycle,42.855463,-88.72992 +20860,Wisconsin Public Service Corp,55029,De Pere Energy Center,CT01,Brown,166,193.2,Natural Gas Fired Combustion Turbine,44.44861,-88.07204 +20856,Wisconsin Power & Light Co,55135,Alliant Energy Neenah,CT01,Winnebago,150.6,171.2,Natural Gas Fired Combustion Turbine,44.1936,-88.5064 +20856,Wisconsin Power & Light Co,55135,Alliant Energy Neenah,CT02,Winnebago,153.9,175.1,Natural Gas Fired Combustion Turbine,44.1936,-88.5064 +4716,Dairyland Power Coop,55391,RockGen Energy Center,01,Dane,163,163,Natural Gas Fired Combustion Turbine,42.9767,-89.0492 +4716,Dairyland Power Coop,55391,RockGen Energy Center,02,Dane,163,163,Natural Gas Fired Combustion Turbine,42.9767,-89.0492 +4716,Dairyland Power Coop,55391,RockGen Energy Center,03,Dane,163,163,Natural Gas Fired Combustion Turbine,42.9767,-89.0492 +12619,Milwaukee Metro Sewerage Dist,55525,MMSD South Shore Wastewater,1,Milwaukee,1.4,1.4,Other Waste Biomass,42.8869,-87.8422 +12619,Milwaukee Metro Sewerage Dist,55525,MMSD South Shore Wastewater,1CAT,Milwaukee,0.9,0.9,Other Waste Biomass,42.8869,-87.8422 +12619,Milwaukee Metro Sewerage Dist,55525,MMSD South Shore Wastewater,2CAT,Milwaukee,0.9,0.9,Other Waste Biomass,42.8869,-87.8422 +12619,Milwaukee Metro Sewerage Dist,55525,MMSD South Shore Wastewater,3CAT,Milwaukee,0.9,0.9,Other Waste Biomass,42.8869,-87.8422 +12619,Milwaukee Metro Sewerage Dist,55525,MMSD South Shore Wastewater,4CAT,Milwaukee,0.9,0.9,Other Waste Biomass,42.8869,-87.8422 +744,Appleton Coated LLC,55558,Combined Locks Energy Center,GEN1,Outagamie,45.9,47,Natural Gas Fired Combined Cycle,44.2717,-88.3011 +744,Appleton Coated LLC,55558,Combined Locks Energy Center,GEN2,Outagamie,6,6,Natural Gas Fired Combined Cycle,44.2717,-88.3011 +20856,Wisconsin Power & Light Co,55641,Riverside Energy Center,CTG1,Rock,155.2,166.7,Natural Gas Fired Combined Cycle,42.583056,-89.03583 +20856,Wisconsin Power & Light Co,55641,Riverside Energy Center,CTG2,Rock,153.3,164.6,Natural Gas Fired Combined Cycle,42.583056,-89.03583 +20856,Wisconsin Power & Light Co,55641,Riverside Energy Center,STG1,Rock,251.9,257.3,Natural Gas Fired Combined Cycle,42.583056,-89.03583 +58149,Renewable World Energies LLC,55684,Flambeau Crowley Rapids Project,GEN1,Price,1,1,Conventional Hydroelectric,45.8683,-90.5844 +58149,Renewable World Energies LLC,55684,Flambeau Crowley Rapids Project,GEN2,Price,0.5,0.5,Conventional Hydroelectric,45.8683,-90.5844 +58149,Renewable World Energies LLC,55685,Flambeau Lower Project,GEN1,Price,0.4,0.4,Conventional Hydroelectric,45.913526,-90.44746 +58149,Renewable World Energies LLC,55685,Flambeau Lower Project,GEN2,Price,0.4,0.4,Conventional Hydroelectric,45.913526,-90.44746 +58149,Renewable World Energies LLC,55685,Flambeau Lower Project,GEN3,Price,0.4,0.4,Conventional Hydroelectric,45.913526,-90.44746 +20847,Wisconsin Electric Power Co,55742,Montfort Wind Energy Center,ER15,Iowa,30,30,Onshore Wind Turbine,42.9625,-90.38667 +20858,WPPI Energy,55836,Island Street Peaking Plant,FT81,Outagamie,52.4,60,Natural Gas Fired Combustion Turbine,44.2761,-88.2658 +61723,"Pixelle Specialty Solution, LLC",55861,Stevens Point Mill,SP,Portage,7,7,Natural Gas Steam Turbine,44.3528,-89.5836 +1687,Bio-Energy Partners,55925,Ridgeview,GEN1,Manitowoc,0.8,0.8,Landfill Gas,44.175007,-87.82852 +1687,Bio-Energy Partners,55925,Ridgeview,GEN2,Manitowoc,0.8,0.8,Landfill Gas,44.175007,-87.82852 +1687,Bio-Energy Partners,55925,Ridgeview,GEN5,Manitowoc,0.8,0.8,Landfill Gas,44.175007,-87.82852 +1687,Bio-Energy Partners,55925,Ridgeview,GEN6,Manitowoc,0.8,0.8,Landfill Gas,44.175007,-87.82852 +1687,Bio-Energy Partners,55925,Ridgeview,GEN7,Manitowoc,0.8,0.8,Landfill Gas,44.175007,-87.82852 +1687,Bio-Energy Partners,55925,Ridgeview,GEN8,Manitowoc,0.8,0.8,Landfill Gas,44.175007,-87.82852 +13815,Northwestern Wisconsin Elec Co,55998,Danbury Diesel,GT1,Burnett,4,4,Petroleum Liquids,46.002834,-92.37138 +13815,Northwestern Wisconsin Elec Co,55998,Danbury Diesel,IC1,Burnett,0.5,0.5,Petroleum Liquids,46.002834,-92.37138 +13815,Northwestern Wisconsin Elec Co,55998,Danbury Diesel,IC2,Burnett,0.5,0.5,Petroleum Liquids,46.002834,-92.37138 +20860,Wisconsin Public Service Corp,56031,Fox Energy Center,CTG1,Outagamie,170.8,200.3,Natural Gas Fired Combined Cycle,44.3204,-88.20889 +20860,Wisconsin Public Service Corp,56031,Fox Energy Center,CTG2,Outagamie,162.8,200.3,Natural Gas Fired Combined Cycle,44.3204,-88.20889 +20860,Wisconsin Public Service Corp,56031,Fox Energy Center,STG,Outagamie,243.9,244.2,Natural Gas Fired Combined Cycle,44.3204,-88.20889 +20847,Wisconsin Electric Power Co,56068,Elm Road Generating Station,1,Milwaukee,635.9,637.3,Conventional Steam Coal,42.8492,-87.8336 +20847,Wisconsin Electric Power Co,56068,Elm Road Generating Station,2,Milwaukee,634.9,638.1,Conventional Steam Coal,42.8492,-87.8336 +54842,WM Renewable Energy LLC,56069,Berlin Landfill Gas,1,Green Lake,0.8,0.8,Landfill Gas,43.9603,-88.9158 +54842,WM Renewable Energy LLC,56069,Berlin Landfill Gas,2,Green Lake,0.8,0.8,Landfill Gas,43.9603,-88.9158 +54842,WM Renewable Energy LLC,56069,Berlin Landfill Gas,3,Green Lake,0.8,0.8,Landfill Gas,43.9603,-88.9158 +11479,Madison Gas & Electric Co,56070,Diesel Generators,1,Dane,53.8,53.8,Petroleum Liquids,43.0802,-89.3747 +20856,Wisconsin Power & Light Co,56166,Sheboygan Falls,1,Sheboygan,151.9,172.6,Natural Gas Fired Combustion Turbine,43.751826,-87.87806 +20856,Wisconsin Power & Light Co,56166,Sheboygan Falls,2,Sheboygan,149.2,169.5,Natural Gas Fired Combustion Turbine,43.751826,-87.87806 +20856,Wisconsin Power & Light Co,56347,Cedar Ridge,1,Fond Du Lac,67.7,67.7,Onshore Wind Turbine,43.692647,-88.32974 +20847,Wisconsin Electric Power Co,56391,Blue Sky Green Field Wind Project,1,Fond Du Lac,145.2,145.2,Onshore Wind Turbine,43.8794,-88.2708 +54813,AMERESCO Janesville LLC,56427,Ameresco Janesville,Unit1,Rock,1,1,Landfill Gas,42.7083,-89.0208 +54813,AMERESCO Janesville LLC,56427,Ameresco Janesville,Unit2,Rock,1,1,Landfill Gas,42.7083,-89.0208 +54813,AMERESCO Janesville LLC,56427,Ameresco Janesville,Unit3,Rock,1,1,Landfill Gas,42.7083,-89.0208 +11740,City of Marshfield - (WI),56480,Marshfield Utilities Gas Plant,M1,Wood,53.3,60.2,Natural Gas Fired Combustion Turbine,44.634722,-90.13444 +54842,WM Renewable Energy LLC,56520,Deertrack Park Gas Recovery,GEN1,Jefferson,0.8,0.8,Landfill Gas,43.089999,-88.73968 +54842,WM Renewable Energy LLC,56520,Deertrack Park Gas Recovery,GEN2,Jefferson,0.8,0.8,Landfill Gas,43.089999,-88.73968 +54842,WM Renewable Energy LLC,56520,Deertrack Park Gas Recovery,GEN3,Jefferson,0.8,0.8,Landfill Gas,43.089999,-88.73968 +54842,WM Renewable Energy LLC,56520,Deertrack Park Gas Recovery,GEN4,Jefferson,0.8,0.8,Landfill Gas,43.089999,-88.73968 +54842,WM Renewable Energy LLC,56520,Deertrack Park Gas Recovery,GEN5,Jefferson,0.8,0.8,Landfill Gas,43.089999,-88.73968 +54842,WM Renewable Energy LLC,56520,Deertrack Park Gas Recovery,GEN6,Jefferson,0.8,0.8,Landfill Gas,43.089999,-88.73968 +54842,WM Renewable Energy LLC,56520,Deertrack Park Gas Recovery,GEN7,Jefferson,0.8,0.8,Landfill Gas,43.089999,-88.73968 +54842,WM Renewable Energy LLC,56520,Deertrack Park Gas Recovery,GEN8,Jefferson,0.8,0.8,Landfill Gas,43.089999,-88.73968 +54842,WM Renewable Energy LLC,56525,Timberline Trail Gas Recovery,GEN2,Rusk,0.8,0.8,Landfill Gas,45.4533,-91.3583 +54842,WM Renewable Energy LLC,56525,Timberline Trail Gas Recovery,GEN3,Rusk,0.8,0.8,Landfill Gas,45.4533,-91.3583 +54842,WM Renewable Energy LLC,56525,Timberline Trail Gas Recovery,GEN4,Rusk,0.8,0.8,Landfill Gas,45.4533,-91.3583 +54842,WM Renewable Energy LLC,56525,Timberline Trail Gas Recovery,GEN5,Rusk,0.8,0.8,Landfill Gas,45.4533,-91.3583 +56484,Butler Ridge Wind Energy Center,56647,Butler Ridge,1,Dodge,54,54,Onshore Wind Turbine,43.400278,-88.48111 +20860,Wisconsin Public Service Corp,56942,Forward Wind Energy Center,1,Dodge,99,99,Onshore Wind Turbine,43.6161,-88.4969 +20860,Wisconsin Public Service Corp,56942,Forward Wind Energy Center,2,Dodge,30,30,Onshore Wind Turbine,43.6161,-88.4969 +56424,Quilt Block Wind Farm LLC,57116,Quilt Block Wind Farm LLC,GEN 1,Lafayette,98,98,Onshore Wind Turbine,42.673333,-90.26528 +57280,"Eagle Creek Renewable Energy, LLC",57190,Little Quinnesec Falls Hydro Project,UNIT1,Marinette,1.9,1.9,Conventional Hydroelectric,45.7736,-87.9894 +57280,"Eagle Creek Renewable Energy, LLC",57190,Little Quinnesec Falls Hydro Project,UNIT2,Marinette,0.8,0.8,Conventional Hydroelectric,45.7736,-87.9894 +57280,"Eagle Creek Renewable Energy, LLC",57190,Little Quinnesec Falls Hydro Project,UNIT3,Marinette,1.9,1.9,Conventional Hydroelectric,45.7736,-87.9894 +57280,"Eagle Creek Renewable Energy, LLC",57190,Little Quinnesec Falls Hydro Project,UNIT4,Marinette,1,1,Conventional Hydroelectric,45.7736,-87.9894 +57280,"Eagle Creek Renewable Energy, LLC",57190,Little Quinnesec Falls Hydro Project,UNIT5,Marinette,1,1,Conventional Hydroelectric,45.7736,-87.9894 +57280,"Eagle Creek Renewable Energy, LLC",57190,Little Quinnesec Falls Hydro Project,UNIT6,Marinette,2.4,2.4,Conventional Hydroelectric,45.7736,-87.9894 +20847,Wisconsin Electric Power Co,57199,Glacier Hills,1,Columbia,162,162,Onshore Wind Turbine,43.563889,-89.14806 +65411,Duke Energy Renewables Services,57553,Shirley Wind,1,Brown,20,20,Onshore Wind Turbine,44.3481,-87.9278 +57142,Gundersen Lutheran Biogas I LLC,57824,Onalaska Campus Landfill Biogas,416LF,La Crosse,1.1,1.1,Landfill Gas,43.873889,-91.18 +57340,Cashton Greens Wind Farm LLC,57968,Cashton Greens Wind Farm,CGWF,Monroe,4.8,4.8,Onshore Wind Turbine,43.733889,-90.805 +20847,Wisconsin Electric Power Co,58124,Rothschild Biomass Cogen Facility,1,Marathon,46.6,46.8,Wood/Wood Waste Biomass,44.887778,-89.62972 +63479,Viresco Turtle Lake,58747,Viresco Turtle Lake,GEN1,Polk,1.6,1.6,Other Waste Biomass,45.390278,-92.1625 +63479,Viresco Turtle Lake,58747,Viresco Turtle Lake,GEN2,Polk,1.6,1.6,Other Waste Biomass,45.390278,-92.1625 +58709,Richland Center Renewable Energy LLC,58834,Richland Center Renewable Energy LLC,UNIT1,Richland,0.8,0.8,Other Waste Biomass,43.314444,-90.37306 +58709,Richland Center Renewable Energy LLC,58834,Richland Center Renewable Energy LLC,UNIT2,Richland,0.8,0.8,Other Waste Biomass,43.314444,-90.37306 +59216,"S.C. Johnson & Son, Inc.",59448,Waxdale,CGEN1,Racine,3.5,3.5,Landfill Gas,42.709444,-87.88528 +59216,"S.C. Johnson & Son, Inc.",59448,Waxdale,CGEN2,Racine,3.5,3.5,Natural Gas Fired Combustion Turbine,42.709444,-87.88528 +59216,"S.C. Johnson & Son, Inc.",59448,Waxdale,WEC01,Racine,1.5,1.5,Onshore Wind Turbine,42.709444,-87.88528 +59216,"S.C. Johnson & Son, Inc.",59448,Waxdale,WEC02,Racine,1.5,1.5,Onshore Wind Turbine,42.709444,-87.88528 +59209,Concord New Energy,59771,Jefferson Solar Park,JSP01,Jefferson,1,1,Solar Photovoltaic,43.0146,-88.7992 +58303,Energy Systems Group LLC,59810,Dairyland WTE Plant,GEN1,Brown,0.7,0.7,Other Waste Biomass,44.540115,-87.80559 +58303,Energy Systems Group LLC,59810,Dairyland WTE Plant,GEN2,Brown,0.7,0.7,Other Waste Biomass,44.540115,-87.80559 +20847,Wisconsin Electric Power Co,59836,Twin Falls (WI),11,Florence,4.6,4.6,Conventional Hydroelectric,45.872778,-88.07083 +20847,Wisconsin Electric Power Co,59836,Twin Falls (WI),12,Florence,4.6,4.6,Conventional Hydroelectric,45.872778,-88.07083 +59688,"FCPC Renewable Generation, LLC",59931,FCPC Renewable Generation,GEN2,Milwaukee,1,1,Other Waste Biomass,43.030016,-87.94091 +60338,HQC Rock River Solar Power Generation Station LLC,60573,HQC Rock River Solar Power Gen Station,PV1,Rock,2.1,2.1,Solar Photovoltaic,42.578831,-89.03302 +60520,SoCore Energy LLC,60887,Sauk DPC Solar,PV1,Vernon,1,1,Solar Photovoltaic,43.59591,-90.3226 +60520,SoCore Energy LLC,60888,Lafayette DPC Solar,PV1,Chippewa,1,1,Solar Photovoltaic,44.88782,-91.3524 +60520,SoCore Energy LLC,60889,Conrath DPC Solar,PV1,Rusk,1,1,Solar Photovoltaic,45.36614,-91.0482 +60520,SoCore Energy LLC,60890,Warren DPC Solar,PV1,St Croix,2.2,2.2,Solar Photovoltaic,44.95963,-92.5182 +60520,SoCore Energy LLC,60891,Liberty Pole DPC Solar,PV1,Vernon,1.1,1.1,Solar Photovoltaic,43.49412,-90.9071 +60520,SoCore Energy LLC,60892,Downsville DPC Solar,PV1,Dunn,1,1,Solar Photovoltaic,44.81423,-91.8841 +60520,SoCore Energy LLC,60893,Mt. Hope DPC Solar,PV1,Grant,1,1,Solar Photovoltaic,42.97498,-90.8318 +60520,SoCore Energy LLC,60894,Medford DPC Solar,PV1,Taylor,2,2,Solar Photovoltaic,45.16305,-90.3729 +60520,SoCore Energy LLC,60895,Whistling Winds DPC Solar,PV1,Juneau,1.5,1.5,Solar Photovoltaic,43.9721,-90.0719 +60520,SoCore Energy LLC,60936,New Auburn DPC Solar,PV1,Chippewa,2.5,2.5,Solar Photovoltaic,45.21,-91.4353 +60520,SoCore Energy LLC,60957,Sand Lake DPC Solar,PV1,Polk,1,1,Solar Photovoltaic,45.4455,-92.549 +61202,"Flambeau Solar Partners, LLC",61595,Flambeau Solar Partners,FLAMB,Price,2.5,2.5,Solar Photovoltaic,45.7368,-90.471 +61266,"Fiber Recovery, Inc",61652,"Fiber Recovery, Inc.",ENG1,Marathon,0.8,0.8,Landfill Gas,44.8875,-89.3859 +61266,"Fiber Recovery, Inc",61652,"Fiber Recovery, Inc.",ENG2,Marathon,0.8,0.8,Landfill Gas,44.8875,-89.3859 +61266,"Fiber Recovery, Inc",61652,"Fiber Recovery, Inc.",ENG3,Marathon,0.8,0.8,Landfill Gas,44.8875,-89.3859 +57389,IKEA Property Inc,61816,IKEA Oak Creek Rooftop PV System,PV1,Milwaukee,1.2,1.2,Solar Photovoltaic,42.902949,-87.93545 +61967,Beloit Memorial Hospital,62117,Beloit Memorial Hospital Power Plant,GEN-1,Rock,1.5,1.5,Natural Gas Internal Combustion Engine,42.5486,-89.0083 +61967,Beloit Memorial Hospital,62117,Beloit Memorial Hospital Power Plant,GEN-2,Rock,1.5,1.5,Natural Gas Internal Combustion Engine,42.5486,-89.0083 +61667,Galactic Wind,62161,Galactic Wind,GWT,Dane,9.9,9.9,Onshore Wind Turbine,43.101605,-89.33186 +61702,"Epic Hosting, LLC",62676,Epic Verona,G101,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G102,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G103,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G104,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G105,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G202,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G203,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G204,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G205,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G206,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G207,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G208,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G209,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G210,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G211,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G301,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G302,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,G303,Dane,2.3,2.3,Petroleum Liquids,42.996838,-89.56875 +61702,"Epic Hosting, LLC",62676,Epic Verona,PV,Dane,1.8,1.8,Solar Photovoltaic,42.996838,-89.56875 +11479,Madison Gas & Electric Co,62731,Middleton Airport Solar,1,Dane,5.6,5.6,Solar Photovoltaic,43.11626,-89.53245 +62662,"Butter Solar, LLC",62744,Arcadia Solar,A1,Trempealeau,5,5,Solar Photovoltaic,44.243436,-91.45824 +62662,"Butter Solar, LLC",62847,Fennimore Solar,FEN6,Grant,3,3,Solar Photovoltaic,42.971,-90.662 +62662,"Butter Solar, LLC",62848,New Lisbon Solar,NEW9,Juneau,2.5,2.5,Solar Photovoltaic,43.883,-90.136 +62662,"Butter Solar, LLC",62849,Cumberland Solar,CUM4,Barron,2.5,2.5,Solar Photovoltaic,45.511,-92.025 +62662,"Butter Solar, LLC",62858,Cashton Solar,CAS3,Monroe,2,2,Solar Photovoltaic,43.737,-90.805 +62662,"Butter Solar, LLC",62868,Elroy Solar,ELR5,Juneau,1.5,1.5,Solar Photovoltaic,43.732,-90.025 +20860,Wisconsin Public Service Corp,62955,Badger Hollow I,GEN1,Iowa,150,150,Solar Photovoltaic,42.94556,-90.34942 +20860,Wisconsin Public Service Corp,63105,Two Creeks Solar,1,Manitowoc,150,150,Solar Photovoltaic,44.249598,-87.54534 +20856,Wisconsin Power & Light Co,64020,West Riverside Energy Center,CTG3,Rock,226.1,234.9,Natural Gas Fired Combined Cycle,42.582051,-89.04121 +20856,Wisconsin Power & Light Co,64020,West Riverside Energy Center,CTG4,Rock,224.8,232.7,Natural Gas Fired Combined Cycle,42.582051,-89.04121 +20856,Wisconsin Power & Light Co,64020,West Riverside Energy Center,PV1,Rock,4.4,4.4,Solar Photovoltaic,42.582051,-89.04121 +20856,Wisconsin Power & Light Co,64020,West Riverside Energy Center,STG2,Rock,255.1,258.3,Natural Gas Fired Combined Cycle,42.582051,-89.04121 +11479,Madison Gas & Electric Co,64080,Dane County Airport Solar,1,Dane,10.8,10.8,Solar Photovoltaic,43.160591,-89.3295 +64081,Point Beach Solar,64431,Point Beach Solar,PBS,Manitowoc,100,100,Solar Photovoltaic,44.28337,-87.55533 +11479,Madison Gas & Electric Co,64590,O'Brien Solar Fields,OBSFN,Dane,8.3,8.3,Solar Photovoltaic,42.997665,-89.45895 +11479,Madison Gas & Electric Co,64590,O'Brien Solar Fields,OBSFS,Dane,8.3,8.3,Solar Photovoltaic,42.997665,-89.45895 +11479,Madison Gas & Electric Co,64590,O'Brien Solar Fields,OBSFW,Dane,5.5,5.5,Solar Photovoltaic,42.997665,-89.45895 +60025,Greenbacker Renewable Energy Corporation,64698,"Blue Prairie Solar, LLC",508,Jackson,2.5,2.5,Solar Photovoltaic,44.285255,-90.9158 +60571,"AEP Onsite Partners, LLC",64714,Rice Lake Solar Array,RLK01,Barron,3.8,3.8,Solar Photovoltaic,45.526558,-91.75693 +11479,Madison Gas & Electric Co,64780,Hermsdorf Solar,1,Dane,8,8,Solar Photovoltaic,43.0596,-89.2609 +60025,Greenbacker Renewable Energy Corporation,64862,Strobus,515,Jackson,1.5,1.5,Solar Photovoltaic,44.4332,-90.85707 +60571,"AEP Onsite Partners, LLC",64969,Barron Solar Array,BAR01,Barron,3,3,Solar Photovoltaic,45.396196,-91.82757 +60571,"AEP Onsite Partners, LLC",64976,Spooner Solar Array,SPN01,Washburn,2.1,2.1,Solar Photovoltaic,45.919047,-91.86248 +20856,Wisconsin Power & Light Co,65009,Bear Creek,PV1,Richland,50,37,Solar Photovoltaic,43.198512,-90.23282 +20856,Wisconsin Power & Light Co,65010,North Rock,PV1,Rock,50,36.5,Solar Photovoltaic,42.810873,-89.10154 +20856,Wisconsin Power & Light Co,65011,Wood County,PV1,Wood,150,110.6,Solar Photovoltaic,44.27361,-89.8335 +60025,Greenbacker Renewable Energy Corporation,65087,Shamrock Solar LLC,554,Jackson,3,3,Solar Photovoltaic,44.17659,-90.84654 +60025,Greenbacker Renewable Energy Corporation,65088,Stromland Solar,510,Buffalo,3,3,Solar Photovoltaic,44.19955,-91.80897 +59496,Allete Clean Energy,65282,Red Barn Energy,WT,Grant,91.6,91.6,Onshore Wind Turbine,42.951448,-90.4407 +20856,Wisconsin Power & Light Co,65530,Portage Industrial Battery,BESS1,Columbia,5,5,Batteries,43.552111,-89.48773 +20856,Wisconsin Power & Light Co,65633,Boaz Microgrid Battery,BESS1,Richland,0.3,0.2,Batteries,43.310598,-90.53274 +64930,ENGIE 2020 ProjectCo-WI1 LLC,65659,ENGIE 2020 ProjectCo-WI1 LLC,PV1,Fond Du Lac,1,1,Solar Photovoltaic,43.735027,-88.47378 +20856,Wisconsin Power & Light Co,65680,City of Sheboygan Solar,PV1,Sheboygan,1,1,Solar Photovoltaic,43.709143,-87.75538 +20856,Wisconsin Power & Light Co,65681,Kohler Solar,PV1,Sheboygan,2.3,2.3,Solar Photovoltaic,43.747,-87.76573 +20860,Wisconsin Public Service Corp,65968,Hodag Solar,HODAG,Oneida,7.5,7.5,Solar Photovoltaic,45.61246,-89.44366 +65220,"Middleton Biogas Solar, LLC",66048,"Middleton Biogas Solar, LLC",MBS,Dane,1.9,1.7,Solar Photovoltaic,43.1233,-89.5466 +65220,"Middleton Biogas Solar, LLC",66048,"Middleton Biogas Solar, LLC",MBS-B,Dane,0.3,0.3,Batteries,43.1233,-89.5466 +20860,Wisconsin Public Service Corp,66059,Weston RICE,W11,Marathon,18.8,18.8,Natural Gas Internal Combustion Engine,44.856372,-89.65402 +20860,Wisconsin Public Service Corp,66059,Weston RICE,W12,Marathon,18.8,18.8,Natural Gas Internal Combustion Engine,44.856372,-89.65402 +20860,Wisconsin Public Service Corp,66059,Weston RICE,W13,Marathon,18.8,18.8,Natural Gas Internal Combustion Engine,44.856372,-89.65402 +20860,Wisconsin Public Service Corp,66059,Weston RICE,W14,Marathon,18.8,18.8,Natural Gas Internal Combustion Engine,44.856372,-89.65402 +20860,Wisconsin Public Service Corp,66059,Weston RICE,W15,Marathon,18.8,18.8,Natural Gas Internal Combustion Engine,44.856372,-89.65402 +20860,Wisconsin Public Service Corp,66059,Weston RICE,W16,Marathon,18.8,18.8,Natural Gas Internal Combustion Engine,44.856372,-89.65402 +20860,Wisconsin Public Service Corp,66059,Weston RICE,W17,Marathon,18.8,18.8,Natural Gas Internal Combustion Engine,44.856372,-89.65402 +65501,Dane County Solar LLC,66419,Dane County Solar LLC,DANE,Dane,17.3,17.3,Solar Photovoltaic,43.0466,-89.23931 diff --git a/p6/public_tests.py b/p6/public_tests.py new file mode 100644 index 0000000000000000000000000000000000000000..60b3e1a2f4e342c12f323db15763d9bd7cd3b948 --- /dev/null +++ b/p6/public_tests.py @@ -0,0 +1,843 @@ +#!/usr/bin/python +# + +import os, json, math, copy +from collections import namedtuple +from bs4 import BeautifulSoup + +HIDDEN_FILE = os.path.join("hidden", "hidden_tests.py") +if os.path.exists(HIDDEN_FILE): + import hidden.hidden_tests as hidn +# - + +MAX_FILE_SIZE = 750 # units - KB +REL_TOL = 6e-04 # relative tolerance for floats +ABS_TOL = 15e-03 # absolute tolerance for floats +TOTAL_SCORE = 100 # total score for the project + +DF_FILE = 'expected_dfs.html' +PLOT_FILE = 'expected_plots.json' + +PASS = "All test cases passed!" + +TEXT_FORMAT = "TEXT_FORMAT" # question type when expected answer is a type, str, int, float, or bool +TEXT_FORMAT_UNORDERED_LIST = "TEXT_FORMAT_UNORDERED_LIST" # question type when the expected answer is a list or a set where the order does *not* matter +TEXT_FORMAT_ORDERED_LIST = "TEXT_FORMAT_ORDERED_LIST" # question type when the expected answer is a list or tuple where the order does matter +TEXT_FORMAT_DICT = "TEXT_FORMAT_DICT" # question type when the expected answer is a dictionary +TEXT_FORMAT_SPECIAL_ORDERED_LIST = "TEXT_FORMAT_SPECIAL_ORDERED_LIST" # question type when the expected answer is a list where order does matter, but with possible ties. Elements are ordered according to values in special_ordered_json (with ties allowed) +TEXT_FORMAT_NAMEDTUPLE = "TEXT_FORMAT_NAMEDTUPLE" # question type when expected answer is a namedtuple +PNG_FORMAT_SCATTER = "PNG_FORMAT_SCATTER" # question type when the expected answer is a scatter plot +HTML_FORMAT = "HTML_FORMAT" # question type when the expected answer is a DataFrame +FILE_JSON_FORMAT = "FILE_JSON_FORMAT" # question type when the expected answer is a JSON file +SLASHES = " SLASHES" # question SUFFIX when expected answer contains paths with slashes + +def get_expected_format(): + """get_expected_format() returns a dict mapping each question to the format + of the expected answer.""" + expected_format = {'q1': 'TEXT_FORMAT_UNORDERED_LIST', + 'q2': 'TEXT_FORMAT', + 'q3': 'TEXT_FORMAT', + 'q4': 'TEXT_FORMAT_UNORDERED_LIST', + 'q5': 'TEXT_FORMAT_UNORDERED_LIST', + 'q6': 'TEXT_FORMAT_UNORDERED_LIST', + 'q7': 'TEXT_FORMAT_ORDERED_LIST', + 'q8': 'TEXT_FORMAT_ORDERED_LIST', + 'q9': 'TEXT_FORMAT', + 'q10': 'TEXT_FORMAT', + 'q11': 'TEXT_FORMAT', + 'q12': 'TEXT_FORMAT', + 'q13': 'TEXT_FORMAT_UNORDERED_LIST', + 'q14': 'TEXT_FORMAT', + 'q15': 'TEXT_FORMAT', + 'q16': 'TEXT_FORMAT', + 'q17': 'TEXT_FORMAT', + 'q18': 'TEXT_FORMAT', + 'q19': 'TEXT_FORMAT', + 'q20': 'TEXT_FORMAT'} + return expected_format + + +def get_expected_json(): + """get_expected_json() returns a dict mapping each question to the expected + answer (if the format permits it).""" + expected_json = {'q1': ['Wood/Wood Waste Biomass', + 'Natural Gas Fired Combined Cycle', + 'Natural Gas Internal Combustion Engine', + 'Petroleum Coke', + 'Other Waste Biomass', + 'Solar Photovoltaic', + 'Batteries', + 'Nuclear', + 'Natural Gas Fired Combustion Turbine', + 'Conventional Hydroelectric', + 'Onshore Wind Turbine', + 'Landfill Gas', + 'Petroleum Liquids', + 'Natural Gas Steam Turbine', + 'Conventional Steam Coal'], + 'q2': 47, + 'q3': 16831.099999999944, + 'q4': ['Madison Gas & Electric Co'], + 'q5': ['Wisconsin River Power Company', + 'Dahlberg Light & Power Co', + 'Consolidated Water Power Co', + 'Wisconsin Power & Light Co', + 'Wisconsin Public Service Corp', + 'HQC Rock River Solar Power Generation Station LLC', + 'Wisconsin Electric Power Co', + 'Northwestern Wisconsin Elec Co', + 'Northern States Power Co - Minnesota', + 'Dairyland Power Coop', + 'State of Wisconsin', + 'North Central Power Co Inc'], + 'q6': ['Flambeau Solar Partners, LLC', + 'Middleton Biogas Solar, LLC', + 'Dane County Solar LLC', + 'Butter Solar, LLC', + 'HQC Rock River Solar Power Generation Station LLC'], + 'q7': ['WEST', 'GEN1'], + 'q8': ['Cornell', + 'Flambeau Hydroelectric Station', + 'Grandfather Falls', + 'Holcombe', + 'Jim Falls', + 'Kilbourn', + 'Prairie Du Sac'], + 'q9': 19, + 'q10': 10, + 'q11': 'Northern States Power Co - Minnesota', + 'q12': 8, + 'q13': ['Petroleum Liquids', 'Natural Gas Steam Turbine'], + 'q14': 'West Marinette', + 'q15': 0.7, + 'q16': 1211.0, + 'q17': 7.0, + 'q18': 1.7491304347826093, + 'q19': 'Nuclear', + 'q20': 271.00000000000006} + return expected_json + + +def get_special_json(): + """get_special_json() returns a dict mapping each question to the expected + answer stored in a special format as a list of tuples. Each tuple contains + the element expected in the list, and its corresponding value. Any two + elements with the same value can appear in any order in the actual list, + but if two elements have different values, then they must appear in the + same order as in the expected list of tuples.""" + special_json = {} + return special_json + + +def compare(expected, actual, q_format=TEXT_FORMAT): + """compare(expected, actual) is used to compare when the format of + the expected answer is known for certain.""" + try: + if q_format == TEXT_FORMAT: + return simple_compare(expected, actual) + elif q_format == TEXT_FORMAT_UNORDERED_LIST: + return list_compare_unordered(expected, actual) + elif q_format == TEXT_FORMAT_ORDERED_LIST: + return list_compare_ordered(expected, actual) + elif q_format == TEXT_FORMAT_DICT: + return dict_compare(expected, actual) + elif q_format == TEXT_FORMAT_SPECIAL_ORDERED_LIST: + return list_compare_special(expected, actual) + elif q_format == TEXT_FORMAT_NAMEDTUPLE: + return namedtuple_compare(expected, actual) + elif q_format == PNG_FORMAT_SCATTER: + return compare_flip_dicts(expected, actual) + elif q_format == HTML_FORMAT: + return compare_cell_html(expected, actual) + elif q_format == FILE_JSON_FORMAT: + return compare_json(expected, actual) + else: + if expected != actual: + return "expected %s but found %s " % (repr(expected), repr(actual)) + except: + if expected != actual: + return "expected %s" % (repr(expected)) + return PASS + + +def print_message(expected, actual, complete_msg=True): + """print_message(expected, actual) displays a simple error message.""" + msg = "expected %s" % (repr(expected)) + if complete_msg: + msg = msg + " but found %s" % (repr(actual)) + return msg + + +def simple_compare(expected, actual, complete_msg=True): + """simple_compare(expected, actual) is used to compare when the expected answer + is a type/Nones/str/int/float/bool. When the expected answer is a float, + the actual answer is allowed to be within the tolerance limit. Otherwise, + the values must match exactly, or a very simple error message is displayed.""" + msg = PASS + if 'numpy' in repr(type((actual))): + actual = actual.item() + if isinstance(expected, type): + if expected != actual: + if isinstance(actual, type): + msg = "expected %s but found %s" % (expected.__name__, actual.__name__) + else: + msg = "expected %s but found %s" % (expected.__name__, repr(actual)) + elif not isinstance(actual, type(expected)) and not (isinstance(expected, (float, int)) and isinstance(actual, (float, int))): + msg = "expected to find type %s but found type %s" % (type(expected).__name__, type(actual).__name__) + elif isinstance(expected, float): + if not math.isclose(actual, expected, rel_tol=REL_TOL, abs_tol=ABS_TOL): + msg = print_message(expected, actual, complete_msg) + elif isinstance(expected, (list, tuple)) or is_namedtuple(expected): + new_msg = print_message(expected, actual, complete_msg) + if len(expected) != len(actual): + return new_msg + for i in range(len(expected)): + val = simple_compare(expected[i], actual[i]) + if val != PASS: + return new_msg + elif isinstance(expected, dict): + new_msg = print_message(expected, actual, complete_msg) + if len(expected) != len(actual): + return new_msg + val = simple_compare(list(expected.keys()), list(actual.keys())) + if val != PASS: + return new_msg + for key in expected: + val = simple_compare(expected[key], actual[key]) + if val != PASS: + return new_msg + else: + if expected != actual: + msg = print_message(expected, actual, complete_msg) + return msg + + +def intelligent_compare(expected, actual, obj=None): + """intelligent_compare(expected, actual) is used to compare when the + data type of the expected answer is not known for certain, and default + assumptions need to be made.""" + if obj == None: + obj = type(expected).__name__ + if is_namedtuple(expected): + msg = namedtuple_compare(expected, actual) + elif isinstance(expected, (list, tuple)): + msg = list_compare_ordered(expected, actual, obj) + elif isinstance(expected, set): + msg = list_compare_unordered(expected, actual, obj) + elif isinstance(expected, (dict)): + msg = dict_compare(expected, actual) + else: + msg = simple_compare(expected, actual) + msg = msg.replace("CompDict", "dict").replace("CompSet", "set").replace("NewNone", "None") + return msg + + +def is_namedtuple(obj, init_check=True): + """is_namedtuple(obj) returns True if `obj` is a namedtuple object + defined in the test file.""" + bases = type(obj).__bases__ + if len(bases) != 1 or bases[0] != tuple: + return False + fields = getattr(type(obj), '_fields', None) + if not isinstance(fields, tuple): + return False + if init_check and not type(obj).__name__ in [nt.__name__ for nt in _expected_namedtuples]: + return False + return True + + +def list_compare_ordered(expected, actual, obj=None): + """list_compare_ordered(expected, actual) is used to compare when the + expected answer is a list/tuple, where the order of the elements matters.""" + msg = PASS + if not isinstance(actual, type(expected)): + msg = "expected to find type %s but found type %s" % (type(expected).__name__, type(actual).__name__) + return msg + if obj == None: + obj = type(expected).__name__ + for i in range(len(expected)): + if i >= len(actual): + msg = "at index %d of the %s, expected missing %s" % (i, obj, repr(expected[i])) + break + val = intelligent_compare(expected[i], actual[i], "sub" + obj) + if val != PASS: + msg = "at index %d of the %s, " % (i, obj) + val + break + if len(actual) > len(expected) and msg == PASS: + msg = "at index %d of the %s, found unexpected %s" % (len(expected), obj, repr(actual[len(expected)])) + if len(expected) != len(actual): + msg = msg + " (found %d entries in %s, but expected %d)" % (len(actual), obj, len(expected)) + + if len(expected) > 0: + try: + if msg != PASS and list_compare_unordered(expected, actual, obj) == PASS: + msg = msg + " (%s may not be ordered as required)" % (obj) + except: + pass + return msg + + +def list_compare_helper(larger, smaller): + """list_compare_helper(larger, smaller) is a helper function which takes in + two lists of possibly unequal sizes and finds the item that is not present + in the smaller list, if there is such an element.""" + msg = PASS + j = 0 + for i in range(len(larger)): + if i == len(smaller): + msg = "expected %s" % (repr(larger[i])) + break + found = False + while not found: + if j == len(smaller): + val = simple_compare(larger[i], smaller[j - 1], complete_msg=False) + break + val = simple_compare(larger[i], smaller[j], complete_msg=False) + j += 1 + if val == PASS: + found = True + break + if not found: + msg = val + break + return msg + +class NewNone(): + """alternate class in place of None, which allows for comparison with + all other data types.""" + def __str__(self): + return 'None' + def __repr__(self): + return 'None' + def __lt__(self, other): + return True + def __le__(self, other): + return True + def __gt__(self, other): + return False + def __ge__(self, other): + return other == None + def __eq__(self, other): + return other == None + def __ne__(self, other): + return other != None + +class CompDict(dict): + """subclass of dict, which allows for comparison with other dicts.""" + def __init__(self, vals): + super(self.__class__, self).__init__(vals) + if type(vals) == CompDict: + self.val = vals.val + elif isinstance(vals, dict): + self.val = self.get_equiv(vals) + else: + raise TypeError("'%s' object cannot be type casted to CompDict class" % type(vals).__name__) + + def get_equiv(self, vals): + val = [] + for key in sorted(list(vals.keys())): + val.append((key, vals[key])) + return val + + def __str__(self): + return str(dict(self.val)) + def __repr__(self): + return repr(dict(self.val)) + def __lt__(self, other): + return self.val < CompDict(other).val + def __le__(self, other): + return self.val <= CompDict(other).val + def __gt__(self, other): + return self.val > CompDict(other).val + def __ge__(self, other): + return self.val >= CompDict(other).val + def __eq__(self, other): + return self.val == CompDict(other).val + def __ne__(self, other): + return self.val != CompDict(other).val + +class CompSet(set): + """subclass of set, which allows for comparison with other sets.""" + def __init__(self, vals): + super(self.__class__, self).__init__(vals) + if type(vals) == CompSet: + self.val = vals.val + elif isinstance(vals, set): + self.val = self.get_equiv(vals) + else: + raise TypeError("'%s' object cannot be type casted to CompSet class" % type(vals).__name__) + + def get_equiv(self, vals): + return sorted(list(vals)) + + def __str__(self): + return str(set(self.val)) + def __repr__(self): + return repr(set(self.val)) + def __getitem__(self, index): + return self.val[index] + def __lt__(self, other): + return self.val < CompSet(other).val + def __le__(self, other): + return self.val <= CompSet(other).val + def __gt__(self, other): + return self.val > CompSet(other).val + def __ge__(self, other): + return self.val >= CompSet(other).val + def __eq__(self, other): + return self.val == CompSet(other).val + def __ne__(self, other): + return self.val != CompSet(other).val + +def make_sortable(item): + """make_sortable(item) replaces all Nones in `item` with an alternate + class that allows for comparison with str/int/float/bool/list/set/tuple/dict. + It also replaces all dicts (and sets) with a subclass that allows for + comparison with other dicts (and sets).""" + if item == None: + return NewNone() + elif isinstance(item, (type, str, int, float, bool)): + return item + elif isinstance(item, (list, set, tuple)): + new_item = [] + for subitem in item: + new_item.append(make_sortable(subitem)) + if is_namedtuple(item): + return type(item)(*new_item) + elif isinstance(item, set): + return CompSet(new_item) + else: + return type(item)(new_item) + elif isinstance(item, dict): + new_item = {} + for key in item: + new_item[key] = make_sortable(item[key]) + return CompDict(new_item) + return item + +def list_compare_unordered(expected, actual, obj=None): + """list_compare_unordered(expected, actual) is used to compare when the + expected answer is a list/set where the order of the elements does not matter.""" + msg = PASS + if not isinstance(actual, type(expected)): + msg = "expected to find type %s but found type %s" % (type(expected).__name__, type(actual).__name__) + return msg + if obj == None: + obj = type(expected).__name__ + + try: + sort_expected = sorted(make_sortable(expected)) + sort_actual = sorted(make_sortable(actual)) + except: + return "unexpected datatype found in %s; expected entries of type %s" % (obj, obj, type(expected[0]).__name__) + + if len(actual) == 0 and len(expected) > 0: + msg = "in the %s, missing" % (obj) + sort_expected[0] + elif len(actual) > 0 and len(expected) > 0: + val = intelligent_compare(sort_expected[0], sort_actual[0]) + if val.startswith("expected to find type"): + msg = "in the %s, " % (obj) + simple_compare(sort_expected[0], sort_actual[0]) + else: + if len(expected) > len(actual): + msg = "in the %s, missing " % (obj) + list_compare_helper(sort_expected, sort_actual) + elif len(expected) < len(actual): + msg = "in the %s, found un" % (obj) + list_compare_helper(sort_actual, sort_expected) + if len(expected) != len(actual): + msg = msg + " (found %d entries in %s, but expected %d)" % (len(actual), obj, len(expected)) + return msg + else: + val = list_compare_helper(sort_expected, sort_actual) + if val != PASS: + msg = "in the %s, missing " % (obj) + val + ", but found un" + list_compare_helper(sort_actual, + sort_expected) + return msg + + +def namedtuple_compare(expected, actual): + """namedtuple_compare(expected, actual) is used to compare when the + expected answer is a namedtuple defined in the test file.""" + msg = PASS + if is_namedtuple(actual, False): + msg = "expected namedtuple but found %s" % (type(actual).__name__) + return msg + if type(expected).__name__ != type(actual).__name__: + return "expected namedtuple %s but found namedtuple %s" % (type(expected).__name__, type(actual).__name__) + expected_fields = expected._fields + actual_fields = actual._fields + msg = list_compare_ordered(list(expected_fields), list(actual_fields), "namedtuple attributes") + if msg != PASS: + return msg + for field in expected_fields: + val = intelligent_compare(getattr(expected, field), getattr(actual, field)) + if val != PASS: + msg = "at attribute %s of namedtuple %s, " % (field, type(expected).__name__) + val + return msg + return msg + + +def clean_slashes(item): + """clean_slashes()""" + if isinstance(item, str): + return item.replace("\\", "/").replace("/", os.path.sep) + elif item == None or isinstance(item, (type, int, float, bool)): + return item + elif isinstance(item, (list, tuple, set)) or is_namedtuple(item): + new_item = [] + for subitem in item: + new_item.append(clean_slashes(subitem)) + if is_namedtuple(item): + return type(item)(*new_item) + else: + return type(item)(new_item) + elif isinstance(item, dict): + new_item = {} + for key in item: + new_item[clean_slashes(key)] = clean_slashes(item[key]) + return item + + +def list_compare_special_initialize(special_expected): + """list_compare_special_initialize(special_expected) takes in the special + ordering stored as a sorted list of items, and returns a list of lists + where the ordering among the inner lists does not matter.""" + latest_val = None + clean_special = [] + for row in special_expected: + if latest_val == None or row[1] != latest_val: + clean_special.append([]) + latest_val = row[1] + clean_special[-1].append(row[0]) + return clean_special + + +def list_compare_special(special_expected, actual): + """list_compare_special(special_expected, actual) is used to compare when the + expected answer is a list with special ordering defined in `special_expected`.""" + msg = PASS + expected_list = [] + special_order = list_compare_special_initialize(special_expected) + for expected_item in special_order: + expected_list.extend(expected_item) + val = list_compare_unordered(expected_list, actual) + if val != PASS: + return val + i = 0 + for expected_item in special_order: + j = len(expected_item) + actual_item = actual[i: i + j] + val = list_compare_unordered(expected_item, actual_item) + if val != PASS: + if j == 1: + msg = "at index %d " % (i) + val + else: + msg = "between indices %d and %d " % (i, i + j - 1) + val + msg = msg + " (list may not be ordered as required)" + break + i += j + return msg + + +def dict_compare(expected, actual, obj=None): + """dict_compare(expected, actual) is used to compare when the expected answer + is a dict.""" + msg = PASS + if not isinstance(actual, type(expected)): + msg = "expected to find type %s but found type %s" % (type(expected).__name__, type(actual).__name__) + return msg + if obj == None: + obj = type(expected).__name__ + + expected_keys = list(expected.keys()) + actual_keys = list(actual.keys()) + val = list_compare_unordered(expected_keys, actual_keys, obj) + + if val != PASS: + msg = "bad keys in %s: " % (obj) + val + if msg == PASS: + for key in expected: + new_obj = None + if isinstance(expected[key], (list, tuple, set)): + new_obj = 'value' + elif isinstance(expected[key], dict): + new_obj = 'sub' + obj + val = intelligent_compare(expected[key], actual[key], new_obj) + if val != PASS: + msg = "incorrect value for key %s in %s: " % (repr(key), obj) + val + return msg + + +def is_flippable(item): + """is_flippable(item) determines if the given dict of lists has lists of the + same length and is therefore flippable.""" + item_lens = set(([str(len(item[key])) for key in item])) + if len(item_lens) == 1: + return PASS + else: + return "found lists of lengths %s" % (", ".join(list(item_lens))) + +def flip_dict_of_lists(item): + """flip_dict_of_lists(item) flips a dict of lists into a list of dicts if the + lists are of same length.""" + new_item = [] + length = len(list(item.values())[0]) + for i in range(length): + new_dict = {} + for key in item: + new_dict[key] = item[key][i] + new_item.append(new_dict) + return new_item + +def compare_flip_dicts(expected, actual, obj="lists"): + """compare_flip_dicts(expected, actual) flips a dict of lists (or dicts) into + a list of dicts (or dict of dicts) and then compares the list ignoring order.""" + msg = PASS + example_item = list(expected.values())[0] + if isinstance(example_item, (list, tuple)): + val = is_flippable(actual) + if val != PASS: + msg = "expected to find lists of length %d, but " % (len(example_item)) + val + return msg + msg = list_compare_unordered(flip_dict_of_lists(expected), flip_dict_of_lists(actual), "lists") + elif isinstance(example_item, dict): + expected_keys = list(example_item.keys()) + for key in actual: + val = list_compare_unordered(expected_keys, list(actual[key].keys()), "dictionary %s" % key) + if val != PASS: + return val + for cat_key in expected_keys: + expected_category = {} + actual_category = {} + for key in expected: + expected_category[key] = expected[key][cat_key] + actual_category[key] = actual[key][cat_key] + val = list_compare_unordered(flip_dict_of_lists(expected), flip_dict_of_lists(actual), "category " + repr(cat_key)) + if val != PASS: + return val + return msg + + +def get_expected_tables(): + """get_expected_tables() reads the html file with the expected DataFrames + and returns a dict mapping each question to a html table.""" + if not os.path.exists(DF_FILE): + return None + + expected_tables = {} + f = open(DF_FILE, encoding='utf-8') + soup = BeautifulSoup(f.read(), 'html.parser') + f.close() + + tables = soup.find_all('table') + for table in tables: + expected_tables[table.get("data-question")] = table + + return expected_tables + +def parse_df_html_table(table): + """parse_df_html_table(table) takes in a table as a html string and returns + a dict mapping each row and column index to the value at that position.""" + rows = [] + for tr in table.find_all('tr'): + rows.append([]) + for cell in tr.find_all(['td', 'th']): + rows[-1].append(cell.get_text().strip("\n ")) + + cells = {} + for r in range(1, len(rows)): + for c in range(1, len(rows[0])): + rname = rows[r][0] + cname = rows[0][c] + cells[(rname,cname)] = rows[r][c] + return cells + + +def get_expected_namedtuples(): + """get_expected_namedtuples() defines the required namedtuple objects + globally. It also returns a tuple of the classes.""" + expected_namedtuples = [] + + return tuple(expected_namedtuples) + +_expected_namedtuples = get_expected_namedtuples() + + +def compare_cell_html(expected, actual): + """compare_cell_html(expected, actual) is used to compare when the + expected answer is a DataFrame stored in the `expected_dfs` html file.""" + expected_cells = parse_df_html_table(expected) + try: + actual_cells = parse_df_html_table(BeautifulSoup(actual, 'html.parser').find('table')) + except Exception as e: + return "expected to find type DataFrame but found type %s instead" % type(actual).__name__ + + expected_cols = list(set(["column %s" % (loc[1]) for loc in expected_cells])) + actual_cols = list(set(["column %s" % (loc[1]) for loc in actual_cells])) + msg = list_compare_unordered(expected_cols, actual_cols, "DataFrame") + if msg != PASS: + return msg + + expected_rows = list(set(["row index %s" % (loc[0]) for loc in expected_cells])) + actual_rows = list(set(["row index %s" % (loc[0]) for loc in actual_cells])) + msg = list_compare_unordered(expected_rows, actual_rows, "DataFrame") + if msg != PASS: + return msg + + for location, expected in expected_cells.items(): + location_name = "column {} at index {}".format(location[1], location[0]) + actual = actual_cells.get(location, None) + if actual == None: + return "in %s, expected to find %s" % (location_name, repr(expected)) + try: + actual_ans = float(actual) + expected_ans = float(expected) + if math.isnan(actual_ans) and math.isnan(expected_ans): + continue + except Exception as e: + actual_ans, expected_ans = actual, expected + msg = simple_compare(expected_ans, actual_ans) + if msg != PASS: + return "in %s, " % location_name + msg + return PASS + + +def get_expected_plots(): + """get_expected_plots() reads the json file with the expected plot data + and returns a dict mapping each question to a dictionary with the plots data.""" + if not os.path.exists(PLOT_FILE): + return None + + f = open(PLOT_FILE, encoding='utf-8') + expected_plots = json.load(f) + f.close() + return expected_plots + + +def compare_file_json(expected, actual): + """compare_file_json(expected, actual) is used to compare when the + expected answer is a JSON file.""" + msg = PASS + if not os.path.isfile(expected): + return "file %s not found; make sure it is downloaded and stored in the correct directory" % (expected) + elif not os.path.isfile(actual): + return "file %s not found; make sure that you have created the file with the correct name" % (actual) + try: + e = open(expected, encoding='utf-8') + expected_data = json.load(e) + e.close() + except json.JSONDecodeError: + return "file %s is broken and cannot be parsed; please delete and redownload the file correctly" % (expected) + try: + a = open(actual, encoding='utf-8') + actual_data = json.load(a) + a.close() + except json.JSONDecodeError: + return "file %s is broken and cannot be parsed" % (actual) + if type(expected_data) == list: + msg = list_compare_ordered(expected_data, actual_data, 'file ' + actual) + elif type(expected_data) == dict: + msg = dict_compare(expected_data, actual_data) + return msg + + +_expected_json = get_expected_json() +_special_json = get_special_json() +_expected_plots = get_expected_plots() +_expected_tables = get_expected_tables() +_expected_format = get_expected_format() + +def check(qnum, actual): + """check(qnum, actual) is used to check if the answer in the notebook is + the correct answer, and provide useful feedback if the answer is incorrect.""" + msg = PASS + error_msg = "<b style='color: red;'>ERROR:</b> " + q_format = _expected_format[qnum] + + if q_format == TEXT_FORMAT_SPECIAL_ORDERED_LIST: + expected = _special_json[qnum] + elif q_format == PNG_FORMAT_SCATTER: + if _expected_plots == None: + msg = error_msg + "file %s not parsed; make sure it is downloaded and stored in the correct directory" % (PLOT_FILE) + else: + expected = _expected_plots[qnum] + elif q_format == HTML_FORMAT: + if _expected_tables == None: + msg = error_msg + "file %s not parsed; make sure it is downloaded and stored in the correct directory" % (DF_FILE) + else: + expected = _expected_tables[qnum] + else: + expected = _expected_json[qnum] + + if SLASHES in q_format: + q_format = q_format.replace(SLASHES, "") + expected = clean_slashes(expected) + actual = clean_slashes(actual) + + if msg != PASS: + print(msg) + else: + msg = compare(expected, actual, q_format) + if msg != PASS: + msg = error_msg + msg + print(msg) + + +def check_file_size(path): + """check_file_size(path) throws an error if the file is too big to display + on Gradescope.""" + size = os.path.getsize(path) + assert size < MAX_FILE_SIZE * 10**3, "Your file is too big to be displayed by Gradescope; please delete unnecessary output cells so your file size is < %s KB" % MAX_FILE_SIZE + + +def reset_hidden_tests(): + """reset_hidden_tests() resets all hidden tests on the Gradescope autograder where the hidden test file exists""" + if not os.path.exists(HIDDEN_FILE): + return + hidn.reset_hidden_tests() + +def rubric_check(rubric_point, ignore_past_errors=True): + """rubric_check(rubric_point) uses the hidden test file on the Gradescope autograder to grade the `rubric_point`""" + if not os.path.exists(HIDDEN_FILE): + print(PASS) + return + error_msg_1 = "ERROR: " + error_msg_2 = "TEST DETAILS: " + try: + msg = hidn.rubric_check(rubric_point, ignore_past_errors) + except: + msg = "hidden tests crashed before execution" + if msg != PASS: + hidn.make_deductions(rubric_point) + if msg == "public tests failed": + comment = "The public tests have failed, so you will not receive any points for this question." + comment += "\nPlease confirm that the public tests pass locally before submitting." + elif msg == "answer is hardcoded": + comment = "In the datasets for testing hardcoding, all numbers are replaced with random values." + comment += "\nIf the answer is the same as in the original dataset for all these datasets" + comment += "\ndespite this, that implies that the answer in the notebook is hardcoded." + comment += "\nYou will not receive any points for this question." + else: + comment = hidn.get_comment(rubric_point) + msg = error_msg_1 + msg + if comment != "": + msg = msg + "\n" + error_msg_2 + comment + print(msg) + +def get_summary(): + """get_summary() returns the summary of the notebook using the hidden test file on the Gradescope autograder""" + if not os.path.exists(HIDDEN_FILE): + print("Total Score: %d/%d" % (TOTAL_SCORE, TOTAL_SCORE)) + return + score = min(TOTAL_SCORE, hidn.get_score(TOTAL_SCORE)) + display_msg = "Total Score: %d/%d" % (score, TOTAL_SCORE) + if score != TOTAL_SCORE: + display_msg += "\n" + hidn.get_deduction_string() + print(display_msg) + +def get_score_digit(digit): + """get_score_digit(digit) returns the `digit` of the score using the hidden test file on the Gradescope autograder""" + if not os.path.exists(HIDDEN_FILE): + score = TOTAL_SCORE + else: + score = hidn.get_score(TOTAL_SCORE) + digits = bin(score)[2:] + digits = "0"*(7 - len(digits)) + digits + return int(digits[6 - digit]) diff --git a/p6/rubric.md b/p6/rubric.md new file mode 100644 index 0000000000000000000000000000000000000000..6988551878ee631a672056858c275ae942d727eb --- /dev/null +++ b/p6/rubric.md @@ -0,0 +1,153 @@ +# Project 6 (P6) grading rubric + +## Code reviews + +- The Gradescope autograder will make deductions based on the rubric provided below. +- To ensure that you don't lose any points, you must review the rubric and make sure that you have followed the instructions provided in the project correctly. + +## Rubric + +### General guidelines: + +- Did not save the notebook file prior to running the cell containing "export". We cannot see your output if you do not save before generating the zip file. This deduction will become stricter for future projects. (-3) +- Used concepts/modules such as dictionaries, or pandas not covered in class yet - built-in functions that you have been introduced to can be used. (-3) +- Import statements are not all placed at the top of the notebook. (-1) +- Hardcoded answers. (all points allotted for that question) + +### Question specific guidelines: + +- `cell` (5) + - variables `csv_data`, `csv_header`, and `csv_rows` are not defined as expected (-1) + - function does not return `None` when data is missing (-1) + - function does not typecast to `int` or `float` when expected (-1) + - function logic is incorrect (-1) + - `process_csv` function is not used to read `power_generators.csv` (-1) + +- q1 (4) + - not all rows are looped through (-1) + - incorrect logic is used (-1) + - `cell` function is not used to read data (-1) + +- q2 (3) + - not all rows are looped through (-1) + - incorrect logic is used (-1) + - `cell` function is not used to read data (-1) + +- q3 (3) + - not all rows are looped through (-1) + - incorrect logic is used (-1) + - `cell` function is not used to read data (-1) + +- `find_entities_with_phrase` (4) + - not all rows are looped through (-1) + - case insensitive matches are not considered (-1) + - duplicates are not removed (-1) + - `cell` function is not used to read data (-1) + +- q4 (2) + - `find_entities_with_phrase` function is not used to answer (-2) + +- q5 (4) + - incorrect logic is used to answer (-2) + - `cell` function is not used to read data (-1) + +- q6 (4) + - incorrect logic is used to answer (-2) + - `cell` function is not used to read data (-1) + +- q7 (5) + - not all rows are looped through (-1) + - the output is not sorted correctly (-1) + - incorrect logic is used (-1) + - `cell` function is not used to read data (-1) + +- q8 (5) + - not all rows are looped through (-1) + - the output is not sorted correctly (-1) + - incorrect comparison operators are used (-1) + - incorrect logic is used (-1) + - `cell` function is not used to read data (-1) + +- `num_generators_by` (3) + - not all rows are looped through (-1) + - function logic is incorrect (-1) + - `cell` function is not used to read data (-1) + +- q9 (2) + - `num_generators_by` function is not used to answer (-2) + +- q10 (3) + - incorrect logic is used to answer (-1) + - `num_generators_by` function is not used to answer (-1) + - `find_entities_with_phrase` function is not used to answer (-1) + +- q11 (5) + - all entities are looped through instead of just the unique entities (-2) + - incorrect logic is used to answer (-1) + - `num_generators_by` function is not used to answer (-1) + +- `find_indices_within` (4) + - not all rows are looped through (-1) + - incorrect comparison operators are used (-1) + - function logic is incorrect (-1) + - `cell` function is not used to read data (-1) + +- q12 (3) + - length of the list is found by looping through it (-1) + - `find_indices_within` function is not used to answer (-2) + +- q13 (3) + - duplicates are not removed from the list (-1) + - incorrect logic is used to answer (-1) + - `find_indices_within` function is not used to answer (-1) + +- q14 (5) + - incorrect logic is used to answer (-2) + - `find_indices_within` function is not used to answer (-1) + - `cell` function is not used to read data (-1) + +- `median` (3) + - function modifies the original input list (-1) + - function logic is incorrect when inputs are of odd length (-1) + - function logic is incorrect when inputs are of even length (-1) + +- q15 (4) + - incorrect logic is used to answer (-1) + - `find_indices_within` function is not used to answer (-1) + - `median` function is not used to answer (-1) + - `cell` function is not used to read data (-1) + +- `total_summer_capacity_of` (4) + - not all rows are looped through (-1) + - missing data is not ignored (-1) + - function logic is incorrect (-1) + - `cell` function is not used to read data (-1) + +- q16 (2) + - `total_summer_capacity_of` function is not used to answer (-2) + +- q17 (5) + - all power plants are looped through instead of just the unique power plants (-1) + - incorrect logic is used to answer (-1) + - `total_summer_capacity_of` function is not used to answer (-1) + - `median` function is not used to answer (-1) + +- `avg_winter_capacity_of` (4) + - not all rows are looped through (-1) + - missing data is not ignored (-1) + - function logic is incorrect (-1) + - `cell` function is not used to read data (-1) + +- q18 (2) + - `avg_winter_capacity_of` function is not used to answer (-2) + +- q19 (5) + - all technologies are looped through instead of just the unique technologies (-1) + - list of unique technologies is recomputed (-1) + - incorrect logic is used to answer (-1) + - `avg_winter_capacity_of` function is not used to answer (-1) + +- q20 (4) + - all technologies are looped through instead of just the unique technologies (-1) + - incorrect logic is used to answer (-1) + - `avg_winter_capacity_of` function is not used to answer (-1)