Work in progress!
There a few calculations the system will need to perform in order to support Crops V2.0. The underlying schema and pre-populated values for crops can be found here:
...
Please be aware that all variables need to be normalized to the same unit system!
Attribute | Type | Units | Measure | Formula | Notes |
---|---|---|---|---|---|
Total Area | Calculated & overridable | Decimal | Area | Calculated and overridable when creating / editing a location of type area. | |
% of location | User entered | Decimal | Area | ≥ 0, ≤ 100 | |
Area Used | Calculated | Decimal | Area | For broadcast: Area_used = Total_Area * %_of_location |
Seeding Rate | From data & overridable | Decimal | Weight / Area | This is essentially the number of seeds needed to “saturate” a given area. In either kg / ha or lbs / ac. | |
Yield per area | From data | Decimal | Weight | Will be given in kg / m^2. May need to be converted to imperial for calculations. | |
Yield per plant | From data | Decimal | Weight | Will be given in kg. May need to be converted to imperial for calculations. | |
Average seed weight | From data | Decimal | Weight | Will be given in g. May need to be converted to imperial for calculations. | |
Estimated seed required | Calculated & overridable | Seed (Integer) or Weight (Decimal) | Seed or Weight | For broadcast: Estimated_seed_required (in weight) = area_used * seeding_rate Estimated_seed_required (in seeds) = area_used * seeding_rate * |
average_seed_weight |
For container: Estimated_seed_required (in weight) = #_of_containers * #_of_plants/container * average_seed_weight |
Estimated_seed_required (in seeds) = #_of_containers * #_of_plants/container For in ground: Estimated_seed_required (in weight) = #_of_plants * average_seed_weight |
Estimated_seed_required (in seeds) = #_of_plants For rows: Estimated_seed_required (in weight) = ((#_of_rows * length_of_rows) / plant_spacing) * average_seed_weight Estimated_seed_required (in seeds) = ((#_of_rows * length_of_ |
rows) / plant_spacing) For |
beds: Estimated_seed_required (in weight) = ((#_of_beds * #_of_rows_per_bed * bed_length) / plant_spacing) * average_seed_weight Estimated_seed_required (in seeds) = ((#_of_beds * #_of_rows_per_bed * bed_length) / plant_spacing) | |||||
# of plants | User input | Integer | 1 - 1,000,000 | ||
# of beds | User input | Integer | 1 - 1,000,000 | ||
# of rows in bed | User input | Integer | 1 - 1,000,000 | ||
# of rows | User input | Integer | 1 - 1,000,000 | ||
Length of row | User input | Decimal | Distance | ||
# of containers | User input | Integer | 1 - 1,000,000 | ||
# of plants / container | User input | Integer | 1 - 1,000,000 | ||
Planting depth | From data & overridable | Decimal | Distance | 1 - 1,000,000 | |
Plant spacing | From data & overridable | Decimal | Distance | 1 - 1,000,000 | |
Bed length | User input | Decimal | Distance | 1 - 1,000,000 | |
Bed width | User input | Decimal | Distance | 1 - 1,000,000 | |
Estimated yield | Calculated & overridable | Decimal | Weight | For broadcast: Estimated_yield = Area_used * yield_per_area For rows: Estimated_yield = ((#_of_rows * length_of_rows) / plant_spacing) * yield_per_plant For beds: Estimated_yield = ((#_of_beds * #_of_rows_per_bed * bed_length) / plant_spacing) * yield_per_plant For containers: Estimated_yield = #_of_containers * #_of_plants/container * yield_per_plant For individual plants: Estimated_yield = #_of_plants * yield_per_plant | For all cases, may need to convert from one unit system to another (e.g. kg → in) and/or normalize for a unit (e.g. ft → in). |