REMIND - REgional Model of INvestments and Development

3.7.0

created with goxygen 1.5.0

Agricultural costs (26_agCosts)

Description

This module calculates the costs for agricultural production which is exogenous to REMIND.

Interfaces

Interface plot missing!

Input

module inputs (A: costs | B: costs_trade | C: off)
  Description Unit A B C
pm_macCost
(tall, all_regi, all_enty)
abatement costs for all emissions subject to MACCs (type emiMacSector) \(T\$\) x
pm_pebiolc_costs_emu_preloop
(ttot, all_regi)
Bioenergy costs calculated with emulator using MAgPIE demand. For shift factor calculation \(T\$US\) x
sm_magpieIter Count the number of MAgPIE iterations, starting with zero x
sm_updateMagpieData Boolean defined in core/presolve indicating if MAgPIE is running in the current Nash iteration (1) or not (0) x

Output

module outputs
  Description Unit
pm_NXagr
(tall, all_regi)
Net agricultural exports
pm_totLUcosts_excl_costFuBio
(tall, all_regi)
Total landuse costs (agriculture, MAC, etc) excluding bioenergy. In standalone runs MAC costs are substituted by costs from the endogenous REMIND-MAC \(T\$US\)

Realizations

(A) costs

Agricultural production costs in REMIND consist of the following components: actual production costs (land conversion, crop cultivation, irrigation, technological change, …), bioenergy costs, cost for abating emissions accruing from agricultural activity (marginal abatement costs = MAC cost).

p26_totLUcosts_withMAC(ttot,regi) = p26_totLUcostLookup(ttot,regi,"%cm_LU_emi_scen%","%cm_rcp_scen%");

Land use emissions MAC cost In standalone runs land use MAC costs are calculated endogenously in REMIND. Since they are also included in the exogenous total landuse costs (p26_totLUcostLookup) they need to besubstracted from these total landuse costs. In coupled runs the land use MAC is deactivated in REMIND and MAC costs are included in the total land use costs that are transferred from MAgPIE.

if(sm_magpieIter gt 0,
  p26_macCostLu(ttot,regi) = 0;
);

Update landuse costs only and every time MAgPIE actually has run.

if(sm_updateMagpieData gt 0, 
  Execute_Loadpoint 'magpieData.gdx' p26_totLUcost_coupling;
  p26_totLUcosts_withMAC(ttot,regi) = p26_totLUcost_coupling(ttot,regi);
);

Total agricultural costs (excluding MAC costs) For standalone runs replace exogenous land use MAC cots (p26_macCostLu) with endogenous land use MAC costs (pm_macCost). Note: dont include mac costs for CO2luc, because they are already implicitly included in p26_totLUcosts_withMAC (and not in p26_macCostLu). In coupled runs these two components are zero and the original data from MAgPIE are used.

pm_totLUcosts_excl_costFuBio(ttot,regi) =  p26_totLUcosts_withMAC(ttot,regi) 
                                         - p26_macCostLu(ttot,regi) 
                                         + sum(enty$(emiMacMagpie(enty) AND (NOT emiMacMagpieCO2(enty))), pm_macCost(ttot,regi,enty))
                                         - pm_pebiolc_costs_emu_preloop(ttot,regi); !! Need to be substracted since they are also included in the total agricultural production costs

Bioenergy costs The costs for biomass production cannot be determined directly as individual costs in MAgPIE, but are included in the total land use costs (p26_totLUcosts_withMAC), which are exogenous (i.e., fixed) to REMIND. In REMIND, bioenergy costs (v30_pebiolc_costs) are calculated in the biomass module (30_biomass) as an integral under the price curve. The bioenergy costs included in the total land use costs are approximated in REMIND in the preloop (model_biopresolve_c) before the main solve by calculating this integral with the bioenergy demand from the same MAgPIE scenario from which the total costs are taken. The bioenergy costs calculated in this pre-step are subtracted as a fixed component (pm_pebiolc_costs_emu_preloop) during optimization (see above). The actual bioenergy costs (v30_pebiolc_costs) going into the budget equation are calculated during optimization using the endogenous bioenergy demand (also as an integral under the price curve).

Limitations There are no known limitations.

(B) costs_trade

Limitations There are no known limitations.

(C) off

Limitations There are no known limitations.

Definitions

Objects

module-internal objects (A: costs | B: costs_trade | C: off)
  Description Unit A B C
o_p26_macCostLu
(iteration, ttot, all_regi)
track p26_macCostLu across Nash iterations x
o_p26_totLUcosts_withMAC
(iteration, ttot, all_regi)
track p26_totLUcosts_withMAC across Nash iterations x
o_pm_totLUcosts_excl_costFuBio
(iteration, ttot, all_regi)
track pm_totLUcosts across Nash iterations x
p26_macCostLu
(tall, all_regi)
Land use emissions MAC cost \(T\$US\) x
p26_macCostLuLookup
(tall, all_regi, all_LU_emi_scen, all_rcp_scen)
land use emissions MAC cost from MAgPIE x
p26_totLUcostLookup
(tall, all_regi, all_LU_emi_scen, all_rcp_scen)
regional total landuse cost x
p26_totLUcost_coupling
(tall, all_regi)
Total landuse cost read from magpie.gdx in coupling \(T\$US\) x
p26_totLUcosts_withMAC
(tall, all_regi)
Total landuse costs including agricultural MAC costs (agriculture, bioenergy, MAC, etc) \(T\$US\) x

Sets

sets in use
  description
all_LU_emi_scen all emission baselines for CH4 and N2O land use emissions from MAgPIE
all_enty all types of quantities
all_rcp_scen all possible RCP scenarios
all_regi all regions
emiMacMagpie(all_enty) types of climate-relevant non-energy emissions with mac curve where baseline emissions come from MAgPIE only
emiMacMagpieCO2(all_enty) types of climate-relevant non-energy CO2 emissions with mac curve where baseline emissions come from MAgPIE only
enty(all_enty) all types of quantities
iteration iterator for main (Negishi/Nash) iterations
regi(all_regi) all regions used in the solution process
tall time index, each year from 1900 to 3000
ttot(tall) time index with spin-up, years between 1900 and 2150 with 5 to 20 years time steps

Authors

Franziska Piontek, David Klein

See Also

01_macro, 30_biomass, 80_optimization, core

References