quintel / etmoses

Online decision support tool to create local energy situations for neighbourhoods, cities and regions with a time resolution of 15 minutes created and maintained by Quintel – Not maintained
https://moses.energytransitionmodel.com
MIT License
11 stars 3 forks source link

What is the last moment that a business case is calculated? #1482

Closed ChaelKruip closed 7 years ago

ChaelKruip commented 7 years ago

When you compare your current BC with the BC of another LES, how sure can you be that all changes have been taken into account in the BC of the other LES? Do you need to (re-)calculate the BC before you close your LES?

antw commented 7 years ago

Do you need to (re-)calculate the BC before you close your LES?

That's how it looks to me.

The DelayedJob which recomputes the business case is started when you try to view it, after having made a change. If you're changing business case A in one browser tab, and comparing business case B with A in another, I expect that the data for A will not be recalculated until you view that business case.

Changing this would means the comparison feature would have to poll for data (triggering and waiting for a new calculation to run), instead of expecting the data to be present already.

ChaelKruip commented 7 years ago

I expect that the data for A will not be recalculated until you view that business case.

But what if you never viewed it in the first place? Or if you viewed it and afterwards removed all your technologies etc.?

antw commented 7 years ago

But what if you never viewed it in the first place?

The comparison won't show you any data:

screen shot 2016-10-06 at 11 13 38

Or if you viewed it and afterwards removed all your technologies etc.?

The comparison data will be stale and won't reflect the changes made since the business case was last viewed/calculated.

The "comparison" drop-down does not trigger a recalculation of either business case; it will show the results of the most recent calculation. If changes have been made to the LES since that business case calculation, but the business case has not been viewed (in order to trigger the recalculation), then the data in the comparison is old.