You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

In deze paragraaf staat uitgelegd hoe gebruik gemaakt kan worden van de What-if functionaliteit binnen het Nationaal Water Model. 

Algemeen

With the What-if functionality in the NWM the user can interactively (via the GUI) change the model data sets, that means testing for example a new schematisation of the model. Within the current version what-if functionality is tested and implemented for ZW. In the follwoing section it will be described how to do it for the LHM model. However, similar steps have to be done to use what-if for other ZW models.

Use of What-if in ZW (without use of scenario.xml)

  • Place a zip-folder with the new data files at the server under D:\what_if_scenarios: These new files overwrite during the LHM prepossessing the existing files of the base schematisation. Do not use any spaces within the folder name! The mentioned zip-folder has to be at the same server, where the FSS is hosted which will run the LHM-workflow in combination with what-if scenario. Besides the new model data files also a README.txt or other informative files (e.g. description, name, date etc) can be stored here. To ensure that these files are also archived the filename extension must be .txt.

  • Go to OC (Operator Client) of the NWM
  • Open the What-if scenario display via Menu/Extra/What-If Scenario (or Ctrl + W, Tool symbol)
  • Make a new scenario (with button Nieuw scenario aanmaken..); the name of the scenario has to be the same as from the zip-folder (without extension) which was generated within the first step; if required set a new scenario description

  • Specify the scenario with tab 5:Properties
  • select from the File_path  drop-down menu the line D:\what_if_scenarios

  • save the scenario with the button Bewaar alles
  • with the button Beheren.. you can delete or modify the scenario
  • Start the LHM run
      • via Starten workflow display:
        • Specify task (base schematisation)
        • Specify what-if scenario via wat-als drop-down menu

      • via interactive forecasting display:
        • Specify task (base schematisation) in the interactive forecast display
        • Set task options (button Taak uitvoer opties)
        • Specify what-if scenario via wat-als drop-down menu



 

Use of What-if in ZW (with use of scenario.xml)

With help of the scenario.xml the user can provide a more flexible way of defining what-if scenarios. The steps are described in the following (just changes to the steps described above are explicitly mentioned):

  • Place a zip-folder with the new data files somewhere at the server
  • Prepare a scenario.xml on your local machine (e.g. ScenariosA.xml):
    • Set the scenario name (it can be different from the zip-folder name) under name
    • Set the scenario id (if the id is already used in the system a warning will occur during import) under id
    • Set the absolute path and name of the uploaded zip-folder under value

  • Import the scenario.xml via button Importeer... of the what-if display:
    • Go to tab 5:Properties and select from the File_path  drop-down menu the line with the new path and filename
    • save the scenario with the button Bewaar alles...
  • Use the scenario as mentioned above in your workflow



Overzicht volgorde LHM preprocessing stappen

De stappen die binnen de NWM component "LHM" achtereenvolgens worden uitgevoerd binnen het Delft-FEWS systeem zijn:

  1. Verwijderen van alle niet-gezipte bestanden en het daarmee leegmaken van de LHM modelomgeving.

  2. Uitpakken LHM modelbestanden.
  3. Importeren van model-states.

  4. Exporteren NDB chlorideconcentraties.

  5. Resampling KNMI OpenDap data.

  6. Draaien LHM preprocessing scripts met bijbehorende ini-file.

Hieronder zijn de eerste twee stappen verder uitgewerkt.

1. Verwijderen van alle niet-gezipte bestanden en het daarmee leegmaken van de LHM modelomgeving

De volgende bestanden en/of mappen worden verwijderd voordat een LHM simulatie wordt uitgevoerd zijn te vinden in dit bestand.

2. Uitpakken LHM modelbestanden

Het uitpakken van de LHM modelbestanden gebeurt in de volgorde:

  1. Modeldata.zip --> %ROOT_DIR%\tmp
  2. Preprocessing.zip --> %ROOT_DIR%
  3. Postprocessing.zip --> %ROOT_DIR%\postprocessing
  4. Script.zip --> %ROOT_DIR%
  5. Klimaat scenario ($climate$$climateyear$.zip) --> %ROOT_DIR%\tmp
  6. Socio-economisch scenario ($socioeconomic$$climateyear$-socecon.zip) --> %ROOT_DIR%\tmp
  7. S0, S1, S2, S3 ($measure$-$socioeconomic$$climateyear$.zip) --> %ROOT_DIR%\tmp

Voorbeeld van een specifiek scenario:

Modeldata.zip –> preprocessing.zip –> postprocessing.zip –> script.zip –> WH2050.zip –> Druk2050-socecon.zip –> S0-Druk2050.zip

 

 

 

  • No labels