spine-tools / Spine-Toolbox

Spine Toolbox is an open source Python package to manage data, scenarios and workflows for modelling and simulation. You can have your local workflow, but work as a team through version control and SQL databases.
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
69 stars 17 forks source link

Add notification or error to tool when SOME of the executions fail. #2118

Open ArttuTupala opened 1 year ago

ArttuTupala commented 1 year ago

Currently, when running multiple scenarios in the optimization tool, there is no visual indicator if some but not all of the scenarios fail. In the event log one can find a failure when scrolling, but the DAG is a success. User will only notice that there are no results for the failed scenarios. Only when all scenarios fail, it tells that the execution was a failure.

jkiviluo commented 1 year ago

I tried running two scenarios with FlexTool where one failed and another did not. The tool icon on FlexTool3 is marked with a red cross. So, not sure where the issue comes from and whether it replicates reliably.

Browsing the event log is not very handy though - we need some improvement there.

ptsavol commented 1 year ago

Just guessing here, but what might happen here is that if you run two scenarios and the first one fails and the second one succeeds, the success icon replaces the failure icon so only the success icon remains on screen.