Skip to content

Call graphs from eesyplan methods#479

Draft
paulapreuss wants to merge 8 commits into
mainfrom
feature/eesyplan-graphs
Draft

Call graphs from eesyplan methods#479
paulapreuss wants to merge 8 commits into
mainfrom
feature/eesyplan-graphs

Conversation

@paulapreuss
Copy link
Copy Markdown

@paulapreuss paulapreuss commented May 27, 2026

Goal

  • Save copy of datapackage to database to create enerysystem without having to build datapackage from scratch
  • Call graphs directly from eesyplan methods instead of openplan code

Notes:

  • Added datapackage field to Scenario instead of Simulation to not have to worry about if a simulation object already exists
  • Added argument store_database_record to to_jsonified_datapackage method instead of calling again with n_timestamps=0 to only build the datapackage once and strip the timeseries instead of building twice (once for simulation and once for db)
  • EnergySystem can be rebuilt from db datapackage after repopulating with Timeseries values
  • WIP state: Sankey diagram now works like this (renders) but does not display the correct values yet (probably something is different in the logic of rebuilding the flows?)

@paulapreuss paulapreuss force-pushed the feature/eesyplan-graphs branch from 8b96118 to db15e10 Compare May 28, 2026 08:44
@paulapreuss paulapreuss force-pushed the feature/eesyplan-graphs branch from db15e10 to e2e4a81 Compare May 28, 2026 11:50
@paulapreuss paulapreuss force-pushed the feature/eesyplan-graphs branch from e2e4a81 to 21a33ef Compare May 28, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant