Personal tools

How to create a MOHID Land Project Step-by-Step

From MohidWiki

Revision as of 12:36, 20 March 2009 by Davidbrito (talk | contribs) (Drainage_Network data file)
Jump to: navigation, search

Creating a new GUI Project

  1. Run MOHID GUI (usually you can find it in the StartMenu->Programs->MOHID)
  2. Choose Menu Project and then New
  3. Name the project, the filename and give the project folder (usually in ../Aplica/MohidLand/[ApplicationName]/
  4. Insert a new simulation right clicking the project icon in the left, as shown in the Figure 1. The simulation aggregates model runs with the same topography.
  5. Define the simulation name (that you can easilly identify) and define MOHID Land radio button defined in Figure 2
  6. Insert a new run right clicking the simulation icon in the left, as shown in the Figure 3. The run is each model simulation.
  7. Define the run name (that you can easilly identify) and couple modules that you need and are not checked (e.g. vegetation) as seen in Figure 4.

Topography

Create a topography grid data

To create a topography file you will need:

  1. topography data. See ConvertToXYZ in NASA Topography.
  2. grid. See Grid and GenerateGrid pages.
  3. create the grid data with the topography data being interpolated to the grid. See Digital Terrain Creator.

Define Topography in GUI

The topography is defined for the simulation and is the same for all runs. As so, is defined in the simulation window.

  1. Click on the simulation name once to select it.
  2. Right click on the simulation name to show the menu
  3. Select <Properties>
  4. In the property window in grid data, browse for your topography grid data.


Model data file

Here you can:

  • edit simulation start and simulation end:
START                         : 2002 10 1 0 0 0
END                           : 2004 10 1 0 0 0
  • edit model timestep:
DT                            : 100.
  • use variable timestep to account for rain periods with higher gradients:
VARIABLEDT                    : 1
  • define maximum time step, if using variable timestep:
MAXDT                         : 3600.0

Atmosphere data file

Here you give atmosphere properties to force the model using the block:

<beginproperty>
NAME                    : precipitation
UNITS                   : mm
DESCRIPTION             : precipitation
...
<endproperty>

Properties may be entered as constant values, time series or HDF. Check Module Atmosphere for property info and Module FillMatrix for property keywords (e.g. evolution in time and space).

If you want to:

  • Create property timeseries files, follow Time Series
  • Create property HDF5 files from meteorological data (e.g. MM5), follow ConvertToHDF5
  • Create property HDF5 files from station time series data (precipitation, humidity, temperature, etc.), follow FillMatrix


Remarks

If you want to account for the exact amount of precipitation using a time serie or hdf file as input, then in property precipitation block choose:

NO_INTERPOLATION        : 1

In this way the precipitation in any time step is the one from the next available instant and so on, not being interpolated between timeserie or hdf instants.

Geometry data file

Here you can define your vetical coordinate. Use CARTESIANTOP as default. Define number of layers and their thickness.

<begindomain>
ID                      : 1
TYPE                    : CARTESIANTOP
LAYERS                  : 13
LAYERTHICKNESS          : 7 6 5 4 3 2 2 1 0.5 0.3 0.2 0.1 0.1
MIN_BOTTOM_THICKNESS    : 0.1
<enddomain>
MINIMUMDEPTH            : 0.1

Basin_Geometry data file

Basin data file

Drainage_Network data file

  • A drainage network file containing nodes and cross sections is needed
  • Please follow Module Drainage Network for more details.

Run_Off data file

  • A grid with Manning coefficients must be provided. One possible option is to associate this info with land use shape file. In this case can use MOHID GIS going to menu [Tools]->[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Manning.
  • Please follow Module Runoff for more details.


PorousMedia data file

  • A grid with Impermeability values (0 - completely permeable, 1 - impermeable) must be provided. One possible option is to associate this info with land use shape file. In this case can use MOHID GIS going to menu [Tools]->[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and Impermeability values.
  • The soil depth must be known. This is computed by the model from terrain altitude (topogra+hy) and soil bottom altitude. As so, a soil bottom grid is needed and it should be obtained from field data. If no data available soil depth (and soil bottom altitude, the effective grid needed) can be estimated from slope.
  • Please follow Module Porous Media for more details.


Vegetation data file

  • A vegetation grid must be provided. One possible option is to extract info from land use shape file. In this case can use MOHID GIS going to menu [Tools]->[Shape to Grid Data] and provide: i) the grid (model grid), ii) the land use shape file and iii) the corespondence between land use codes and vegetation ID.
  • Please follow Module Vegetation for more details.

Define time series output

To create time serie outputs create a .dat file and one block <BeginTimeSerie> <EndTimeSerie> for each location with the name and grid index to output:

DT_OUTPUT_TIME                :  3600
MAX_BUFFER_SIZE               :  10000

<BeginTimeSerie>
NAME                          : Outlet 
LOCALIZATION_I                :  24
LOCALIZATION_J                :  79
LOCALIZATION_K                :  13
<EndTimeSerie>

<BeginTimeSerie>
NAME                          : Ponte Zambujal
LOCALIZATION_I                :  72
LOCALIZATION_J                :  65
LOCALIZATION_K                :  13
<EndTimeSerie>

Then in each data file that you want time serie output (basin, runoff, drainage network, porous media, vegetation, atmosphere), point to the created file with the keyword:

TIME_SERIE_LOCATION    : ..\GeneralData\TimeSeries\GenericTimeSeries.dat

The output will be done in modules basin, runoff, drainage network, porous media for standard properties; for modules vegetation and atmosphere the output will be done for properties with the following keyword connected:

TIME_SERIE : 1

Check also in How to define time series outputs in MOHID for other details.