...
Table of Contents |
---|
Introduction
A forecaster can modify a forecast with so-called Modifiers. Within Delft-FEWS there are 3 types of modifiers:
...
The modifiers.xml is used to define which modifier types are available within a Delft-FEWS configuration. The modifiers can be
created in the modifiers panel. TimeValue-modifiers can also be created in the plot display by graphically
editing a time series or by changing values in the table.
Concept
Modifiers play an important role in the concept of interactive forecasting. By using modifiers a forecaster can manually change time series, module parameters of location attributes.
After creating one or more modifiers the forecaster can run a workflow locally in IFD mode to verify the effect of the modifiers.
When a modifier is created it is initially only visible for the user who created the modifier. In this case the modifier is always colored red.
At an OC the modifier is made final when a workflow in which the modifier is used is scheduled to run at the server. At an SA the modifier is made final when a regular workflow is started in which
the modifier is used. When a modifier is made final the modifier will be colored green.
A modifier which is outside of the forecast period is colored grey. The forecast period is defined by the start of the selected state in the IFD and the selected forecast length.
Within Delft-FEWS there are 3 types of modifiers:
- location attribute modifiers,
- module parameter modifiers,
- time series modifiers,
Location attribute modifiers
Location attribute modifiers are used to change the value of a location attribute. When a modifier is applied to a location attribute the original value of the modifier will not change.
However when the value of location attribute is retrieved from the data store, the original value will be retrieved first. After that FEWS will apply the available modifiers to the location attribute.
The available and active modifiers will applied from old to new. This means that only the newest and active location attribute modifier will be effective.
Module parameter modifiers
Module parameter modifiers are used to modify module parameter files.
It is possible to create multiple module parameter modifiers for a single module parameter file.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?>
<parameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews/PI" xsi:schemaLocation="http://www.wldelft.nl/fews/PI http://fews.wldelft.nl/schemas/version1.0/pi-schemas/pi_modelparameters.xsd" version="1.5">
<group id="default" readonly="false" modified="false">
<parameter id="UHG_DURATION" name="UHG_DURATION">
<intValue>6</intValue>
</parameter>
<parameter id="UNIT" name="UNIT">
<stringValue>ENGLISH</stringValue>
</parameter>
<parameter id="UHG_INTERVAL" name="UHG_INTERVAL">
<intValue>6</intValue>
</parameter>
<parameter id="DRAINAGE_AREA" name="DRAINAGE_AREA">
<dblValue>3103.0</dblValue>
</parameter>
<parameter id="CONSTANT_BASE_FLOW" name="CONSTANT_BASE_FLOW">
<dblValue>111.0</dblValue>
</parameter>
<parameter id="UHG_ORDINATES" name="UHG_ORDINATES">
<table>
<columnTypes A="double"/>
<row A="7499.0"/>
<row A="16872.0"/>
<row A="29370.0"/>
<row A="39993.0"/>
<row A="48116.0"/>
<row A="43742.0"/>
<row A="38118.0"/>
<row A="31869.0"/>
<row A="24995.0"/>
<row A="18747.0"/>
<row A="13123.0"/>
<row A="8123.0"/>
<row A="5436.0"/>
<row A="3874.0"/>
<row A="2625.0"/>
<row A="1687.0"/>
<row A="1000.0"/>
<row A="500.0"/>
<row A="250.0"/>
<row A="62.0"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
</table>
</parameter>
</group>
<group id="default" readonly="false" modified="true">
<validPeriod>
<timeZone>0.0</timeZone>
<startDate date="2012-09-09" time="12:00:00"/>
<endDate date="2012-09-27" time="12:00:00"/>
</validPeriod>
<parameter id="UHG_DURATION" name="UHG_DURATION">
<intValue>6</intValue>
</parameter>
<parameter id="UNIT" name="UNIT">
<stringValue>ENGLISH</stringValue>
</parameter>
<parameter id="UHG_INTERVAL" name="UHG_INTERVAL">
<intValue>6</intValue>
</parameter>
<parameter id="DRAINAGE_AREA" name="DRAINAGE_AREA">
<dblValue>3103.0</dblValue>
</parameter>
<parameter id="CONSTANT_BASE_FLOW" name="CONSTANT_BASE_FLOW">
<dblValue>0.0</dblValue>
</parameter>
<parameter id="UHG_ORDINATES" name="UHG_ORDINATES">
<table>
<columnTypes A="double"/>
<row A="8666.18"/>
<row A="19498.05"/>
<row A="33941.3"/>
<row A="46217.72"/>
<row A="24331.23"/>
<row A="50550.24"/>
<row A="23027.725"/>
<row A="36829.26"/>
<row A="28885.35"/>
<row A="21664.88"/>
<row A="15165.53"/>
<row A="9387.31"/>
<row A="6282.09"/>
<row A="4476.97"/>
<row A="3033.57"/>
<row A="1949.57"/>
<row A="1155.65"/>
<row A="577.82"/>
<row A="288.91"/>
<row A="71.65"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
<row A="0.0"/>
</table>
</parameter>
</group>
</parameters> |
Config options which apply to all modifiers
...
By default, local modifiers are committed when the user starts a server run in which these modifiers are used. When this option is enabled the modifiers will be committed directly after the moment they are changed.
Location attribute modifiers
Currently there is only one type of modifier, the locationAttributeModifier, available to modify location attributes.
...
Note that panelLayout should always combined with the template section.
Module parameter modifiers
Module parameter modifiers can be used to modify module parameters. The most common usage is to modify the module parameters of a model directly but it is also possible to modify transformations with this modifier.
To modify the parameters of a transformation the transformation must have a module parameter file configured.
Module parameter modifiers
Module parameter modifiers are used to modify module parameter file which are used by a model. Currently there are two types available:
...