Versions Compared

Key

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

In Step 7 a ModuleConfigFile is produced which uses a PCRaster transformation. This PCRaster transformation is used for the following 3 steps:

  1. PCRaster determines the discharge of the tributaries; the flow of the branch rivers is substracted from the total surface water flow.
    only_Q_tributaries = Qflow * branches_grid;
  2. Sums the discharges of all upstream river cells
    sum_Q_tributaries = upstream(stream_directions, only_Q_tributaries);
  3. Make the map with discharges of all upstream river cells at the crossing points of rivers.
    Output = sum_Q_tributaries * cross_points;

This PCRaster tranformation needs input to be able to run and therefore To make the PCRaster calculation in NGMS the following xml files have to be created:
New xml files :

  • Module configuration files:

      ...

        • XXX^1^_interpolate_grid_to_branch_grid

      ...

        • XXX^1^_PCR_generate_branch_file

      ...

        • XXX^1^_QTRIB_ref(Historic)

      ...

      • workflow file:

          ...

            • XXX^1^_configuration_only
              1 = model abbreviation

          Modules directory:
          • Fixed:
           Ldd.map
           Strdir.map
           Scalar.map
          • fromNGMS:
           branch0000.000
          • toNGMS:
           brances_grid.map
           cross_points.map
           stream_directions.map

          ...