Calculation panel: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
Line 85: Line 85:
*[[Indicator]]s
*[[Indicator]]s
}}
}}
{{editor ui nav}}

Revision as of 17:18, 21 February 2023

The Calculation Panel helps you to manage the calculation time of your project. The Calculation Panel can be found by hovering with your mouse over the Refresh button, under the File menu tab in the top left corner.

The options in this panel will allow you to set up how indicators, panels and Overlays are being (re)calculated and provide an overview of the calculation time of some of the components in your project. For more guidelines on calculation performance see Troubleshooting calculation performance.

In the top of the panel, you can find information on the total amount of grid cells in your project. This amount of grid cells relates to the Grid size and influences the performance.

Auto-update indicators

The Auto-update option is by default enabled and ensures that whenever you make a change in the Editor, the indicators, panels and overlays will be recalculated immediately. When Auto-update is disabled, you will have to manually refresh the project after making any adjustment. You can refresh the project manually by choosing one of the available options; Scheduled Update (long running), Update Indicators or Reset Excel X-Queries. Clicking on the Auto-update button itself triggers the Update Indicators option.

Compare the three different Project Update states below.

Scheduled Update (long running)

Calculations are capped at a maximum calculation time of 30 minutes. This means that if a calculation takes longer than 30 minutes it reaches a "timeout" and calculates no further. This is to ensure fair use of the calculation capacity of the Tygron Platform between all customers.

When a calculation is expected to take longer than 30 minutes, it is possible to schedule a long running calculation. This means the Tygron Platform allocates specific calculation resources without a time limit, which should not hinder other calculations taking shorter amounts of time.

When scheduling a long running calculation, the user will be prompted whether and how to be alerted when the calculation completes. It's possible to be alerted via email, in which case an email is sent to the email address of the user, or via SMS, in which case an SMS text message will be sent to the user's registered phone number (or one entered at the time of scheduling). It is also possible to forgo an alert. In addition, opting to schedule a long running calculations will automatically put the session in Keep Alive mode. This means the Tygron Platform can be closed on the user's computer, and the Session will remain active, allowing a user to reconnect to the Session within a week.

Like with shorter calculations, if all calculation resources which allow long running calculations are already in use, the calculation remains queued until resources free up.

Update Indicators and Reset Excel X-Queries

Below an explanation of the difference between the two options:

Most of the time, in an Indicator Excelsheet X-Queries are used. If you have for example three areas in your project, an X-Query would be as follows:

  • SELECT....WHERE_AREA_IS_X

In the Tygron Platform this query is translated to the following three queries:

  • SELECT....WHERE_AREA_IS_0
  • SELECT....WHERE_AREA_IS_1
  • SELECT....WHERE_AREA_IS_2

When using Update Indicators, for example if you changed an attribute of one of these areas, the three queries are recalculated. If you choose Reset Excel X-Queries, the X-Query is again translated to queries. If you for example added a new area, in the Tygron Platform the X-Query is then translated to:

  • SELECT....WHERE_AREA_IS_0
  • SELECT....WHERE_AREA_IS_1
  • SELECT....WHERE_AREA_IS_2
  • SELECT....WHERE_AREA_IS_3

If you used Update Indicators in this case, the fourth area was not taken into account, since only the three queries would be recalculated again and the Tygron Platform would not translate the X-Query to other queries.

When to choose which option?

Choose Reset Excel X-Queries if the amount of areas or neighborhoods is changed (for example by adding or removing an area/neighborhood). Choose Update Indicators if the amount of areas or neighborhoods stays the same (for example if you only changed an attribute of an area or if you did not use X-Queries in your Excelsheet.

Using any one of these option affects all indicators, panels and grid Overlays.

Performance overview

Main article: Performance Overview
Performance overview panel

The performance overview shows an overview of the components in a project and their calculation time. If your project performance is slow, check the overview to see which component(s) could cause this.

GPU overview

The GPU cluster overview shows the different GPU clusters that are available for calculation and their status. If they are busy with calculating components of other projects of other users, it will be visible here. Also your own calculation jobs will be visible in the panel and the possibility to cancel your own calculation(s), by clicking on the cancel icon (see image). The GPU clusters where short is stated are used for short calculations (max 30 minutes). The other GPU clusers are available for Long running scheduled calculations.