Download data/meta.json from sarwar21255/genco-operator-console: direct link, hf CLI and curl.
- Browser
- Download file 14.4 kB
-
https://huggingface.co/spaces/sarwar21255/genco-operator-console/resolve/main/data/meta.json
- Command line
-
hf download hf://spaces/sarwar21255/genco-operator-console/data/meta.json
-
curl -L -o meta.json https://huggingface.co/spaces/sarwar21255/genco-operator-console/resolve/main/data/meta.json
14.4 kB
| {"tau":1.01,"eps_v":0.001,"rule":"conf0.10","c_genco":0.235791782658666,"c_base":20.92768418226285,"orders":["N-1","N-2","N-3","N-5"],"layout":{"0":[0.3216,0.9996],"1":[0.2054,0.9681],"2":[0.3063,0.8426],"3":[0.3971,0.7751],"4":[0.3431,0.6816],"5":[0.4655,0.7804],"6":[0.3677,0.8963],"7":[0.3009,0.5189],"8":[0.4712,0.5374],"9":[0.6301,0.5791],"10":[0.2607,0.7724],"11":[0.2015,0.8247],"12":[0.1269,0.7317],"13":[0.0736,0.769],"14":[0.0996,0.608],"15":[0.2513,0.6477],"16":[0.2306,0.4882],"17":[0.1446,0.565],"18":[-0.0003,0.5926],"19":[0.1198,0.4924],"20":[0.2558,0.3662],"21":[0.3108,0.2059],"22":[0.3361,0.1161],"23":[0.2241,0.0109],"24":[0.4215,0.1858],"25":[0.2895,0.2989],"26":[0.5626,0.2494],"27":[0.6621,0.3535],"28":[0.5582,0.4419],"29":[0.1671,0.3797],"30":[0.4021,0.4153],"31":[0.4378,0.2565],"32":[-0.0163,0.5166],"33":[-0.1375,0.5365],"34":[-0.2192,0.5481],"35":[-0.2429,0.6625],"36":[-0.0867,0.4108],"37":[0.0174,0.2909],"38":[-0.1969,0.4243],"39":[-0.1478,0.3008],"40":[-0.249,0.2756],"41":[-0.1848,0.1432],"42":[-0.2892,0.4664],"43":[-0.3349,0.3043],"44":[-0.3054,0.1032],"45":[-0.3079,-0.0236],"46":[-0.1965,-0.0764],"47":[-0.2988,-0.0991],"48":[-0.2509,0.0059],"49":[-0.3629,-0.048],"50":[-0.4047,-0.0739],"51":[-0.5418,-0.1401],"52":[-0.5902,-0.0212],"53":[-0.4309,0.0411],"54":[-0.5944,0.1037],"55":[-0.5579,0.0457],"56":[-0.5251,-0.0717],"57":[-0.5829,-0.059],"58":[-0.5186,0.1568],"59":[-0.5681,0.2626],"60":[-0.4563,0.2612],"61":[-0.4043,0.1881],"62":[-0.4279,0.2894],"63":[-0.2541,0.2254],"64":[-0.0814,0.1475],"65":[-0.2254,0.1169],"66":[-0.3288,0.2152],"67":[-0.0479,-0.0215],"68":[-0.106,-0.0954],"69":[0.0769,-0.0683],"70":[0.232,-0.1373],"71":[0.3555,-0.0741],"72":[0.3709,-0.2237],"73":[0.1282,-0.1659],"74":[-0.0144,-0.1603],"75":[-0.0304,-0.2939],"76":[-0.1195,-0.2571],"77":[-0.227,-0.3043],"78":[-0.1398,-0.3998],"79":[-0.0198,-0.365],"80":[0.0007,-0.2079],"81":[-0.2081,-0.4021],"82":[-0.3335,-0.5029],"83":[-0.4395,-0.5723],"84":[-0.358,-0.6585],"85":[-0.5052,-0.7205],"86":[-0.6222,-0.7997],"87":[-0.368,-0.7811],"88":[-0.2539,-0.784],"89":[-0.2883,-0.9333],"90":[-0.1556,-0.906],"91":[-0.0862,-0.7644],"92":[-0.1568,-0.7302],"93":[-0.0532,-0.6379],"94":[-0.1405,-0.588],"95":[-0.0886,-0.4894],"96":[0.0233,-0.4286],"97":[0.0513,-0.5091],"98":[0.0936,-0.4959],"99":[0.0612,-0.6584],"100":[0.0263,-0.7807],"101":[-0.0568,-0.8975],"102":[0.2288,-0.717],"103":[0.1642,-0.7227],"104":[0.2233,-0.8576],"105":[0.1171,-0.7817],"106":[0.132,-0.9242],"107":[0.2757,-1.0],"108":[0.3789,-0.9544],"109":[0.3581,-0.7971],"110":[0.5026,-0.7953],"111":[0.4683,-0.8848],"112":[0.3523,0.3964],"113":[0.5873,0.177],"114":[0.7073,0.1987],"115":[0.0574,-0.0064],"116":[0.1118,0.9503],"117":[0.0918,-0.2465]},"screen":{"N-1":{"columns":["method","recall","missed","false alarms","factorizations / contingency"],"rows":[["GENCO alone","1.000","0","21","0.00"],["GENCO + 1 Newton step","1.000","0","0","1.00"],["Base case + 1 Newton step","1.000","0","1","1.00"],["Sequential policy, GENCO prior","1.000","0","0","1.60"],["Sequential policy, base-case prior","1.000","0","0","2.33"],["Newton, GENCO warm start","1.000","0","0","2.33"],["Newton, base-case start","1.000","0","0","3.13"],["Newton, flat start","1.000","0","0","4.00"]],"note":"30 bundled N-1 scenarios (includes the 8 hardest by GENCO mismatch, so this sample is harder than average). Accepted after one step: 40%; accepted within 3 steps: 100% (rule conf0.10, c = 0.236). Full-set results (2,200 scenarios per order, 100 load scenarios): TABLE III of the write-up; summary in the Findings tab."},"N-2":{"columns":["method","recall","missed","false alarms","factorizations / contingency"],"rows":[["GENCO alone","0.943","4","7","0.00"],["GENCO + 1 Newton step","1.000","0","0","1.00"],["Base case + 1 Newton step","0.871","9","4","1.00"],["Sequential policy, GENCO prior","1.000","0","0","1.53"],["Sequential policy, base-case prior","1.000","0","0","2.60"],["Newton, GENCO warm start","1.000","0","0","2.40"],["Newton, base-case start","1.000","0","0","3.20"],["Newton, flat start","1.000","0","0","4.13"]],"note":"30 bundled N-2 scenarios (includes the 8 hardest by GENCO mismatch, so this sample is harder than average). Accepted after one step: 53%; accepted within 3 steps: 100% (rule conf0.10, c = 0.236). Full-set results (2,200 scenarios per order, 100 load scenarios): TABLE III of the write-up; summary in the Findings tab."},"N-3":{"columns":["method","recall","missed","false alarms","factorizations / contingency"],"rows":[["GENCO alone","0.910","6","3","0.00"],["GENCO + 1 Newton step","1.000","0","0","1.00"],["Base case + 1 Newton step","0.881","8","4","1.00"],["Sequential policy, GENCO prior","1.000","0","0","1.63"],["Sequential policy, base-case prior","1.000","0","0","2.93"],["Newton, GENCO warm start","1.000","0","0","2.37"],["Newton, base-case start","1.000","0","0","3.37"],["Newton, flat start","1.000","0","0","4.03"]],"note":"30 bundled N-3 scenarios (includes the 8 hardest by GENCO mismatch, so this sample is harder than average). Accepted after one step: 37%; accepted within 3 steps: 100% (rule conf0.10, c = 0.236). Full-set results (2,200 scenarios per order, 100 load scenarios): TABLE III of the write-up; summary in the Findings tab."},"N-5":{"columns":["method","recall","missed","false alarms","factorizations / contingency"],"rows":[["GENCO alone","0.886","9","8","0.00"],["GENCO + 1 Newton step","1.000","0","0","1.00"],["Base case + 1 Newton step","0.937","5","1","1.00"],["Sequential policy, GENCO prior","1.000","0","0","1.67"],["Sequential policy, base-case prior","1.000","0","0","2.90"],["Newton, GENCO warm start","1.000","0","0","2.70"],["Newton, base-case start","1.000","0","0","3.33"],["Newton, flat start","1.000","0","0","4.03"]],"note":"30 bundled N-5 scenarios (includes the 8 hardest by GENCO mismatch, so this sample is harder than average). Accepted after one step: 33%; accepted within 3 steps: 100% (rule conf0.10, c = 0.236). Full-set results (2,200 scenarios per order, 100 load scenarios): TABLE III of the write-up; summary in the Findings tab."}},"built":"2026-10-26 01:42","findings_html":"<h3>What is GENCO worth to a Newton solver?</h3>\n<p>In contingency analysis, a power-flow prediction is only as valuable as the solver work it saves, and that solver doesn't start from scratch. It starts from the solved pre-contingency case and usually reuses that case's factorization in a chord or fast-decoupled method. The write-up puts the prediction of GENCO in front of each of these solvers on three grids and measures what it saves at equal safety. On IEEE 118 a GENCO start saves a fifth of the work for Newton and a twentieth for fast-decoupled. At 2,000 buses it saves 2% for chord Newton and costs extra for the other two. The screening savings below are counted in full-Newton factorizations and do not pay back in wall-clock time. Every number traces to <code>docs/NUMBERS.md</code> in the repository.</p>\n<p><strong>Results at a glance</strong> (IEEE 118, released checkpoints, unless stated)</p>\n<table>\n<thead>\n<tr>\n<th>Question</th>\n<th>Answer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Newton iterations saved over the pre-contingency start, to 10⁻⁴ MW</td>\n<td>0.49 [0.45, 0.53] at N-1, 1.0 at N-5; 0.33 on GOC 500; −0.63 on GOC 2000</td>\n</tr>\n<tr>\n<td>Work saved under factor reuse</td>\n<td>chord: 21% of triangular solves; fast-decoupled: 5%; at 2,000 buses −18% to +2%</td>\n</tr>\n<tr>\n<td>Wall-clock break-even</td>\n<td>inference must cost under 0.015–0.6 ms per contingency; GENCO Base takes 2.5 ms on a T4 GPU and 8.7 ms on a laptop GPU. Only the smallest model in fp16 crosses one threshold (full Newton, N-5). Even with free inference, GENCO + Newton is slower than fast-decoupled from the pre-contingency state</td>\n</tr>\n<tr>\n<td>Screening with a calibrated Newton check</td>\n<td>0 missed violations in 16,449 held out, and 0 in 17,095 more generated after the rule was frozen, from a different load profile. 37–44% fewer factorizations than the same check from the pre-contingency state</td>\n</tr>\n<tr>\n<td>What GENCO reports vs what it computes</td>\n<td>its power balance looks 32–60× better than the physical one on IEEE 14–118 (about 20× on GOC 500 and 2000), because the slack-bus voltage setpoint is masked and predicted</td>\n</tr>\n<tr>\n<td>Conditioning GENCO on the base case</td>\n<td>a residual decoder (GENCO-Δ) cuts N-1 state error 2.5× but saves no iterations at 10⁻⁴ MW; mixed N-k training trades the N-1 gain for an N-5 fix</td>\n</tr>\n</tbody>\n</table>\n\n<figure><img src=\"assets/figH_hero.png\" alt=\"figH_hero\" loading=\"lazy\"></figure>\n<p><em>Fig. 1. Triangular solves saved by starting from GENCO's prediction instead of the pre-contingency state, to 10⁻⁴ MW, paired over contingencies, 95% cluster-bootstrap CIs over load scenarios. Released checkpoints: IEEE 118 Base (638 contingencies), GOC 500 Base (638), GOC 2000 Small (879 held out). Shaded: the pre-contingency start is cheaper.</em></p>\n<h4>What this console shows</h4>\n<p>The sequential policy is the one in Fig. 3. After each Newton step it checks every monitored branch loading and PQ voltage, and stops once every element is clearly above or below its limit. Otherwise it takes another step, and after three steps it falls back to a full solve. The constant c in the bound is a split-conformal quantile over the load scenarios of a separate 100-load-scenario calibration set. The rule is identical from either start, with c calibrated separately for each; each Newton step costs one factorization.</p>\n<p>On IEEE 118 the GENCO policy needs 1.37 to 1.65 factorizations per contingency from N-1 to N-5, against 2.14 to 2.96 from the pre-contingency start, with no violating element missed in 16,449 (TABLE III). The saving depends on the rule (35–44% with α = 0.10, 33–42% with α = 0.05, 18–35% with the conservative maximum rule), and the bound is conservative: it was exceeded in 1–7% of test operating points against a nominal 10%.</p>\n<h4>The slack convention</h4>\n<p>Graphkit's PF mask hides the slack-bus voltage magnitude from GENCO and asks it to predict it, although in the data it is a dispatch setpoint. GENCO's reported power balance is evaluated at that predicted voltage. Restoring the setpoint raises the largest nodal mismatch by 32–60× on IEEE 14–118 and about 20× on GOC 500 and 2000, and the worst bus is adjacent to the slack in 95–100% of scenarios. The grid map colours buses by this physical mismatch, and the convergence plot shows both versions (dotted: GENCO's own slack voltage; green: the true setpoint). The three repairs we tried each cost something: the setpoint as an input multiplies Base's state error by 17×, an output clamp degrades Base by 5.7×, and a slack-aware fine-tune costs 29% more state error than a matched control while leaving Newton iterations unchanged.</p>\n<h4>Layers</h4>\n<p>GENCO's mean mismatch on IEEE 118 falls from 261 MW after the first of its 12 correction layers to 0.054 MW after the last. Newton iterations (to 10⁻⁶ MW) started from intermediate layers stay near 3 until layer 7 and then drop, and stopping after layer 9 saves 26% of inference for 0.12 extra iterations.</p>\n<h4>Teaching GENCO the base case (GENCO-Δ)</h4>\n<p>Plain Δ (base-case values written into the masked inputs) ended at about base-case quality, and one seed diverged. Residual Δ (a delta head initialised to zero on top of the base case) cuts N-1 state error from 0.054 to 0.022 and iterations to 10⁻² MW from 1.74 to 1.33, with no gain at 10⁻⁴ MW and a regression at N-5. Retraining on mixed N-1 to N-5 outages removes the regression and the N-1 gain with it, and the model ends at about released quality at every outage order. GENCO-Δ was run on IEEE 118 only.</p>\n<h4>What did not work</h4>\n<p>Error warnings from GENCO's embeddings (a 118-entry bus lookup explains R² 0.55 of the per-bus voltage error, the embeddings 0.58, a randomly initialised GENCO 0.52), per-bus bias correction, accepting GENCO with no Newton step, and convergence rescue (flat-start Newton converged on every IEEE 118 datakit scenario that solved, up to N-5).</p>\n<h4>Limitations</h4>\n<ul>\n<li>All safety evidence is empirical, on datakit scenarios. The 400 confirmation operating points share one load trajectory, so they are not independent draws.</li>\n<li>At 2,000 buses the pre-contingency start usually wins (GENCO Small). The grid-size trend compares one model size per grid.</li>\n<li>Timings come from Python on a shared laptop. A compiled solver would lower every break-even further.</li>\n<li>The 30 bundled scenarios per order in this console are not a sample of the test sets: they include the 8 hardest by GENCO mismatch, so "Screen a whole set" looks worse than the full-set results above.</li>\n</ul>\n\n<figure><img src=\"assets/figB_exchange_rate.png\" alt=\"figB_exchange_rate\" loading=\"lazy\"></figure>\n<p><em>Fig. 2. (a) Newton iterations from flat, DC, pre-contingency and GENCO starts; (b) paired GENCO minus pre-contingency difference, 95% CIs. Open dots: IEEE 118 seeds 1 and 42 on their own splits.</em></p>\n\n<figure><img src=\"assets/figA_workflow.png\" alt=\"figA_workflow\" loading=\"lazy\"></figure>\n<p><em>Fig. 3. The sequential policy. Either start feeds float64 Newton steps; after each step a calibrated bound on every monitored element decides accept or continue; after three steps the case goes to a full solve.</em></p>\n\n<figure><img src=\"assets/figC_equal_cost.png\" alt=\"figC_equal_cost\" loading=\"lazy\"></figure>\n<p><em>Fig. 4. Missed violating elements against factorizations per contingency, IEEE 118, four 100-load-scenario test sets. Lines: GENCO + k and pre-contingency + k Newton steps; stars: sequential policies. Hollow markers: zero-miss cells at their one-sided 95% Clopper–Pearson bound.</em></p>\n\n<figure><img src=\"assets/figF_genco_delta.png\" alt=\"figF_genco_delta\" loading=\"lazy\"></figure>\n<p><em>Fig. 5. GENCO-Δ on IEEE 118 Base: median state error (top) and Newton iterations to 10⁻² MW (bottom); mean ± SD over seeds 0/1/42. Purple bars: the pre-contingency state. Stars: residual Δ retrained on mixed N-1…N-5 outages. Crosses: the diverged plain-Δ seed, excluded from the mean.</em></p>\n"} |