V 2.0.09

Changed plugin names to take advantage of new '.' syntax

V 2.0.0.8

Removed in-dialog help

Removed Perennial Crop Mix.

Allowed multiple Perennials.

V 2.0.0.7

Added help documentation. Minor fixes.

V 2.0.0.6

Added persistence

V 2.0.0.5

Changes to dialogs and underlying data structures in preparation for changes.

V 2.0.0.2

First version added to eWater repository.

Name of custom functions cleaned up


How to use

There are two components of the Functionality.

Overall Concept

The plugin works  by configuring a “Crop Table” for each water user. These are 'paired' together.

This Crop Table specifies the summer and winter usage of two crop mixes.

The Crop Mixes are assumed to be constant over time (each year has the same summer crop mix, for example).

In the paired water user (the water user connected to this crop table) the first crop for each season should be a proportion of the crop mix.

The custom function returns the area of crop mix to plant for that season.

Any subsequent crops for that season can plant a proportion of the first crop’s area.

Crop Table Plugin Dialog

The purpose of the dialog is to specify the usage of the two crop mixes (Summer and Winter).

To this end it has the user specify the season dates, the (seasonal) proportion of each crop in a crop mix and the summer and winter usage of each crop.

There is an “Autogenerate” tool to assist in preparing this data. This will also show the usage for perennials.

To bring up the dialog

Ensure the Plugin is loaded in Plugin Manager (Tools > Plugin Manager).

Click on Tools > Crop Table Generator.

This will bring up a dialog. The dialog has several parts.


Green (far left)

A list of water users that a crop table can be attached to. Clicking on a water user will bring up the crop table for that water user.

Red (top)

This gives the seasonal information. In order;

Purple (2nd from top)

The details on each crop.

The table here specifies the following information

At the bottom is an “Autogenerate” button. This will run a simulation of the crops with zero rainfall and the evaporation from the time series specified. Optionally it can save the time series from the simulation to a file as csv - once clicked the user will be asked to specify whether to save, and if so, where.

Blue (3rd from top)

This is the data on the crop mix. It should not be entered directly. Instead as the crop data is entered this will be updated.

In Situations where there is no data for a crop the numbers will be marked NaN. For example if there is no Winter Crop Mix the numbers for that crop mix will be NaN.

Orange (bottom)

These are the controls.

Crop Table Planting Decision Custom Function

To use the data in the crop table you will need to go into the water user.

For the first crop to be planted in each season;

Go to the Planting Decision.

We want to set the area.

This is the area underneath the area for underirrigation.

For subsequent crops in the same season the process is much easier. We only need to calculate the relative proportion of rop mix.



Troubleshooting

If your primary crop dies before your secondary crops are planted, then the planting function will be incorrect. It is possible to set a function to look “backwards” at what the area was on a given date.