Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General steps

When merging two separate configurations for two models in one region it is necessarry to go through the following 10 steps. It is best to start with the configuration of one of the two models to be merged and add one model to the configuration of the other model. The basic configuration files which are not going to be changed (like ModuleDescriptors, DisplayDescriptors, Parameters, etc) are already available and up to date (if not use the most recent version of the files). To simplify

...

  • Griddisplay.xml
  • Grids.xml
  • ScenarioEditor.xml
  • TimeSeriesDisplayConfig.xml
  • Branches.xml
  • Filters.xml
  • IdMapDescriptors.xml
  • ModuleInstanceSets.xml
  • Explorer.xml
  • Locations.xml
  • LocationSets.xml
  • ModuleInstanceDescriptors.xml
  • WorkflowDescriptors.xml
Info

This means that this the merge tool performs steps 1 to 9 (apart from the DisplayGroups) from the above list on the wiki page. The DisplayGroups xml file can be updated using the original Displays generation spreadsheet as provided as part of the configuration (in the ModuleDataSetfiles folder).

...

  • copy the IdMapFiles, MapLayerFiles, ModuleConfigFiles, ModuleDataSetFiles, ModuleParFiles, WorkFlowFiles and ColdStates of one of the two NGMS model configurations into the folder structure of the other NGMS model configuration
  • copy the model data (folder with model abbreviation) from the Modules folder into the Modules folder of the other model configuration.


Figure 1 1                                     Figure 2

Figure 1 shows the result when 4 models have been merged correctly into one Modules folder and Figure 2 shows the folder structure for 1 model only, before merging.

How to use the mergemodels tool?

Download the most recent mergemodels tool here (star) MergeModels Tool(star)

Change the input file (mergemodels.inp) to reflect the structure of the two configuration directories of the models to be merged. In this file, the first line must be the location of the configuration files of the first model to merge (referencing the Config folder). The second line in
this file is the location of the configuration files of the model you want to add to the first model (referencing the Config folder).

...

The next step is to check the merged configuration in a Stand Alone system of the region in question. Check if the NGMS Stand Alone application starts without errors and then run through the tests as described in the document 'UK Memo 080919 NGMS test scripts for
testing new model.pdf'.

...

Section