LibraryWorkspaceDataHub

© 2026 QCA · by Lime Fintech · About QCA · Market data from Massive

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Storage Options and Endogenous Commodity Prices in Continuous Time

Open repository
Sep 25, 2026
Risk Management

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
High

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: HIGH
  • Key Insight: The repository reproduces the paper’s core numerical findings for the equilibrium PDE/fixed-point solver, grid convergence, boundary-condition sensitivity, comparative statics, and normalization collapse very well. The main shortfall is that several headline runs use a coarse 201-node grid rather than the user-specified baseline 1601-node grid, and the Monte Carlo validation is materially less accurate than the paper due to coarse simulation settings.

Results Comparison

Overall repository-level assessment

The repository includes explicit result artifacts for all seven selected experiments:

  • results/RESULTS.md
  • per-experiment metrics.json
  • tabular CSV outputs
  • multiple PNG figures

It also reports:

  • 190 tests collected, all pass
  • consistent solver diagnostics and convergence outputs

That strongly supports implementation reliability. However, several experiments were run on 201 nodes rather than the requested 1601-node baseline, which matters for exact comparison to paper-grade baseline values.


Experiment 1 — Baseline endogenous equilibrium and fixed-point convergence

Key reproduced results found

From results/exp_1/metrics.json and residual_history.csv:

  • x* = 0.16
  • y* = 0.04
  • p*/b = 0.96
  • f(y=1) = 0.1504903354
  • normalized premium at :
y=1
0.7524516770
  • outer iterations: 17
  • final residual: 5.04e-11
  • all diagnostics pass
  • estimated Lipschitz constant: 0.05
  • Residual decay is near-geometric after initial iterations, with ratio stabilizing around 0.254.

    Comparison vs paper / experiment target

    MetricPaperReproducedDiffStatus
    Grid size1601 nodes201 nodesmaterially different setup⚠️
    Outer tolerance1e-101e-100✅
    x*0.18–0.190.16-0.02 to -0.03❌ on coarse baseline
    y*0.045–0.04750.04about -0.005 to -0.0075❌ on coarse baseline
    p*/b0.953–0.9550.96+0.005 to +0.007borderline
    f(y=1)≈0.14990.15049+0.00059✅
    premium/b at y=1≈0.750.75245+0.00245✅
    outer iterations≈1217+5⚠️
    fixed-point residual<1e-105.04e-11better than tol✅

    Summary

    The shape/value behavior is reproduced well, especially at y=1, premium magnitude, and convergence pattern. But the declared baseline run does not follow the selected experiment specification because it uses 201 nodes instead of 1601, which shifts the threshold downward. The repository itself acknowledges this and points to Exp 2’s 1601-node run as the fine-grid reference.

    Interpretation

    • Qualitative reproduction: yes
    • Quantitative baseline reproduction as specified: only partially
    • Main numerical miss is due to coarse grid resolution, not failure of the method

    Figures

    Baseline equilibrium

    Outer iterates

    Residuals


    Experiment 2 — Spatial grid-convergence study

    Key reproduced results found

    From results/exp_2/convergence_table.csv:

    Grid ptsΔxL∞ errorEOCx*y*p*/bOuter iters
    2010.087.1278e-4—0.160.040.9617
    4010.043.0452e-41.22690.160.040.9615
    8010.021.0063e-41.59750.180.0450.95514
    16010.010—0.180.0450.95514

    Comparison vs paper

    MetricPaperReproducedDiffStatus
    201-pt error≈7.20e-47.13e-4-7e-6✅
    401-pt EOC≈1.231.2269negligible✅
    801-pt EOC≈1.601.5975negligible✅
    201-pt x*0.160.160✅
    801-pt x*0.180.180✅
    1601-pt x*0.180.180✅
    1601-pt y*~0.0450.0450✅
    1601 outer iters≈1214+2acceptable

    Summary

    This experiment is very well reproduced. The numerical evidence strongly matches the paper’s reported convergence table and first-order behavior. Importantly, it rescues Exp 1’s coarse-grid threshold issue by showing that the fine-grid solution converges exactly to the expected threshold region.

    Statistical & economic significance

    Not a statistical experiment; significance is numerical. The observed monotone error decay and EOC around 1–1.6 is economically important because it confirms the equilibrium function and threshold are not discretization artifacts.

    Figures

    Grid convergence plot


    Experiment 3 — Boundary-condition sensitivity: Robin vs zero Dirichlet

    Key reproduced results found

    From results/exp_3/boundary_comparison_table.csv and metrics.json:

    At y=2:

    • Large-domain Robin: 0.1356413912
    • Small-domain Robin: 0.1343419648
    • Small-domain Dirichlet: 0.0

    Errors:

    • Robin error: 1.2994e-3
    • Dirichlet error: 1.3564e-1

    Comparison vs paper

    MetricPaperReproducedDiffStatus
    Large Robin f(y=2)≈0.1356410.13564139negligible✅
    Small Robin f(y=2)≈0.1343290.13434196+1.3e-5✅
    Robin abs error≈1.31e-31.299e-3negligible✅
    Small Dirichlet f(y=2)000✅
    Dirichlet abs error≈1.36e-11.356e-1negligible✅

    Summary

    This experiment is fully reproduced. The main lesson of the paper—that Robin far-field treatment is crucial and zero Dirichlet is disastrously biased in the tail—is matched almost exactly.

    Economic/numerical significance

    This discrepancy is economically large: at y=2 the zero-Dirichlet tail value collapses to zero, destroying continuation value in a region where P=0 and option value matters most. That is not a cosmetic difference; it changes the economic interpretation of storage incentives.

    Figures

    Boundary comparison


    Experiment 4 — Comparative statics

    Key reproduced results found

    From results/exp_4/comparative_statics_table.csv, extended_volatility.csv, and metrics.json.

    One-at-a-time comparative statics

    Premium at y=1:

    • r = 0.02, 0.05, 0.10 → 0.8501, 0.7525, 0.6534
    • delta = 0.08, 0.15, 0.25 → 0.7416, 0.7525, 0.7662
    • m = -0.05, 0, 0.05 → 0.7641, 0.7525, 0.7394
    • sigma = 0.10, 0.25, 0.50 → 0.7477, 0.7525, 0.7689

    Thresholds:

    • r changes threshold strongly: y* = 0, 0.04, 0.08
    • delta, m, sigma show flat coarse-grid y*=0.04 across values

    Extended volatility

    Premium at y=1 rises monotonically from:

    • 0.7470 at sigma=0.05 to
    • 0.7935 at sigma=0.75

    r-delta surface

    Threshold surface is monotone in r, but flat in delta at the coarse resolution used.

    Comparison vs paper

    MetricPaperReproducedDiffStatus
    r premiums0.848, 0.750, 0.6510.850, 0.752, 0.653within 0.002✅
    delta premiums0.739, 0.750, 0.7630.742, 0.752, 0.766within 0.003✅
    m premiums0.762, 0.750, 0.7370.764, 0.752, 0.739within 0.002✅
    sigma premiums0.745, 0.750, 0.7670.748, 0.752, 0.769within 0.003✅
    sigma=0.05 premium≈0.74430.7470+0.0027✅
    sigma=0.75 premium≈0.79130.7935+0.0022✅
    threshold sensitivity to rrisingrisingmatched✅
    threshold sensitivity to othersnuancedmostly flat on gridunder-resolved⚠️

    Summary

    The comparative statics are reproduced well in level and direction. The main patterns from the paper clearly hold:

    • volatility raises continuation value
    • discounting lowers waiting value and raises the sale threshold
    • depreciation and drift have smaller but correctly signed effects on premium

    The only caveat is that the experiment again uses a 201-node grid, so threshold responses are quantized and less informative than the paper’s fine-grid design. Premiums are still close.

    Methodology issue

    The user-specified methodology called for the baseline fine grid 1601 for faithful comparative statics. The repository used 201 nodes, so exact threshold surfaces and subtler parameter effects are likely under-resolved.

    Figures

    Comparative statics in r

    Comparative statics in sigma

    Extended volatility

    r-delta heatmap


    Experiment 5 — Normalization and scaling collapse

    Key reproduced results found

    From results/exp_5/normalization_metrics.csv and collapse_deviations.csv.

    Chosen pairs:

    • (0.025, 0.1)
    • (0.05, 0.2)
    • (0.075, 0.3)
    • (0.1, 0.4)

    All have fixed b/a = 4.

    Results:

    • all y* = 0.04
    • all p*/b = 0.96
    • max normalized curve deviations from reference: 0 to 2.52e-10

    Comparison vs expected outcome

    MetricPaper/ExpectedReproducedDiffStatus
    Normalized curve collapsenear coincidencemachine-precision coincidencebetter than expected✅
    Normalized premium collapsenear coincidencemachine-precision coincidencebetter than expected✅
    Threshold invariance in normalized unitsnearly identicalidentical at reported precision0✅

    Summary

    This experiment is reproduced successfully, but with an important caveat: the chosen (a,b) pairs are proportional, so collapse is almost guaranteed by construction. That is consistent with the experiment note and still valid for testing scaling, but it is a favorable design rather than a stringent robustness check.

    Figures

    Normalization collapse

    Raw curves


    Experiment 6 — Monte Carlo first-passage validation

    Key reproduced results found

    From results/exp_6/mc_validation_table.csv and metrics.json:

    Settings:

    • PDE grid: 201 nodes
    • Monte Carlo: M=5000, dt=0.05
    • no censoring, T_max=60

    Results:

    x0y0FDMCMC s.e.Abs diff
    0.50.1250.1821180.1800703.91e-52.05e-3
    1.00.250.1738370.1714305.69e-52.41e-3
    4.01.00.1504900.1482851.11e-42.21e-3
    8.02.00.1362110.1342101.38e-42.00e-3

    Comparison vs paper

    MetricPaperReproducedDiffStatus
    Abs FD-MC diff range~3.1e-4 to 4.3e-4~2.0e-3 to 2.4e-3~5–7x too large❌
    CI containment qualityexpected with fine MCnot at coarse settingsweaker⚠️
    Censoringnegligible0matched✅
    Qualitative agreementcloseyes, <1.5% relative erroracceptable⚠️

    Summary

    This is the weakest reproduction among the experiments. The repository openly states the discrepancy is due to coarse simulation settings (dt=0.05, M=5000) and coarse PDE baseline. The MC standard errors are tiny relative to the FD-MC gap, which indicates the dominant issue is bias, not sampling noise.

    Statistical & economic significance

    • Statistically, the difference is material: the FD-MC discrepancy is far larger than MC s.e.
    • Economically, the relative error is still only about 1.1%–1.5%, so the direction and scale are broadly right, but this does not match the paper’s high-accuracy validation standard.

    Discrepancy explanation

    Most likely causes:

    1. Time-discretization bias from dt=0.05
    2. Coarse PDE grid (201 vs intended 1601)
    3. Discrete first-passage approximation without refined crossing correction
    4. Lower path count than a paper-quality validation would likely need

    This is a methodological deviation the repository itself acknowledges.

    Figures

    Monte Carlo validation


    Experiment 7 — Distribution of optimal selling times

    Key reproduced results found

    From results/exp_7/selling_times_summary.csv:

    sigmax*y*mean tauq25medianq75q90
    0.100.160.043.60983.43.63.84.0
    0.250.160.043.55933.053.54.04.5
    0.500.160.043.34382.43.13.955.1

    No censoring; 3000 paths each.

    Comparison vs paper

    Paper targets for (mean, median):

    • sigma=0.10: (3.393, 3.381)
    • sigma=0.25: (3.353, 3.270)
    • sigma=0.50: (3.246, 2.968)
    MetricPaperReproducedDiffStatus
    mean tau, 0.103.3933.610+0.217⚠️
    median tau, 0.103.3813.600+0.219⚠️
    mean tau, 0.253.3533.559+0.206⚠️
    median tau, 0.253.2703.500+0.230⚠️
    mean tau, 0.503.2463.344+0.098within ~3%
    median tau, 0.502.9683.100+0.132within ~4%
    broader upper tail with higher sigmayesyesmatched✅

    Summary

    Qualitatively, the experiment reproduces the paper’s message:

    • mean selling times change modestly
    • medians decline with volatility
    • upper tail broadens as volatility rises

    Quantitatively, the selling times are systematically somewhat higher than paper values, especially for low and medium volatility. This is likely due to the same coarse MC discretization and coarse-grid threshold location.

    Discrepancy explanation

    Likely sources:

    1. Coarse threshold from 201-node PDE (x*=0.16 vs fine-grid 0.18)
    2. dt=0.05 time discretization for first-passage estimation
    3. Discrete-time crossing convention inflating hitting times

    Figures

    Selling time survival


    Statistical & Economic Significance

    Statistical significance

    This repository is primarily numerical rather than inferential, so there are no t-stats or p-values. The relevant notion of significance is:

    • residual tolerances
    • discretization error
    • MC standard errors
    • materiality of deviations vs paper targets

    Key points:

    • PDE/fixed-point residuals are all around 1e-11, comfortably below tolerance.
    • Grid errors show stable first-order convergence.
    • Boundary-condition differences are huge and materially significant.
    • MC validation differences are statistically meaningful because abs differences are much larger than MC s.e., implying discretization bias dominates.

    Economic significance

    • The equilibrium premium remains positive even where fundamentals are zero, matching the paper’s core economic insight.
    • Threshold and premium levels are economically close to paper once the fine grid is used.
    • Robin boundary treatment is economically essential; zero Dirichlet destroys tail option value.
    • Comparative statics are economically consistent and robust in sign and rough magnitude.
    • The MC validation is only economically approximate, not paper-precision.

    Discrepancies

    • Baseline experiment run on 201 nodes instead of 1601.
      This is the main reason Exp 1 threshold values miss the paper target. The fine-grid answer is recovered in Exp 2, so this is a setup/reporting mismatch rather than a solver failure.

    • Comparative statics thresholds are under-resolved.
      Premium levels match well, but threshold surfaces are coarse and quantized because the grid is too sparse.

    • Monte Carlo validation is materially less accurate than the paper.
      FD-MC errors around 2e-3 are far above the paper’s 3e-4–4e-4, mainly due to coarse dt=0.05, low path count relative to accuracy target, coarse PDE reference, and discrete crossing convention.

    • Selling-time distribution is only qualitatively reproduced.
      Means/medians are somewhat too high, likely for the same reasons as MC validation.


    Methodology Issues

    1. Deviation from user-selected baseline grid
      Multiple experiments use N+1 = 201 as the operational baseline, whereas the requested reproduction specification emphasized 1601.

    2. Monte Carlo production settings too coarse for paper-level validation
      dt=0.05, M=5000, and discrete hitting-time detection are suitable for sanity checks but not for reproducing the paper’s validation accuracy.

    3. Normalization experiment uses proportional (a,b) pairs only
      Valid for demonstrating scaling collapse, but not a strong robustness test of more general parameter variation.

    These are not fatal to the project, but they prevent a “fully reproduced” judgment.


    Reliability

    Strengths

    • All tests pass
    • Results are internally consistent across experiments
    • Fine-grid convergence study strongly supports the solver’s correctness
    • Boundary-condition experiment matches paper almost exactly
    • Comparative statics signs and magnitudes are stable and sensible
    • Fixed-point residual decay is smooth and geometric

    Red flags

    • Coarse-grid baseline presented as main run in some experiments
    • MC validation clearly biased relative to its own standard errors
    • Some threshold analyses are too coarse to fully support nuanced claims

    Overall confidence

    • High confidence in the deterministic PDE/fixed-point solver
    • Medium confidence in the simulation-based validation/timing experiments as paper-accurate reproductions
    • High confidence in the core qualitative economic findings

    Verdict

    Final Decision: PARTIALLY REPRODUCED

    Why: The repository successfully reproduces the paper’s main deterministic numerical findings—equilibrium shape, premium behavior, fixed-point convergence, grid convergence, boundary-condition importance, comparative statics, and normalization collapse. However, it falls short of full reproduction because several key experiments were executed on a coarse 201-node grid instead of the specified 1601-node baseline, and the Monte Carlo-based experiments are materially less accurate than the paper due to coarse simulation settings.

    Experiments

    Baseline endogenous storage-option equilibrium computation and fixed-point convergence

    Compute the baseline equilibrium speculative price function f(x) for the continuous-time storable-commodity model as a fixed point of the endogenous storage-option operator, using the paper’s stationary obstacle formulation, monotone finite differences, policy iteration, and asymptotic Robin far-field boundary condition. Reproduce the baseline equilibrium curve, storage premium, selling threshold, normalized outputs, and outer fixed-point convergence diagnostics.

    Spatial grid-convergence study for the equilibrium obstacle solver

    Assess the spatial discretization accuracy of the endogenous storage-option equilibrium solver by reproducing the paper’s nested-grid refinement experiment. Compare equilibrium solutions on 201, 401, 801, and 1601 grid points, using the 1601-point solution as the numerical reference, and quantify L-infinity errors, empirical order of convergence, threshold stability, and outer fixed-point iteration counts.

    Far-field boundary-condition sensitivity: Robin versus zero Dirichlet truncation

    Test the importance of the asymptotic Robin far-field boundary condition by comparing equilibrium solutions computed on a truncated smaller domain under two alternative upper boundary treatments—Robin and zero Dirichlet—and benchmarking both against a larger-domain Robin reference solution. Reproduce the paper’s key result that the Robin condition dramatically reduces right-tail truncation bias relative to zero Dirichlet.

    Comparative statics of equilibrium price, threshold, and storage premium

    Reproduce the paper’s economic comparative statics by solving the endogenous equilibrium repeatedly under alternative values of discounting, depreciation, drift, and volatility. Measure how these parameters affect the equilibrium price function, storage premium, and selling threshold, including the one-at-a-time table, volatility curves, extended volatility threshold/premium analysis, and an r-delta threshold surface or heatmap.

    Normalization and scaling-collapse across inverse-demand parameters a and b

    Test the paper’s claim that the linear inverse-demand parameters a and b largely act as scale parameters after normalization. Reproduce a scaling-collapse experiment by solving the equilibrium for multiple (a,b) pairs, transforming results into normalized coordinates y = a x / b and f/b, and checking whether the normalized equilibrium curves and normalized premium curves nearly coincide.

    Monte Carlo first-passage validation of the finite-difference equilibrium values

    Validate the finite-difference equilibrium solution by independently estimating equilibrium values using Monte Carlo simulation of the equilibrium-controlled diffusion and the first-passage optimal selling rule. Compare Monte Carlo estimates, standard errors, and approximate confidence intervals to the finite-difference equilibrium values at several initial states.

    Distribution of optimal selling times under the equilibrium policy

    Simulate the distribution of equilibrium optimal selling times tau* under different volatility levels, starting from a fixed normalized initial state, and reproduce the paper’s summary statistics and survival curves. This experiment focuses on the temporal implications of the equilibrium threshold policy rather than on value-function validation.

    Original paperRun QCA on your paper