Homework 3

BEE 4750/5750

Due: Oct 20, 2022 by 9:00pm ET


Overview

Learning Objectives

Homework 3 is focused on assessing your ability to formulate and implement linear programming models.

Background Information

You have been asked to develop a generating capacity expansion plan for the utility in Riley, NY, which currently has no existing electrical generation infrastructure. The utility can build any of the following plant types: geothermal, coal, natural gas combined cycle gas turbine (CCGT), natural gas combustion turbine (CT), solar, and wind.

Each of these plant types has the following generation data (disclaimer: these are not real):

TypeInvestment Cost ($/MW-yr)Operating Cost ($/MWh)Capacity FactorCO$_2$ Emissions (tCO$_2$/MWh)
Geothermal45700000.950
Coal2680002211
CCGT850003510.43
CT625804510.55
Wind920000see below0
Solar920000see below0

Assume that all 365 days in a year are equivalent in terms of demand and wind and solar capacity factors (disclaimer: this is obviously stylized and not reflective of reality, but it makes the problem simpler). These are given as:

HourDemand (MW)Wind CFSolar CF
115170.580
214860.570
315440.550
417330.280
520580.140
624700.210
726280.030.20
826960.040.57
926530.010.80
1025910.040.93
1126260.040.99
1227140.010.99
1328030.040.85
1428420.040.99
1528910.010.95
1628210.010.81
1730170.010.55
1830740.130.12
1929570.300
2024870.450
2122490.440
2219330.570
2316840.550
2415630.580

The utility will also penalize any non-served demand at the cost of non-served energy, which is set at $1000/MWh.

Reminder: Use round(x; digits=n) to report values to the appropriate precision!

Problems

Problem 1: Minimizing Cost

Your first task is to find a capacity expansion plan which minimizes total costs of investment and operation.

Problem 1.1: Identify Decision Variables

Identify and define all relevant decision variables and their notation.

Problem 1.2: Formulate Objective

Formulate the objective function. Make sure to include any needed derivations or justifications for your equation(s).

Problem 1.3: Formulate Constraints

Derive all relevant constraints (you don't need to write them all out, but they should all be represented through your notation). Make sure to include any needed justifications or derivations. Why is your set of constraints complete?

Problem 1.4: Implement in JuMP

Implement your optimization problem in JuMP. For this sub-problem, you only need to provide a code block with the problem formulation.

Problem 1.5: Find the Solution

Find the optimal solution. How much should the utility build of each type of generating plant? What will the total cost be? How much energy will be non-served?

Problem 1.6: Visualize the Solution

Plot how much electricity will be generated under this plan each hour by each type of plant. Make both a line plot for the raw amounts (using plot) and a stacked area plot to show relative contributions to the total demand (using areaplot). What are your take-aways?

Problem 2: CO$_2$ Limits

The NY state legislature is considering enacting an annual CO$_2$ limit, which for the utility would limit the emissions in its footprint to 1.5 MtCO$_2$/yr.

Problem 2.1: Identify Changes from Problem 1

What changes are needed to your linear program from Problem 1? Formulate any different variables, objectives, and/or constraints.

Problem 2.2: Implement in JuMP

Implement the new optimization problem in JuMP. For this sub-problem, you only need to provide a code block with the problem formulation.

Problem 2.3: Find the Solution

Find the optimal solution. How much should the utility build of each type of generating plant? What is different from your plan from Problem 1?

Problem 2.4: Visualize the Solution

Plot how much electricity will be generated under this plan each hour by each type of plant. Make both a line plot for the raw amounts (using plot) and a stacked area plot to show relative contributions to the total demand (using areaplot). What is different from your plan in Problem 1?

Problem 2.5: Value of Relaxing the Constraint

What would the value to the utility be of allowing it to emit an additional 1000 tCO$_2$/yr?

References

List any external resources consulted, including classmates.