File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/extensions/ams.js
ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UKPotatoes.h File Reference

UKPotatoes.h This file contains the headers for the Potatoes class
More...

Go to the source code of this file.

Classes

class  UKPotatoes
 UKPotatoes class
. More...
 

Macros

#define UKPOTATOES_BASE   45400
 
#define UK_POT_STUBBLE_HARROW   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 

Enumerations

enum  UKPotatoesToDo {
  uk_pot_start = 1, uk_pot_sleep_all_day = UKPOTATOES_BASE, uk_pot_stubble_harrow, uk_pot_winter_plough,
  uk_pot_ferti_p1, uk_pot_ferti_s1, uk_pot_spring_plough, uk_pot_ferti_p2,
  uk_pot_ferti_s2, uk_pot_bed_forming, uk_pot_spring_planting, uk_pot_ferti_p3,
  uk_pot_ferti_s3, uk_pot_ferti_p4, uk_pot_ferti_s4, uk_pot_hilling1,
  uk_pot_herbicide1, uk_pot_herbicide2, uk_pot_fungicide1, uk_pot_fungicide2,
  uk_pot_fungicide3, uk_pot_fungicide4, uk_pot_fungicide5, uk_pot_fungicide6,
  uk_pot_fungicide7, uk_pot_fungicide8, uk_pot_fungicide9, uk_pot_fungicide10,
  uk_pot_fungicide11, uk_pot_fungicide12, uk_pot_fungicide13, uk_pot_fungicide14,
  uk_pot_insecticide1, uk_pot_dessication1, uk_pot_dessication2, uk_pot_harvest,
  uk_pot_foobar
}
 

Detailed Description

UKPotatoes.h This file contains the headers for the Potatoes class

by Chris J. Topping and Adam McVeigh
Version of July 2021
All rights reserved.

Macro Definition Documentation

◆ UK_POT_STUBBLE_HARROW

#define UK_POT_STUBBLE_HARROW   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

◆ UKPOTATOES_BASE

#define UKPOTATOES_BASE   45400

Enumeration Type Documentation

◆ UKPotatoesToDo

Below is the list of things that a farmer can do if he is growing potatoes, at least following this basic plan. So all we have to do is figure out when to do the different things. Once we have done some kind of management, then an event is triggered and the fact that this particular management is done is registered with the particular polygon. This information is available for any ALMaSS components to inspect - e.g. animals & birds

Enumerator
uk_pot_start 
uk_pot_sleep_all_day 
uk_pot_stubble_harrow 
uk_pot_winter_plough 
uk_pot_ferti_p1 
uk_pot_ferti_s1 
uk_pot_spring_plough 
uk_pot_ferti_p2 
uk_pot_ferti_s2 
uk_pot_bed_forming 
uk_pot_spring_planting 
uk_pot_ferti_p3 
uk_pot_ferti_s3 
uk_pot_ferti_p4 
uk_pot_ferti_s4 
uk_pot_hilling1 
uk_pot_herbicide1 
uk_pot_herbicide2 
uk_pot_fungicide1 
uk_pot_fungicide2 
uk_pot_fungicide3 
uk_pot_fungicide4 
uk_pot_fungicide5 
uk_pot_fungicide6 
uk_pot_fungicide7 
uk_pot_fungicide8 
uk_pot_fungicide9 
uk_pot_fungicide10 
uk_pot_fungicide11 
uk_pot_fungicide12 
uk_pot_fungicide13 
uk_pot_fungicide14 
uk_pot_insecticide1 
uk_pot_dessication1 
uk_pot_dessication2 
uk_pot_harvest 
uk_pot_foobar 
32  {
33  uk_pot_start = 1, // Compulsory, must always be 1 (one).
35  uk_pot_stubble_harrow, // Stubble cultivation 100% September-October
36  uk_pot_winter_plough, // Winter plough 50% October-December
37  uk_pot_ferti_p1, // Slurry 100% March-April (if winter plough)
39  uk_pot_spring_plough, // Spring plough 50% March-April (if no winter plough)
40  uk_pot_ferti_p2, // NPK with sow 75% April
42  uk_pot_bed_forming, // Bed forming / Preseeding cultivation 100% April-May
43  uk_pot_spring_planting, // Planting 100% April-May
44  uk_pot_ferti_p3, // N 75% June
46  uk_pot_ferti_p4, // MG+S 25% June
48  uk_pot_hilling1, // Hilling 100% 2 weeks after planting
49  uk_pot_herbicide1, // Herbicide1 80% after Hilling
50  uk_pot_herbicide2, // Herbicide2 50% 2-4 weeks after Herbicide1
51  uk_pot_fungicide1, // Fungicide1 100% June 1-7
52  uk_pot_fungicide2, // Fungicide2 100% June 8-14
53  uk_pot_fungicide3, // Fungicide3 100% June 15-21
54  uk_pot_fungicide4, // Fungicide4 100% June 22-29
55  uk_pot_fungicide5, // Fungicide5 100% July 1-7
56  uk_pot_fungicide6, // Fungicide6 100% July 8-14
57  uk_pot_fungicide7, // Fungicide7 100% July 15-21
58  uk_pot_fungicide8, // Fungicide8 80% July 22-28
59  uk_pot_fungicide9, // Fungicide9 80% August 1-7
60  uk_pot_fungicide10, // Fungicide10 70% August 8-14
61  uk_pot_fungicide11, // Fungicide11 70% August 15-21
62  uk_pot_fungicide12, // Fungicide12 60% August 22-29
63  uk_pot_fungicide13, // Fungicide13 60% September 1-7
64  uk_pot_fungicide14, // Fungicide14 60% September 8-14
65  uk_pot_insecticide1, // Insecticide1 60% June
66  uk_pot_dessication1, // Dessication1 100% 14 days before Harvest
67  uk_pot_dessication2, // Dessication2 75% 4-6 days after Dessication 1
68  uk_pot_harvest, // Harvest 100% October
uk_pot_ferti_s2
Definition: UKPotatoes.h:41
uk_pot_fungicide8
Definition: UKPotatoes.h:58
uk_pot_fungicide2
Definition: UKPotatoes.h:52
uk_pot_ferti_s3
Definition: UKPotatoes.h:45
uk_pot_herbicide2
Definition: UKPotatoes.h:50
uk_pot_fungicide3
Definition: UKPotatoes.h:53
uk_pot_fungicide7
Definition: UKPotatoes.h:57
uk_pot_fungicide6
Definition: UKPotatoes.h:56
uk_pot_harvest
Definition: UKPotatoes.h:68
uk_pot_insecticide1
Definition: UKPotatoes.h:65
uk_pot_ferti_s4
Definition: UKPotatoes.h:47
uk_pot_fungicide10
Definition: UKPotatoes.h:60
uk_pot_ferti_p1
Definition: UKPotatoes.h:37
uk_pot_ferti_s1
Definition: UKPotatoes.h:38
uk_pot_ferti_p3
Definition: UKPotatoes.h:44
uk_pot_start
Definition: UKPotatoes.h:33
UKPOTATOES_BASE
#define UKPOTATOES_BASE
Definition: UKPotatoes.h:21
uk_pot_ferti_p2
Definition: UKPotatoes.h:40
UKPotatoesToDo
UKPotatoesToDo
Definition: UKPotatoes.h:32
uk_pot_dessication1
Definition: UKPotatoes.h:66
uk_pot_fungicide4
Definition: UKPotatoes.h:54
uk_pot_hilling1
Definition: UKPotatoes.h:48
uk_pot_fungicide1
Definition: UKPotatoes.h:51
uk_pot_dessication2
Definition: UKPotatoes.h:67
uk_pot_foobar
Definition: UKPotatoes.h:69
uk_pot_stubble_harrow
Definition: UKPotatoes.h:35
uk_pot_fungicide9
Definition: UKPotatoes.h:59
uk_pot_ferti_p4
Definition: UKPotatoes.h:46
uk_pot_fungicide5
Definition: UKPotatoes.h:55
uk_pot_spring_planting
Definition: UKPotatoes.h:43
uk_pot_winter_plough
Definition: UKPotatoes.h:36
uk_pot_bed_forming
Definition: UKPotatoes.h:42
uk_pot_fungicide14
Definition: UKPotatoes.h:64
uk_pot_fungicide11
Definition: UKPotatoes.h:61
uk_pot_sleep_all_day
Definition: UKPotatoes.h:34
uk_pot_fungicide13
Definition: UKPotatoes.h:63
uk_pot_fungicide12
Definition: UKPotatoes.h:62
uk_pot_spring_plough
Definition: UKPotatoes.h:39
uk_pot_herbicide1
Definition: UKPotatoes.h:49