User Tools

Site Tools


module_for_agricultural_supply_at_regional_level

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
module_for_agricultural_supply_at_regional_level [2020/03/31 07:12] – [Detailed discussion of the equations in the supply model] matszmodule_for_agricultural_supply_at_regional_level [2023/09/08 12:11] (current) – [Price depending crop yields and input coefficients] massfeller
Line 366: Line 366:
 \end{equation} \end{equation}
  
 +==== LULUCF in the supply model of CAPRI ====
 +
 +=== Introduction ===
 +
 +This technical paper explains how the most aggregate level of the CAPRI area allocation in the context of the supply models has been re-specified in the TRUSTEE ((https://www.trustee-project.eu/
 +)) and SUPREMA ((https://www.suprema-project.eu/)) projects and subsequently adopted in the CAPRI trunk. The former specification for land supply and transformation functions focused on agricultural land use and the transformation of agricultural land between arable land and grass land.
 +
 +During the subsequent period, CAPRI was increasingly adapted to analyses of greenhouse gas (GHG) emission studies. Examples include CAPRI-ECC, GGELS, ECAMPA-X, AgCLim50-X, (European Commission, Joint Research Centre), ClipByFood (Swedish Energy Board), SUPREMA (H2020). This vein of research is very likely to gain in importance in the future.
 +
 +In order to improve land related climate gas modelling within CAPRI, it was deemed appropriate to (1) extend the land use modelled to //all// available land in the EU (i.e. not only agriculture), and (2) to explicitly model //transitions// between land use classes. The pioneering work was carried out within the TRUSTEE project((https://www.trustee-project.eu/
 +)), but as always, an operational version emerged only after integrating efforts by researchers in several projects working at various institutions. Within the SUPREMA project another important change in the depiction of land use change was made: the Markov chain approach was replaced by prespecifying the total land transitions as average transitions per year times the projection. This paper focusses on the theory applied while data and technical implementation are only briefly covered.
 +
 +
 +=== A simple theory of land supply ===
 +
 +Recall the dual methodological changes attempted in this paper:
 +
 +  - Extend land use modelling to the entire land area, and
 +  - Explicitly model transitions between each pair of land uses
 +
 +In order to keep things as simple as possible, we opted for a theory where the decision of how much land to allocate to each use is independent of the explicit transitions between classes. This separation of decisions is simplifying the theoretical derivations, but also seem to have some support in theory: land use transitions show a good deal of stability over time. We would like to remind sceptics of this assumption that the converse is not implied: land transitions are certainly strongly depending on the land use requirements.
 +
 +The land supply and transformation model developed here is a bilevel optimization model. At the higher level (sometimes termed the //outer problem//), the land owner decides how much land to allocate to each aggregate land use based on the rents earned in each use and a set of parameters capturing the costs required in order to ensure that the land is available to the intended use. At the lower level (sometimes termed the //inner problem//), the transitions between land classes are modelled, with the condition that the total land needs of the outer problem are satisfied. The inner problem is modelled as a stochastic process involving no explicit economic model.
 +
 +For the outer problem, i.e. the land owner’s problem, we propose a quadratic objective function that maximizes the sum of land rents minus a dual cost function. The parameters of the dual cost function were specified in two steps:
 +
 +  - A matrix of land supply elasticities was estimated (by TRUSTEE partner Jean Saveur Ay, CESEAR, Dijon (JSA). This estimation might be updated in future work or replaced with other sources for elasticities.
 +  - The parameters of the dual cost function are specified so that the supply behaviour replicates the estimated elasticities as closely as possible while exactly replicating observed/estimated land use and land rents.
 +
 +The model is somewhat complicated by the fact that land use classes in CAPRI are defined somewhat differently compared to the UNFCCC accounting and also in the land transition data set. Therefore, some of the land classes used in the land transitions are different from the ones used in the land supply model. In particular, “Other land”, “Wetlands” and “Pasture” are differently defined. To reconcile the differences, we assumed constant shares of the intersections of the different sets, as explained below.
 +
 +=== Inner model – transitions ===
 +
 +A vector of supply of land of various types could result from a wide range of different transitions. The inner model determines the matrix of land transitions that is “most likely”. The concept of “most likely” is formalized by assuming a joint density function for the land transitions, based on the historically observed transitions. The model then is to find the transition matrix that maximizes the joint density function.
 +
 +== Gamma density ==
 +
 +Since each transition is non-negative, but in principle unlimited upwards, we opted for a gamma density function, that has the support $\lbrack 0,\infty\rbrack$. For those that cannot immediately recall what the gamma density function looks like, and as entertainment for those that can, Figure 1 shows the graph of the density function for different parameters, all derived from an assumed mode of “1” and different assumed ratios “mode/standard deviations” (that we called “acc” for “accuracy” in the figure).
 +
 +{{:wiki:gamma_dens_land.png?nolink|}}
 +
 +Figure 1: Gamma density graph for mode=1 and various standard deviations. “acc”="mode/standard deviation".
 +
 +Let $i$ denote land use classes in CAPRI definition, whereas //l// and //k// are land uses in UNFCCC classification. Let $\text{LU}_{k}$ be total land use after transitions and $\text{LU}_{l}^{\text{initial}}$ be land use before transitions. Furthermore, let $T_{\text{lk}}$ denote the transition of land from use $l$ to use $k$. Noting that it is simpler and fully equivalent to maximize a sum of logged densities than a product of densities, the likelihood maximization problem can be written (with //f// being the gamma density function)
 +
 +$${\max_{T_{\text{lk}}}{\log{\prod_{\text{lk}}^{}{f\left( T_{\text{lk}}|\alpha_{\text{lk}},\beta_{\text{lk}} \right)}}}}{= \max_{T_{\text{lk}}}{\sum_{\text{lk}}^{}{\log{f\left( T_{\text{lk}}|\alpha_{\text{lk}},\beta_{\text{lk}} \right)}}}}$$
 +
 +$$\Rightarrow \max_{T_{\text{lk}}}\sum_{\text{lk}}^{}\left\lbrack \left( \alpha_{\text{lk}} - 1 \right)\log T_{\text{lk}} - \beta_{\text{lk}}T_{\text{lk}} \right\rbrack$$
 +
 +subject to
 +
 +$$\text{LU}_{k} - \sum_{l}^{}T_{\text{lk}} = 0 \; \left\lbrack \tau_{k} \right\rbrack$$
 +
 +$$\text{LU}_{l}^{\text{initial}} - \sum_{k}^{}T_{\text{lk}} = 0\;\left\lbrack \tau_{l}^{\text{initial}} \right\rbrack$$
 +
 +$$\text{LU}_{k} - \sum_{i}^{}{\text{shar}e_{\text{ki}}\text{LEV}L_{i}} = 0$$
 +
 +The last equation is needed to convert land use in UNFCCC classification to land use in CAPRI classification, using a fixed linear transformation matrix $\text{shar}e_{\text{ki}}$. This discrepancy between land class accounts will be expanded on in a subsequent section. Forming the Lagrangian function and taking the derivatives with respect to land transitions gives the following first-order optimality conditions:
 +
 +$$\ \left( \alpha_{\text{lk}} - 1 \right)T_{\text{lk}}^{- 1} - \beta_{\text{lk}} + \tau_{k}^{} + \tau_{l}^{\text{initial}} = 0$$
 +
 +The parameters $\alpha$ and $\beta$ of the gamma density function were computed by assuming that (i) the observed transitions are the mode of the density, and (ii) the standard deviation equals the mode. Then the parameters are obtained by solving the following quadratic system:
 +
 +$$\text{mode} = \frac{\alpha - 1}{\beta}$$
 +
 +$$\text{variance} = \frac{\alpha}{\beta^{2}}$$
 +
 +== Annual transitions via Marcov chain in basic model ==
 +
 +The implementation in CAPRI differs from the above general framework in that it explicitly identifies the //annual// transitions in year t $T_{\text{lk}}^{t}$ from the initial $\text{LU}_{l}^{\text{initial}}$ land use to the final land use $\text{LU}_{k}$. This is necessary to identify the annual carbon effects occurring only in the final year in order to add them to the current GHG emissions, say from mineral fertiliser application in the final simulation year. If the initial year is the base year = 2008 and projection is for 2030, then the carbon effects related to the change from the 2008 $\text{LU}_{l}^{\text{initial}}$ to the final land use $\text{LU}_{k}$ (=$T_{\text{lk}}$in the above notation, without time index) refer to a period of 22 years that cannot reasonably be aggregated with the “running” non-CO2 effects from the final year 2030. Furthermore the historical time series used to determine the mode of the gamma density for the transitions also refer to annual transitions.
 +
 +Initially the problem to link total to annual transitions has been solved by assuming a linear time path from the initial to the final period, but this was criticised as being an inconsistent time path (by FW). Ultimately the time path has been computed therefore in the supply model in line with a static Markov chain with constant probabilities $P_{\text{lk}}$ such that both land use $\text{LU}_{l}^{t}$ as well as transitions $T_{\text{lk}}^{t}$ in absolute ha require a time index (e_luOverTime in supply_model.gms).
 +
 +$$\text{LU}_{k}^{t} - \sum_{l}^{}{P_{\text{lk}}\text{LU}_{l}^{t - 1}} = 0\ ,\ t = \{ 1,\ldots s\}$$
 +
 +Where $\text{LU}_{k}^{s}$ is the final land use in the simulation year s and $\text{LU}_{k}^{0} = \text{LU}_{k}^{\text{iniital}}$ is the initial land use. The transitions in ha in any year may be recovered from previous years land use and the annual (and constant) transition probabilities (e_LUCfromMatrix in supply_model.gms).
 +
 +$$T_{\text{lk}}^{t} = P_{\text{lk}}*\text{LU}_{l}^{t - 1}$$
 +
 +The absolute transitions may enter the carbon accounting (ignored here) and if we substitute the last period’s transitions we are back to the condition for consistent land balancing in the final period from above:
 +
 +$$\text{LU}_{k}^{s} = \sum_{l}^{}{P_{\text{lk}}\text{LU}_{l}^{s - 1}} = \sum_{l}^{}T_{\text{lk}}^{s}$$
 +
 +When using the transition probabilities in the consistency condition for initial land use we obtain
 +
 +$$\text{LU}_{l}^{\text{initial}} - \sum_{k}^{}T_{\text{lk}}^{1} = 0$$
 +
 +$$\Longleftrightarrow \text{LU}_{l}^{\text{initial}} = \sum_{k}^{}{P_{\text{lk}}^{}\text{LU}}_{l}^{\text{iniital}}$$
 +
 +$$\Leftrightarrow 1 = \sum_{k}^{}P_{\text{lk}}$$
 +
 +So the simple condition is that probabilities have to add up to one (e_addUpTransMatrix in supply_model.gms). 
 +
 +== Annual transitions if SUPREMA is active ==
 +
 +As the use of the Marcov-chain approach allows the annual transitions to be explicit model variables that could be used to compute annual carbon effects but leads to computational limitations especially in the market model a new approach was developed under SUPREMA (i.e. if %supremaSup% == on) by re-specifying the total land transitions as average transitions per year times the projection horizon and by considering for the remaining class without land use change (on the diagonal of the land transition matrix) only the annual carbon effects per ha, relevant for the case of gains via forest management.
 +
 +The new accounting in the CAPRI global supply model may be explained as follows, starting from a calculation of the total GHG effects G over horizon h = t-s from total land transitions L<sub>lk</sub> and carbon effects per ha for the whole period e<sub>lk</sub>:
 +
 +$$G = Γ*h = \sum_{i,l}^{}{e_{\text{il}}^{}\text{L}}_{il}^{}$$
 +
 +Where Γ collects the annual GHG effects that correspond to the total GHG effects divided by the time horizon G / h. These annual effects may be calculated as based on average annual transitions and annual effects for the remaining class as follows:
 +
 +$$Γ= \sum_{i,l}^{}{e_{\text{il}}^{}\text{L}}_{il}^{}/h = \sum_{i≠l}^{}{e_{\text{il}}^{}\text{Λ}}_{il}^{}
 ++ \sum_{i}^{}{ε_{\text{ii}}^{}\text{L}}_{ii}^{} $$
 +
 +Where Λ<sub>il</sub> = L<sub>il</sub> / h is the average land use change per year and ε<sub>ii</sub> is the annual carbon effect on a remaining class (relevant might be an annual increase due to growing forests while this will be zero for most effects based on IPCC default assumptions).
 +
 +Using these average annual transitions for true (off-diagonal) LUC we may compute the final classes as follows:
 +
 +$$ \text{LU}_{k,t} = \sum_{l}^{}{L_{\text{lk}}^{}\text{}}_{}^{} = \sum_{l≠k}^{}{Λ_{\text{lk}}^{}*h +\text{LU}_{kk}\text{}}_{}^{}$$
 +
 +While adding up of shares (or probabilities) of LUC from class I to k over all receiving classes k continues to hold as stated above. It should be highlighted that the land use accounting implemented under SUPREMA avoids the need to explicitly trace the annual transitions in the form of a Markov chain and thereby economised on equations and variables.
 +
 +
 +
 +=== Outer model – land supply ===
 +The outer problem is defined as a maximization of the sum of land rents minus a quadratic cost term, subject to the first order optimality conditions of the inner problem:
 +
 +$$\max{\sum_{i}^{}{\text{LEV}L_{i}r_{i}} - \sum_{i}^{}{\text{LEV}L_{i}c_{i}} - \frac{1}{2}\sum_{\text{ij}}^{}{\text{LEV}L_{i}D_{\text{ij}}\text{LEV}L_{j}}}$$
 +
 +subject to,
 +
 +$$\text{LU}_{k} - \sum_{i}^{}{\text{shar}e_{\text{ki}}\text{LEV}L_{i}} = 0$$
 +
 +$$\text{LU}_{k} - \sum_{l}^{}T_{\text{lk}} = 0\;\left\lbrack \tau_{k} \right\rbrack$$
 +
 +$$\text{LU}_{l}^{\text{initial}} - \sum_{k}^{}T_{\text{lk}} = 0\;\left\lbrack \tau_{l}^{\text{initial}} \right\rbrack$$
 +
 +$$\ \left( \alpha_{\text{lk}} - 1 \right)T_{\text{lk}}^{- 1} - \beta_{\text{lk}} + \tau_{k}^{} + \tau_{l}^{\text{initial}} = 0$$
 +
 +The parameters of the inner model **α** and **β// //**may be determined as explained in the previous sections. For the outer model, we need to define the parameters **c** and **D**. We have a single data point of land use and land rent for each land use class. Since we have, for $N$ land classes, $N + N(N - 1)/2$ parameters, but only $N$ price-quantity pairs (one data point for each land class). This means that without any additional information, we could e.g. calibrate the model exactly by computing the **c** parameter, but have no information left for defining **D**//.// However, we have at our disposal prior estimates of the regional matrices of land supply elasticities that may be used to define prior densities for the elasticity matrix implied jointly by the **c** and **D** parameters and the inner problem. Another way of expressing this is that we compute a meta parameter matrix $\mathbf{\eta}\left( \mathbf{c},\mathbf{D},\mathbf{L}\mathbf{U}^{\text{initial}} \right)$ that is a function of the real parameters, and use the prior elasticity matrix as a prior for this meta parameter. If cast in this way, the problem becomes a Bayesian econometric estimation.
 +
 +There are a few methodological and numerical challenges to overcome. In particular, we need to (i) analytically derive $\mathbf{\eta}\left( \mathbf{c},\mathbf{D},\mathbf{L}\mathbf{U}^{\text{initial}} \right)$, and (ii) ensure that the resulting model has the appropriate curvature to ensure a unique interior solution – anything else would result in a rather useless model. We start by simplifying the problem by observing that all the constraints (the first order conditions of the inner problem) can be replaced with an ordinary land constraint:
 +
 +$$\sum_{i}^{}{\text{LEV}L_{i}} - \sum_{l}^{}{LU_{l}^{\text{initial}}} = 0$$
 +
 +Note that the second sum is a constant. This simplification is based on the observation that the land transitions don’t appear in the objective function of the outer problem, so that all solutions to the inner problems are equivalent from the perspective of the outer problem, and that any land use vector that preserves the initial land endowment is a feasible solution to the inner problem.
 +
 +Next, we formulate the first order condition (FOC) of the modified outer problem to obtain land use as an implicit function of the parameters, $F\left( LEVL,c,D,LU^{\text{initial}},r \right) = 0$. We can then use the implicit function theorem to compute the derivative of land supply $\text{LEV}L_{i}$ with respect to land rent $r_{j}$, which in turn can be used to define the elasticity matrix $\mathbf{\eta}$.
 +
 +The first order conditions, and the implicit function, become
 +
 +$$F\left( LEVL,\lambda,c,D,LU^{\text{initial}},r \right) = \begin{bmatrix}
 +\frac{\partial\mathcal{L}}{\partial LEVL_{i}} = & r_{i} - c_{i} - \sum_{j}^{}{D_{\text{ij}}\text{LEV}L_{j}} - \lambda & = 0 \\
 +\frac{\partial\mathcal{L}}{\partial\lambda} = & \sum_{i}^{}{\text{LEV}L_{i}} - \sum_{l}^{}{LU_{l}^{\text{initial}}} & = 0 \\
 +\end{bmatrix}$$
 +
 +In order to apply the implicit function theorem((Recall that the implicit function theorem states that if F(x,p) = 0, then dx/dp = -[dF/dx]<sup>-1</sup>[dF/dp]
 +)) we need to differentiate the FOC once w.r.t. the variables $\text{LEV}L_{i}$ and $\lambda$ and once with respect to the parameter of interest, $r_{j}$, invert the former and take the negative of the matrix product. If (currently) irrelevant parameter are omitted, the following matrix of $(N + 1) \times (N + 1)$ is obtained (the “+1” is the uninteresting derivative of total land rent $\lambda$ with respect to individual land class rent $r_{i}$)
 +
 +$$\left\lbrack \frac{\partial LEVL}{\partial r} \right\rbrack = - \left\lbrack D_{LEVL,\lambda}F(LEVL,\lambda,r) \right\rbrack^{- 1}D_{r}F(LEVL,\lambda,r)$$
 +
 +$$\begin{bmatrix}
 +\frac{\partial LEVL}{\partial r} \\
 +\frac{\partial\lambda}{\partial r} \\
 +\end{bmatrix} = - \begin{bmatrix}
 +\frac{\partial F}{\partial LEVL} & \frac{\partial F}{\partial\lambda} \\
 +\end{bmatrix}\left\lbrack \frac{\partial F}{\partial r} \right\rbrack$$
 +
 +Carrying out the differentiation specifically for land rent //r<sub>j</sub>//, we obtain:
 +
 +$$\begin{bmatrix}
 +\frac{\partial LEVL_{i}}{\partial r_{j}} \\
 +\frac{\partial\lambda}{\partial r_{j}} \\
 +\end{bmatrix} = - \begin{bmatrix}
 +\left\lbrack {- D}_{\text{ij}} \right\rbrack & - 1 \\
 + - 1' & 0 \\
 +\end{bmatrix}^{- 1}\begin{bmatrix}
 +I \\
 +0 \\
 +\end{bmatrix}$$
 +
 +Discarding the last row of the resulting $(N + 1) \times N$ matrix finally lets us compute the elasticity as
 +
 +$$\left\lbrack \eta_{\text{ij}} \right\rbrack = \left\lbrack \frac{\partial LEVL_{i}}{\partial r_{j}} \right\rbrack\left\lbrack \frac{r_{j}}{\text{LEV}L_{i}} \right\rbrack$$
 +
 +In the estimation, we assumed that the prior elasticity matrix is the mode of a density where each entry were independently distributed. Furthermore, the off-diagonal or any diagonal elements with negative priors were normally distributed, whereas the diagonal elements with positive priors (as required for a well-behaved curvature) were gamma distributed. For the standard deviation of elasticities we used either information from the prior estimates or some fall-back assumptions on standard deviations relative to the mode of elasticities. Denoting the prior elasticities with $e_{\text{ij}}$, we solved the following optimization problem, where parameters $\alpha$ and $\beta$ were already estimates as explained in the sections on the inner problem.
 +
 +$$\max_{\eta,c,D}{\sum_{ij \in normal(i,j)}^{}{- {\frac{1}{s_{\text{ij}}^{2}}\left( \eta_{\text{ij}} - e_{\text{ij}}^{\text{jsa}} \right)}^{2}} + \sum_{ij \in gamma(i,j)}^{}\left\lbrack \left( \alpha_{\text{ij}} - 1 \right)\log\eta_{\text{ij}} - \beta_{\text{ij}}\eta_{\text{ij}} \right\rbrack}$$
 +
 +subject to
 +
 +$$\left\lbrack \frac{\partial LEVL_{i}}{\partial r_{j}} \right\rbrack = - \begin{bmatrix}
 +\left\lbrack {- D}_{\text{ij}} \right\rbrack & - 1 \\
 + - 1' & 0 \\
 +\end{bmatrix}^{- 1}\begin{bmatrix}
 +I \\
 +0 \\
 +\end{bmatrix}$$
 +
 +$$\left\lbrack \eta_{\text{ij}} \right\rbrack = \left\lbrack \frac{\partial LEVL_{i}}{\partial r_{j}} \right\rbrack\left\lbrack \frac{r_{j}}{\text{LEV}L_{i}} \right\rbrack$$
 +
 +$$\begin{matrix}
 + & r_{i} - c_{i} - \sum_{j}^{}{D_{\text{ij}}\text{LEV}L_{j}} - \lambda & = 0 \\
 + & \sum_{i}^{}{\text{LEV}L_{i}} - \sum_{l}^{}{LU_{l}^{\text{initial}}} & = 0 \\
 +\end{matrix}$$
 +
 +and the curvature constraint using a stricter variant of the Cholesky factorization
 +
 +$$D_{\text{ij}}\left( 1 - \delta I_{\text{ij}} \right) = \sum_{k}^{}{U_{\text{ki}}U_{\text{kj}}}$$
 +
 +where $\delta$ is a small positive number and $I_{\text{ij}}$ entries of the identity matrix such that the factor $(1 - \delta I_{\text{ij}})$ shrinks the diagonal of the D-matrix, ensuring //strict// positive definiteness instead of //semi-//definiteness. We used $\delta = 0.05$. Furthermore, the Lagrange multiplier of the total land constraint, $\lambda$, was fixed at the weighted average of the rents $r_{i}$, i.e. $\lambda = \frac{\sum_{i}^{}{\text{LEV}L_{i}r_{i}}}{\sum_{i}^{}{\text{LEV}L_{i}}}$. Without the latter assumption, the parameters c and D are not uniquely identified.
 +
 +==Prior elasticities and area mappings==
 +
 +The empirical evidence obtained in the TRUSTEE project applied to prior elasticities for land categories based on Corine Land Cover (CLC) data. These categories are also covered in the CAPRI database based on various sources (see the database section in the CAPRI documentation):
 +
 +The introduction has mentioned already three systems of area categories that need to be distinguished. The first one is the set of area aggregates with good coverage in statistics that has been investigated recently by JS Ay (2016), in the following “JSA”:
 +
 +$$\text{LEVL} = \left\{ \text{ARAC},\ \text{FRUN},\ \text{GRAS},\ \text{FORE},\ \text{ARTIF},\text{OLND} \right\}$$
 +
 +Where
 +
 +ARAC = arable crops
 +
 +FRUN = perennial crops
 +
 +GRAS = permanent grassland
 +
 +FORE = forest
 +
 +ARTIF = artificial surfaces (settlements, traffic or industrial)
 +
 +OLND = other land
 +
 +The above categories are matching reasonably well with the definitions in JSA. A mismatch exists in the classification of paddy (part of ARAC in CAPRI but in the perennial group in JSA) and terrestrial wetlands (part of OLND in CAPRI and a separate category in JSA). Inland waters are considered exogenous in CAPRI and hence not included in the above set LEVL.
 +
 +For carbon accounting we need to identify the six LU classes from IPCC recommendations and official UNFCCC reporting:
 +
 +$$LU = \left\{ \text{CROP},\ \text{GRS}\text{LND},\ \text{FORE},\ \text{ARTIF},WETLND,RESLND \right\}$$
 +
 +which is typically indexed below with “l” or “k” ∈ LU and where
 +
 +CROP = crop land (= sum of arable crops and perennial crops)
 +
 +GRSLND = grassland in IPCC definition (includes some shrub land and other “nature land”, hence GRSLND>GRAS)
 +
 +WETLND = wetland (includes inland waters but also terrestrial wetlands)
 +
 +RESLND = residual land is that part of OLND not allocated to grassland or wetland, hence RESLND<OLND
 +
 +FORE = forest
 +
 +ARTIF = artificial surfaces
 +
 +In the CAPRI database, in particular for its technical base year, we have estimated an allocation of other land OLND into its components attributable to the UNFCCC classes GRSLND,WETLND, and RESLND:
 +
 +$$\text{OLND}^{0} = {\text{OLND}G}^{0} + {\text{OLND}W}^{0} + {\text{OLND}R}^{0}$$
 +
 +Lacking better options to make the link between sets LEVL (activity level aggregates) and LU (UNFCCC classes, technically in CAPRI code: set “LUclass”) we will assume that these shares are fixed and may estimate the “mixed” LU areas from activity level aggregates as follows
 +
 +^//GRSLND//^=^//GRAS + OLND · OLNDG<sup>0</sup>/OLND<sup>0</sup>//^
 +|WETLND    |=|//INLW + OLND · OLNDW<sup>0</sup>/OLND<sup>0</sup>//|
 +|RESLND    |=|//OLND · OLNDR<sup>0</sup>/OLND<sup>0</sup>//       |
 +
 +which means that the mapping from set LEVL to set LU only uses some fixed shares of LEVL areas that are mapped to a certain LU:
 +
 +$$LU_k=\sum_i{\text{share}_{\text{i,k}}\text{LEVL}_i}$$
 +
 +where 0 ≤ //share<sub>i,k</sub>// ≤ 1.
 +
 +===Technical implementation===
 +
 +The key equations corresponding to the approach explained above are collected in file supply_model.gms or the included files supply/declare_calibration_models_for_luc.gms and supply/declare_calibration_models_for_land_supply.gms. The declarations of parameters, variables, equations, models and even some sets only used in the calibration given in these files are included by the “supply_model.gms” only if “BASELINE==ON” or if it was a CAPREG base year task that was carried out. Loading of priors, initialisation of parameters and variables for the calibration as well as the organisation of solve attempts are handled in new sections of file “cal_land_nests.gms”, in turn called by the gams file “prep_cal.gms”. This implies that the land supply and land use change calibrations were inserted before the ordinary calibration of the supply models.
 +
 +//SupremaSup// should be active together with //trustee_land// to have smoother adjustments which may be set via the CAPRI GUI. In order to store the results of the calibration in a compact way that is compatible with the existing code, the existing parameter files “pmppar_XX.gdx” was used. The parameters of the land supply functions, called “c” and “D” above, were stored on two parameters “p_pmpCnstLandTypes” and “p_pmpQuadLandTypes”. As a new symbol (p_pmpCnstLandTypes) is introduced in an existing file, the first run of CAPRI after setting %trustee_land%==on may give errors if the file exists already but has been used with the previous land supply specification before. In this case it helps to delete or rename the old pmppar files.
 +
 +At this point, it should also be explained that rents for non-agricultural land types were entirely based on assumptions (a certain ratio to agricultural rents). As there were no plans to run scenarios with modified non-agricultural rents, these land rents //r// used in calibration for those land types were subtracted from the “c-paramter”, so that it is implicitly stored in p_pmpCnstLandTypes and enters the objective function through the PMP terms. This requires changes if the rents shall be modified or if non-agricultural production shall be included in some simplified form.
 +
 +Furthermore, the class Inland Waters (INLW) was given a special treatment: it is supposed to be entirely exogenous. For this purpose the special acronym “exogenousLandSupply” was introduced, and stored on the p_pmpCnstLandTypes and used to trigger an equation “e_exogenousLand “ in the supply model setting the variable to a constant. In that way, the fixity of INLW (or any land type, should it happen) is stored in the pmp terms and cannot be “forgotten”.
 +
 +More detailed explanations on the technical implementation are covered elsewhere, for example in the “Training material” included in the EcAMPA-4 deliverable D5.
 +
 +Concerning the improvements made under SUPREMA from a technical perspective, the changes are merged to the trunk. The approach is controlled by globals in capmod\set_global_variables.gms. If the global variable %supremaSup% == on, the yearly transition rate p_lucAnnualFac_sup is calculated. If it is %supremaSup% == off, the old approach using the Marcov chain is used with the respective variable v_luYearly. The FOC-approach to calculate LUC as described above is standard and independent from if the global variable supremaSup is on or off.
 +
 +=== Emission Equations ===
 +
 +Under EcAMPA 3 and partly in earlier projects (inter alia EcAMPA 2) new modelling outputs have been developed for indicators without matching reporting infrastructure helping users to organise the additional information. This applied for example to
 +
 +1) Additional CAPRI results on land use results related to the complete area coverage, mappings to UNFCCC area categories and their transitions;
 +
 +2) The carbon effects linked to these land transitions.
 +
 +Furthermore, additional non-CO2 and CO2 related mitigation measures had been included under EcAMPA 3.
 +
 +The scenarios including the emission equations are only run if %ghgabatement% == on, otherwise emissions are only calculated and not simulated.
 +
 +The following emission equations have been implemented:
 +
 +^**Code**          ^**Description**                                                                                                ^
 +|GWPA              |Agricultural emissions                                                                                         |
 +|CH4ENT            |Methane emissions from enteric fermentation                                                                    |
 +|CH4MAN            |Methane emissions from manure management                                                                       |
 +|CH4RIC            |Methane emissions from rice production                                                                         |
 +|N2OMAN            |Direct nitrous oxide emissions stemming from manure management (only housing and storage)                      |
 +|N2OAPP            |Direct nitrous oxide emissions stemming from manure application on soils except grazings per animal activity   |
 +|N2OGRA            |Direct nitrous oxide emissions stemming from manure managment on grazings                                      |
 +|N2OSYN            |Direct nitrous oxide emissions from anorganic fertilizer application                                           |
 +|N2OCRO            |Direct nitrous oxide emissions from crop residues                                                              |
 +|N2OAMM            |Indirect nitrous oxide emissions from ammonia volatilisation                                                   |
 +|N2OLEA            |Indirect nitrous oxide emissions from leaching                                                                 |
 +|N2OHIS            |Direct nitrous oxide emissions from cultivation of histosols                                                   |
 +|GLUC              |Emissions related to indirect land use changes                                                                 |
 +|CO2BIO            |Carbon dioxide emissions from land use change due to losses of carbon in biomass and litter                    |
 +|CO2SOI            |Carbon dioxide emissions from land use change due to soil carbon losses                                        |
 +|CO2HIS\\ \\ CH4HIS|Carbon dioxide emissions from the cultivation of histosols\\ \\ Methane emissions from cultivation of histosols|
 +|CO2LIM\\ \\ CO2BUR|Carbon dioxide emissions from limestone and dolomit\\ \\ Carbon dioxide emissions from burning                 |
 +|CH4BUR            |Methane emissions from burning                                                                                 |
 +|N2OBUR            |Nitrous oxide emissions from burning                                                                           |
 +|N2OSOI            |N2O emissions from land use change due to soil carbon losses                                                   |
 +|GPRD              |Emissions related to the production of non-agricultural inputs to agriculture                                  |
 +|N2OPRD            |Nitrous oxide emissions during fertilizer production                                                           |
 +|O2PRD             |Carbon Dioxide emissions during fertilizer production                                                          |
  
module_for_agricultural_supply_at_regional_level.1585638769.txt.gz · Last modified: 2022/11/07 10:23 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki