[BUG] Run pipeline: wrong generator scenario, undeclared time series changes, `copy_grid` and `base_reinforce` side effects
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start with the listed task entry points in edisgo/run/tasks/grid.py, analysis.py, and io.py, plus _resolve_extends in edisgo/run/config.py; use the named regression tests in tests/properties/test_properties_run.py to trace each failure. Check the task registration for the time series flags as well. Done means the regression tests pass and the worst_case preset matches the facade chain.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
setup_grid(import_generators=True)passesgenerator_scenario=Noneinstead of falling back toctx.scenario. The presetflex_opfrelies on it.apply_heat_pump_strategy(altersloads_active_power) andimport_overlying_grid_data(sets generator active power) are not registered withts_altering=True, so the validator allows them afterreactive_powerand Q stays stale.- Task
reinforcewithcopy_grid=Truereturns the unchanged input and discards the reinforced copy (docstring: "return it as a new instance"). base_reinforceresetsequipment_changesbut leavesgrid_expansion_costsof the base reinforcement (199.3 kEUR in test grid 1).- With an empty prior time index,
base_reinforcekeeps the 1970 worst-case time index and time series. Inflex_opf, later imports (heat pumps, DSM) then fetch data for 1970. - Task
savebuilds the flag path withdirectory + str→TypeErrorfor apathlib.Path. - A cyclic
extendsin the config is not detected; loading recurses untilRecursionError.
Where
edisgo/run/tasks/grid.py:22 task_setup_grid, edisgo/run/tasks/analysis.py:124 task_reinforce and :196 task_base_reinforce, edisgo/run/tasks/io.py:19 task_save, task registration of the flex and io tasks (ts_altering), edisgo/run/config.py:99 (_resolve_extends).
How to reproduce
Tests (strict xfail, added in #856), in tests/properties/test_properties_run.py:
test_setup_grid_imports_generators_of_run_scenariotest_tasks_altering_active_power_are_declared[apply_heat_pump_strategy|import_overlying_grid_data](runs the tasks and compares the time series before and after)test_reinforce_task_copy_grid_returns_reinforced_copyTestBaseReinforce::test_costs_consistent_with_reset_equipment_changesTestBaseReinforce::test_prior_time_index_is_restoredtest_save_task_accepts_pathTestConfigLoader::test_cyclic_extends_gives_clear_error
Passing: the preset worst_case gives the same result as the facade chain; loading the base artefact and reinforcing again gives no changes.
Related
#642 (fast test suite for run_edisgo), #773 (runner time step selection edge cases), #640.
- Lingua principale
- Python
- Stelle
- 48
- Fork
- 22
- Merge medio
- 1g 8h
- PR unite (30g)
- 37
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openego/eDisGo
-
area: database bug priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug correctness priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
[BUG] Spatial complexity reduction merges MV and LV buses when an LV grid has the ID of the MV gridApertabug correctness priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug correctness priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
OPF docs: explain where the curtailment request comes from and how versions 3 and 4 handle itApertaarea: opf documentation priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di openego/eDisGo
Issue simili
-
`destroy` sans terminal répond « Aborted. » au lieu de réclamer `--yes` comme `clean` et `reset`Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
stephrobert/dsoxlab#354 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
jasonacox/pypowerwall#472 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: DoubleMLRDDData accepts a score_col that is no data column (as in its docstring example); the running variable then becomes a covariate and RDFlex failsForse già presa @vrjdev l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DoubleML/doubleml-for-py#455 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Python mod.Box[T] annotation gets a false generic_arg edge that replaces the parameter_type one ('is' on tree-sitter nodes)Forse già presa @rohit-jsfreaky l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Graphify-Labs/graphify#5110 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
assafelovic/gpt-researcher#2277 ·
I maintainer di solito rispondono entro 10 giorni