Repository navigation
Integrate load shedding actions into the interface - #61
Merged
Merged
Conversation
- Add MIN_LOAD_SHEDDING configuration parameter across backend (ConfigRequest, recommender config) and frontend (settings modal recommender tab, useSettings hook, config persistence, session save/restore) - Compute per-load shedding details (shedded MW, load name, voltage level) by comparing load_p between N-1 and action observations in both _enrich_actions and simulate_manual_action - Add LoadSheddingDetail type and load_shedding_details field to ActionDetail - Display load shedding description "Load shedding of ZZ MWs on load XX at voltage level YY" with clickable VL link (click to zoom, double-click for SLD) - For load shedding actions, show VL badges instead of load name badges - Add network_service methods for resolving load-to-voltage-level mapping - Update standalone_interface.html with equivalent changes - Add tests for load shedding action card rendering and session serialization https://claude.ai/code/session_011jK2JYnTeSvHN64eXL8zTP
…system-wide ID trimming, and add LS filters to standalone interface
marota
pushed a commit
that referenced
this pull request
Apr 30, 2026
Reconciliation of section 2 (0.5.0): - Drop misattributed PRs that were actually pre-rebrand: save/reload (#49/#52), MW Start (#62), interaction-logging (#64), SLD highlights (#63), load shedding initial integration (#61). All now properly cited in section 1.5–1.6. - Disambiguate App.tsx refactor history: PR #56 (hooks, 2100 → 800, pre-rebrand) vs PR #74 (components, 1000 → 650, 0.5.0) vs PR #75 (memoization Phase 2, same LoC). - Add accurate 0.5.0 PRs: #66 (vectorization w/ benchmark table), #69/#70/#71 (UI polish), #72 (curtailment), #73 (loads_p/gens_p format + configurable MW), #74/#75 (App.tsx decomposition), #78 (PST tap re-simulation), #84/#86/#87/#90 (detachable tabs). - Add a recap table summarizing what's truly new in 0.5.0. Diagrams added (Mermaid, GitHub-rendered): - Gantt timeline of all 4 phases (top of doc). - High-level architecture (frontend / backend / data). - Two-step analysis sequence diagram (section 1.6). - App.tsx LoC evolution flow (section 2.4). - Backend mixin decomposition before/after PR #104/#106 (section 3). - PyPSA-EUR pipeline flowchart (section 4). https://claude.ai/code/session_01Pg7fuCUG2edfm5PyHS6SbN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MIN_LOAD_SHEDDINGconfiguration parameter to backend and frontend settings (recommender tab), with persistence to config.json and session save/restore_enrich_actionsandsimulate_manual_actionget_load_voltage_level/get_load_voltage_levels_bulktoNetworkServicefor resolving load-to-VL mappingstandalone_interface.htmlwith equivalent changesTest plan
tsc -b --noEmit)https://claude.ai/code/session_011jK2JYnTeSvHN64eXL8zTP