{ "cells": [ { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "uWElxhs6QiCg" }, "source": [ "# Electricity Market Optimization\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "
Home Activity
\n", " You are expected to read this entire notebook before class.\n", "Class Activity
\n", " Run the code below.\n", "\n", " | Price | \n", "
---|---|
0 | \n", "36.757 | \n", "
1 | \n", "34.924 | \n", "
2 | \n", "33.389 | \n", "
3 | \n", "32.035 | \n", "
4 | \n", "33.694 | \n", "
\n", " | Price | \n", "
---|---|
count | \n", "8760.000000 | \n", "
mean | \n", "32.516994 | \n", "
std | \n", "9.723477 | \n", "
min | \n", "-2.128700 | \n", "
25% | \n", "26.510000 | \n", "
50% | \n", "30.797500 | \n", "
75% | \n", "37.544750 | \n", "
max | \n", "116.340000 | \n", "
Class Activity
\n", " Using the picture above, sketch the battery system. Label $d_t$, $c_t$, $E_t$, and $p_t$ on your sketch. Verify the units are consistent.\n", "Class Activity
\n", " Discuss the optimization problem above with a partner. Then, write a few sentences to explain each equation.\n", "Class Activity
\n", " Finish the Pyomo model below.\n", "Class Activity
\n", " Run the code below.\n", "Class Activity
\n", " Copy the code from the cell below the heading Solve Optimization Model to the cell below. Then modify to calculate the revenue for an entire year. Hint: Do NOT modify the function `create_model`.\n", "