2.3.3. The Dynamic of the System

The general dynamic of the model is as follows:

	- 1.1. Create the jeminu.
	- 1.2. Create the different beles and initialize the bele (soil water amount).
	- 1.3. Create a pump and a pond, if any.
	- 1.4. Initialize the pond (water amount).
	- 1.5. Create a dictionary of crops and a dictionary of irrigation practices.
	- 1.6. Read the full climatic series.
	- 2.1. For each bele, manage the crop (check for sowing, harvesting and crop failure).
	- 2.1. On the jeminu, manage the irrigation.
		- 2.1.1. Check for beles that need irrigation.
		- 2.1.2. Manage priorities between beles.
		- 2.1.3. Provide irrigation if water is available.
	- 2.3. Update crop water stress on the different beles.
	- 2.4. Perform the water budget on the different objects (beles; pond, if any; and groundwater table)
	- 3.1. Write an output file (dump memory).
	- 3.2. Create graphs to analyze the scenario.
	- 3.3. Clean the memory and end-up the simulation.

#### *2.4. Modeling Approach*

The model was developed under VBA Excel© using an object modeling structure [36]. Graphic user interface was based on an Excel worksheet facilitating data validation and error checking. Each simulation creates a new workbook with simulated data and explanatory graphs.
