3.6.004

INDEX

INVENTORY

New field trace_featuregeom on element and polygon to enable or disable their movement according to the movement of its feature

A new field has been added to tables polygon and element which enables the user to attach or detach their geometry from a node/connec/gully/element. This fact enables or disables the movement of the polygon or element with the movement of the node and connec.

Modify edit triggers to check that inserted streetname exists on ext_streetaxis

Before saving changes when inserting or updating the street name of a feature, the existance of the street name will be checked by looking it into the table ext_streetaxis. This fact will keep the uniqueness of the street names into the data base.

OM

New button: Utils manager (mapzones manager & prices manager)

The mapzones’ manager and prices’ manager can now be found grouped together into a single button called “Utils manager”.

The Mapzones Manager has also been enhanced with a Config Button that eases the configuration of mapzones in a more friendly way. This tool is controlled by a new function (gw_fct_config_mapzones - 3270 ) and it consists of a wizard that builds the json string needed for configurating the graphconfig of the selected mapzone. The wizard asks the user some data to be filled in the blank spaces, which can be filled using the QGIS Selector tool and then added to the json string by clicking on the ADD Button. There is also a 'REMOVE' Button to rollback in the process. Eventually, when the json string is built, the graphconfig for the selected mapzone will be properly configured.

Add Visit Catalog and Parameter Catalog to Load Giswater Layers button

Now it is possible to load the Visit Catalog (table 'om_visit_cat') and the Parameter Catalog (table 'config_visit_parameter') using the Load Giswater Layer button. Both tables will be added to the layer group OM on its upper part.

EPA

EPA results manager: add "Archive" button

A new button to archive the EPA results has been added to the EPA Result Manager button. Once a record of the table is selected, the Archive button will store the results in specific tables of the data base and the result status will switch to 'ARCHIVED'. The purpose of this button is to enhance the performance of the table 'rpt_arc' due to its overload when many models where executed. The tables that store the archived results are the ones with the prefix "archived_" in the data base.

This function carries out the process of archiving the EPA Results once the user selects a result in the EPA Result Manager Button and clicks on the Archive button that was mentioned in the previous point.

New function (3268) gw_fct_pg2epa_setinitvalues that updates initlevel of inlets and tanks using values from selected simulation

This function enables the option of keeping the ending values of a simulation and use them as initial values for a new simulation.

Enhance views (vi_t_) to export timeseries, patterns and curves from project to inp file only when they are used

Timeseries, patterns and curves are not going to be exported unless they are used. This enhancement of performance happens when exporting the INP File.

MASTER

New button: Netscenario manager

A new button has been added into 'plan' toolbar under the name of "Net Scenario".

This button enables the user to work with planned mapzones (DMA and PRESSZONES) the same way as working with psectors or dscenarios. Mapzones from Netscenarios can be executed resulting in temporal graph layers and eventually work with them like in a test environment before commiting changes. Every Netscenario can take one or several mapzones. Netscenarios can be created either without containing any mapzone or containing a copy of the existing ones by using the Create Button in the main dialog.

Once created, the Netscenario will appear in the main dialog of the button. In case it contains mapzones, they can be loaded into the project by clicking on the Load Giswater Layers icon from the button. There is also a Selector button next to it in order to filter Netscenarios by its name.

Inside each Netscenario, there are many properties that can be customizable like happens in Mapzones Manager Button. These are, for example, configuring a DMA graphconfig with a wizard, creating new netscenarios, adding features to the Netscenario or deleting them. It is possible to add features by typing their feature id in the upper left box of the selected Netscenario or selecting the features with the QGIS Selector Tool.

As for the tab 'DMA', it works the same as in the Mapzones Manager. It is possible to add DMAs by selecting them with the QGIS Selector Tool or by copying an existing DMA. Also, the graphconfig value can be configurable using the Config button the way it happens in Mapzones Manager Button.

New tables: plan_netscenario, plan_netscenario_dma, plan_netscenario_presszone, plan_netscenario_arc, plan_netscenario_node, plan_netscenario_connec for storing data related to mapzone netscenario.

Several tables have been included into the data model to store data related to Netscenario. These are the following:

  • plan_netscenario: as the main table of the button

  • plan_netscenario_arc/node/connec/dma/presszone: each tab appearing inside every Netscenario has its associated table. There is one tab for each feature and also a tab of the mapzone which will be updated

  • v_edit_plan_netscenario_dma/presszone: these are the views for Netscenarios for Mapzones

  • v_plan_netscenario_node/arc/connec: these are the views for the features for each Netscenario

  • selector_netscenario: the Netscenario button has its own selector with which the user can filter by Netscenarios.

New function gw_fct_graphanalytics_mapzones_plan

This function controls the process of creating mapzones on Netscenarios in tab 'Dma'. It can be executed by clicking in the Create Button in the main layout of the Netscenario Button.

New function gw_fct_mapzones_dscenario_pattern

This function is used for inserting features and its patterns into demand scenarios based on values assigned to each netscenario mapzone. This can be done inside the Dscenario Manager Button.

New functions: gw_fct_create_netscenario_empty, gw_fct_create_netscenario_from_toc, gw_fct_duplicate_netscenario

These functions carry out the process of creating new Netscenarios. Netscenarios can be created from zero (gw_fct_create_netscenario_empty), from an existing Netscenario (gw_fct_duplicate_netscenario) or from a layer of the QGIS ToC (gw_fct_create_netscenario_from_toc).

New field is_waterbal on ext_rtc_hydrometer

This field is used for indicating the hydrometers that take part in water balance calculations. It is a boolean column where its True or False values indicate whether the hydrometers values are being used for water balance calculations or not.

ADMIN/SYSTEM

Bug fix: toolbox dialogs' titles now show function name

Now, the toolbox dialogs show the function name enabling the user to identify the function.

Last updated