1. Core idea
Dynamic programming is for multi-period decisions with memory.
Four ingredients:
- State : what summarises the past for the future.
- Decision : what you control now.
- Transition: how state evolves: where is randomness (prices, inflows…).
- Reward : cashflow at time .
Value function:
Bellman equation:
“Optimal value today = best immediate reward + expected value of optimal future.”
2. Hydro reservoir as a DP problem
Hydro asset:
- State : reservoir volume (water level) at time t.
- Decision : generation/release (MWh or m³) at time t.
- Transition:
- Reward: where is the power price.
Constraints:
- ,
- (environmental & physical),
- Possibly minimum generation or ramp constraints.
Interpretation:
- Water in the reservoir is an inventory with option value.
- Using water now → cash today but less flexibility later.
- DP chooses a policy : how much to generate for each water level and time.
3. Backward induction intuition
In a finite horizon with known prices/inflows:
At final time :
- No future value; all remaining water is either:
- Used (subject to capacity) or
- Left unused if capacity binding.
- .
- No future value; all remaining water is either:
Step backwards:
For each time and water level :
- Loop over feasible releases .
- Compute:
- Pick that maximises
total.
Qualitative behaviour:
- If future prices are clearly higher than today → optimal to save water.
- If today’s price is very high and little time left → optimal to generate now.
- With inflows and capacity, you may need to pre-emptively generate to avoid spill.
4. Why this matters for a power quant
Many “options” in commodities are control problems:
- Hydro reservoirs,
- Gas storage,
- Swing contracts,
- Tolling (power plant dispatch vs spark spread).
Static option intuition (“just a call on the spread”) is not enough.
DP framing shows you get that:
- The value depends on the whole path of prices and inflows,
- Constraints (capacity, min flows, ramping) are central,
- Optimal policy is time- and state-dependent, not a single strike.
Interview line:
“For hydro and storage assets, I think in dynamic programming terms: reservoir level (or inventory) is the state, generation/injection is the control, and the Bellman recursion trades off immediate revenue against the option value of holding inventory for future high-price periods.”