From dcec60def08f86a1fa00f5a0765e94b91e0f926d Mon Sep 17 00:00:00 2001
From: Bart Arendarczyk <s1924442@ed.ac.uk>
Date: Sun, 2 Jun 2024 01:00:20 +0100
Subject: [PATCH] Small land abandonment change.

---
 GAMS/IntExtOpt.gms | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GAMS/IntExtOpt.gms b/GAMS/IntExtOpt.gms
index fd5e2ca5..f1e6ecdb 100644
--- a/GAMS/IntExtOpt.gms
+++ b/GAMS/IntExtOpt.gms
@@ -391,7 +391,7 @@ $gdxin
 *                           Pasture intensity penalty. \Controls how spread out pasture production is.                        
                             - sum(location, pastureIntensityPenalty * sum(crop_less_pasture, sqr(cropProduction(crop_less_pasture, location))) / (sum(crop_less_pasture, cropProduction(crop_less_pasture, location)) + 0.01))
 *                           Small reward for increasing natural area to allow land abandonment
-                            + sum((protection, location), 0.0001 * landCoverArea('natural', protection, location))
+                            + sum((land_cover, protection, location)$(not sameAs(land_cover, 'natural')), 0.00001 * landCoverChange(land_cover, 'natural', protection, location))
 *                           Feed diversity penalty                            
                             - sum(animal, feedDiversityCost(animal) * sum(feed_crop, sqr(feedAmount(animal, feed_crop) * cropDM(feed_crop))) / (sum(feed_crop, feedAmount(animal, feed_crop) * cropDM(feed_crop)) + 0.01))
 *                           Net import change cost                            
-- 
GitLab