PhasePyomo module

author: young

AfoLogic.PhasePyomo.crop_precalcs(params, r_vals)

Call crop precalc functions.

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

  • report – dictionary which stores all report values.

AfoLogic.PhasePyomo.f_phasesow_req(model, q, s, p7, k, l, z)

Calculate the seeding requirement for each rotation phase.

Used in global constraint (con_sow). See CorePyomo

AfoLogic.PhasePyomo.f_rotation_biomass(model, q, s, p7, k, l, z)

Calculate the total (kg) of biomass from the selected rotation phases.

Used in global constraint (con_biomass_transfer). See CorePyomo

AfoLogic.PhasePyomo.f_rotation_cost(model, q, s, p7, z)

Calculate the total cost of the selected rotation phases.

Used in objective. See CorePyomo

AfoLogic.PhasePyomo.f_rotation_product(model, q, s, p7, g, k, s2, z)

Calculate the total (kg) of each grain harvested from selected rotation phases.

Used in global constraint (con_grain_transfer). See CorePyomo

AfoLogic.PhasePyomo.f_rotation_wc(model, q, s, c0, p7, z)

Calculate the total wc of the selected rotation phases.

Used in global constraint (con_workingcap). See CorePyomo