Chapter 9 — Modeling Methods & Numerical Implementation


I. One-Sentence Goal

Provide an end-to-end numerical pathway from Catalog / Seeds to state evolution (Trajectory), then to spectroscopy L_nu / LC and propagation T_arr / Delta_T_arr—covering solver structure, step-size and convergence, thin/thick switching consistency tau_switch, concurrency and caching, benchmark suite and error semantics—so that implementations are auditable, reproducible, and comparable.


II. Scope & Non-Goals


III. Minimal Terms & Symbols


IV. End-to-End Modeling Roadmap


V. Solver Architecture & Pseudoflow


A. Unified main loop (object → spectrum → propagation)

for O in Catalog:

state = init_from_seed(O.Seed)

t = t0

while t < t_end:

state = advance_state(state, Phi_T, env, Δt) # S70-7…S70-10

if trigger_due(t): state = apply_trigger(state, event) # S70-2

L_nu = synthesize_spectrum(O, state, f_grid) # S70-10

n_eff = assemble_neff(Phi_T, grad_Phi_T, SeaProfile, f_grid)

ell_i = detect_interfaces(gamma, SeaProfile or Sigma_env)

T_arr = integrate_arrival(n_eff, gamma, ell_i, mode, c_ref)

ΔT_arr = arrival_delta(n_path_params, f1, f2, gamma, mode, c_ref)

audit_and_log(state, L_nu, n_eff, T_arr, ΔT_arr, ell_i)

t += Δt


B. Grid-first (field-first)


C. Path-first

on thin layers.Delta_T_sigmaEvaluate Φ_T, grad_Φ_T along γ[k]; assemble n_eff(γ[k], f) per frequency; perform segmented integrals; invoke

D. Hybrid

.accuracy vs throughputCache slow terms on a grid + refine in local path windows around layers/interfaces—balancing

VI. Segmentation, Corrections & Multi-Path Composition


VII. Step-Size Control, Error Estimation & Convergence


VIII. Thin/Thick Chain Selection & Consistency


IX. Concurrency, Caching & Performance


X. Benchmarks & Pass Criteria


XI. Error Semantics (aligned with the template error family)

Handling: preserve intermediate logs and RNG seed; output a falsification sample and back-trace guidance (convention, segmentation, SeaProfile, step-size).


XII. Interfaces & Implementation Bindings (aligned with template I70-*)


XIII. Logging, Reproduction & Publication


XIV. Cross-References


XV. Deliverables