SupFeedPyomo module¶
author: young
- AfoLogic.SupFeedPyomo.f_sup_asset(model, q, s, p7, z)¶
Calculate the total asset value of silos.
Used in global constraint (con_asset). See CorePyomo
- AfoLogic.SupFeedPyomo.f_sup_cost(model, q, s, p7, z)¶
Calculate the total cost of feeding the selected level of supplement.
Used in global constraint (con_profit). See CorePyomo
- AfoLogic.SupFeedPyomo.f_sup_dep(model, q, s, p7, z)¶
Calculate the total depreciation of silos and confinement infrastructure (confinement dep is 0 if confinement is not included).
Used in global constraint (con_dep). See CorePyomo
- AfoLogic.SupFeedPyomo.f_sup_labour(model, q, s, p5, z)¶
Calculate the total labour required for supplementary feeding.
Used in global constraint (con_labour_any). See CorePyomo
- AfoLogic.SupFeedPyomo.f_sup_me(model, q, s, p6, f, z)¶
Calculate the total energy provided to each nv pool from the selected amount of supplement.
Used in global constraint (con_me). See CorePyomo
- AfoLogic.SupFeedPyomo.f_sup_vol(model, q, s, p6, f, z)¶
Calculate the total volume required by each nv pool to consume the selected level of supplement.
Used in global constraint (con_vol). See CorePyomo
- AfoLogic.SupFeedPyomo.f_sup_wc(model, q, s, c0, p7, z)¶
Calculate the total wc of feeding the selected level of supplement.
Used in global constraint (con_workingcap). See CorePyomo
- AfoLogic.SupFeedPyomo.sup_precalcs(params, r_vals, nv)¶
Call crop labour precalc functions.
- Parameters:
params – dictionary which stores all arrays used to populate pyomo parameters.
report – dictionary which stores all report values.