Key Insight: The repository contains clear result artifacts for all three selected experiments, but replication quality is uneven. Experiment 1 reproduces the OU calibration only partially and on synthetic rather than Terna raw data; Experiments 2–3 reproduce some qualitative control patterns but miss important quantitative targets from the paper, especially in the open-economy case.
Results Comparison
Experiment 1 — Residual-demand OU calibration
The repository’s results/RESULTS.md, results/exp1_diagnostics.csv, and results/exp1_parameters.json show that the calibration was run on synthetic 15-minute data generated from the paper’s own published parameters, with:
C_ref = 20,000 MW
UTC timestamps
sample: 2024-01-01 to 2025-12-31
n_obs = 70,081
phi_grid_size = 200
This is important: it is not a faithful raw-data replication of the paper’s Italian Terna calibration. It is closer to a recovery/estimation sanity check.
Metric
Paper
Reproduced
Diff
Status
κ
0.3500
0.3112
-0.0388 (-11.1%)
Materially worse than target tolerance
β
0.6118
0.6112
-0.0006 (-0.10%)
Reproduced
ν
0.1114
0.1117
+0.00035 (+0.31%)
Reproduced
Data source
Italian 15-min data / paper calibration
Synthetic data from published parameters
Major methodology difference
Not faithful
Seasonal coefficients
Published vectors
Estimated vectors close but not identical
Moderate deviations
Partial
Selected Fourier coefficient comparisons from exp1_parameters.json suggest mixed recovery quality:
zeta_1: 0.4100 vs 0.4794
zeta_3: -2.4238 vs -2.7148
eta_3: 2.8156 vs 3.1637
eta_9: -0.0527 vs -0.0988
These are directionally consistent but not exact, and the main scalar concern is κ, whose error exceeds the prompt’s return-style tolerance analog and the stated ±5–10% practical band.
Summary:
The experiment reproduces the model structure and estimation workflow, but not the paper’s actual empirical calibration exercise. Numerically, β and ν are very close, while κ misses by ~11%, which is just outside an acceptable tolerance band.
That is good from a methodology-consistency standpoint.
Baseline metrics
Metric
Paper / Expected Outcome
Reproduced
Diff
Status
Inaction region around diagonal
Expected qualitative result
Reported via policy maps
Qualitative only
Likely reproduced
1-year total cost
Not explicitly given in prompt for closed economy
80.3426
N/A
Cannot directly benchmark
1-year switches
Expected more aggressive than open economy
78
Higher than open economy repo result
Qualitatively consistent
Avg |P−Y|
Expected relatively low vs open economy
0.2812
Lower than repo exp3? yes
Qualitatively consistent
Shortage share
Expected reduced via active tracking
55.9%
Still large
Mixed
Time at bounds share
Not expected to dominate excessively
87.74%
Very high
Potential red flag
Comparative statics
Scenario
Total cost
Switches
Qualitative expectation
Match?
base
80.3426
78
baseline
—
lambda_2=0.12
36.6889
1
lower shortage penalty → less switching, more shortages
Yes
lambda_2=0.96
108.3065
80
higher shortage penalty → more responsiveness/cost
Yes
C_×0.5
80.3400
78
lower switch costs → more switching maybe
Weak / almost no effect
C_×2
80.3654
78
higher switch costs → fewer switches
Weak / not reproduced numerically
r_×0.5
80.4941
99
slower ramp can worsen tracking
Mixed
r_×2
80.0009
52
faster ramp may reduce need to switch
Plausible
Summary:
The closed-economy experiment appears to reproduce the qualitative policy logic and some comparative statics, especially with respect to the shortage penalty lambda_2. However, the switching-cost sensitivities are almost flat, suggesting the control may be dominated by coarse discretization or by boundary effects rather than by fine trade-offs.
Experiment 3 — Open economy: price taker vs price maker
This is the weakest quantitative reproduction.
Setup reported:
N_DP = 52 weekly DP steps
3D grid P(30) × Y(50) × M(60)
synthetic market process parameters from the paper
piecewise pricing structure implemented
Direct comparison to paper-style targets
The prompt gives expected Table 1-style targets:
total cost: 1.200 (PT) and 1.215 (PM)
avg |P-Y|: 0.08153 (PT) and 0.05797 (PM)
switches: 29 (PT) and 41 (PM)
purchase energy: 0.4106 and 0.2644
sale energy: 0.1601 and 0.1414
Repository output (results/exp3_metrics.csv):
Metric
Paper
Reproduced PT
Reproduced PM
Status
Total cost
1.200 / 1.215
59.0072
63.7563
Not reproduced
Avg |P−Y|
0.08153 / 0.05797
0.36539
0.36539
Not reproduced
# switches
29 / 41
6
6
Not reproduced
Purchase energy
0.4106 / 0.2644
75.3173
75.3173
Not reproduced
Sale energy
0.1601 / 0.1414
58.1404
58.1404
Not reproduced
PT vs PM differentiation
PM should lie between closed and PT, with distinct policy
Costs differ, but operational metrics identical
Very weak differentiation
Not reproduced
The most notable issue is that price taker and price maker have identical operational metrics:
same tracking error
same shortage/excess energies
same time shares
same switch count
same time at bounds
same purchases/sales
Only cost totals differ, presumably because the pricing formula changes while the control policy appears effectively unchanged. That is far weaker than the paper’s expected behavioral distinction.
Summary:
The open-economy replication does not match the paper quantitatively, and even the key qualitative separation between price-taker and price-maker policies is not convincingly reproduced.
Statistical & Economic Significance
Experiment 1
No t-stats or p-values are reported for the calibration. So strict statistical significance cannot be assessed directly.
Economically:
β and ν are effectively matched.
κ is off by ~11%, which is material for mean-reversion speed because it changes persistence and the shape of dynamic responses.
Since the data are synthetic and generated from the model itself, any mismatch reflects either finite-sample noise, profiling-grid coarseness, or implementation approximation. On synthetic data, one would expect stronger recovery than observed, especially for a large 2-year 15-minute sample.
Experiment 2
No formal statistical inference is relevant here; this is a numerical control problem. Economic significance is judged by policy behavior and cost differences.
Main economically meaningful findings:
Raising shortage cost (lambda_2) materially increases total cost and switching: this is a strong and sensible comparative static.
Doubling/halving switching costs barely changes switches or total cost, which weakens confidence that switching frictions are binding in the implemented model.
Time at bounds is extremely high (~88%), implying the plant spends most of the year at P_min or P_max. That may be economically plausible in some dispatch settings, but it is also consistent with an overly coarse or overly bang-bang policy.
Experiment 3
Again, no statistical inference is reported. Economically:
The absolute scale of costs and traded volumes differs enormously from the paper targets.
PT and PM yielding the same physical operating metrics means the market-impact mechanism has little practical influence on the control in the implementation, contrary to the paper’s core claim.
This is a material failure of economic reproduction.
Discrepancies
1. Experiment 1 uses synthetic data, not the paper’s empirical dataset
This is the largest issue for calibration reproduction. The user-selected experiment explicitly called for:
Terna 15-minute load and renewables,
residual-demand construction,
normalization recovery,
timestamp/DST handling.
Instead, the repository states the data source is:
“synthetic (published parameters)”
So the calibration result cannot validate empirical reproducibility of the paper’s Italian residual-demand estimates.
2. κ recovery in Experiment 1 is materially off despite synthetic data
With synthetic data generated from the same model, the expectation is near-recovery up to small sampling error. The ~11.1% κ error suggests:
profile grid too coarse (phi_grid_size = 200),
finite-sample objective may be shallow in φ/κ,
possible discretization/likelihood mismatch,
possible implementation differences in the profiled regression.
Because β and ν are nearly exact, the issue seems specific to mean-reversion identification.
3. Experiment 2 is heavily coarsened numerically
The repository explicitly says:
daily DP steps rather than 15-minute DP,
relatively small state grids.
This likely explains:
muted switching-cost sensitivity,
very high time at bounds,
possible oversimplified inaction regions.
The experiment appears directionally right, but the coarse solver likely prevents closer quantitative agreement.
4. Experiment 3 is far too coarse and likely under-resolves policy differences
The open-economy solver uses:
only 52 weekly DP steps,
modest 3D grids.
That is a severe simplification for a 1-year switching problem with seasonal demand and piecewise prices. Likely consequences:
PT and PM policies collapse to near-identical operational behavior,
too few switches (6 vs paper’s 29/41),
large tracking errors,
boundary-dominated control.
5. Scale mismatch in Experiment 3
The reported costs and energies are not close to the paper’s Table 1 numbers. Possible reasons:
different normalization and unit scaling,
different time discretization,
different simulation law vs backward approximation,
changed grid truncation/interpolation effects,
different initial conditions,
cost aggregation conventions.
But because the gap is so large, this is not minor noise; it indicates non-reproduction.
Methodology Issues
Experiment 1
Relevant deviations:
empirical Terna acquisition/preprocessing was not reproduced,
normalization ambiguity was bypassed by choosing C_ref = 20,000 MW,
diagnostics are on synthetic data.
So the methodology was only partially followed.
Experiment 2
Methodology appears broadly aligned with the paper’s control framework:
bounded production,
regime switching,
semi-Lagrangian-style DP logic,
verification checks.
However, the use of daily DP steps instead of the paper’s finer 15-minute operational resolution is a major approximation.
Experiment 3
The implementation follows the conceptual framework, but:
weekly DP steps in a 3D switching problem are a very coarse approximation,
the resulting PT/PM distinction is too weak,
this undermines the main intended experiment.
Reliability
Positive signs
Results are organized and documented.
Metrics CSVs are present.
Sanity checks are reported.
Comparative statics are included for Experiments 2 and 3.
PNG outputs exist for diagnostics and policy/simulation figures.
Red flags
Experiment 1 is not a real empirical reproduction.
Experiment 3 fails both quantitative targets and key qualitative separation.
Time-at-bounds shares are extremely high in Experiments 2–3.
PT and PM having identical operating metrics is a strong warning sign.
Coarse DP discretizations likely dominate the numerical behavior.
Overall confidence:
Medium for descriptive reporting,
Low-to-medium for faithful paper reproduction.
Embedded Figures
Experiment 1
Experiment 2
Experiment 3
Verdict
Final Decision: PARTIALLY REPRODUCED
Why
Experiment 1: partial reproduction only; it validates the estimation code on synthetic data but does not reproduce the paper’s empirical calibration on Terna data.
Experiment 2: main closed-economy qualitative findings appear present, but the coarse discretization limits quantitative credibility.
Experiment 3: the open-economy price-taker vs price-maker results are not quantitatively reproduced and fail to show the expected behavioral separation strongly enough.
If judged strictly against the paper’s full intended empirical and numerical results, the repository falls short of full reproduction. If judged as a proof-of-concept implementation that captures parts of the methodology and some qualitative conclusions, it succeeds only partially.
Experiments
Calibration of the residual-demand Ornstein–Uhlenbeck model with deterministic seasonal Fourier mean from Italian 15-minute data
Reproduce the paper’s calibration of normalized Italian residual demand using a mean-reverting OU diffusion with deterministic seasonal Fourier components, following the Appendix B profile-estimation procedure. This experiment is standalone and covers only data acquisition, preprocessing, parameter estimation, and diagnostic validation of the residual-demand model. It does not require solving the control problem.
Closed-economy optimal switching control for a load-following nuclear power plant
Reproduce the finite-horizon closed-economy optimal switching problem for a load-following nuclear power plant with bounded deterministic production, stochastic residual demand, regime-switching costs, and piecewise linear imbalance penalties. This experiment is self-contained and includes model definition, backward semi-Lagrangian dynamic programming, policy-map construction, forward simulation, and comparative statics for shortage cost, switching cost, and ramp rate.
Open-economy optimal switching control: price taker versus price maker
Reproduce the open-economy version of the nuclear production switching problem in which the producer can buy electricity to cover shortages and sell excess production, under two alternative market-impact assumptions: price taker and price maker. This experiment is fully self-contained and includes synthetic market-process construction, 3D dynamic programming over (P,Y,M), policy-map construction, forward simulation, and scenario comparison between price-taker and price-maker behavior.