LabourPhasePyomo module

author: young

AfoLogic.LabourPhasePyomo.crplab_precalcs(params, r_vals)

Call crop labour precalc functions.

Parameters:
  • params – dictionary which stores all arrays used to populate pyomo parameters.

  • report – dictionary which stores all report values.

AfoLogic.LabourPhasePyomo.f_mach_labour_anyone(model, q, s, p, z)

Calculate the total labour required by anyone for fertilising, spraying, seeding, harvest, preparation, packing and monitoring.

Used in global constraint (con_labour_anyone). See CorePyomo

AfoLogic.LabourPhasePyomo.f_mach_labour_perm(model, q, s, p5, z)

Calculate the total labour required by permanent staff for fertilising, spraying, seeding, harvest, preparation, packing and monitoring.

Used in global constraint (con_labour_perm). See CorePyomo