Versions Compared

Key

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


scrollbar


What

ratingCurves.xml

Description

Configuration for rating curves at specific locations

schema location

http://fews.wldelft.nl/schemas/version1.0/ratingCurves.xsd

Entry in ModuleDescriptors

<moduleDescriptor id="Transformation">
<description>General transformation Component</description>
<className>nl.wldelft.fews.system.plugin.transformation.TransformationController</className>
</moduleDescriptor>

Rating Curves Module Configuration (Obsolete since 2009)

The rating curves module is a standard file (i.e. it has a fixed name) which contains all the rating curves used in your system. A rating curve is referenced by the location id. I.e. each location has a specific rating curve for that point in the river. Furthermore a rating curve can have one or more periods for which it is valid. For each location there can be different rating curves that are valid for different times.

...

Code Block
<hydroMeteoFunction function="qhrelationtable" outputVariableId="Flow" useRatingCurve="true" ratingCurveType="LevelToFlow"/>
or
<hydroMeteoFunction function="simpleratingcurve" outputVariableId="Flow" useRatingCurve="true" ratingCurveType="LevelToFlow"/>
Rating curve


Figure 1: Overview of rating curve config file

location for which the rating is valid should be the same as in the locations.xml
ratingCurveType you can choose from either LevelToFlow or FlowToLevel
reversible if this option is set to "true" then both level to flow and flow to level calculations with be allowed
ValidPeriod allows you to enter a start and end date for which the rating is valid (e.g. a summer and winter rating). The dates and times can be specified with or without a time zone. Use e.g. 2008-06-20T11:33:00+05:00 for a time in time zone GMT+05:00. Use e.g. 2008-06-20T11:33:00Z for a time in GMT, where the Z means GMT. If a time is specified without a time zone, e.g. 2009-12-01T00:00:00, then the time is assumed to be in local time. Note: 2008-06-20 11:33:00 in time zone GMT+5:00 is physically the same time as 2008-06-20 06:33:00 in GMT.
correction see below
ratingCurveTable see below
ratingCurveEquation see below

correction (not yet implemented)


Figure 2: correction complex type

...

In Fews you should specify the a, b and c parameters and also a value of hmin, below which the backwater correction is not valid.

Rating Curve Table

ratingCurveTable this allows you to simply enter the pairs of q and h values.

Code Block
xml
xml
  </ratingCurve>
  <ratingCurve ratingCurveId="TheBigRiver">
    <location>
      <locationId>X1123</locationId>
    </location>
    <ratingCurveType>LevelToFlow</ratingCurveType>
    <reversible>true</reversible>
    <ratingCurveTable>
      <ratingCurveTableRecord flow="0.100" level="0.054"/>
      <ratingCurveTableRecord flow="0.500" level="0.155"/>
      <ratingCurveTableRecord flow="1.000" level="0.244"/>
      <ratingCurveTableRecord flow="1.479" level="0.317"/>
    </ratingCurveTable>
  </ratingCurve>
Rating Curve Equation

A rating curve equation can be defined per section of the rating curve using the lowerLevel and UpperLevel tags. The equation can be in the form of a power equation or a parabola. The form of the equation:

...