2 Commits

Author SHA1 Message Date
Dane Sabo
ef7ae06ffc point 2 + 3: LOCA entry reach + scram fat-entry + steam-dump heatup
Morning-review items 2 and 3.

Point 2 (scram X_entry expansion):
  - reach_loca_operation.jl: LQR reach under Q_sg widened to
    [0, 1.5*P_0] (steam-line break envelope) for 3 s horizon.
    Longer horizons cause numerical blowup in the box-hull
    reach propagator due to slow precursor modes amplifying
    under large disturbance — documented in the script.
  - reach_scram_pj_fat.jl: computes bounding-box union of
    hot-standby + heatup-tight + operation + LOCA reach
    envelopes, clamps obvious numerical outliers on precursors
    and temperatures, builds a fat X_entry(scram), runs scram
    PJ reach. Result pending (TMJets compiling).

Point 3 (heatup steam-dump Q_sg):
  - configs/heatup/with_steam_dump.toml: Q_sg ∈ [0, 0.05·P_0]
    as bounded parameter.
  - reach_heatup_pj_sd.jl: 12-state RHS with x[10]=Q_sg (dx=0,
    augmented bounded param) and x[11]=t. Running in
    background.

Tight-entry heatup via the new TOML-config reach_heatup_pj.jl
reproduces the previous all-6-halfspaces-discharged result
(300s horizon, T_c envelope [281.05, 291.0]). Refactor
preserves semantics.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 20:28:43 -04:00
Dane Sabo
2bbb1871cc refactor: scripts subdivision + TOML configs + results/ split + presentation outline
Architecture restructure from morning review:

1. code/scripts/ subdivided into sim/, reach/, barrier/, plot/.
   Easier nav; `barrier/` is the natural place for SOS scale-up scripts.
2. Heatup PJ reach variants consolidated behind TOML configs.
   reach_heatup_pj.jl now takes `--config path/to/config.toml`;
   configs/heatup/baseline.toml (wide entry, from predicates.json) and
   configs/heatup/tight.toml (narrow entry, reproduces all-6-halfspaces
   discharged result). Old reach_heatup_pj_tight.jl and
   reach_heatup_pj_tight_full.jl deleted (superseded).
3. Reach output .mat files moved from reachability/ to results/.
   reachability/ now = specs + docs; results/ = ephemeral outputs
   (gitignored *.mat). README added.
4. OVERNIGHT_NOTES.md archived to claude_memory/2026-04-20-21-overnight-
   session-summary.md (date range in the filename makes the history clearer).

All include() / Pkg.activate() paths in scripts updated for the new
depth. Smoke tests pass (reach_operation.jl generates its .mat in
the new results/ location; sim_sanity.jl matches MATLAB).

Presentation outline for the 20-min prelim talk landed in
presentations/prelim-presentation/outline.md. 14-slide assertion-
evidence format targeting OT-informed cybersecurity audience. Each
slide: one declarative assertion + one figure. Outline includes
which figures already exist and which need to be created, timing
checkpoints, cybersecurity angle to emphasize, and Q&A prep.

New config configs/heatup/with_steam_dump.toml + its companion
scripts/reach/reach_heatup_pj_sd.jl (12-state RHS with Q_sg as an
augmented bounded parameter x[10] and time as x[11]). Kicks off
point 3 from morning review.

Next up: scram X_entry expansion (morning point 2) — LOCA scenario
+ union of mode reach envelopes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 20:24:48 -04:00