Question

Comparison of two scenario

  • 19 April 2021
  • 4 replies
  • 48 views

Badge
  • Enthusiast
  • 9 replies

Hi All,

I want to compare two scenario for better understanding of output data. And i want to do it from WebUI.

Help me to built my Model with such capability. 

Thanks


4 replies

Badge

Hi @roy 

Were you able to get your model started with Gertjan’s suggestions?

No, 

It worked partially.

Please see my reply to @Gertjan .

Badge

There are different ways to do this and it depends a little on how you have setup your model. 

 

For example, if you are doing a simulation of a set of demand scenarios that you like to explore you could define a set of Scenarios and push the results of a scenario run, say MyResult(i,j), after each run into an output parameter that is indexed over the set of Scenarios, say allMyResults(s,i,j). You can then display the latter parameter in the WebUI. 
 

You can also, instead of adding the index, use the case save functionality and do a compare cases via the Data Manager. This functionality works out of the box and most widget are auto-extended with a case index (not all widgets). This could be a way to compare quickly although it has its limitations with respect to not having access to all individual results when wanting to do actions on the data. Best to explore if this works for you. See also: 

and

https://how-to.aimms.com/Articles/338/338-viewing-schedules-different-scenarios.html

 

 

 

Hi @Gertjan,

I faced a problem with this solution.

The link you shared it uses CurrentCaseSelection Set. But in the Start this Set is Empty. even if I load a Case (say Case1) as Active or create a new Case(and save it), it does not becoming an element of the set CurrentCaseSelection.   

 

 

Hi @roy 

Were you able to get your model started with Gertjan’s suggestions?

Userlevel 6
Badge +2

There are different ways to do this and it depends a little on how you have setup your model. 

 

For example, if you are doing a simulation of a set of demand scenarios that you like to explore you could define a set of Scenarios and push the results of a scenario run, say MyResult(i,j), after each run into an output parameter that is indexed over the set of Scenarios, say allMyResults(s,i,j). You can then display the latter parameter in the WebUI. 
 

You can also, instead of adding the index, use the case save functionality and do a compare cases via the Data Manager. This functionality works out of the box and most widget are auto-extended with a case index (not all widgets). This could be a way to compare quickly although it has its limitations with respect to not having access to all individual results when wanting to do actions on the data. Best to explore if this works for you. See also: 

and

https://how-to.aimms.com/Articles/338/338-viewing-schedules-different-scenarios.html

 

 

 

Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator