the_capri_data_base
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| the_capri_data_base [2026/03/13 13:08] – add her dynamics (Anna) massfeller | the_capri_data_base [2026/03/13 13:20] (current) – add herd dynamics (Anna) massfeller | ||
|---|---|---|---|
| Line 1831: | Line 1831: | ||
| The dynamic relationships shown in Fig 3 are implemented in the animal sector specific equations in file coco1_estimA.gms, | The dynamic relationships shown in Fig 3 are implemented in the animal sector specific equations in file coco1_estimA.gms, | ||
| - | + | {{ : | |
| - | Equation e_yaniB | + | |
| Equation e_yaniB defines the stock change of all young animal types as the difference between production of young animals and their use to source the flow of slaughtered animals. At the example of piglets ready for fattening or becoming young sows: | Equation e_yaniB defines the stock change of all young animal types as the difference between production of young animals and their use to source the flow of slaughtered animals. At the example of piglets ready for fattening or becoming young sows: | ||
| Equation 1 | Equation 1 | ||
| + | \begin{align} | ||
| + | \text{STCM}_{YPIG}(t) = \text{GROF}_{YPIG}(t) - \text{GROF}_{IPIG}(t) | ||
| + | \end{align} | ||
| - | \text{STCMYPIG}(t) = \text{GROFYPIG}(t) - \text{GROFIPIG}(t) | + | {{ : |
| - | + | ||
| - | Equation e_stocksA | + | |
| Equation e_stocksA is more complex, because it handles basically 3 different cases. The first is the situation in the non-cattle sectors (pigs, poultry, sheep) where production of young animals by breeding activites (sows, hens, ewes) and their raising is assumed to take place within the current year. Taking into account the mappings in the code, then the equation e_stocksA reads for the case of piglets: | Equation e_stocksA is more complex, because it handles basically 3 different cases. The first is the situation in the non-cattle sectors (pigs, poultry, sheep) where production of young animals by breeding activites (sows, hens, ewes) and their raising is assumed to take place within the current year. Taking into account the mappings in the code, then the equation e_stocksA reads for the case of piglets: | ||
| Line 1846: | Line 1847: | ||
| \begin{align} | \begin{align} | ||
| - | &\text{SOWSLEVL}(t+1) - \text{SOWSLEVL}(t) = \text{STCMYPIG}(t) \\ | + | &\text{SOWS}_{LEVL}(t+1) - \text{SOWS}_{LEVL}(t) = \text{STCM}_{YPIG}(t) \\ |
| - | &= \text{GROFYPIG}(t) - \text{GROFIPIG}(t) | + | &= \text{GROF}_{YPIG}(t) - \text{GROF}_{IPIG}(t) |
| \end{align} | \end{align} | ||
| Line 1856: | Line 1857: | ||
| \begin{align} | \begin{align} | ||
| - | &\text{CAMRLEVL}(t) - \text{CAMRLEVL}(t-1) = \text{STCMYBUL}(t) \\ | + | &\text{CAMR}_{LEVL}(t) - \text{CAMR}_{LEVL}(t-1) = \text{STCM}_{YBUL}(t) \\ |
| - | &= \text{GROFYBUL}(t) - \text{GROFIBUL}(t) | + | &= \text{GROF}_{YBUL}(t) - \text{GROF}_{IBUL}(t) |
| \end{align} | \end{align} | ||
| Line 1865: | Line 1866: | ||
| \begin{align} | \begin{align} | ||
| - | &\text{GROFYBUL}(t) - \text{CAMRLEVL}(t-1) =\\ | + | &\text{GROF}_{YBUL}(t) - \text{CAMR}_{LEVL}(t-1) =\\ |
| - | &\text{GROFYBUL}(t) - \text{GROFIBUL}(t) \\ | + | &\text{GROF}_{YBUL}(t) - \text{GROF}_{IBUL}(t) \\ |
| - | &\iff \text{CAMRLEVL}(t-1) = \text{GROFIBUL}(t) | + | &\iff \text{CAMR}_{LEVL}(t-1) = \text{GROF}_{IBUL}(t) |
| \end{align} | \end{align} | ||
| Line 1876: | Line 1877: | ||
| \begin{align} | \begin{align} | ||
| - | &\text{HEIRLEVL}(t) - \text{HEIRLEVL}(t-1) \\ | + | &\text{HEIR}_{LEVL}(t) - \text{HEIR}_{LEVL}(t-1) \\ |
| - | &\quad + \text{COWSLEVL}(t+1) - \text{COWSLEVL}(t) \\ | + | &\quad + \text{COWS}_{LEVL}(t+1) - \text{COWS}_{LEVL}(t) \\ |
| - | &= \text{STCMYCOW}(t) \\ | + | &= \text{STCM}_{YCOW}(t) \\ |
| - | &= \text{GROFYCOW}(t) - \text{GROFICOW}(t) | + | &= \text{GROF}_{YCOW}(t) - \text{GROF}_{ICOW}(t) |
| \end{align} | \end{align} | ||
| Line 1887: | Line 1888: | ||
| \begin{align} | \begin{align} | ||
| - | &\text{COWSLEVL}(t+1) - \text{COWSLEVL}(t) \\ | + | &\text{COWS}_{LEVL}(t+1) - \text{COWS}_{LEVL}(t) \\ |
| - | &= \text{GROFYCOW}(t-1) - \text{GROFICOW}(t) | + | &= \text{GROF}_{YCOW}(t-1) - \text{GROF}_{ICOW}(t) |
| \end{align} | \end{align} | ||
the_capri_data_base.txt · Last modified: 2026/03/13 13:20 by massfeller