# numbers_log for 001-unit1-foundations (rerun 2026-10-11 02:09)

===== analysis_theory.py (exit 0, 0.7 s)
duty theory 0.5333 slope on 0.2333 slope off 0.2667
period theory (min) 8.036 on 4.286 off 3.75
ideal sim duty 0.5335 switches 134 period (min) 8.06 max err 0.502
sampled 1 min: duty 0.5333 period 10.0 max err 0.712
delay 0 measured 0.712 bound 0.767 holds True
delay 1 measured 0.979 bound 1.033 holds True
delay 2 measured 1.232 bound 1.3 holds True
delay 5 measured 1.973 bound 2.1 holds True
delay 10 measured 3.057 bound 3.433 holds True
delay 20 measured 4.993 bound 6.1 holds True
delay 30 measured 6.653 bound 8.767 holds True
sigma 0.0 switches 84 worst 0.712 duty 0.533
sigma 0.1 switches 84 worst 0.849 duty 0.536
sigma 0.3 switches 93 worst 1.058 duty 0.531
sigma 0.6 switches 133 worst 1.378 duty 0.531
T_inf on 35.0 T_inf off 5.0
exact t_on 4.288 t_off 3.751 period 8.039 duty 0.5334

===== fig01_loop.py (exit 0, 0.9 s)
A: ideal sensor (no noise, no delay) {'mean_abs_err': 0.315, 'max_abs_err': 0.712, 'duty': 0.533, 'switches': 36}
B: noise sigma = 0.3 C, delay = 5 min {'mean_abs_err': 0.912, 'max_abs_err': 2.013, 'duty': 0.539, 'switches': 13}

===== fig02_tradeoff.py (exit 0, 1.0 s)
delay 0 0.712
delay 1 0.979
delay 2 1.232
delay 5 1.973
delay 10 3.057
delay 20 4.993
delay 30 6.653
h 0.1 switches 226 worst 0.362
h 0.25 switches 140 worst 0.47
h 0.5 switches 84 worst 0.712
h 1.0 switches 48 worst 1.246
h 2.0 switches 25 worst 2.209

===== fig03_budget.py (exit 0, 1.1 s)
period 5 s  avg 48.006 mA  life 1.4 days  data 1.452 MB/day
period 10 s  avg 24.008 mA  life 2.8 days  data 0.726 MB/day
period 30 s  avg 8.0093 mA  life 8.3 days  data 0.242 MB/day
period 60 s  avg 4.0097 mA  life 16.6 days  data 0.121 MB/day
period 300 s  avg 0.8099 mA  life 82.3 days  data 0.024 MB/day
period 900 s  avg 0.2766 mA  life 241.0 days  data 0.008 MB/day
period 3600 s  avg 0.0767 mA  life 869.6 days  data 0.002 MB/day

===== fig04_architecture.py (exit 0, 0.7 s)


===== fig05_latency.py (exit 0, 0.8 s)
edge total 15 cloud total 150
speed 0.2 edge cm 0.3 cloud cm 3.0
speed 0.5 edge cm 0.75 cloud cm 7.5
speed 1.0 edge cm 1.5 cloud cm 15.0
speed 2.0 edge cm 3.0 cloud cm 30.0
