Water Coach application configuration

What

application_config.xml

Description

Configuration of the Water Coach application

schema location

application_config.xsd

In the application configuration, global settings for the Water Coach (fka FEWS Game) which are valid for all scenarios/scripts can be specified.

Schema definition

The structure of the XML-schema for the application configuration is as follows:

Explanation

The keys in the XML-schema are explained in the figure above. Some of the keys are explained in more detail here.
Note: when 'relative path' is mentioned, this is the relative path with respect to the location of the Water Coach executable (i.e. not the FEWS executable).

FEWS configuration

It is advisable to use a copy of the operational system for the Water Coach, to prevent any possible obstructions to operational activities. Also, some minor changes are needed in the FEWS configuration in order to use it with the Water Coach:
Note: for a more detailed description of the FEWS configuration files, please refer to the wiki pages of the Delft FEWS Configuration Guide.

Example

<?xml version="1.0" encoding="UTF-8"?>
   <config xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/watercoachschemas/version1.0/application_config.xsd">
      <name>Example of application configuration</name>
      <locale>EN</locale>
      <hideYear>false</hideYear>
      <fewsExecutable>..\FEWS_WaterCoach\bin\Fews_WC.exe</fewsExecutable>
      <fewsRegionDir>..\FEWS_WaterCoach\Fews_WC</fewsRegionDir>
      <fewsSystemTimeUpdateInMinutes>1</fewsSystemTimeUpdateInMinutes>
      <scenarioScriptDatabasePath>ScenarioScriptDatabase\Fews_WC</scenarioScriptDatabasePath>
      <fileAssociation extension="pdf">C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe</fileAssociation>
      <timeControl>
         <pause>true</pause>
         <next>false</next>
         <set>false</set>
         <fastForwardBackward>true</fastForwardBackward>
      </timeControl>
      <experienceLevel>
         <levels>Beginner;Expert</levels>
         <adjustLevel>false</adjustLevel>
      </experienceLevel>
      <fewsPiPortNumber>8100</fewsPiPortNumber>
   </config>