...
- add sheet diff_sim_inp to your spreadsheet
- carry out changes in sheet 'runMF':
- change location set for import of QSRC_GW from file XXX_QSRC_GW_TimeSeries.xml from XXX_wells_all to XXX_wells_singles_and_childs
- add import of QSRC_GW from file XXX_QSRC_GW_TimeSeries_MultiLayer.xml for XXX_wells_parents
- check if QSRC_GW from file XXX_QSRC_GW_merged_MapStacks.xml is imported for the merged layer
- carry out changes in sheet 'interpolate':
- add interpolation of QSRC_GW from merged layer to location set 'XXX_parents_and_singles'
- change the interpolation of QSRC_GW for GWunits from locSet_in=XXX_wells_all to loc_ID=merged layer. Change ValType_in to grid
- carry out changes in sheet 'compare':
- add comparison of QSRC_GW created in 3. for location set 'XXX_parents_and_singles'
- run macro 'Write_diff_sim_inp_XMLfiles'
- run macro 'Write_runMF_XMLfiles' (make sure you run the macro 'remove' afterwards)
- run macro 'Write_interpolate_XMLfiles'
- run macro 'Write_compare_XMLfiles'
- Check the contents of the created files. It might be wise to validate with an XML-validation tool.
- Copy the files which are OK to your configuration --> \Config\ModuleConfigFiles
Step 3: Add new module instances to moduleinstance descriptor
add the new module diff_sim_inp instances (for all scenarios and models) to ModuleInstanceDescriptor.xml (in Config/RegionConfigFiles), see also example file ModuleInstanceDescriptors 4.01 default.xml
Step 4: Update display spreadsheet
For visualising 'wells running dry' adjustments had to be made in the display spreadsheet. You can look at the NGMS display generator spreadsheet as an example from where you can copy the things needed (take care that you adjust the model name, location name, etc...). Following things have to be done
- carry out changes in sheet 'GridDisplay':
- adjust the section for gw-abstractions (folder structure has changed, you now have separate folders for simulated values, input values and difference of simulated and input values (wells running dry)), all abstractions are displayed for location set XXX_wells_parents_and_singles, a new parameter has been introduced QSRC_GW.deficit
- carry out changes in sheet 'Filter':
- add QSRC_GW.deficit for modified and reference scenarios for location set XXX_wells_parents_and_singles
- carry out changes in sheet 'DisplayGroups_folder' in the groundwater abstractions section
- adjust folder structure according to NGMS display generator spreadsheet. level3 Default Scenarios
- level4 All scenarios (Input Values) => plot_QSRC_GW_ref_input => XXX_wells_all
- level4 All scenarios (Abstraction Deficit: sim - inp) => plot_QSRC_GW_ref_deficit => XXX_wells_parents_and_singles
- level3 Modified Scenarios
- level4 Historic (Simulated and Comparison: whatif - ref) => plot_QSRC_GW_whatif(Hist)_to_ref(Hist) => XXX_wells_all
- level4 Recent Actual (Simulated and Comparison: whatif - ref) => plot_QSRC_GW_whatif(RecAct)_to_ref(RecAct) => XXX_wells_all
- ...
- level4 All scenarios (Abstraction Deficit: sim - inp) => plot_QSRC_GW_whatif_deficit => XXX_wells_parents_and_singles# adjust folder structure according to NGMS display generator spreadsheet.
- adjust folder structure according to NGMS display generator spreadsheet. level3 Default Scenarios
- carry out changes in sheet 'DisplayGroups_plotdef' in the groundwater abstractions section => adjust / add plot definitions for gw abstractions:
- plot_QSRC_GW_ref_all:
- change id to plot_QSRC_GW_ref_input,
- change MODINSTSET to 'ALL_INPUT'
- add plot_QSRC_GW_ref_deficit
- subplot type is 'tss_scalar_ref_deficit',
- par_postfix is 'deficit',
- MODINSTSET is 'ALL_DEFICIT'
- add plot_QSRC_GW_whatif_deficit
- subplot type is 'tss_scalar_whatif_deficit',
- par_postfix is 'deficit',
- MODINSTSET is 'ALL_DEFICIT'
- plot_QSRC_GW_whatif(Scenario)_to_ref(Scenario)
- change MODINSTSET of 1.subplot to 'ALL_INTERPOLATE'
- change MODINSTSET of 2. subplot to 'ALL_compare'
- check the module instance sets, location sets and subplot type !!
- plot_QSRC_GW_ref_all:
- run macros
- write_GridDisplayXMLFiles
- write_FiltersXMLFiles
- write_DisplayGroupsXMLFiles
- check and validate the created files
- Copy the files which are OK to your configuration
- GridDisplay.xml --> \Config\DisplayConfigFiles
- Filters.xml --> \Config\RegionConfigFiles
- DisplayGroups.xml --> \Config\SystemConfigFiles
Step
...
5: Add new module instance sets
add the following module instance sets to moculeinstancesetsmoduleinstancesets.xml (in Config/RegionConfigFiles) for all relevant scenarios and models
...
- ALL_INPUT_ref(Scenario)
- Model_1_runMF_ref(Scenario)
- Model_2_runMF_ref(Scenario)
- ...
- ALL_INPUT_whatif(Scenario)
- Model_1_runMF_whatif(Scenario)
- Model_2_runMF_whatif(Scenario)
- ...
- ALL_INTERPOLATE_ref(Scenario)
- Model_1_interpolate_ref(Scenario)
- Model_2_interpolate_ref(Scenario)
- ...
- ALL_INTERPOLATE_ref(Scenario)
- Model_1_interpolate_whatif(Scenario)
- Model_2_interpolate_whatif(Scenario)
- ...
- ALL_DEFICIT_ref(Historic)
- Model_1_diff_sim_inp_ref(Scenario)
- Model_2_diff_sim_inp_ref(Scenario)
- ...
- ALL_DEFICIT_ref(Historic)
- Model_1_diff_sim_inp_whatif(Scenario)
- Model_2_diff_sim_inp_whatif(Scenario)
- ...
Step
...
6: Add new module instance to Workflows
- add module instance "XXX_diff_sim_inp_ref(Scenario)' to the specific workflows XXX_ref(Scenario) after module instance interpolate
- add module instance "XXX_diff_sim_inp_whatif(Scenario)' to the specific workflows XXX_modified_Scenario after module instance interpolate
see example files WMW_modified_Historic 4.99 default.xml and WMW_ref(Historic) 4.99 default.xml
Step
...
7: Update LocationSets.xml
- add location set XXX_wells_parents_and_singles containing the two location sets XXX_wells_parents and XXX_wells_singles
- Make sure that the order of the location sets in location set XXX_wells_parents is as follows (otherwise the total for the super parents will not be displayed):
1) XXX_wells_normal_parents
2) XXX_wells_super_parents - Make sure all locations which refer to super parents are childs or normal parents (no singles!)
- Make sure there are no child locations in the single location set !!!
- Make sure all single locations are listed in the single location set
- Skip this step for now (this step is in progress) "Update locations spreadsheet"
Step
...
8: Check xxx_global.properties
- Make sure that the global properties include the following line: USE_CURRENT_SIMULATED_WITH_COLD_STATE_SELECTION=true
!SKIP THIS STEP!
...
Step 9 Update Id Mapping
- comment the shut down activity in the GA run out for all scenarios
- run the model
- check for each scenario if the id's in WMW_QSRC_GW_TimeSeries_MultiLayer.xml and WMW_QSRC_GW_TimeSeries.xml in the toNGMS modules folder are the same as listed in the idmapping (Config/IdMapFiles), especially check the ordering of layers in the name of the super / normal parents
- if the id's are not the same you have to update the id mapping (see also pages 'HOW TO add a new module' #Step 4.8. Obtain configuration data via Module Adapter and Go to #Step 5.9. IdMaps for GW abstraction), therefore
- run the the xxx_prepare.but for each scenario-type in the modules directory
- populate the location worksheets as follows
- #**# copy the individual locations (id, x,y,z) as listed in XXX_GW_abstractions_Locations.xml
- paste into column H,I,J,K (starting at row 3)
- copy the parent locations (id, x,y,z) as listed in XXX_GW_abstractions_Locations_MultiLayer.xml
- paste into column B,C,D,E (starting at row 3)
- check that the format of z coordinatecomment the shut down activity in the GA run ou
- Create a backup with name XXX_LocationsResults_versionnumber.xls
- Run the macro 'create_XMLfiles'
- The macro creates XML-files in the directory of the data-spreadshee
- The macro overwrites existing files
- You can skip location types to be generated
- Check the contents of the id map files. It might be wise to validate with an XML-validation tool.
- Copy the id map files which are OK to your configuration --> \Config\IdMapfiles
- #**# copy the individual locations (id, x,y,z) as listed in XXX_GW_abstractions_Locations.xml
- enable the shut down activity in the GA run
...
Step 10 Update parameter file
As a new parameter has been introduced you have to update the parameter file, please copy the following file to your Config directory Config/RegionConfigFiles
Step 11 Carry out test run
After you have updated you configuration please carry out a test run (default and modified) and check if
...