CAPRI
images/capri_pic_01.jpg images/capri_pic_02.jpg images/capri_pic_03.jpg

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
Next revisionBoth sides next revision
capri:star [2017/01/18 13:36] – Adding maintenance release 1.2 torbjornjcapri:star [2018/12/18 09:05] – Updating release notes for STAR 2.3 torbjornj
Line 1: Line 1:
-====== Release notes (cumulative) ======+===== Release notes (cumulative) ===== 
 + 
 +=== STAR 2.3 === 
 + 
 +This maintenance release addresses stability of feeding, reporting for fertilizers, and also includes some cleaning up of code: 
 + 
 +  * The feed distribution was revised to become more stable under repeated starts (P. Witzke) 
 +  * Several options were removed from the GUI with respect to the estimation of GHG emission trends 
 +  * A large pack of updates to the GHG emission estimations were imported from the development branch ClipByFood 
 +  * The inner fertilizer allocation model can be turned OFF in simulations (on by default) 
 +  * The GUI now reports a decomposition of the NUTNED_ equation, accessible under the theme "Fertilization" 
 +  * Some items were excluded from checks in COCO to make the program run through with GAMS 25.0 and 25.1 
 +  * The legacy data set on ghg emissions from EDGAR was removed. 
 + 
 + 
 +=== STAR 2.2 === 
 + 
 +This maintenance release resolves several important calibration issues. 
 + 
 +  * The market model did not calibrate properly due to an inconsistently included "BREXIT" policy 
 +  * The supply models did not calibrate properly due to missing parameters for manure trade 
 +  * The stability tests did not give true results due to an inconsistent use of results_in and results_out, essentially mixing fertilizer parameters of two runs 
 +  * Several minor bug fixes, e.g. in linking supply and demand and scaling of NMIN  
 +  * A final overhaul of feeding is still due in Maintenance Release 2.3. 
 + 
 +=== STAR 2.1 === 
 + 
 +This maintenance release implements the revised treatment of fertilizers and feed. For fertilizers, a bi-level programming approach has been implemented, where the flows of fertilizers are modelled as a Bayesian estimator ensuring an interior solution that is "close to" the calibrated flows when simulating and close to a prior distribution when calibrating. For feed, the distribution of feeding stuffs to animals was revised to improve plausibility and stability, but without principal changes of the way the model works. 
 + 
 +In addition to the feed and fertilizer modifications, the following bugs or minor issues were addressed: 
 +  * Changing the order of work steps and tasks in the GUI to reflect the order in which the steps can be carried out (e.g. FAOSTAT first) 
 +  * An issue with price experiments in Threads-mode was resolved 
 +  * Start at an infrastructure to report the results of the fertilizer allocation to DATAOUT (reports\fert_dist_results.gms) 
 +  * Relaxing the winter cover requirement in one Finnish region to avoid infeasibility in baselines. 
 +  * The income computations for EAA had inconsistent prices for FODDER, so that the regional farms had costs <> revenues for fodder, which should not be possible. 
 +  * The Dual Analysis of the supply models had not updated versions of some constraints, so that there were an "unexplained rest". (sugar beet and greening restrictions) 
 + 
 +Finally, the testing routines were augmented and slightly revised, to include individual testing of simulations with supply and market models standalone. 
 + 
 +=== STAR 2.0 === 
 + 
 +This new series of releases contains two key modifications: 
 + 
 +  * It calibrates to the CAP post 2014 instead of the old MTR scenario. This required adding the first-order conditions of the greening restrictions in the PMP algorithm, which was not trivial. 
 +  * It includes the possibility to set BREXIT ON when building the database. This allows the user to build a model where the UK is a separate market model region with bilateral trade instruments with the EU. This is now the standard setting, albeit it implements free trade between UK and EU27. 
 + 
 +Some modifications that were scheduled for this release were not included, because they were not sufficiently stable in testing at the key date for the release. In particular, the following components are essentially unchanged from STAR 1.3 but scheduled for inclusion in a subsequent release. 
 + 
 +  * Revision of the fertilizer distribution. This was found to be numerically unstable in STAR 1.0, and is still so as testing revealed. 
 +  * Revision of the feed distribution to give more stable results and a more plausible allocation of feeding stuffs. 
 + 
 +Finally, this release has some known issues in addition to the points mentioned above: 
 +   
 +  * New Norwegian data was made available but not in time to complete the testing phase. 
 +  * There are occasional problems to reproduce the baseline in 2030 when market and supply are allowed to interact. The precise circumstances causing this to happen are still unclear. 
 + 
 +=== STAR 1.3 === 
 +A maintenance release addressing the following issue in STAR 1.2: 
 +  *Including the most recent Graphical User Interface (GUI) 
 +  *A bug with the Basic Payment Scheme in Greece led to missing payments in several Greek regions. 
 +  *Changing the way the grassland maintenance requirement works in Greening (lower bound on grass land) 
 +  *Modified reporting for EU28 
 +  *Modified report tables for the GUI 
 + 
 +It was observed that when the GUI batch execution file "build_database_and_baseline.txt" was executed with this model version, the baseline calibration of the market model sometimes failed.In that case, a manual re-start of that task directly from the GUI using the default settings worked. 
 +Furthermore, it was observed that the baseline reproduction run (i.e. calibrating to mtr_rd_cal and then simulating mtr_rd_ref) resulted in small changes in some of the "new" member states, in particular Serbia. 
  
 === STAR 1.2 === === STAR 1.2 ===
Line 6: Line 71:
   *A bug in the batch execution file "build_database_and_baseline.txt" that prevented the farm type databases from being built.   *A bug in the batch execution file "build_database_and_baseline.txt" that prevented the farm type databases from being built.
  
-===== STAR 1.1 =====+=== STAR 1.1 ===
 This is a maintenance release addressing some issues that surfaced since STAR 1.0 was published. This is a maintenance release addressing some issues that surfaced since STAR 1.0 was published.
  
Line 16: Line 81:
   *Setting the default number of processors in the "build_database_and_baseline.txt" batch to "4", so that it is fairly safe to start without any modification.   *Setting the default number of processors in the "build_database_and_baseline.txt" batch to "4", so that it is fairly safe to start without any modification.
  
-===== STAR 1.0 =====+=== STAR 1.0 ===
 This release attempts to provide a CAPRI model where a wide selection of tasks from baseline construction to simulation can be carried out.  This release attempts to provide a CAPRI model where a wide selection of tasks from baseline construction to simulation can be carried out. 
 With other versions of CAPRI, it has been a general feature that when some tasks were maintained, others ceased to work, so that there were With other versions of CAPRI, it has been a general feature that when some tasks were maintained, others ceased to work, so that there were
Line 38: Line 103:
  
  
-===== Release Candidate 4 =====+=== Release Candidate 4 ===
 Closing in on the stable release, this release candidate contains only minor adjustments. One thing though is the addition of a new task Closing in on the stable release, this release candidate contains only minor adjustments. One thing though is the addition of a new task
 that generates the folder structure. It is found in the (new) work step "Installation". To implement that one, some refactoring of code was done, that generates the folder structure. It is found in the (new) work step "Installation". To implement that one, some refactoring of code was done,
Line 46: Line 111:
  
  
-===== Release Candidate 3 =====+=== Release Candidate 3 ===
 Minor tweaks of performance such as wider implementation of grid handle deletion routine and "solvelink=5",  Minor tweaks of performance such as wider implementation of grid handle deletion routine and "solvelink=5", 
 plus a modification to the fertilizer distribution that made that part slightly more stable for single region member states. plus a modification to the fertilizer distribution that made that part slightly more stable for single region member states.
  
-===== Release Candidate 2 =====+=== Release Candidate 2 ===
 This release candidate implements no essential changes in the model logic, but a large number of minor refactoring issues of the code. This release candidate implements no essential changes in the model logic, but a large number of minor refactoring issues of the code.
 In particular, the release candidate 2  In particular, the release candidate 2 
Line 58: Line 123:
  
  
-===== Release Candidate 1.0 =====+=== Release Candidate 1.0 ===
 This pre-release version of CAPRI was produced on june 17, 2016. It is intended for evaluations in order to produce a stable release later on.  This pre-release version of CAPRI was produced on june 17, 2016. It is intended for evaluations in order to produce a stable release later on. 
  
   
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International