Improvements to the Results Panel
The results panel is the 'operations centre' for analysing the results of a simulation. Until now, this panel showed the bar for navigating through time, the selector for the variable to display on the map for nodes and lines coloured by range, and the options for showing or hiding flow direction and variable values as labels on the map. Version 0.18 introduced the option to view instantaneous values or certain statistical values calculated over the whole simulation period. Version 0.19 of QGISRed rounds out the previous options with many new features.
The first is that time can now be displayed in various formats: elapsed from the start of the simulation, or as clock time from the time specified as the simulation start. In the first case, you can choose between showing continuous hours or hours grouped by day. In the second, you can choose between am/pm or 24-hour format. As for the time navigation bar, you can now step forward/backward one step at a time, or start an animation at a controlled speed with the option to loop indefinitely.
Another very important improvement is that you can now choose between viewing results at paced instants, according to the time interval set for reports, or showing results for every calculation instant, including the intermediate instants at which some change occurs. This is of great importance for knowing what happens at every moment, and improves on the results offered by EPANET and many commercial software packages. The intermediate instants can be cross-checked against those shown in the Status Report displayed on another tab of the same panel. Switching between paced instants and all instants, as well as showing instantaneous or statistical values, does not require resimulating.
The options for customising the results map are now numerous and are shown on a new tab accessible with the
button. On the one hand, it is possible to change the label font size and the number of decimal places shown for each magnitude. Labels can be shown in black or in the colour of the corresponding range in the legend. In addition, only the value can be shown, or also the element's ID. As for symbology, nodes can be shown with or without a border, and the size of nodes or the thickness of lines can be made proportional to the value of the magnitude. Since every symbol has a predefined default size, customisable from the Legend Editor, this size can be temporarily affected by a factor without changing its default values. The map background colour can also be changed, chosen from a palette. Finally, all these changes will remain linked to the project for future sessions, but can be restored to their default values at any time.
Another important improvement is the option to show, in a histogram, the distribution of the values of the chosen variable for nodes or lines at the current instant. The histogram matches the legend and can show the number of elements for each range in absolute or relative terms. A cumulative-values curve can also be overlaid for each value of the variable, expressed in absolute or relative terms. The chart can be expanded at any time into a resizable floating window, or collapsed back into the panel. The histogram updates whenever the time instant changes, for whichever options are chosen.
Finally, given how important it is to know the evolution of any variable over time, the option has been added to view, in the same panel, a simplified evolution curve for the chosen variable of nodes or lines, as an alternative to the fuller chart used to show evolution curves, which has many more options. This chart shows the evolution of the current variable for the chosen network element, which is highlighted on the map. The X axis shows time according to the chosen format, and a cursor moves along the curve as you move along the time bar. The simplified chart can only show one curve at a time, and it alternates with the histogram chart, occupying the same space, but it can be expanded into a floating window just like the histogram.
