The course follows the data pipeline design in Figure 1, the Week 1 model loop. This report maps the project to it stage by stage, then to the three capstone phases and the Final Project requirements. It is the first document to read.

STL Solar: how the project follows the course method
This is a worked example for Data Studies (DAT 2115) and an exemplar of the Final Project, written by The Project Shelf
in October 2026. Every stage of the course pipeline is built. The yield risk is built (Prices rows 142 to 147). A joint
simulation of yield and operating cost is the next step.
The course follows the data pipeline design in Figure 1 (the Week 1 model loop). This document maps the project to it,
stage by stage. A student can hold their own project against the same diagrams and see what is missing.
Figure 1. The Week 1 model loop runs from the real situation to a decision and back.
1. The course diagram, mapped to the project
Figure 2. The course modeling diagram.
Box in the diagram Where it lives in this project
Identify the Problem Rows 4 to 6 of the Overview sheet state the problem. STL Solar wants to maximize profit from a
new solar project; the model must say whether the project is worth pursuing and under what
conditions. The Scenario brief tells the full story.
Structure the Problem The Structure brief writes every relationship down before Excel. The relationships are Profit =
Revenue minus Costs, Revenue = Production times Price, Production = capacity times capacity
factor times 8,760 hours, escalated cost lines, the annuity payment, DSCR = CFADS divided by
debt service, taxes, IRR, NPV, ROI and the carbon offset.
STL Solar, method map, page 1
Box in the diagram Where it lives in this project
Diagram the Problem The project's influence chart is drawn in draw.io to the course convention from the finished model's
Inputs, with squares for the two decisions on the Inputs sheet (the PPA price and the counter
offer's target IRR), ovals for inputs and intermediate factors (the warehouse's Missouri yield of
1,419 among them), dashed ovals for the uncertain yield and cost, and hexagons for objectives
(equity IRR and NPV at the hurdle, minimum DSCR, CO2 offset, the IRR range and the counter
offer price). The pencil sketch it grew from is in section 5.
Data Sources (SQL, The SQL source is the solar_dw warehouse (schema dw, dimensions, facts and published
CSV, API, User Input, views). The API sources are PVWatts v8 from the National Laboratory of the Rockies (formerly
Other) NREL) for yield in the working file's Power Query edition, and the Census geocoder for
coordinates; the finished course model takes its year 1 yield as a typed assumption, 1,840 kWh per
kWdc. User input lives on the Overview sheet, each input typed as Decision or Fixed with its
source.
ETL (Power Query, The Power Query pack holds SolarProduction, SiteGeocode, ProductionSummary,
Power Pivot) DW_Coefficients, DW_StateFactors, DW_Benchmark, DW_Portfolio, DW_YieldBenchmark and
OpexEstimate. The warehouse queries read JSON over HTTPS from the API at https://
solar.theprojectshelf.com/ (each view at /v1/<view>.json), so they work on Windows
and Mac with no database driver and no credentials.
Obtain, Analyze and The query sheets of the Power Query edition (Solar Data, Opex Data and the four DW sheets) fill
Visualize the Data in on refresh, and the Overview reads them when a refresh succeeds. The finished course model
Excel holds a dated pull of the warehouse on its Data sheet as five Excel Tables (four from the
warehouse plus tblPlantCost, the plant means), analyzes them on the Analysis sheet (descriptive
statistics, a confidence interval, a t test and a regression for each cost line) and summarizes them
on the Pivots sheet with two PivotTables and a Data Model PivotTable.
Engineer the Model The working file builds Summary Inputs and Assumptions first, then the Financial Statements with
one column per year, the Debt sheet with coverage caps for P50 and P99 and a 15 year schedule,
and the Capital Contribution Schedule. The finished course model holds the same logic on its
Inputs, Calculations and Dashboard sheets.
Implement, Integrate The finished course model's Checks sheet runs 19 tests, and each one states what it would catch.
and Validate They run from the capital stack tying and the covenant tests to the DAX cross check, the grid's
counter offer against its recorded Goal Seek run (within 0.01 cents) and the price grid against the
model. All 19 pass, and the Dashboard shows the count.
Identify Solutions Goal Seek on PPA_Rate sets the equity IRR to a target by changing the PPA rate, so the model
states the price for the hurdle and for the counter offer. The price after year 15 is a typed 5.8 cents,
today's offer held as the market price, so a higher PPA price lifts years 1 to 15 only. The sensitivity
case selector reruns the model in seven cases. On the assumed yield of 1,840 the 7 percent hurdle
needs 9.7 cents per kWh and an 8 percent return 10.0 cents. A second price grid on the
warehouse's Missouri yield of 1,419 puts them at 13.0 and 13.3 cents; with the warehouse's
operating cost as well, 8 percent needs 13.6 cents. A two-row table on the Prices sheet moves the
PPA price and the EPC cost 10 percent each way. On 1,840 a 10 percent higher price adds 0.60
points of IRR and a 10 percent lower EPC cost 0.51; on 1,419 they add 0.46 and 0.48.
Apply Solution in Real At the offered 5.8 cents the equity earns 0.57 percent against a 7 percent hurdle. The decision is to
World decline 5.8 cents and counter at about 13.3 cents per kWh, which earns 8 percent on the Missouri
yield of 1,419, and to accept 10.0 cents only if a site study shows a yield near 1,840. Each run can
be written back to the warehouse, first to ops.model_run and then by the warehouse ETL to
dw.fact_model_run, which the API publishes as the model_runs view and which closes the loop
for the next deal.
STL Solar, method map, page 2
2. The data pipeline, stage by stage
Figure 3. The course's Power Query flow. In this project the sources are the warehouse API, PVWatts and the geocoder; the destination
is the workbook.
Stage In this project Status
SQL warehouse source The source is the PostgreSQL warehouse solar_dw. Schema ops holds the It is live.
operational records; schema dw holds the star schema, with five dimensions
(dim_date, dim_site, dim_deal, dim_cost_category, dim_model_version), four
facts (fact_opex, fact_production, fact_deal_outcome, fact_model_run) and the
published views. The schema file and the ERD are on the project page.
API source The API at https://solar.theprojectshelf.com reads only, and it serves It is live.
the published views opex_coefficients, state_factors, opex_benchmark,
yield_benchmark, portfolio, model_runs and annual_yield, plus the opex-
estimate endpoint for a size and state. Each view comes as JSON or CSV.
Power Query The query pack is written in M. In the Power Query edition one M parameter, It is live.
pDWHost, holds the API address (https://solar.theprojectshelf.com/v1/) for every
warehouse query; the standalone pack reads the same address from one named
cell, DW_API_Base. Each query degrades to an empty typed table or a Status
sentence on failure, never to an error on the sheet.
Excel Data Model The finished course model loads tblDeals, tblYield and tblOpex into the Data It is built.
(Power Pivot) Model and relates the two fact tables to tblDeals on deal_code.
DAX Eight measures (Deals, Deal Years, Avg Yield, Yield SD, Opex per MWdc, OM It is built.
per MWdc, Avg PPA Rate and Proceed Share) feed a PivotTable of the portfolio
by state with a size band slicer, and a CUBEVALUE check compares Avg Yield
with the worksheet average.
STL Solar, method map, page 3
Stage In this project Status
Pivot and dashboard The Pivots sheet holds yield by state and operating cost by size band as It is built.
worksheet PivotTables, and the portfolio by state from the Data Model. The
finished course model's Dashboard states the decision, shows the KPI cards, the
price for the hurdle and the counter offer on 1,840 and on the Missouri yield, the
IRR at a low (10th percentile), median and high (90th percentile) whole-life yield,
the check count, the sensitivity table, a chart of the equity IRR against the PPA
price with the 7 and 8 percent lines, and a chart of cash flow against debt
service by loan year, each with a title that follows the inputs. The working file's
Dashboard shows total capital, term debt, scenario EBITDA, minimum DSCR,
the year one ITC and the CO2 offset.
Regression The warehouse publishes a fitted cost curve per category (ordinary least It is live.
squares of log cost per MWdc on log size, with residual spread) and a prediction
interval through opex-estimate. The finished course model's Analysis sheet refits
it in Excel for all six cost lines and reproduces the warehouse function to the cent
for O&M.
The stochastic piece The yield risk is built (Prices rows 142 to 147). A joint simulation of yield and It is built, and
operating cost is the next step. The rows rerun the equity cash flow with the the Notes sheet
plant's whole-life yield 1.28 standard deviations below and above the median, names the joint
the standard deviation being the year-to-year CV inside the Missouri plants (2.6 simulation of
percent), and debt service held at the median sizing, because the lender sizes yield and
the loan once. The Analysis sheet reports the operating cost intervals beside the operating cost
quotes. as the next
step.
3. The three capstone phases
Phase What the project shows
Define Purpose The problem statement and the hypothesis are on the Overview sheet. The Scenario brief sets out
the client, the objective, the 5.8 cent PPA offer, the 2.72 MWdc size, the 30 year life, two investment
horizons and the lender's coverage ratios. The Structure brief's equations and the influence chart
complete the phase.
Obtain and Prepare Data The phase rests on the warehouse and its published views, the API, the query pack, the DW_Host
and DW_Enabled cells on Overview, and the source note on every input.
Build and Analyze Live formulas run from the inputs through the calculations to the outputs. The coverage tests size
Model the debt, the taxes include bonus depreciation and the ITC, the dashboard reports the results, and
Goal Seek works on the PPA rate.
4. The Final Project requirements, checked against the finished course model
The Final Project (100 points) has a workbook (60), a three-page paper (30) and craft (10). The finished course model
(STLSolar_Model_2026.xlsx) and the three-page paper are the two files checked here.
STL Solar, method map, page 4
Requirement (points) Where it is met
Inputs (10) The Inputs sheet puts the decision inputs first (the PPA price and the counter offer's target IRR)
and groups the fixed inputs after them. Every input is a named cell, typed Decision, Fact,
Assumption, Constant, Scenario or Analysis choice, with its source in the source column, including
the warehouse and PVWatts yields and the land listing that the sensitivity cases use.
Data (10) The Data sheet holds five Excel Tables, four from the warehouse plus tblPlantCost: tblYield (274
full deal-years), tblDeals (45 deals), tblOpex (1,896 cost lines), tblStateFactors, and tblPlantCost,
which averages each of the 45 plants' cost by line for the regression. The preparation steps are on
the Notes sheet, and the Power Query edition refreshes the same views live.
Analysis (15) The Analysis sheet uses lookups and logic, the descriptive suite for yield, a confidence interval and
a one sample t test on the Missouri mean yield, and a regression for each cost line with its t
statistic, p value and prediction interval. Each result is read in a sentence, and the Pivots sheet
adds two PivotTables and a Data Model PivotTable with DAX measures.
Dashboard (15) The Dashboard states the decision plainly and shows the KPI cards, a chart of the equity IRR
against the PPA price whose title gives the counter offer and accept prices, a chart of cash flow
against debt service by loan year, and the sensitivity table. The sensitivity case selector is the
scenario element, and every live figure and both charts move when an input changes.
Quality control (10) The Checks sheet runs 19 checks, from capital tying and covenant tests to a hand recomputation,
a physical bound, data counts, the DAX cross check, the grid's counter offer against Goal Seek
and the grid against the model. Each one states what it would catch, and all 19 pass.
The paper (30) The three-page paper has the introduction and research question, the hypothesis as the analysis
updated it, the data and methodology with citations, and the findings and decision with its
uncertainty. Two charts carry the argument, and a footnote discloses the AI use.
Craft (10) Formulas run live from the inputs to every output. The Goal Seek prices and the sensitivity rows
are recorded Goal Seek results, labelled as such, and check 16 flags them if an input change
leaves them stale. The data sit in Excel Tables read through structured references, the sheet
names say what each sheet does, and the Notes sheet carries the sources, simplifications,
placeholders, data preparation, remaining work and the AI disclosure.
STL Solar, method map, page 5
5. From sketch to sheet
Figure 4. The first pencil sketch of the logic.
Figure 5. The calculation sheet, sketched before it was typed.
To use the live data, open the Power Query edition, set Site_State on Overview (cell D11), and refresh. The warehouse
queries pull from the API with no sign in. The PVWatts query needs a free developer key from developer.nlr.gov in the
NSRDB_API_Key cell; without it the production rows carry a Status sentence instead of numbers, and the model uses
the manual yield.
STL Solar, method map, page 6