Versions Compared

Key

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

...


A single value modifier is a modifier which modifies only one value at one time step in a time series. The display which is used for single value modifiers is shown below.


The user can enter a value in the text box by entering a value and by clicking on the spiner box next to it. The value can also be adjusted by the slider bar on the right side of FEWS.
In the example above we see the display of the single value modifier WECHNG. The WECHNG mod sets the value of the snow water equivalent in a specific snow model at one point in time. Below the configuration of this modifier is shown.

Code Block
xml
xml
\\  {color:#0000ff}<{color}{color:#800000}singleValueModifier{color} {color:#ff0000}id{color}{color:#0000ff}="{color}wechng{color:#0000ff}"{color} {color:#ff0000}name{color}{color:#0000ff}="{color}WECHNG{color:#0000ff}">{color}
{color:#0000ff}<{color}{color:#800000}timeSeries{color}{color:#0000ff}>{color}
{color:#0000ff}<{color}{color:#800000}parameterId{color}{color:#0000ff}>{color}WECHNG{color:#0000ff}</{color}{color:#800000}parameterId{color}{color:#0000ff}>{color}
{color:#0000ff}</{color}{color:#800000}timeSeries{color}{color:#0000ff}>{color}
{color:#0000ff}<{color}{color:#800000}softLimits{color}{color:#0000ff}>{color}
{color:#0000ff}<{color}{color:#800000}maximumValue{color}{color:#0000ff}>{color}5{color:#0000ff}</{color}{color:#800000}maximumValue{color}{color:#0000ff}>{color}
{color:#0000ff}<{color}{color:#800000}minimumValue{color}{color:#0000ff}>{color}0{color:#0000ff}</{color}{color:#800000}minimumValue{color}{color:#0000ff}>{color}
{color:#0000ff}</{color}{color:#800000}softLimits{color}{color:#0000ff}>{color}
{color:#0000ff}<{color}{color:#800000}hardLimits{color}{color:#0000ff}>{color}
{color:#0000ff}<{color}{color:#800000}minimumValue{color}{color:#0000ff}>{color}0{color:#0000ff}</{color}{color:#800000}minimumValue{color}{color:#0000ff}>{color}
{color:#0000ff}</{color}{color:#800000}hardLimits{color}{color:#0000ff}>{color}
{color:#0000ff}<{color}{color:#800000}defaultTime{color}{color:#0000ff}>{color}start run{color:#0000ff}</{color}{color:#800000}defaultTime{color}{color:#0000ff}>{color}
{color:#0000ff}<{color}{color:#800000}defaultValue{color}{color:#0000ff}>{color}0{color:#0000ff}</{color}{color:#800000}defaultValue{color}{color:#0000ff}>{color}
{color:#0000ff}</{color}{color:#800000}singleValueModifier{color}{color:#0000ff}>{color}
<singleValueModifier id="wechng" name="WECHNG">
	<timeSeries>
		<parameterId>WECHNG</parameterId>
	</timeSeries>
	<softLimits>
		<maximumValue>5</maximumValue>
		<minimumValue>0</minimumValue>
	</softLimits>
	<hardLimits>
		<minimumValue>0</minimumValue>
	</hardLimits>
	<defaultTime>start run</defaultTime>
	<defaultValue>0</defaultValue>
</singleValueModifier>

First the First the id and name of the modifier is declared. The timeSeries-part identifies that this modifier can be applied to any time series which have the parameter WECHNG. The modifiers has some soft limits. These limits are used to limit the slider bar in the display. In this case the slider bar will start at 0 and end at 5. But these soft limits can be overruled by manually typing a value lower than zero or higher than 5. The hardLimits identify the upper and lower limit of the mod and they can not be overruled. This means that for this mod only the maximum value of the soft limit of 5 can be overruled. A single value modifier is only applied at one time step. By default this is set to the start of the run in this modifier. The default value is set to 0.

Constant value modifiers

Constant value modifiers are very similar to single value modifiers. But instead of modifying a single value at a particular point in time, they modify a time series over a period of time with a fixed value. Below the display of a constant value modifier is shown. Which is very similar to the display of single value modifier. Note however that this modifier has a start and an end time.
Image Removed
Below an example configuration of a constant value modifer is shown.
<constantValueModifier id="mfc" name="MFC">
<timeSeries>
<parameterId>MFC</parameterId>
</timeSeries>
<softLimits>
<maximumValue>10</maximumValue>
<minimumValue>0</minimumValue>
</softLimits>
<defaultStartTime>start run</defaultStartTime>
<defaultEndTime>end run</defaultEndTime>
<defaultValue>1</defaultValue>
</constantValueModifier>the display of single value modifier. Note however that this modifier has a start and an end time.
Image Added
Below an example configuration of a constant value modifer is shown.

Code Block
xml
xml

The only difference in the configuration of a constant value modifier and a single value modifier is that a default start- and endtime should be configured instead of default time.

...