kanors-emr / Veda2.0-Installation

Veda2.0 is a data handling system for The Integrated MARKAL-EFOM System (TIMES) - a bottom-up optimization model for energy-environment systems
https://www.kanors-emr.org/
5 stars 1 forks source link

Solving a case with multiple timeslice definitions selected #29

Closed olejandro closed 9 months ago

olejandro commented 10 months ago

When a attempting to solve a case with multiple timeslice definitions selected (by accident), I've observed the following behaviour from Veda:

I think it is reasonable, that the no attempt is made to solve the model when multiple timeslice definitions are selected in a scenario group. It would be very helpful to warn the user about it though.

olejandro commented 10 months ago

Alternatively, one could use the scenario order to overwrite one definition with another and attempt to solve the model anyway...

akanudia commented 10 months ago

I won't be comfortable making all the assumptions needed to have a successful run in this case, but we can certainly issue a clear message. Thanks for testing this case.

@deepakgupta256

deepakgupta256 commented 9 months ago

We attempted to solve a case with Scenario group having TimeSlice definition in two Regular Scenarios and got the following detailed error message popup.

Did you not receive the messages outlined below? Or is your case different from what we are currently testing?

MultiTimeSlice1 MultiTimeSlice2

olejandro commented 9 months ago

Thanks for taking a look at it @deepakgupta256. I do not get the error message; also in my case it says "Completed" instead of "Completed with error". I use localhost version 3.0.2.

I am able to reproduce the behaviour (i.e. no error message and "Completed" instead of "Completed with error") on this model by adding A_SYS_SAD_1TS to NoMitigation group and solving No_Mitigation case.

akanudia commented 9 months ago

The message was inadvertently suppressed in some cases. The non-fatal error thrown due to missing TS def in SysSettings has also been addressed in version 3.0.3.