Created 01/03/2023 - Last updated 23/05/2024
IMPORTANT NOTE: It is highly recommended that you upgrade your APSIM Next Gen version to at least version 2023.2.7164.0 or later.
In this exercise you will observe the cycle of fertiliser nitrogen in a fallow situation; urea to ammonium, ammonium to nitrate and the loss of soil nitrate via denitrification. This simulation will introduce editing a simple Manager rule and demonstrate more advanced features of graphing simulation results.
Wheat example.Module3.weather nodebrowse buttonAU_Dalby (C:\Program Files\APSIM[Version]\Examples\WeatherFiles)

Clock node, change the starting date to 1/1/1989 and the end date to 31/12/1989

Heavy Clay soil from the Training toolboxSoil nodePercent full to 50 in the Heavy Clay's Water node.

ppm).
Make the depth equal to the entire soil profile (check Water node for the profile depth).

Fertilise on fixed dates management node to the field node. You can locate this by going to:
Field node or copy and paste it to the Field node.

Type of fertiliser to apply? to UreaN10-JanAmount of fertiliser to be applied (kg/ha) to 100In the Report node let set up the output variables:
[Clock].Today
[Weather].Rain
[Soil].SoilWater.Drainage
sum([Soil].SoilWater.ESW)
sum([Soil].NO3.kgha) as NO3Total
sum([Soil].NH4.kgha) as NH4Total
sum([Soil].Nutrient.DenitrifiedN) as Denitrification
In the Report events section remove existing event variables. Then add:
[Clock].EndOfDay
Run the simulation
Delete the current graph named Wheat Yield Time Series
Add another Graph node to the Nitrogen Cycle simulation node
Rename Graph to Nitrogen
Add a Series to Nitrogen graph
Rename Series to NO3 total
Series

Add another Series node to Nitrogen
Rename this Series to NH4 total
Series

Create a new graph with a series each for rain, sum([Soil].SoilWater.ESW), NO3Total, Denitrification.
[Clock].Today as the X axis variable.From this chart you can see that significant nitrogen is lost via denitrification when large amounts of nitrate are available in saturated soil conditions.

Congratulations on finishing the 3rd module!
Note: If you found any incorrect/outdated information in this tutorial, please let us know on GitHub by submitting an issue.