Skip to content

Cleanup and Restructure of Exported Results and Stored Networks #856

Description

@KathiEsterl

At the moment, several intermediate results are exported multiple times, sometimes with misleading naming/descriptions, creating a risk of confusion with final results.
The handling of networks within the etrago object also needs cleanup and clearer semantics.

Proposed restructuring of the results export:

results/
├── README.md
├── args.yml (or settings.yml?)
├── spatial_aggregation.json (busmap)
├── original_grid_topology/
├── premarket_optimization/
├── market_optimization/
├── grid_optimization/
├── temporal_disaggregation/
├── non_linear_powerflow/
└── disaggregation/

  • README.md: gives an overview of all exported files and folders, explains which step produced which outputs.
  • args.yml: stores the calculation settings corresponding to the run, alternative naming could be discussed if more suitable.
  • spatial_aggregation.json: Explicitly documents the spatial clustering mapping.
  • original_grid_topology/: contains the original grid topology export with one snapshot (former: clustering/)
  • premarket_optimization/
  • market_optimization/
  • grid_optimization/
  • temporal_disaggregation/
  • non_linear_powerflow/
  • disaggregation/

Folders should only contain PyPSA network CSV exports.
Naming and semantics should clearly distinguish intermediate from final results.

Additional TODOs:

  • etrago.network should always reference the latest/current network state.
  • etrago.market_model and etrago.grid_opti_model should remain available for final result comparison.
  • The import function should automatically determine and load the “most final” available network based on the calculation workflow/order above.
  • Evaluate whether NetCDF (.nc) files should be used instead of CSV table exports.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions