42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
TASK: Execute BASELINE_CONFIG_v1 through SIM_API_v1 and return deliverables.
|
|
|
|
INPUT DATA:
|
|
- BASELINE_CONFIG_v1 (Prompt 4)
|
|
- SIM_API_v1 (Prompt 3)
|
|
- TTE_SPEC_v1 (Prompt 2)
|
|
|
|
METHODOLOGY:
|
|
For each z0 in {1.00,0.75,0.50,0.25}:
|
|
1) Simulate trajectory until termination.
|
|
2) Compute TTE via event interpolation.
|
|
3) Compute summary metrics:
|
|
- avg(P_tot) over [0,t*]
|
|
- max(I), max(T_b), min(Δ) over [0,t*]
|
|
- energy_check = ∫ P_tot dt (Wh) and compare to nominal energy 14.8 Wh baseline
|
|
|
|
DELIVERABLES (must be returned in this order):
|
|
A) “TTE_TABLE_v1” as CSV text with rows for each z0:
|
|
z0, TTE_hours, termination_reason, t_star_sec, avg_P_W, max_I_A, max_Tb_C
|
|
B) “FIGURE_SPEC_v1” as JSON listing exactly 4 plots to generate:
|
|
1) SOC z(t)
|
|
2) Current I(t) and power P_tot(t) (dual axis)
|
|
3) Battery temperature T_b(t)
|
|
4) Discriminant Δ(t)
|
|
Each plot must specify:
|
|
title, x_label, y_label(s), filename (png), and which trajectory columns to use.
|
|
C) “VALIDATION_REPORT_v1” as JSON with:
|
|
- monotonicity_pass (true/false)
|
|
- any_negative_delta_before_event (true/false)
|
|
- energy_check_values (per z0)
|
|
|
|
VALIDATION CRITERIA (hard):
|
|
- SOC must be non-increasing for all runs.
|
|
- V_term must never be NaN/inf.
|
|
- Energy check must be within [5 Wh, 20 Wh] for z0=1.00 (otherwise FAIL).
|
|
If any check fails: output only FAIL + the validation JSON.
|
|
|
|
OUTPUT FORMAT:
|
|
A) CSV block
|
|
B) JSON block
|
|
C) JSON block
|
|
No prose. |