ZEN-universe / ZEN-explorer

ZEN-explorer is the frontend of the ZEN-garden model
0 stars 0 forks source link

[Energy Balance] caching old data when overwriting solution #25

Closed jacob-mannhardt closed 1 month ago

jacob-mannhardt commented 1 month ago

After overwriting the solution, the energy balance still shows the cached data from previous runs.

Proposed fix: we check the creation/changing date of the scenarios.json file (or whatever file is used to identify a ZEN-garden solution on the platform). If it didn't change we can use the cached solution, otherwise calculate again

vinzenz-muser commented 1 month ago

This is fixed in version 0.0.8.