Commit 3b8f93d
committed
fix(perturbation-sim): weakest_links prints sens/λ₂ in scientific notation
Susceptances are ~6e-5 (estimated from line length in metres), so the Fiedler
sensitivities are ~1e-8 and printed as 0.00000 in fixed notation — misleading.
Switched to {:.3e}; the ranking (line 150 top, sens 2.07e-8 / λ₂-loss 39%) and
base λ₂ = 3.15e-7 (the OSM ES core is very weakly connected) now read correctly.1 parent 50a005c commit 3b8f93d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments