<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.simulace.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Simm04</id>
	<title>Simulace.info - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.simulace.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Simm04"/>
	<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php/Special:Contributions/Simm04"/>
	<updated>2026-07-27T16:31:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>http://www.simulace.info/index.php?title=WS_2019/2020&amp;diff=19341</id>
		<title>WS 2019/2020</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=WS_2019/2020&amp;diff=19341"/>
		<updated>2020-01-26T17:10:11Z</updated>

		<summary type="html">&lt;p&gt;Simm04: /* Simulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Semestral papers from winter term 2019/2020. Please, put here links to the pages with your paper. First you need to have your [[Assignments WS 2019/2020|assignment approved]]&lt;br /&gt;
&lt;br /&gt;
== Simulation ==&lt;br /&gt;
[http://www.simulace.info/index.php/Crop_Rotation_in_sustainable_farming Crop Rotation in sustainable farming], [[User:Simm04|Simm04]] [[User:Simm04|Simm04]] ([[User talk:Simm04|talk]]) 18:10, 26 January 2020 (CET)&lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/Cotton_Processing_Quality:_Cotton,_Seed,_Lint,_Trash Cotton Processing Quality: Cotton, Seed, Lint, Trash] , Ibrahim Aghazada,[[User:Ibrahim Aghazada|Ibrahim Aghazada]] ([[User talk:Ibrahim Aghazada|talk]]) 22:45, 24 January 2020 (CET)&lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/Time_Series_Model_Building_Process Time Series Model Building Process] , [[User:Hazn00|Hazn0000]] ([[User talk:Hazn00|talk]]) 16:15, 20 January 2020 (CET) (done)&lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/Indian_Elephant_Population_in_Thailand Indian Elephant Population in Thailand] , [[User:Xkavj12|Xkavj12]] ([[User talk:Xkavj12|talk]]) 18:42, 20 January 2020 (CET) &lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/Atlantic_Bluefin_Tuna_Population Atlantic Bluefin Tuna Population], [[User:Vokp00|Vokp00]] ([[User talk:Vokp00|talk]]) 20:32, 20 January 2020 (CET)&lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/Shopping_Centre_Simulation Shopping Centre Management Simulation], [[User:Tkad01|Tkad01]] ([[User talk:Tkad01|talk]]) 21:57, 20 January 2020 (CET)&lt;br /&gt;
&lt;br /&gt;
== Textbook Chapters ==&lt;br /&gt;
[http://www.simulace.info/index.php/Limits_to_Growth Limits to Growth] , Ibrahim Aghazada, [[User:Ibrahim Aghazada|Ibrahim Aghazada]] ([[User talk:Ibrahim Aghazada|talk]]) 22:44, 24 January 2020 (CET)&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19340</id>
		<title>Crop Rotation in sustainable farming</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19340"/>
		<updated>2020-01-26T17:06:48Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Problem definition=&lt;br /&gt;
Crop rotation is based on growing a series of different types of crops in the same area in sequential seasons. The planned rotation may vary from a growing season to a few years or even longer periods. It is one of the most effective agricultural control strategies that is used in preventing the loss of soil fertility. It also helps in reducing soil erosion and increases crop yield. Planning an effective crop rotation requires weighing fixed and fluctuating production circumstances: market, farm size, labor supply, climate, soil type, growing practices, etc.&lt;br /&gt;
&lt;br /&gt;
In this simulation I will try to find parameters which have impact on the whole process of crop rotation with goal to find model providing desired outputs (these were slightly changed from concept) - crop yields, greenhouse gas emissions (N2O, CO2, NH4), soil fertility (nitrogen levels).&lt;br /&gt;
&lt;br /&gt;
I will focus on four crop rotation strategies with three different crops - corn, soybean, wheat:&lt;br /&gt;
&lt;br /&gt;
'''CCC''' (continuous corn) - only corn will be farmed for the whole observed time period (40 years)&lt;br /&gt;
&lt;br /&gt;
'''CS''' (corn-soybean) - rotation of corn and soybean will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, repeat..&lt;br /&gt;
&lt;br /&gt;
'''SSS''' (continuous soybean) - only soybean will be farmed for the whole observed time period (40 years) &lt;br /&gt;
&lt;br /&gt;
'''CSW''' (corn-soybean-wheat) - rotation of corn, soybean and wheat will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, third year wheat, repeat..&lt;br /&gt;
&lt;br /&gt;
Goal of this simulation is to observe dynamic changes with yields, greenhouse gas emissions, tillage strategy and soil nitrogen levels, while changing different crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
&lt;br /&gt;
Vensim modelling approach was selected due to dynamic behavior of the simulated system.&lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
&lt;br /&gt;
Following vensim model was developed based on the study.&lt;br /&gt;
[[File:Crop_rotation_vensim_finished.png|900px|thumb|center|Crop rotation Stock Flow Diagram]]&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
&lt;br /&gt;
===Number of rotated crops===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;1,3&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=1 (in case of CCC and SSS strategies)&lt;br /&gt;
&lt;br /&gt;
=2 (in case of CS strategy)&lt;br /&gt;
&lt;br /&gt;
=3 (in case of CSW strategy)&lt;br /&gt;
&lt;br /&gt;
===Corn production===&lt;br /&gt;
''PULSE TRAIN function ensures specific crop to be delivered by time pattern. In crop rotation strategies, if corn is present, it is always first crop, therefore it starts at time 0 (first year), duration is 1 year, repetition is based on number of crops (eg. 2 - it repeats in third year) and final time is set to fixed 40 years according to simulation setup.''&lt;br /&gt;
&lt;br /&gt;
=Corn quantity*PULSE TRAIN(0, 1 , Number of rotated crops ,40)&lt;br /&gt;
&lt;br /&gt;
===Soybean production===&lt;br /&gt;
''Similar case as in Corn production variable only with difference of initial year, if sobyean is present in crop rotation strategy, it is always second crop, therefore it starts at time 1 (second year). In case of SSS strategy it starts at time 0 (first year)''&lt;br /&gt;
&lt;br /&gt;
=Soybean quantity*PULSE TRAIN(IF THEN ELSE(Number of rotated crops=1, 0 , 1 ), 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Wheat production===&lt;br /&gt;
''Similar case as in Corn production variable only with difference of initial year, if wheat is present in crop rotation strategy, it is always third crop, therefore it starts at time 2 (third year).''&lt;br /&gt;
&lt;br /&gt;
=Wheat quantity*PULSE TRAIN(2, 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Corn quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,100&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=100 (in case of CCC, CS and CSW strategies)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of SSS strategy)&lt;br /&gt;
&lt;br /&gt;
===Soybean quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,40&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=40 (in case of CS, SSS and CSW strategies)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of CCC strategy)&lt;br /&gt;
&lt;br /&gt;
===Wheat quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,80&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=80 (in case of CSW strategy)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of CCC, CS, SSS strategies)&lt;br /&gt;
&lt;br /&gt;
===increase of N2O emissions===&lt;br /&gt;
''Auxiliary variable which changes based on each crop production and its emission coefficient (pattern was extracted from a study),additionaly it changes slightly according to tillage strategy and usage of extra inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Soybean production*Soybean N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Wheat production*Wheat N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Inorganic fertilizer/5&lt;br /&gt;
&lt;br /&gt;
===increase of CO2 emissions===&lt;br /&gt;
''Similar auxiliary variable as increase of N20 emissions extra except zero effect with inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)+Soybean production*Soybean CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)+Wheat production&lt;br /&gt;
*Wheat CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)&lt;br /&gt;
&lt;br /&gt;
===increase of CH4 emissions===&lt;br /&gt;
''Similar auxiliary variable as increase of N20 emissions extra except zero effect with inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)+Soybean production*Soybean CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)+Wheat production&lt;br /&gt;
*Wheat CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)&lt;br /&gt;
&lt;br /&gt;
===Cumulative N2O emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of N2O emissions)&lt;br /&gt;
&lt;br /&gt;
===Cumulative CO2 emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of CO2 emissions)&lt;br /&gt;
&lt;br /&gt;
===Cumulative CH4 emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of CH4 emissions)&lt;br /&gt;
&lt;br /&gt;
===Corn N2O emission coef===&lt;br /&gt;
''Constant variable extracted from study and its data, representing how much N20 emissions is produced while producing corn. Can be adjusted in the future. Further coefficients are similar just crop and emission type changes.''&lt;br /&gt;
&lt;br /&gt;
=0.5&lt;br /&gt;
&lt;br /&gt;
===Soybean N2O emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.07&lt;br /&gt;
&lt;br /&gt;
===Wheat N2O emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.005&lt;br /&gt;
&lt;br /&gt;
===Corn CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.3&lt;br /&gt;
&lt;br /&gt;
===Soybean CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.2&lt;br /&gt;
&lt;br /&gt;
===Wheat CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.25&lt;br /&gt;
&lt;br /&gt;
===Corn CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.005&lt;br /&gt;
&lt;br /&gt;
===Soybean CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.01&lt;br /&gt;
&lt;br /&gt;
===Wheat CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.05&lt;br /&gt;
&lt;br /&gt;
===Inorganic fertilizer===&lt;br /&gt;
''Auxiliary variable observes if soil nitrogens decrease below 20 and applies 30 units of fertilizer (which affects NO2 emissions)''&lt;br /&gt;
&lt;br /&gt;
=IF THEN ELSE(Soil nitrogen&amp;lt;20, 30 , 0 )&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen===&lt;br /&gt;
''Level variable observes how much nitrogen in soil increase or decrease''&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of soil N-decrease of soil N)&lt;br /&gt;
&lt;br /&gt;
===increase of soil N===&lt;br /&gt;
''Increase of nitrogen level in soil in this model is triggered either by application of inorganic fertilizer or soybean production (soybean and other legumes increase nitrogen level in soil by its decomposition - extracted from study and its data)''&lt;br /&gt;
&lt;br /&gt;
=Inorganic fertilizer+Soybean production/12&lt;br /&gt;
&lt;br /&gt;
===decrease of soil N===&lt;br /&gt;
''Decrease of nitrogen level in soil in this model is triggered either by corn or wheat production (corn and wheat decreasing nitrogen level in soil by its farming - extracted from study and its data)''&lt;br /&gt;
&lt;br /&gt;
=Corn production/8+Wheat production/12&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen level===&lt;br /&gt;
''Auxiliary variable which is dependent on soil nitrogen quantity. According to soil nitrogen levels, it affects yields based on random function with normal distribution. The less soil nitrogen level, the higher negative impact on yields.''&lt;br /&gt;
&lt;br /&gt;
IF THEN ELSE(Soil nitrogen&amp;lt;10, RANDOM NORMAL( 0.3 , 0.5 , 0.45 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=10) :OR: (Soil nitrogen&amp;gt;20)), RANDOM NORMAL( 0.4 , 0.6 , 0.55 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=20) :AND: (Soil nitrogen&amp;lt;30)), RANDOM NORMAL( 0.5 , 0.8 , 0.75 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=30) :AND: (Soil nitrogen&amp;lt;40)), RANDOM NORMAL( 0.7 , 0.9 , 0.85 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(Soil nitrogen&amp;gt;=40, RANDOM NORMAL( 1 , 1.4 , 1.2 , 0.05 , 100) , 1 )&lt;br /&gt;
&lt;br /&gt;
===Temperature===&lt;br /&gt;
''Auxiliary variable which is based on random function with normal distribution. Study showed that extremes in temperatures can have impacts on harvests and yields. Due to complex behavior, I decided to implement only random function.''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.9 , 1.1 , 1 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Precipitation===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.8 , 1.2 , 1 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Pests===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.9 , 1 , 0.98 , 0.005 , 100)&lt;br /&gt;
&lt;br /&gt;
===Natural disasters===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.01 , 1 , 0.99 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Tillage===&lt;br /&gt;
''Constant variable, which affects yield and emissions. 1 = tilled, 0 = no-till. No-till suppose to be better ecological decision according to study.''&lt;br /&gt;
&lt;br /&gt;
=1 (can be changed to 0)&lt;br /&gt;
&lt;br /&gt;
===increase of C yield===&lt;br /&gt;
''Corn yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Corn production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.05)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===increase of S yield===&lt;br /&gt;
''Soybean  yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Soybean production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.03)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===increase of W yield===&lt;br /&gt;
''Wheat yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Wheat production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.07)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===Corn yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of C yield)&lt;br /&gt;
&lt;br /&gt;
===Soybean yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of S yield)&lt;br /&gt;
&lt;br /&gt;
===Wheat yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of W yield)&lt;br /&gt;
&lt;br /&gt;
===Total yield===&lt;br /&gt;
''Sum of yields''&lt;br /&gt;
&lt;br /&gt;
=Corn yield + Soybean yield + Wheat yield&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
As explained in problem definition sections, four crop rotation strategy were observed: CCC, CS, SSS, CSW. For each strategy I changed necessary variables and did simulation run. I divided results into yields, N2O and CO2 emissions, CH4 emissions and soil nitrogen for comparsion between mentioned crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
===Yields===&lt;br /&gt;
CCC Yield&lt;br /&gt;
[[File:CCC yield.png|400px|CCC Yield]]&lt;br /&gt;
&lt;br /&gt;
CS Yield&lt;br /&gt;
[[File:CS yield.png|400px|CS Yield]]&lt;br /&gt;
&lt;br /&gt;
SSS Yield&lt;br /&gt;
[[File:SSS yield.png|400px|SSS Yield]]&lt;br /&gt;
&lt;br /&gt;
CSW Yield&lt;br /&gt;
[[File:CSW yield.png|400px|CSW Yield]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===N2O and CO2 emissions===&lt;br /&gt;
CCC N2O CO2&lt;br /&gt;
[[File:CCC N2O CO2.png|400px|CCC N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
CS N2O CO2&lt;br /&gt;
[[File:CS N2O CO2.png|400px|CS N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
SSS N2O CO2&lt;br /&gt;
[[File:SSS N2O CO2.png|400px|SSS N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
CSW N2O CO2&lt;br /&gt;
[[File:CSW N2O CO2.png|400px|CSW N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
===CH4 emissions===&lt;br /&gt;
CCC CH4&lt;br /&gt;
[[File:CCC CH4.png|400px|CCC CH4]]&lt;br /&gt;
&lt;br /&gt;
CS CH4&lt;br /&gt;
[[File:CS CH4.png|400px|CS CH4]]&lt;br /&gt;
&lt;br /&gt;
SSS CH4&lt;br /&gt;
[[File:SSS CH4.png|400px|SSS CH4]]&lt;br /&gt;
&lt;br /&gt;
CSW CH4&lt;br /&gt;
[[File:CSW CH4.png|400px|CSW CH4]]&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen===&lt;br /&gt;
CCC soil nitrogen&lt;br /&gt;
[[File:CCC soil nitrogen.png|400px|CCC soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
CS soil nitrogen&lt;br /&gt;
[[File:CS soil nitrogen.png|400px|CS soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
SSS soil nitrogen&lt;br /&gt;
[[File:SSS soil nitrogen.png|400px|SSS soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
CSW soil nitrogen&lt;br /&gt;
[[File:CSW soil nitrogen.png|400px|CSW soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
Simulation of such complex evnironment as crop rotation in farming was challenging. Created VENSIM model of crop rotation is simplified with some parameters based on just few studies. Real world behaviour can be different because there are many variables affecting the whole process. Although with dramatic simplification, it can be used as a starting point for creating more complex models in agriculture sector. My goal to demonstrate changing of yield, greenhouse gas emissions and nitrogen level was achieved.&lt;br /&gt;
&lt;br /&gt;
Yields results could be extended with price and demand of market implementation for comparsion with different crop yields.&lt;br /&gt;
&lt;br /&gt;
N2O and CO2 emissions were highest in CCC crop strategy, providing speculation that monoculture is enviromentaly unfriendly in compare with polyculture strategies. SSS strategy was providing lowest N2O emissions, on other hand it showed highest CH4 emissions which are specific for legumes as soybean.&lt;br /&gt;
&lt;br /&gt;
Soil nitrogen levels were highly dependent on soybean in crop rotation strategy. With no soybean in crop strategy - in CCC strategy, dramaticaly more inorganic fertilization inputs were necessary&lt;br /&gt;
&lt;br /&gt;
Due to the scope of model, different tillage scenario (0 - no-til) was not simulated. Provided study concluded higher yield and lower emission levels with tillage sceario (1 - tillage, default for simulated model)&lt;br /&gt;
&lt;br /&gt;
===Model extension===&lt;br /&gt;
More complexity can be implemented in the future, for example:&lt;br /&gt;
&lt;br /&gt;
Detailed description of parameteres like Temperature, Pests, Natural disasters or Precipitation.&lt;br /&gt;
&lt;br /&gt;
More crop strategies or new crops.&lt;br /&gt;
&lt;br /&gt;
Market variables like demand or prices of crop seeds or harvesting costs could be also implemented.&lt;br /&gt;
&lt;br /&gt;
Monthly changes (instead of yearly) with more detailed fluctuations during seasons (in Spring there is bigger demand for fertilizers, temperature spikes)&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/File:Crop_rotation_finished.mdl Crop rotation VENSIM model]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
#BEHNKE, Gevan D., Stacy M. ZUBER, Cameron M. PITTELKOW, Emerson D. NAFZIGER a María B. VILLAMIL. Long-term crop rotation and tillage effects on soil greenhouse gas emissions and crop production in Illinois, USA. Agriculture, Ecosystems &amp;amp; Environment [online]. 2018, 261, 62-70 [cit. 2020-01-26]. DOI: 10.1016/j.agee.2018.03.007. ISSN 01678809. Availiable: https://linkinghub.elsevier.com/retrieve/pii/S0167880918301221&lt;br /&gt;
#KOLLAS, Chris, Kurt Christian KERSEBAUM, Claas NENDEL, et al. Crop rotation modelling—A European model intercomparison. European Journal of Agronomy [online]. 2015, 70, 98-111 [cit. 2020-01-26]. DOI: 10.1016/j.eja.2015.06.007. ISSN 11610301. Availiable: https://linkinghub.elsevier.com/retrieve/pii/S1161030115300010&lt;br /&gt;
#BRANKATSCHK, Gerhard a Matthias FINKBEINER. Modeling crop rotation in agricultural LCAs — Challenges and potential solutions. Agricultural Systems [online]. 2015, 138, 66-76 [cit. 2020-01-26]. DOI: 10.1016/j.agsy.2015.05.008. ISSN 0308521X. Availiable: https://linkinghub.elsevier.com/retrieve/pii/S0308521X1500075X&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19339</id>
		<title>Crop Rotation in sustainable farming</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19339"/>
		<updated>2020-01-26T17:04:22Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Problem definition=&lt;br /&gt;
Crop rotation is based on growing a series of different types of crops in the same area in sequential seasons. The planned rotation may vary from a growing season to a few years or even longer periods. It is one of the most effective agricultural control strategies that is used in preventing the loss of soil fertility. It also helps in reducing soil erosion and increases crop yield. Planning an effective crop rotation requires weighing fixed and fluctuating production circumstances: market, farm size, labor supply, climate, soil type, growing practices, etc.&lt;br /&gt;
&lt;br /&gt;
In this simulation I will try to find parameters which have impact on the whole process of crop rotation with goal to find model providing desired outputs (these were slightly changed from concept) - crop yields, greenhouse gas emissions (N2O, CO2, NH4), soil fertility (nitrogen levels).&lt;br /&gt;
&lt;br /&gt;
I will focus on four crop rotation strategies with three different crops - corn, soybean, wheat:&lt;br /&gt;
&lt;br /&gt;
'''CCC''' (continuous corn) - only corn will be farmed for the whole observed time period (40 years)&lt;br /&gt;
&lt;br /&gt;
'''CS''' (corn-soybean) - rotation of corn and soybean will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, repeat..&lt;br /&gt;
&lt;br /&gt;
'''SSS''' (continuous soybean) - only soybean will be farmed for the whole observed time period (40 years) &lt;br /&gt;
&lt;br /&gt;
'''CSW''' (corn-soybean-wheat) - rotation of corn, soybean and wheat will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, third year wheat, repeat..&lt;br /&gt;
&lt;br /&gt;
Goal of this simulation is to observe dynamic changes with yields, greenhouse gas emissions, tillage strategy and soil nitrogen levels, while changing different crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
&lt;br /&gt;
Vensim modelling approach was selected due to dynamic behavior of the simulated system.&lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
&lt;br /&gt;
Following vensim model was developed based on the study.&lt;br /&gt;
[[File:Crop_rotation_vensim_finished.png|900px|thumb|center|Crop rotation Stock Flow Diagram]]&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
&lt;br /&gt;
===Number of rotated crops===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;1,3&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=1 (in case of CCC and SSS strategies)&lt;br /&gt;
&lt;br /&gt;
=2 (in case of CS strategy)&lt;br /&gt;
&lt;br /&gt;
=3 (in case of CSW strategy)&lt;br /&gt;
&lt;br /&gt;
===Corn production===&lt;br /&gt;
''PULSE TRAIN function ensures specific crop to be delivered by time pattern. In crop rotation strategies, if corn is present, it is always first crop, therefore it starts at time 0 (first year), duration is 1 year, repetition is based on number of crops (eg. 2 - it repeats in third year) and final time is set to fixed 40 years according to simulation setup.''&lt;br /&gt;
&lt;br /&gt;
=Corn quantity*PULSE TRAIN(0, 1 , Number of rotated crops ,40)&lt;br /&gt;
&lt;br /&gt;
===Soybean production===&lt;br /&gt;
''Similar case as in Corn production variable only with difference of initial year, if sobyean is present in crop rotation strategy, it is always second crop, therefore it starts at time 1 (second year). In case of SSS strategy it starts at time 0 (first year)''&lt;br /&gt;
&lt;br /&gt;
=Soybean quantity*PULSE TRAIN(IF THEN ELSE(Number of rotated crops=1, 0 , 1 ), 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Wheat production===&lt;br /&gt;
''Similar case as in Corn production variable only with difference of initial year, if wheat is present in crop rotation strategy, it is always third crop, therefore it starts at time 2 (third year).''&lt;br /&gt;
&lt;br /&gt;
=Wheat quantity*PULSE TRAIN(2, 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Corn quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,100&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=100 (in case of CCC, CS and CSW strategies)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of SSS strategy)&lt;br /&gt;
&lt;br /&gt;
===Soybean quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,40&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=40 (in case of CS, SSS and CSW strategies)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of CCC strategy)&lt;br /&gt;
&lt;br /&gt;
===Wheat quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,80&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=80 (in case of CSW strategy)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of CCC, CS, SSS strategies)&lt;br /&gt;
&lt;br /&gt;
===increase of N2O emissions===&lt;br /&gt;
''Auxiliary variable which changes based on each crop production and its emission coefficient (pattern was extracted from a study),additionaly it changes slightly according to tillage strategy and usage of extra inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Soybean production*Soybean N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Wheat production*Wheat N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Inorganic fertilizer/5&lt;br /&gt;
&lt;br /&gt;
===increase of CO2 emissions===&lt;br /&gt;
''Similar auxiliary variable as increase of N20 emissions extra except zero effect with inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)+Soybean production*Soybean CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)+Wheat production&lt;br /&gt;
*Wheat CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)&lt;br /&gt;
&lt;br /&gt;
===increase of CH4 emissions===&lt;br /&gt;
''Similar auxiliary variable as increase of N20 emissions extra except zero effect with inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)+Soybean production*Soybean CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)+Wheat production&lt;br /&gt;
*Wheat CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)&lt;br /&gt;
&lt;br /&gt;
===Cumulative N2O emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of N2O emissions)&lt;br /&gt;
&lt;br /&gt;
===Cumulative CO2 emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of CO2 emissions)&lt;br /&gt;
&lt;br /&gt;
===Cumulative CH4 emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of CH4 emissions)&lt;br /&gt;
&lt;br /&gt;
===Corn N2O emission coef===&lt;br /&gt;
''Constant variable extracted from study and its data, representing how much N20 emissions is produced while producing corn. Can be adjusted in the future. Further coefficients are similar just crop and emission type changes.''&lt;br /&gt;
&lt;br /&gt;
=0.5&lt;br /&gt;
&lt;br /&gt;
===Soybean N2O emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.07&lt;br /&gt;
&lt;br /&gt;
===Wheat N2O emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.005&lt;br /&gt;
&lt;br /&gt;
===Corn CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.3&lt;br /&gt;
&lt;br /&gt;
===Soybean CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.2&lt;br /&gt;
&lt;br /&gt;
===Wheat CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.25&lt;br /&gt;
&lt;br /&gt;
===Corn CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.005&lt;br /&gt;
&lt;br /&gt;
===Soybean CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.01&lt;br /&gt;
&lt;br /&gt;
===Wheat CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.05&lt;br /&gt;
&lt;br /&gt;
===Inorganic fertilizer===&lt;br /&gt;
''Auxiliary variable observes if soil nitrogens decrease below 20 and applies 30 units of fertilizer (which affects NO2 emissions)''&lt;br /&gt;
&lt;br /&gt;
=IF THEN ELSE(Soil nitrogen&amp;lt;20, 30 , 0 )&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen===&lt;br /&gt;
''Level variable observes how much nitrogen in soil increase or decrease''&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of soil N-decrease of soil N)&lt;br /&gt;
&lt;br /&gt;
===increase of soil N===&lt;br /&gt;
''Increase of nitrogen level in soil in this model is triggered either by application of inorganic fertilizer or soybean production (soybean and other legumes increase nitrogen level in soil by its decomposition - extracted from study and its data)''&lt;br /&gt;
&lt;br /&gt;
=Inorganic fertilizer+Soybean production/12&lt;br /&gt;
&lt;br /&gt;
===decrease of soil N===&lt;br /&gt;
''Decrease of nitrogen level in soil in this model is triggered either by corn or wheat production (corn and wheat decreasing nitrogen level in soil by its farming - extracted from study and its data)''&lt;br /&gt;
&lt;br /&gt;
=Corn production/8+Wheat production/12&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen level===&lt;br /&gt;
''Auxiliary variable which is dependent on soil nitrogen quantity. According to soil nitrogen levels, it affects yields based on random function with normal distribution. The less soil nitrogen level, the higher negative impact on yields.''&lt;br /&gt;
&lt;br /&gt;
IF THEN ELSE(Soil nitrogen&amp;lt;10, RANDOM NORMAL( 0.3 , 0.5 , 0.45 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=10) :OR: (Soil nitrogen&amp;gt;20)), RANDOM NORMAL( 0.4 , 0.6 , 0.55 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=20) :AND: (Soil nitrogen&amp;lt;30)), RANDOM NORMAL( 0.5 , 0.8 , 0.75 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=30) :AND: (Soil nitrogen&amp;lt;40)), RANDOM NORMAL( 0.7 , 0.9 , 0.85 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(Soil nitrogen&amp;gt;=40, RANDOM NORMAL( 1 , 1.4 , 1.2 , 0.05 , 100) , 1 )&lt;br /&gt;
&lt;br /&gt;
===Temperature===&lt;br /&gt;
''Auxiliary variable which is based on random function with normal distribution. Study showed that extremes in temperatures can have impacts on harvests and yields. Due to complex behavior, I decided to implement only random function.''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.9 , 1.1 , 1 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Precipitation===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.8 , 1.2 , 1 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Pests===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.9 , 1 , 0.98 , 0.005 , 100)&lt;br /&gt;
&lt;br /&gt;
===Natural disasters===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.01 , 1 , 0.99 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Tillage===&lt;br /&gt;
''Constant variable, which affects yield and emissions. 1 = tilled, 0 = no-till. No-till suppose to be better ecological decision according to study.''&lt;br /&gt;
&lt;br /&gt;
=1 (can be changed to 0)&lt;br /&gt;
&lt;br /&gt;
===increase of C yield===&lt;br /&gt;
''Corn yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Corn production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.05)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===increase of S yield===&lt;br /&gt;
''Soybean  yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Soybean production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.03)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===increase of W yield===&lt;br /&gt;
''Wheat yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Wheat production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.07)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===Corn yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of C yield)&lt;br /&gt;
&lt;br /&gt;
===Soybean yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of S yield)&lt;br /&gt;
&lt;br /&gt;
===Wheat yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of W yield)&lt;br /&gt;
&lt;br /&gt;
===Total yield===&lt;br /&gt;
''Sum of yields''&lt;br /&gt;
&lt;br /&gt;
=Corn yield + Soybean yield + Wheat yield&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
As explained in problem definition sections, four crop rotation strategy were observed: CCC, CS, SSS, CSW. For each strategy I changed necessary variables and did simulation run. I divided results into yields, N2O and CO2 emissions, CH4 emissions and soil nitrogen for comparsion between mentioned crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
===Yields===&lt;br /&gt;
CCC Yield&lt;br /&gt;
[[File:CCC yield.png|400px|CCC Yield]]&lt;br /&gt;
&lt;br /&gt;
CS Yield&lt;br /&gt;
[[File:CS yield.png|400px|CS Yield]]&lt;br /&gt;
&lt;br /&gt;
SSS Yield&lt;br /&gt;
[[File:SSS yield.png|400px|SSS Yield]]&lt;br /&gt;
&lt;br /&gt;
CSW Yield&lt;br /&gt;
[[File:CSW yield.png|400px|CSW Yield]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===N2O and CO2 emissions===&lt;br /&gt;
CCC N2O CO2&lt;br /&gt;
[[File:CCC N2O CO2.png|400px|CCC N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
CS N2O CO2&lt;br /&gt;
[[File:CS N2O CO2.png|400px|CS N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
SSS N2O CO2&lt;br /&gt;
[[File:SSS N2O CO2.png|400px|SSS N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
CSW N2O CO2&lt;br /&gt;
[[File:CSW N2O CO2.png|400px|CSW N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
===CH4 emissions===&lt;br /&gt;
CCC CH4&lt;br /&gt;
[[File:CCC CH4.png|400px|CCC CH4]]&lt;br /&gt;
&lt;br /&gt;
CS CH4&lt;br /&gt;
[[File:CS CH4.png|400px|CS CH4]]&lt;br /&gt;
&lt;br /&gt;
SSS CH4&lt;br /&gt;
[[File:SSS CH4.png|400px|SSS CH4]]&lt;br /&gt;
&lt;br /&gt;
CSW CH4&lt;br /&gt;
[[File:CSW CH4.png|400px|CSW CH4]]&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen===&lt;br /&gt;
CCC soil nitrogen&lt;br /&gt;
[[File:CCC soil nitrogen.png|400px|CCC soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
CS soil nitrogen&lt;br /&gt;
[[File:CS soil nitrogen.png|400px|CS soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
SSS soil nitrogen&lt;br /&gt;
[[File:SSS soil nitrogen.png|400px|SSS soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
CSW soil nitrogen&lt;br /&gt;
[[File:CSW soil nitrogen.png|400px|CSW soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
Simulation of such complex evnironment as crop rotation in farming was challenging. Created VENSIM model of crop rotation is simplified with some parameters based on just few studies. Real world behaviour can be different because there are many variables affecting the whole process. Although with dramatic simplification, it can be used as a starting point for creating more complex models in agriculture sector. My goal to demonstrate changing of yield, greenhouse gas emissions and nitrogen level was achieved.&lt;br /&gt;
&lt;br /&gt;
Yields results could be extended with price and demand of market implementation for comparsion with different crop yields.&lt;br /&gt;
&lt;br /&gt;
N2O and CO2 emissions were highest in CCC crop strategy, providing speculation that monoculture is enviromentaly unfriendly in compare with polyculture strategies. SSS strategy was providing lowest N2O emissions, on other hand it showed highest CH4 emissions which are specific for legumes as soybean.&lt;br /&gt;
&lt;br /&gt;
Soil nitrogen levels were highly dependent on soybean in crop rotation strategy. With no soybean in crop strategy - in CCC strategy, dramaticaly more inorganic fertilization inputs were necessary&lt;br /&gt;
&lt;br /&gt;
Due to the scope of model, different tillage scenario (0 - no-til) was not simulated. Provided study concluded higher yield and lower emission levels with tillage sceario (1 - tillage, default for simulated model)&lt;br /&gt;
&lt;br /&gt;
===Model extension===&lt;br /&gt;
More complexity can be implemented in the future, for example:&lt;br /&gt;
&lt;br /&gt;
Detailed description of parameteres like Temperature, Pests, Natural disasters or Precipitation.&lt;br /&gt;
More crop strategies or new crops.&lt;br /&gt;
Market variables like demand or prices of crop seeds or harvesting costs could be also implemented.&lt;br /&gt;
Monthly changes (instead of yearly) with more detailed fluctuations during seasons (in Spring there is bigger demand for fertilizers, temperature spikes)&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/File:Crop_rotation_finished.mdl Crop rotation VENSIM model]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
#BEHNKE, Gevan D., Stacy M. ZUBER, Cameron M. PITTELKOW, Emerson D. NAFZIGER a María B. VILLAMIL. Long-term crop rotation and tillage effects on soil greenhouse gas emissions and crop production in Illinois, USA. Agriculture, Ecosystems &amp;amp; Environment [online]. 2018, 261, 62-70 [cit. 2020-01-26]. DOI: 10.1016/j.agee.2018.03.007. ISSN 01678809. Availiable: https://linkinghub.elsevier.com/retrieve/pii/S0167880918301221&lt;br /&gt;
#KOLLAS, Chris, Kurt Christian KERSEBAUM, Claas NENDEL, et al. Crop rotation modelling—A European model intercomparison. European Journal of Agronomy [online]. 2015, 70, 98-111 [cit. 2020-01-26]. DOI: 10.1016/j.eja.2015.06.007. ISSN 11610301. Availiable: https://linkinghub.elsevier.com/retrieve/pii/S1161030115300010&lt;br /&gt;
#BRANKATSCHK, Gerhard a Matthias FINKBEINER. Modeling crop rotation in agricultural LCAs — Challenges and potential solutions. Agricultural Systems [online]. 2015, 138, 66-76 [cit. 2020-01-26]. DOI: 10.1016/j.agsy.2015.05.008. ISSN 0308521X. Availiable: https://linkinghub.elsevier.com/retrieve/pii/S0308521X1500075X&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19338</id>
		<title>Crop Rotation in sustainable farming</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19338"/>
		<updated>2020-01-26T16:39:25Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Problem definition=&lt;br /&gt;
Crop rotation is based on growing a series of different types of crops in the same area in sequential seasons. The planned rotation may vary from a growing season to a few years or even longer periods. It is one of the most effective agricultural control strategies that is used in preventing the loss of soil fertility. It also helps in reducing soil erosion and increases crop yield. Planning an effective crop rotation requires weighing fixed and fluctuating production circumstances: market, farm size, labor supply, climate, soil type, growing practices, etc.&lt;br /&gt;
&lt;br /&gt;
In this simulation I will try to find parameters which have impact on the whole process of crop rotation with goal to find model providing desired outputs (these were slightly changed from concept) - crop yields, greenhouse gas emissions (N2O, CO2, NH4), soil fertility (nitrogen levels).&lt;br /&gt;
&lt;br /&gt;
I will focus on four crop rotation strategies with three different crops - corn, soybean, wheat:&lt;br /&gt;
&lt;br /&gt;
'''CCC''' (continuous corn) - only corn will be farmed for the whole observed time period (40 years)&lt;br /&gt;
&lt;br /&gt;
'''CS''' (corn-soybean) - rotation of corn and soybean will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, repeat..&lt;br /&gt;
&lt;br /&gt;
'''SSS''' (continuous soybean) - only soybean will be farmed for the whole observed time period (40 years) &lt;br /&gt;
&lt;br /&gt;
'''CSW''' (corn-soybean-wheat) - rotation of corn, soybean and wheat will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, third year wheat, repeat..&lt;br /&gt;
&lt;br /&gt;
Goal of this simulation is to observe dynamic changes with yields, greenhouse gas emissions, tillage strategy and soil nitrogen levels, while changing different crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
&lt;br /&gt;
Vensim modelling approach was selected due to dynamic behavior of the simulated system.&lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
&lt;br /&gt;
Following vensim model was developed based on the study.&lt;br /&gt;
[[File:Crop_rotation_vensim_finished.png|900px|thumb|center|Crop rotation Stock Flow Diagram]]&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
&lt;br /&gt;
===Number of rotated crops===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;1,3&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=1 (in case of CCC and SSS strategies)&lt;br /&gt;
&lt;br /&gt;
=2 (in case of CS strategy)&lt;br /&gt;
&lt;br /&gt;
=3 (in case of CSW strategy)&lt;br /&gt;
&lt;br /&gt;
===Corn production===&lt;br /&gt;
''PULSE TRAIN function ensures specific crop to be delivered by time pattern. In crop rotation strategies, if corn is present, it is always first crop, therefore it starts at time 0 (first year), duration is 1 year, repetition is based on number of crops (eg. 2 - it repeats in third year) and final time is set to fixed 40 years according to simulation setup.''&lt;br /&gt;
&lt;br /&gt;
=Corn quantity*PULSE TRAIN(0, 1 , Number of rotated crops ,40)&lt;br /&gt;
&lt;br /&gt;
===Soybean production===&lt;br /&gt;
''Similar case as in Corn production variable only with difference of initial year, if sobyean is present in crop rotation strategy, it is always second crop, therefore it starts at time 1 (second year). In case of SSS strategy it starts at time 0 (first year)''&lt;br /&gt;
&lt;br /&gt;
=Soybean quantity*PULSE TRAIN(IF THEN ELSE(Number of rotated crops=1, 0 , 1 ), 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Wheat production===&lt;br /&gt;
''Similar case as in Corn production variable only with difference of initial year, if wheat is present in crop rotation strategy, it is always third crop, therefore it starts at time 2 (third year).''&lt;br /&gt;
&lt;br /&gt;
=Wheat quantity*PULSE TRAIN(2, 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Corn quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,100&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=100 (in case of CCC, CS and CSW strategies)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of SSS strategy)&lt;br /&gt;
&lt;br /&gt;
===Soybean quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,40&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=40 (in case of CS, SSS and CSW strategies)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of CCC strategy)&lt;br /&gt;
&lt;br /&gt;
===Wheat quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,80&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=80 (in case of CSW strategy)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of CCC, CS, SSS strategies)&lt;br /&gt;
&lt;br /&gt;
===increase of N2O emissions===&lt;br /&gt;
''Auxiliary variable which changes based on each crop production and its emission coefficient (pattern was extracted from a study),additionaly it changes slightly according to tillage strategy and usage of extra inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Soybean production*Soybean N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Wheat production*Wheat N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Inorganic fertilizer/5&lt;br /&gt;
&lt;br /&gt;
===increase of CO2 emissions===&lt;br /&gt;
''Similar auxiliary variable as increase of N20 emissions extra except zero effect with inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)+Soybean production*Soybean CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)+Wheat production&lt;br /&gt;
*Wheat CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)&lt;br /&gt;
&lt;br /&gt;
===increase of CH4 emissions===&lt;br /&gt;
''Similar auxiliary variable as increase of N20 emissions extra except zero effect with inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)+Soybean production*Soybean CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)+Wheat production&lt;br /&gt;
*Wheat CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)&lt;br /&gt;
&lt;br /&gt;
===Cumulative N2O emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of N2O emissions)&lt;br /&gt;
&lt;br /&gt;
===Cumulative CO2 emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of CO2 emissions)&lt;br /&gt;
&lt;br /&gt;
===Cumulative CH4 emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of CH4 emissions)&lt;br /&gt;
&lt;br /&gt;
===Corn N2O emission coef===&lt;br /&gt;
''Constant variable extracted from study and its data, representing how much N20 emissions is produced while producing corn. Can be adjusted in the future. Further coefficients are similar just crop and emission type changes.''&lt;br /&gt;
&lt;br /&gt;
=0.5&lt;br /&gt;
&lt;br /&gt;
===Soybean N2O emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.07&lt;br /&gt;
&lt;br /&gt;
===Wheat N2O emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.005&lt;br /&gt;
&lt;br /&gt;
===Corn CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.3&lt;br /&gt;
&lt;br /&gt;
===Soybean CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.2&lt;br /&gt;
&lt;br /&gt;
===Wheat CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.25&lt;br /&gt;
&lt;br /&gt;
===Corn CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.005&lt;br /&gt;
&lt;br /&gt;
===Soybean CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.01&lt;br /&gt;
&lt;br /&gt;
===Wheat CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.05&lt;br /&gt;
&lt;br /&gt;
===Inorganic fertilizer===&lt;br /&gt;
''Auxiliary variable observes if soil nitrogens decrease below 20 and applies 30 units of fertilizer (which affects NO2 emissions)''&lt;br /&gt;
&lt;br /&gt;
=IF THEN ELSE(Soil nitrogen&amp;lt;20, 30 , 0 )&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen===&lt;br /&gt;
''Level variable observes how much nitrogen in soil increase or decrease''&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of soil N-decrease of soil N)&lt;br /&gt;
&lt;br /&gt;
===increase of soil N===&lt;br /&gt;
''Increase of nitrogen level in soil in this model is triggered either by application of inorganic fertilizer or soybean production (soybean and other legumes increase nitrogen level in soil by its decomposition - extracted from study and its data)''&lt;br /&gt;
&lt;br /&gt;
=Inorganic fertilizer+Soybean production/12&lt;br /&gt;
&lt;br /&gt;
===decrease of soil N===&lt;br /&gt;
''Decrease of nitrogen level in soil in this model is triggered either by corn or wheat production (corn and wheat decreasing nitrogen level in soil by its farming - extracted from study and its data)''&lt;br /&gt;
&lt;br /&gt;
=Corn production/8+Wheat production/12&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen level===&lt;br /&gt;
''Auxiliary variable which is dependent on soil nitrogen quantity. According to soil nitrogen levels, it affects yields based on random function with normal distribution. The less soil nitrogen level, the higher negative impact on yields.''&lt;br /&gt;
&lt;br /&gt;
IF THEN ELSE(Soil nitrogen&amp;lt;10, RANDOM NORMAL( 0.3 , 0.5 , 0.45 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=10) :OR: (Soil nitrogen&amp;gt;20)), RANDOM NORMAL( 0.4 , 0.6 , 0.55 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=20) :AND: (Soil nitrogen&amp;lt;30)), RANDOM NORMAL( 0.5 , 0.8 , 0.75 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=30) :AND: (Soil nitrogen&amp;lt;40)), RANDOM NORMAL( 0.7 , 0.9 , 0.85 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(Soil nitrogen&amp;gt;=40, RANDOM NORMAL( 1 , 1.4 , 1.2 , 0.05 , 100) , 1 )&lt;br /&gt;
&lt;br /&gt;
===Temperature===&lt;br /&gt;
''Auxiliary variable which is based on random function with normal distribution. Study showed that extremes in temperatures can have impacts on harvests and yields. Due to complex behavior, I decided to implement only random function.''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.9 , 1.1 , 1 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Precipitation===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.8 , 1.2 , 1 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Pests===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.9 , 1 , 0.98 , 0.005 , 100)&lt;br /&gt;
&lt;br /&gt;
===Natural disasters===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.01 , 1 , 0.99 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Tillage===&lt;br /&gt;
''Constant variable, which affects yield and emissions. 1 = tilled, 0 = no-till. No-till suppose to be better ecological decision according to study.''&lt;br /&gt;
&lt;br /&gt;
=1 (can be changed to 0)&lt;br /&gt;
&lt;br /&gt;
===increase of C yield===&lt;br /&gt;
''Corn yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Corn production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.05)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===increase of S yield===&lt;br /&gt;
''Soybean  yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Soybean production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.03)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===increase of W yield===&lt;br /&gt;
''Wheat yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Wheat production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.07)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===Corn yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of C yield)&lt;br /&gt;
&lt;br /&gt;
===Soybean yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of S yield)&lt;br /&gt;
&lt;br /&gt;
===Wheat yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of W yield)&lt;br /&gt;
&lt;br /&gt;
===Total yield===&lt;br /&gt;
''Sum of yields''&lt;br /&gt;
&lt;br /&gt;
=Corn yield + Soybean yield + Wheat yield&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
As explained in problem definition sections, four crop rotation strategy were observed: CCC, CS, SSS, CSW. For each strategy I changed necessary variables and did simulation run. I divided results into yields, N2O and CO2 emissions, CH4 emissions and soil nitrogen for comparsion between mentioned crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
===Yields===&lt;br /&gt;
CCC Yield&lt;br /&gt;
[[File:CCC yield.png|400px|CCC Yield]]&lt;br /&gt;
&lt;br /&gt;
CS Yield&lt;br /&gt;
[[File:CS yield.png|400px|CS Yield]]&lt;br /&gt;
&lt;br /&gt;
SSS Yield&lt;br /&gt;
[[File:SSS yield.png|400px|SSS Yield]]&lt;br /&gt;
&lt;br /&gt;
CSW Yield&lt;br /&gt;
[[File:CSW yield.png|400px|CSW Yield]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===N2O and CO2 emissions===&lt;br /&gt;
CCC N2O CO2&lt;br /&gt;
[[File:CCC N2O CO2.png|400px|CCC N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
CS N2O CO2&lt;br /&gt;
[[File:CS N2O CO2.png|400px|CS N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
SSS N2O CO2&lt;br /&gt;
[[File:SSS N2O CO2.png|400px|SSS N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
CSW N2O CO2&lt;br /&gt;
[[File:CSW N2O CO2.png|400px|CSW N2O CO2]]&lt;br /&gt;
&lt;br /&gt;
===CH4 emissions===&lt;br /&gt;
CCC CH4&lt;br /&gt;
[[File:CCC CH4.png|400px|CCC CH4]]&lt;br /&gt;
&lt;br /&gt;
CS CH4&lt;br /&gt;
[[File:CS CH4.png|400px|CS CH4]]&lt;br /&gt;
&lt;br /&gt;
SSS CH4&lt;br /&gt;
[[File:SSS CH4.png|400px|SSS CH4]]&lt;br /&gt;
&lt;br /&gt;
CSW CH4&lt;br /&gt;
[[File:CSW CH4.png|400px|CSW CH4]]&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen===&lt;br /&gt;
CCC soil nitrogen&lt;br /&gt;
[[File:CCC soil nitrogen.png|400px|CCC soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
CS soil nitrogen&lt;br /&gt;
[[File:CS soil nitrogen.png|400px|CS soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
SSS soil nitrogen&lt;br /&gt;
[[File:SSS soil nitrogen.png|400px|SSS soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
CSW soil nitrogen&lt;br /&gt;
[[File:CSW soil nitrogen.png|400px|CSW soil nitrogen]]&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/File:Crop_rotation_finished.mdl Crop rotation VENSIM model]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
#BEHNKE, Gevan D., Stacy M. ZUBER, Cameron M. PITTELKOW, Emerson D. NAFZIGER a María B. VILLAMIL. Long-term crop rotation and tillage effects on soil greenhouse gas emissions and crop production in Illinois, USA. Agriculture, Ecosystems &amp;amp; Environment [online]. 2018, 261, 62-70 [cit. 2020-01-26]. DOI: 10.1016/j.agee.2018.03.007. ISSN 01678809. Availiable: https://linkinghub.elsevier.com/retrieve/pii/S0167880918301221&lt;br /&gt;
#&lt;br /&gt;
#&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:Crop_rotation_finished.mdl&amp;diff=19337</id>
		<title>File:Crop rotation finished.mdl</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:Crop_rotation_finished.mdl&amp;diff=19337"/>
		<updated>2020-01-26T16:37:11Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:SSS_yield.png&amp;diff=19336</id>
		<title>File:SSS yield.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:SSS_yield.png&amp;diff=19336"/>
		<updated>2020-01-26T16:16:02Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:SSS_soil_nitrogen.png&amp;diff=19335</id>
		<title>File:SSS soil nitrogen.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:SSS_soil_nitrogen.png&amp;diff=19335"/>
		<updated>2020-01-26T16:15:54Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:SSS_N2O_CO2.png&amp;diff=19334</id>
		<title>File:SSS N2O CO2.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:SSS_N2O_CO2.png&amp;diff=19334"/>
		<updated>2020-01-26T16:15:46Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:SSS_CH4.png&amp;diff=19333</id>
		<title>File:SSS CH4.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:SSS_CH4.png&amp;diff=19333"/>
		<updated>2020-01-26T16:15:33Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CSW_yield.png&amp;diff=19332</id>
		<title>File:CSW yield.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CSW_yield.png&amp;diff=19332"/>
		<updated>2020-01-26T16:14:46Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CSW_soil_nitrogen.png&amp;diff=19331</id>
		<title>File:CSW soil nitrogen.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CSW_soil_nitrogen.png&amp;diff=19331"/>
		<updated>2020-01-26T16:14:31Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CSW_N2O_CO2.png&amp;diff=19330</id>
		<title>File:CSW N2O CO2.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CSW_N2O_CO2.png&amp;diff=19330"/>
		<updated>2020-01-26T16:14:20Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CSW_CH4.png&amp;diff=19329</id>
		<title>File:CSW CH4.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CSW_CH4.png&amp;diff=19329"/>
		<updated>2020-01-26T16:14:12Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CS_yield.png&amp;diff=19328</id>
		<title>File:CS yield.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CS_yield.png&amp;diff=19328"/>
		<updated>2020-01-26T16:13:45Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CS_soil_nitrogen.png&amp;diff=19327</id>
		<title>File:CS soil nitrogen.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CS_soil_nitrogen.png&amp;diff=19327"/>
		<updated>2020-01-26T16:13:28Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CS_N2O_CO2.png&amp;diff=19326</id>
		<title>File:CS N2O CO2.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CS_N2O_CO2.png&amp;diff=19326"/>
		<updated>2020-01-26T16:13:08Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CS_CH4.png&amp;diff=19325</id>
		<title>File:CS CH4.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CS_CH4.png&amp;diff=19325"/>
		<updated>2020-01-26T16:12:57Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CCC_yield.png&amp;diff=19324</id>
		<title>File:CCC yield.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CCC_yield.png&amp;diff=19324"/>
		<updated>2020-01-26T16:12:44Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CCC_soil_nitrogen.png&amp;diff=19323</id>
		<title>File:CCC soil nitrogen.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CCC_soil_nitrogen.png&amp;diff=19323"/>
		<updated>2020-01-26T16:12:33Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CCC_N2O_CO2.png&amp;diff=19322</id>
		<title>File:CCC N2O CO2.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CCC_N2O_CO2.png&amp;diff=19322"/>
		<updated>2020-01-26T16:12:23Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:CCC_CH4.png&amp;diff=19321</id>
		<title>File:CCC CH4.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:CCC_CH4.png&amp;diff=19321"/>
		<updated>2020-01-26T16:12:14Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19320</id>
		<title>Crop Rotation in sustainable farming</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19320"/>
		<updated>2020-01-26T16:09:54Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Problem definition=&lt;br /&gt;
Crop rotation is based on growing a series of different types of crops in the same area in sequential seasons. The planned rotation may vary from a growing season to a few years or even longer periods. It is one of the most effective agricultural control strategies that is used in preventing the loss of soil fertility. It also helps in reducing soil erosion and increases crop yield. Planning an effective crop rotation requires weighing fixed and fluctuating production circumstances: market, farm size, labor supply, climate, soil type, growing practices, etc.&lt;br /&gt;
&lt;br /&gt;
In this simulation I will try to find parameters which have impact on the whole process of crop rotation with goal to find model providing desired outputs (these were slightly changed from concept) - crop yields, greenhouse gas emissions (N2O, CO2, NH4), soil fertility (nitrogen levels).&lt;br /&gt;
&lt;br /&gt;
I will focus on four crop rotation strategies with three different crops - corn, soybean, wheat:&lt;br /&gt;
&lt;br /&gt;
'''CCC''' (continuous corn) - only corn will be farmed for the whole observed time period (40 years)&lt;br /&gt;
&lt;br /&gt;
'''CS''' (corn-soybean) - rotation of corn and soybean will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, repeat..&lt;br /&gt;
&lt;br /&gt;
'''SSS''' (continuous soybean) - only soybean will be farmed for the whole observed time period (40 years) &lt;br /&gt;
&lt;br /&gt;
'''CSW''' (corn-soybean-wheat) - rotation of corn, soybean and wheat will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, third year wheat, repeat..&lt;br /&gt;
&lt;br /&gt;
Goal of this simulation is to observe dynamic changes with yields, greenhouse gas emissions, tillage strategy and soil nitrogen levels, while changing different crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
&lt;br /&gt;
Vensim modelling approach was selected due to dynamic behavior of the simulated system.&lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
&lt;br /&gt;
Following vensim model was developed based on the study.&lt;br /&gt;
[[File:Crop_rotation_vensim_finished.png|900px|thumb|center|Crop rotation Stock Flow Diagram]]&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
&lt;br /&gt;
===Number of rotated crops===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;1,3&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=1 (in case of CCC and SSS strategies)&lt;br /&gt;
&lt;br /&gt;
=2 (in case of CS strategy)&lt;br /&gt;
&lt;br /&gt;
=3 (in case of CSW strategy)&lt;br /&gt;
&lt;br /&gt;
===Corn production===&lt;br /&gt;
''PULSE TRAIN function ensures specific crop to be delivered by time pattern. In crop rotation strategies, if corn is present, it is always first crop, therefore it starts at time 0 (first year), duration is 1 year, repetition is based on number of crops (eg. 2 - it repeats in third year) and final time is set to fixed 40 years according to simulation setup.''&lt;br /&gt;
&lt;br /&gt;
=Corn quantity*PULSE TRAIN(0, 1 , Number of rotated crops ,40)&lt;br /&gt;
&lt;br /&gt;
===Soybean production===&lt;br /&gt;
''Similar case as in Corn production variable only with difference of initial year, if sobyean is present in crop rotation strategy, it is always second crop, therefore it starts at time 1 (second year). In case of SSS strategy it starts at time 0 (first year)''&lt;br /&gt;
&lt;br /&gt;
=Soybean quantity*PULSE TRAIN(IF THEN ELSE(Number of rotated crops=1, 0 , 1 ), 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Wheat production===&lt;br /&gt;
''Similar case as in Corn production variable only with difference of initial year, if wheat is present in crop rotation strategy, it is always third crop, therefore it starts at time 2 (third year).''&lt;br /&gt;
&lt;br /&gt;
=Wheat quantity*PULSE TRAIN(2, 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Corn quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,100&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=100 (in case of CCC, CS and CSW strategies)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of SSS strategy)&lt;br /&gt;
&lt;br /&gt;
===Soybean quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,40&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=40 (in case of CS, SSS and CSW strategies)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of CCC strategy)&lt;br /&gt;
&lt;br /&gt;
===Wheat quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,80&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=80 (in case of CSW strategy)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of CCC, CS, SSS strategies)&lt;br /&gt;
&lt;br /&gt;
===increase of N2O emissions===&lt;br /&gt;
''Auxiliary variable which changes based on each crop production and its emission coefficient (pattern was extracted from a study),additionaly it changes slightly according to tillage strategy and usage of extra inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Soybean production*Soybean N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Wheat production*Wheat N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Inorganic fertilizer/5&lt;br /&gt;
&lt;br /&gt;
===increase of CO2 emissions===&lt;br /&gt;
''Similar auxiliary variable as increase of N20 emissions extra except zero effect with inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)+Soybean production*Soybean CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)+Wheat production&lt;br /&gt;
*Wheat CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)&lt;br /&gt;
&lt;br /&gt;
===increase of CH4 emissions===&lt;br /&gt;
''Similar auxiliary variable as increase of N20 emissions extra except zero effect with inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)+Soybean production*Soybean CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)+Wheat production&lt;br /&gt;
*Wheat CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)&lt;br /&gt;
&lt;br /&gt;
===Cumulative N2O emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of N2O emissions)&lt;br /&gt;
&lt;br /&gt;
===Cumulative CO2 emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of CO2 emissions)&lt;br /&gt;
&lt;br /&gt;
===Cumulative CH4 emissions===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of CH4 emissions)&lt;br /&gt;
&lt;br /&gt;
===Corn N2O emission coef===&lt;br /&gt;
''Constant variable extracted from study and its data, representing how much N20 emissions is produced while producing corn. Can be adjusted in the future. Further coefficients are similar just crop and emission type changes.''&lt;br /&gt;
&lt;br /&gt;
=0.5&lt;br /&gt;
&lt;br /&gt;
===Soybean N2O emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.07&lt;br /&gt;
&lt;br /&gt;
===Wheat N2O emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.005&lt;br /&gt;
&lt;br /&gt;
===Corn CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.3&lt;br /&gt;
&lt;br /&gt;
===Soybean CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.2&lt;br /&gt;
&lt;br /&gt;
===Wheat CO2 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.25&lt;br /&gt;
&lt;br /&gt;
===Corn CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.005&lt;br /&gt;
&lt;br /&gt;
===Soybean CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.01&lt;br /&gt;
&lt;br /&gt;
===Wheat CH4 emission coef===&lt;br /&gt;
&lt;br /&gt;
=0.05&lt;br /&gt;
&lt;br /&gt;
===Inorganic fertilizer===&lt;br /&gt;
''Auxiliary variable observes if soil nitrogens decrease below 20 and applies 30 units of fertilizer (which affects NO2 emissions)''&lt;br /&gt;
&lt;br /&gt;
=IF THEN ELSE(Soil nitrogen&amp;lt;20, 30 , 0 )&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen===&lt;br /&gt;
''Level variable observes how much nitrogen in soil increase or decrease''&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of soil N-decrease of soil N)&lt;br /&gt;
&lt;br /&gt;
===increase of soil N===&lt;br /&gt;
''Increase of nitrogen level in soil in this model is triggered either by application of inorganic fertilizer or soybean production (soybean and other legumes increase nitrogen level in soil by its decomposition - extracted from study and its data)''&lt;br /&gt;
&lt;br /&gt;
=Inorganic fertilizer+Soybean production/12&lt;br /&gt;
&lt;br /&gt;
===decrease of soil N===&lt;br /&gt;
''Decrease of nitrogen level in soil in this model is triggered either by corn or wheat production (corn and wheat decreasing nitrogen level in soil by its farming - extracted from study and its data)''&lt;br /&gt;
&lt;br /&gt;
=Corn production/8+Wheat production/12&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen level===&lt;br /&gt;
''Auxiliary variable which is dependent on soil nitrogen quantity. According to soil nitrogen levels, it affects yields based on random function with normal distribution. The less soil nitrogen level, the higher negative impact on yields.''&lt;br /&gt;
&lt;br /&gt;
IF THEN ELSE(Soil nitrogen&amp;lt;10, RANDOM NORMAL( 0.3 , 0.5 , 0.45 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=10) :OR: (Soil nitrogen&amp;gt;20)), RANDOM NORMAL( 0.4 , 0.6 , 0.55 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=20) :AND: (Soil nitrogen&amp;lt;30)), RANDOM NORMAL( 0.5 , 0.8 , 0.75 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(((Soil nitrogen&amp;gt;=30) :AND: (Soil nitrogen&amp;lt;40)), RANDOM NORMAL( 0.7 , 0.9 , 0.85 , 0.05 , 100) , 1 )*&lt;br /&gt;
IF THEN ELSE(Soil nitrogen&amp;gt;=40, RANDOM NORMAL( 1 , 1.4 , 1.2 , 0.05 , 100) , 1 )&lt;br /&gt;
&lt;br /&gt;
===Temperature===&lt;br /&gt;
''Auxiliary variable which is based on random function with normal distribution. Study showed that extremes in temperatures can have impacts on harvests and yields. Due to complex behavior, I decided to implement only random function.''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.9 , 1.1 , 1 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Precipitation===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.8 , 1.2 , 1 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Pests===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.9 , 1 , 0.98 , 0.005 , 100)&lt;br /&gt;
&lt;br /&gt;
===Natural disasters===&lt;br /&gt;
''Auxiliary variable, similar to Temperature variable only with different min and max parameters''&lt;br /&gt;
&lt;br /&gt;
=RANDOM NORMAL( 0.01 , 1 , 0.99 , 0.05 , 100)&lt;br /&gt;
&lt;br /&gt;
===Tillage===&lt;br /&gt;
''Constant variable, which affects yield and emissions. 1 = tilled, 0 = no-till. No-till suppose to be better ecological decision according to study.''&lt;br /&gt;
&lt;br /&gt;
=1 (can be changed to 0)&lt;br /&gt;
&lt;br /&gt;
===increase of C yield===&lt;br /&gt;
''Corn yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Corn production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.05)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===increase of S yield===&lt;br /&gt;
''Soybean  yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Soybean production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.03)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===increase of W yield===&lt;br /&gt;
''Wheat yield calculated based on previous variables.''&lt;br /&gt;
&lt;br /&gt;
=Wheat production*Soil nitrogen level*IF THEN ELSE(Tillage=0, 1, 1.07)*Temperature*Precipitation*Pests*Natural disasters&lt;br /&gt;
&lt;br /&gt;
===Corn yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of C yield)&lt;br /&gt;
&lt;br /&gt;
===Soybean yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of S yield)&lt;br /&gt;
&lt;br /&gt;
===Wheat yield===&lt;br /&gt;
&lt;br /&gt;
=INTEG(increase of W yield)&lt;br /&gt;
&lt;br /&gt;
===Total yield===&lt;br /&gt;
''Sum of yields''&lt;br /&gt;
&lt;br /&gt;
=Corn yield + Soybean yield + Wheat yield&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
As explained in problem definition sections, four crop rotation strategy were observed: CCC, CS, SSS, CSW. For each strategy I changed necessary variables and did simulation run. I divided results into yields, N2O and CO2 emissions, CH4 emissions and soil nitrogen for comparsion between mentioned crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
===Yields===&lt;br /&gt;
[[File:CCC yield.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:CS yield.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:SSS yield.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:CSW yield.png]]&lt;br /&gt;
&lt;br /&gt;
===N2O and CO2 emissions===&lt;br /&gt;
[[File:CCC N2O CO2.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:CS N2O CO2.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:SSS N2O CO2.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:CSW N2O CO2.png]]&lt;br /&gt;
&lt;br /&gt;
===CH4 emissions===&lt;br /&gt;
[[File:CCC CH4.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:CS CH4.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:SSS CH4.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:CSW CH4.png]]&lt;br /&gt;
&lt;br /&gt;
===Soil nitrogen===&lt;br /&gt;
[[File:CCC soil nitrogen.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:CS soil nitrogen.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:SSS soil nitrogen.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:CSW soil nitrogen.png]]&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=File:Crop_rotation_vensim_finished.png&amp;diff=19319</id>
		<title>File:Crop rotation vensim finished.png</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=File:Crop_rotation_vensim_finished.png&amp;diff=19319"/>
		<updated>2020-01-26T15:55:24Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19318</id>
		<title>Crop Rotation in sustainable farming</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19318"/>
		<updated>2020-01-26T15:21:36Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Problem definition=&lt;br /&gt;
Crop rotation is based on growing a series of different types of crops in the same area in sequential seasons. The planned rotation may vary from a growing season to a few years or even longer periods. It is one of the most effective agricultural control strategies that is used in preventing the loss of soil fertility. It also helps in reducing soil erosion and increases crop yield. Planning an effective crop rotation requires weighing fixed and fluctuating production circumstances: market, farm size, labor supply, climate, soil type, growing practices, etc.&lt;br /&gt;
&lt;br /&gt;
In this simulation I will try to find parameters which have impact on the whole process of crop rotation with goal to find model providing desired outputs (these were slightly changed from concept) - crop yields, greenhouse gas emissions (N2O, CO2, NH4), soil fertility (nitrogen levels).&lt;br /&gt;
&lt;br /&gt;
I will focus on four crop rotation strategies with three different crops - corn, soybean, wheat:&lt;br /&gt;
&lt;br /&gt;
'''CCC''' (continuous corn) - only corn will be farmed for the whole observed time period (40 years)&lt;br /&gt;
&lt;br /&gt;
'''CS''' (corn-soybean) - rotation of corn and soybean will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, repeat..&lt;br /&gt;
&lt;br /&gt;
'''SSS''' (continuous soybean) - only soybean will be farmed for the whole observed time period (40 years) &lt;br /&gt;
&lt;br /&gt;
'''CSW''' (corn-soybean-wheat) - rotation of corn, soybean and wheat will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, third year wheat, repeat..&lt;br /&gt;
&lt;br /&gt;
Goal of this simulation is to observe dynamic changes with yields, greenhouse gas emissions, tillage strategy and soil nitrogen levels, while changing different crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
&lt;br /&gt;
Vensim modelling approach was selected due to dynamic behavior of the simulated system.&lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
&lt;br /&gt;
===Number of rotated crops===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;1,3&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=1 (in case of CCC and SSS strategies)&lt;br /&gt;
&lt;br /&gt;
=2 (in case of CS strategy)&lt;br /&gt;
&lt;br /&gt;
=3 (in case of CSW strategy)&lt;br /&gt;
&lt;br /&gt;
===Corn production===&lt;br /&gt;
''PULSE TRAIN function ensures specific crop to be delivered by time pattern. In crop rotation strategies, if corn is present, it is always first crop, therefore it starts at time 0 (first year), duration is 1 year, repetition is based on number of crops (eg. 2 - it repeats in third year) and final time is set to fixed 40 years according to simulation setup.''&lt;br /&gt;
&lt;br /&gt;
=Corn quantity*PULSE TRAIN(0, 1 , Number of rotated crops ,40)&lt;br /&gt;
&lt;br /&gt;
===Soybean production===&lt;br /&gt;
''Similar case as in Corn production variable only with difference of initial year, if sobyean is present in crop rotation strategy, it is always second crop, therefore it starts at time 1 (second year). In case of SSS strategy it starts at time 0 (first year)''&lt;br /&gt;
&lt;br /&gt;
=Soybean quantity*PULSE TRAIN(IF THEN ELSE(Number of rotated crops=1, 0 , 1 ), 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Wheat production===&lt;br /&gt;
''Similar case as in Corn production variable only with difference of initial year, if wheat is present in crop rotation strategy, it is always third crop, therefore it starts at time 2 (third year).''&lt;br /&gt;
&lt;br /&gt;
=Wheat quantity*PULSE TRAIN(2, 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Corn quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,100&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=100 (in case of CCC, CS and CSW strategies)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of SSS strategy)&lt;br /&gt;
&lt;br /&gt;
===Soybean quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,40&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=40 (in case of CS, SSS and CSW strategies)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of CCC strategy)&lt;br /&gt;
&lt;br /&gt;
===Wheat quantity===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;0,80&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=80 (in case of CSW strategy)&lt;br /&gt;
&lt;br /&gt;
=0 (in case of CCC, CS, SSS strategies)&lt;br /&gt;
&lt;br /&gt;
===increase of N2O emissions===&lt;br /&gt;
''Auxiliary variable which changes based on each crop production and its emission coefficient (pattern was extracted from a study),additionaly it changes slightly according to tillage strategy and usage of extra inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Soybean production*Soybean N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Wheat production*Wheat N2O emission coef*IF THEN ELSE(Tillage=0, 1.5 , 1.4)+&lt;br /&gt;
Inorganic fertilizer/5&lt;br /&gt;
&lt;br /&gt;
===increase of CO2 emissions===&lt;br /&gt;
''Similar auxiliary variable as increase of N20 emissions extra except zero effect with inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)+Soybean production*Soybean CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)+Wheat production&lt;br /&gt;
*Wheat CO2 emission coef*IF THEN ELSE(Tillage=0, 3 , 2.9)&lt;br /&gt;
&lt;br /&gt;
===increase of CH4 emissions===&lt;br /&gt;
''Similar auxiliary variable as increase of N20 emissions extra except zero effect with inorganic fertilizer.''&lt;br /&gt;
&lt;br /&gt;
Corn production*Corn CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)+Soybean production*Soybean CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)+Wheat production&lt;br /&gt;
*Wheat CH4 emission coef*IF THEN ELSE(Tillage=0, 0.3 , 0.2)&lt;br /&gt;
&lt;br /&gt;
===Cumulative N2O emissions===&lt;br /&gt;
===Cumulative CO2 emissions===&lt;br /&gt;
===Cumulative CH4 emissions===&lt;br /&gt;
===Corn N2O emission coef===&lt;br /&gt;
===Soybean N2O emission coef===&lt;br /&gt;
===Wheat N2O emission coef===&lt;br /&gt;
===Corn CO2 emission coef===&lt;br /&gt;
===Soybean CO2 emission coef===&lt;br /&gt;
===Wheat CO2 emission coef===&lt;br /&gt;
===Corn CH4 emission coef===&lt;br /&gt;
===Soybean CH4 emission coef===&lt;br /&gt;
===Wheat CH4 emission coef===&lt;br /&gt;
===Inorganic fertilizer===&lt;br /&gt;
===Soil nitrogen===&lt;br /&gt;
===increase of soil N===&lt;br /&gt;
===decrease of soil N===&lt;br /&gt;
===Soil nitrogen level===&lt;br /&gt;
===Temperature===&lt;br /&gt;
===Precipitation===&lt;br /&gt;
===Pests===&lt;br /&gt;
===Tillage===&lt;br /&gt;
===Natural disasters===&lt;br /&gt;
===increase of C yield===&lt;br /&gt;
===increase of S yield===&lt;br /&gt;
===increase of W yield===&lt;br /&gt;
===Corn yield===&lt;br /&gt;
===Soybean yield===&lt;br /&gt;
===Wheat yield===&lt;br /&gt;
===Total yield===&lt;br /&gt;
=Corn yield + Soybean yield + Wheat yield&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19317</id>
		<title>Crop Rotation in sustainable farming</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19317"/>
		<updated>2020-01-26T14:55:14Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Problem definition=&lt;br /&gt;
Crop rotation is based on growing a series of different types of crops in the same area in sequential seasons. The planned rotation may vary from a growing season to a few years or even longer periods. It is one of the most effective agricultural control strategies that is used in preventing the loss of soil fertility. It also helps in reducing soil erosion and increases crop yield. Planning an effective crop rotation requires weighing fixed and fluctuating production circumstances: market, farm size, labor supply, climate, soil type, growing practices, etc.&lt;br /&gt;
&lt;br /&gt;
In this simulation I will try to find parameters which have impact on the whole process of crop rotation with goal to find model providing desired outputs (these were slightly changed from concept) - crop yields, greenhouse gas emissions (N2O, CO2, NH4), soil fertility (nitrogen levels).&lt;br /&gt;
&lt;br /&gt;
I will focus on four crop rotation strategies with three different crops - corn, soybean, wheat:&lt;br /&gt;
&lt;br /&gt;
'''CCC''' (continuous corn) - only corn will be farmed for the whole observed time period (40 years)&lt;br /&gt;
&lt;br /&gt;
'''CS''' (corn-soybean) - rotation of corn and soybean will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, repeat..&lt;br /&gt;
&lt;br /&gt;
'''SSS''' (continuous soybean) - only soybean will be farmed for the whole observed time period (40 years) &lt;br /&gt;
&lt;br /&gt;
'''CSW''' (corn-soybean-wheat) - rotation of corn, soybean and wheat will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, third year wheat, repeat..&lt;br /&gt;
&lt;br /&gt;
Goal of this simulation is to observe dynamic changes with yields, greenhouse gas emissions and soil nitrogen levels, while changing different crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
&lt;br /&gt;
Vensim modelling approach was selected due to dynamic behavior of the simulated system.&lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
&lt;br /&gt;
===Number of rotated crops===&lt;br /&gt;
''Input constant variable which can be changed based on crop strategy. Range &amp;lt;1,3&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=1 (in case of CCC and SSS strategies)&lt;br /&gt;
&lt;br /&gt;
=2 (in case of CS strategy)&lt;br /&gt;
&lt;br /&gt;
=3 (in case of CSW strategy)&lt;br /&gt;
&lt;br /&gt;
===Corn production===&lt;br /&gt;
=Corn quantity*PULSE TRAIN(0, 1 , Number of rotated crops ,40)&lt;br /&gt;
&lt;br /&gt;
===Soybean production===&lt;br /&gt;
	Soybean quantity*PULSE TRAIN(IF THEN ELSE(Number of rotated crops=1, 0 , 1 ), 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Wheat production===&lt;br /&gt;
	Wheat quantity*PULSE TRAIN(IF THEN ELSE(Number of rotated crops=1, 0 , 2 ), 1 , Number of rotated crops , 40 )&lt;br /&gt;
&lt;br /&gt;
===Corn quantity===&lt;br /&gt;
	&amp;lt;0,100&amp;gt;&lt;br /&gt;
===Soybean quantity===&lt;br /&gt;
	&amp;lt;0,40&amp;gt;&lt;br /&gt;
===Wheat quantity===&lt;br /&gt;
	&amp;lt;0,80&amp;gt;&lt;br /&gt;
===increase of N2O emissions===&lt;br /&gt;
===increase of CO2 emissions===&lt;br /&gt;
===increase of CH4 emissions===&lt;br /&gt;
===Cumulative N2O emissions===&lt;br /&gt;
===Cumulative CO2 emissions===&lt;br /&gt;
===Cumulative CH4 emissions===&lt;br /&gt;
===Corn N2O emission coef===&lt;br /&gt;
===Soybean N2O emission coef===&lt;br /&gt;
===Wheat N2O emission coef===&lt;br /&gt;
===Corn CO2 emission coef===&lt;br /&gt;
===Soybean CO2 emission coef===&lt;br /&gt;
===Wheat CO2 emission coef===&lt;br /&gt;
===Corn CH4 emission coef===&lt;br /&gt;
===Soybean CH4 emission coef===&lt;br /&gt;
===Wheat CH4 emission coef===&lt;br /&gt;
===Inorganic fertilizer===&lt;br /&gt;
===Soil nitrogen===&lt;br /&gt;
===increase of soil N===&lt;br /&gt;
===decrease of soil N===&lt;br /&gt;
===Soil nitrogen level===&lt;br /&gt;
===Temperature===&lt;br /&gt;
===Precipitation===&lt;br /&gt;
===Pests===&lt;br /&gt;
===Tillage===&lt;br /&gt;
===Natural disasters===&lt;br /&gt;
===increase of C yield===&lt;br /&gt;
===increase of S yield===&lt;br /&gt;
===increase of W yield===&lt;br /&gt;
===Corn yield===&lt;br /&gt;
===Soybean yield===&lt;br /&gt;
===Wheat yield===&lt;br /&gt;
===Total yield===&lt;br /&gt;
= Corn yield + Soybean yield + Wheat yield&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19316</id>
		<title>Crop Rotation in sustainable farming</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19316"/>
		<updated>2020-01-26T14:45:41Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Problem definition=&lt;br /&gt;
Crop rotation is based on growing a series of different types of crops in the same area in sequential seasons. The planned rotation may vary from a growing season to a few years or even longer periods. It is one of the most effective agricultural control strategies that is used in preventing the loss of soil fertility. It also helps in reducing soil erosion and increases crop yield. Planning an effective crop rotation requires weighing fixed and fluctuating production circumstances: market, farm size, labor supply, climate, soil type, growing practices, etc.&lt;br /&gt;
&lt;br /&gt;
In this simulation I will try to find parameters which have impact on the whole process of crop rotation with goal to find model providing desired outputs (these were slightly changed from concept) - crop yields, greenhouse gas emissions (N2O, CO2, NH4), soil fertility (nitrogen levels).&lt;br /&gt;
&lt;br /&gt;
I will focus on four crop rotation strategies with three different crops - corn, soybean, wheat:&lt;br /&gt;
&lt;br /&gt;
'''CCC''' (continuous corn) - only corn will be farmed for the whole observed time period (40 years)&lt;br /&gt;
&lt;br /&gt;
'''CS''' (corn-soybean) - rotation of corn and soybean will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, repeat..&lt;br /&gt;
&lt;br /&gt;
'''SSS''' (continuous soybean) - only soybean will be farmed for the whole observed time period (40 years) &lt;br /&gt;
&lt;br /&gt;
'''CSW''' (corn-soybean-wheat) - rotation of corn, soybean and wheat will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, third year wheat, repeat..&lt;br /&gt;
&lt;br /&gt;
Goal of this simulation is to observe dynamic changes with yields, greenhouse gas emissions and soil nitrogen levels, while changing different crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
&lt;br /&gt;
Vensim modelling approach was selected due to dynamic behavior of the simulated system.&lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
'''Number of rotated crops'''&lt;br /&gt;
	''&amp;lt;1,3&amp;gt;''&lt;br /&gt;
Corn production&lt;br /&gt;
Corn quantity*PULSE TRAIN(0, 1 , Number of rotated crops ,40)&lt;br /&gt;
Soybean production&lt;br /&gt;
	Soybean quantity*PULSE TRAIN(IF THEN ELSE(Number of rotated crops=1, 0 , 1 ), 1 , Number of rotated crops , 40 )&lt;br /&gt;
Wheat production&lt;br /&gt;
	Wheat quantity*PULSE TRAIN(IF THEN ELSE(Number of rotated crops=1, 0 , 2 ), 1 , Number of rotated crops , 40 )&lt;br /&gt;
Corn quantity&lt;br /&gt;
	&amp;lt;0,100&amp;gt;&lt;br /&gt;
Soybean quantity&lt;br /&gt;
	&amp;lt;0,40&amp;gt;&lt;br /&gt;
Wheat quantity&lt;br /&gt;
	&amp;lt;0,80&amp;gt;&lt;br /&gt;
increase of N2O emissions&lt;br /&gt;
increase of CO2 emissions&lt;br /&gt;
increase of CH4 emissions&lt;br /&gt;
Cumulative N2O emissions&lt;br /&gt;
Cumulative CO2 emissions&lt;br /&gt;
Cumulative CH4 emissions&lt;br /&gt;
Corn N2O emission coef&lt;br /&gt;
Soybean N2O emission coef&lt;br /&gt;
Wheat N2O emission coef&lt;br /&gt;
Corn CO2 emission coef&lt;br /&gt;
Soybean CO2 emission coef&lt;br /&gt;
Wheat CO2 emission coef&lt;br /&gt;
Corn CH4 emission coef&lt;br /&gt;
Soybean CH4 emission coef&lt;br /&gt;
Wheat CH4 emission coef&lt;br /&gt;
Inorganic fertilizer&lt;br /&gt;
Soil nitrogen&lt;br /&gt;
increase of soil N&lt;br /&gt;
decrease of soil N&lt;br /&gt;
Soil nitrogen level&lt;br /&gt;
Temperature&lt;br /&gt;
Precipitation&lt;br /&gt;
Pests&lt;br /&gt;
Tillage&lt;br /&gt;
Natural disasters&lt;br /&gt;
increase of C yield&lt;br /&gt;
increase of S yield&lt;br /&gt;
increase of W yield&lt;br /&gt;
Corn yield&lt;br /&gt;
Soybean yield&lt;br /&gt;
Wheat yield&lt;br /&gt;
Total yield = Corn yield + Soybean yield + Wheat yield&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19315</id>
		<title>Crop Rotation in sustainable farming</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19315"/>
		<updated>2020-01-26T14:43:56Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Problem definition=&lt;br /&gt;
Crop rotation is based on growing a series of different types of crops in the same area in sequential seasons. The planned rotation may vary from a growing season to a few years or even longer periods. It is one of the most effective agricultural control strategies that is used in preventing the loss of soil fertility. It also helps in reducing soil erosion and increases crop yield. Planning an effective crop rotation requires weighing fixed and fluctuating production circumstances: market, farm size, labor supply, climate, soil type, growing practices, etc.&lt;br /&gt;
&lt;br /&gt;
In this simulation I will try to find parameters which have impact on the whole process of crop rotation with goal to find model providing desired outputs (these were slightly changed from concept) - crop yields, greenhouse gas emissions (N2O, CO2, NH4), soil fertility (nitrogen levels).&lt;br /&gt;
&lt;br /&gt;
I will focus on four crop rotation strategies with three different crops - corn, soybean, wheat:&lt;br /&gt;
&lt;br /&gt;
''CCC'' (continuous corn) - only corn will be farmed for the whole observed time period (40 years)&lt;br /&gt;
&lt;br /&gt;
''CS'' (corn-soybean) - rotation of corn and soybean will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, repeat..&lt;br /&gt;
&lt;br /&gt;
''SSS'' (continuous soybean) - only soybean will be farmed for the whole observed time period (40 years) &lt;br /&gt;
&lt;br /&gt;
''CSW'' (corn-soybean-wheat) - rotation of corn, soybean and wheat will be used in year cycles for the whole observed time period (40 years), first year corn, second year soybean, third year wheat repeat..&lt;br /&gt;
&lt;br /&gt;
Goal of this simulation is to observe dynamic changes with yields, greenhouse gas emissions and soil nitrogen levels, while changing different crop rotation strategies.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
&lt;br /&gt;
Vensim modelling approach was selected due to dynamic behavior of the simulated system.&lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
'''Number of rotated crops'''&lt;br /&gt;
	''&amp;lt;1,3&amp;gt;''&lt;br /&gt;
Corn production&lt;br /&gt;
Corn quantity*PULSE TRAIN(0, 1 , Number of rotated crops ,40)&lt;br /&gt;
Soybean production&lt;br /&gt;
	Soybean quantity*PULSE TRAIN(IF THEN ELSE(Number of rotated crops=1, 0 , 1 ), 1 , Number of rotated crops , 40 )&lt;br /&gt;
Wheat production&lt;br /&gt;
	Wheat quantity*PULSE TRAIN(IF THEN ELSE(Number of rotated crops=1, 0 , 2 ), 1 , Number of rotated crops , 40 )&lt;br /&gt;
Corn quantity&lt;br /&gt;
	&amp;lt;0,100&amp;gt;&lt;br /&gt;
Soybean quantity&lt;br /&gt;
	&amp;lt;0,40&amp;gt;&lt;br /&gt;
Wheat quantity&lt;br /&gt;
	&amp;lt;0,80&amp;gt;&lt;br /&gt;
increase of N2O emissions&lt;br /&gt;
increase of CO2 emissions&lt;br /&gt;
increase of CH4 emissions&lt;br /&gt;
Cumulative N2O emissions&lt;br /&gt;
Cumulative CO2 emissions&lt;br /&gt;
Cumulative CH4 emissions&lt;br /&gt;
Corn N2O emission coef&lt;br /&gt;
Soybean N2O emission coef&lt;br /&gt;
Wheat N2O emission coef&lt;br /&gt;
Corn CO2 emission coef&lt;br /&gt;
Soybean CO2 emission coef&lt;br /&gt;
Wheat CO2 emission coef&lt;br /&gt;
Corn CH4 emission coef&lt;br /&gt;
Soybean CH4 emission coef&lt;br /&gt;
Wheat CH4 emission coef&lt;br /&gt;
Inorganic fertilizer&lt;br /&gt;
Soil nitrogen&lt;br /&gt;
increase of soil N&lt;br /&gt;
decrease of soil N&lt;br /&gt;
Soil nitrogen level&lt;br /&gt;
Temperature&lt;br /&gt;
Precipitation&lt;br /&gt;
Pests&lt;br /&gt;
Tillage&lt;br /&gt;
Natural disasters&lt;br /&gt;
increase of C yield&lt;br /&gt;
increase of S yield&lt;br /&gt;
increase of W yield&lt;br /&gt;
Corn yield&lt;br /&gt;
Soybean yield&lt;br /&gt;
Wheat yield&lt;br /&gt;
Total yield = Corn yield + Soybean yield + Wheat yield&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=WS_2019/2020&amp;diff=19270</id>
		<title>WS 2019/2020</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=WS_2019/2020&amp;diff=19270"/>
		<updated>2020-01-23T14:41:40Z</updated>

		<summary type="html">&lt;p&gt;Simm04: /* Simulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Semestral papers from winter term 2019/2020. Please, put here links to the pages with your paper. First you need to have your [[Assignments WS 2019/2020|assignment approved]]&lt;br /&gt;
&lt;br /&gt;
== Simulation ==&lt;br /&gt;
[http://www.simulace.info/index.php/Crop_Rotation_in_sustainable_farming Crop Rotation in sustainable farming], [[User:Simm04|Simm04]] ([[User talk:Simm04|talk]]) 15:41, 23 January 2020 (CET)  (in progress)&lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/Cotton_Processing_Quality:_Cotton,_Seed,_Lint,_Trash Cotton Processing Quality: Cotton, Seed, Lint, Trash] , Ibrahim Aghazada (in progress)&lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/Time_Series_Model_Building_Process Time Series Model Building Process] , [[User:Hazn00|Hazn0000]] ([[User talk:Hazn00|talk]]) 16:15, 20 January 2020 (CET) (done)&lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/Indian_Elephant_Population_in_Thailand Indian Elephant Population in Thailand] , [[User:Xkavj12|Xkavj12]] ([[User talk:Xkavj12|talk]]) 18:42, 20 January 2020 (CET) &lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/Atlantic_Bluefin_Tuna_Population Atlantic Bluefin Tuna Population], [[User:Vokp00|Vokp00]] ([[User talk:Vokp00|talk]]) 20:32, 20 January 2020 (CET)&lt;br /&gt;
&lt;br /&gt;
[http://www.simulace.info/index.php/Shopping_Centre_Simulation Shopping Centre Management Simulation], [[User:Tkad01|Tkad01]] ([[User talk:Tkad01|talk]]) 21:57, 20 January 2020 (CET)&lt;br /&gt;
&lt;br /&gt;
== Textbook Chapters ==&lt;br /&gt;
[http://www.simulace.info/index.php/Limits_to_Growth Limits to Growth] , Ibrahim Aghazada&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19269</id>
		<title>Crop Rotation in sustainable farming</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Crop_Rotation_in_sustainable_farming&amp;diff=19269"/>
		<updated>2020-01-23T14:41:07Z</updated>

		<summary type="html">&lt;p&gt;Simm04: Created page with &amp;quot;=Problem definition=  =Method=  =Model=  =Results=  =Conclusion=  =Code=  =References=&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Problem definition=&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Assignments_WS_2019/2020&amp;diff=19005</id>
		<title>Assignments WS 2019/2020</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Assignments_WS_2019/2020&amp;diff=19005"/>
		<updated>2019-12-12T19:03:45Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ambox&lt;br /&gt;
| text  = &amp;lt;div&amp;gt;&lt;br /&gt;
Please, put here your assignments. Do not forget to sign them. You can use &amp;lt;nowiki&amp;gt;~~~~&amp;lt;/nowiki&amp;gt; (four tildas) for an automatic signature. Use Show preview in order to check the result before your final sumbition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Ambox&lt;br /&gt;
| text  = &amp;lt;div&amp;gt;&lt;br /&gt;
Please, strive to formulate your assignment carefully. We expect an adequate effort to formulate the assignment as it is your semestral paper. Do not forget that your main goal is a research paper. It means your simulation model must generate the results that are specific, measurable and verifiable. Think twice how you will develop your model, which entities you will use, draw a model diagram, consider what you will measure. No sooner than when you have a good idea about the model, submit your assignment. And of course, read [[How to deal with the simulation assignment|How to deal with the simulation assignment]].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Ambox&lt;br /&gt;
| text  = &amp;lt;div&amp;gt;&lt;br /&gt;
Topics on gambling, cards, etc. are not welcome.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Ambox&lt;br /&gt;
| type  = content&lt;br /&gt;
| text  = &amp;lt;div&amp;gt;&lt;br /&gt;
In order to avoid possible confusion, please, check if you have added '''approved''' in bold somewhere in our comment under your submission. If there is no '''approved''', it means the assignment was not approved yet.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Simulation Proposal - Orders completion in a warehouse ==&lt;br /&gt;
&lt;br /&gt;
We need to optimize number of warehouse workers and packaging stations in a warehouse with cca 20 000 different products stored. There are workers that work on picking the products for orders from stock positions and there is also one worker per packaging station assigned. Picking products for one regular order takes 15 minutes on average and for one B2B order takes 90 minutes on average. Packaging one regular order takes 2 minutes on average and B2B order takes 45 minutes on average. Ratio of regular to B2B orders is 25:1. &lt;br /&gt;
We want to find out optimal set up of number of workers and packaging stations. &lt;br /&gt;
&lt;br /&gt;
'''Title:''' Orders completion in a warehouse&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Ján Káva&lt;br /&gt;
&lt;br /&gt;
'''Model type:''' Discrete event&lt;br /&gt;
&lt;br /&gt;
'''Modeling tool:''' Simprocess&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Simulation Proposal - Santa Clause Elves &amp;amp; Scattered Gifts ==&lt;br /&gt;
&lt;br /&gt;
This simulation is inspired by couple of animation movies from my childhood. Imagine, sleigh of the Santa crashed and all the gifts scattered. Elves try to move around and calculate all the gifts by moving to the sleigh. So, each elf moves randomly until he will found a gift, then he carries the gift to the sleigh. After he will put gift into sleigh he will perform operations again. The process will continue until all the gifts will be in sleigh.&lt;br /&gt;
&lt;br /&gt;
'''Title:'''Santa Clause Elves &amp;amp; Scattered Gifts&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Ibrahim Aghazada&lt;br /&gt;
&lt;br /&gt;
'''Model type:''' Multi Agent&lt;br /&gt;
&lt;br /&gt;
'''Modeling tool:''' NetLogo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Simulation Proposal - Atlantic Bluefin Tuna Population==&lt;br /&gt;
&lt;br /&gt;
The population of tuna worldwide is decreasing due to being overfished. Yet some studies claim, that overfishing is not the main cause of the tuna population reduction. Christelle Ravier and Jean-Marc Fromentin in their paper &amp;quot;Long-term fluctuations in the eastern Atlantic and Mediterranean bluefin tuna population&amp;quot; came to the conclusion that the bluefin tuna population may be influence by biotic and environmental factors more than by overexploitation. This simulation will use available data of population size, juvenile death, environmental influences, fishing statistics and other to investigate whether overfishing is the main culprit for bluefin tuna population decline.&lt;br /&gt;
&lt;br /&gt;
'''Title:''' Atlantic Bluefin Tuna Population&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Petra Vokálová, [[User:Vokp00|Vokp00]] ([[User talk:Vokp00|talk]]) 07:43, 9 December 2019 (CET)&lt;br /&gt;
&lt;br /&gt;
'''Model type:''' Stock and flow diagram&lt;br /&gt;
&lt;br /&gt;
'''Modeling tool:''' Vensim&lt;br /&gt;
&lt;br /&gt;
:: [[User:Oleg.Svatos|Oleg.Svatos]] ([[User talk:Oleg.Svatos|talk]]) 22:09, 11 December 2019 (CET) '''Approved'''. Make sure that you describe in detail in the report, how you have derived the equations from the available data (proving so that they are based on relevant data).&lt;br /&gt;
&lt;br /&gt;
== Simulation Proposal - Crop Rotation in sustainable farming==&lt;br /&gt;
&lt;br /&gt;
Crop rotation is based on growing a series of different types of crops in the same area in sequential seasons. The planned rotation may vary from a growing season to a few years or even longer periods. It is one of the most effective agricultural control strategies that is used in preventing the loss of soil fertility. It also helps in reducing soil erosion and increases crop yield. Planning an effective crop rotation requires weighing fixed and fluctuating production circumstances: market, farm size, labor supply, climate, soil type, growing practices, etc. In this simulation I will try to find parameters which have impact on the whole process of crop rotation with goal to find model providing desired outputs - high soil fertility, low soil erosion, good quality crops, high crop field and therefore higher revenue.&lt;br /&gt;
&lt;br /&gt;
'''Title:''' Crop Rotation in sustainable farming&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Michal Šimánek, [[User:Simm04|Simm04]] ([[User talk:Simm04|talk]]) 20:33, 10 December 2019 (CET)&lt;br /&gt;
&lt;br /&gt;
'''Model type:''' Stock and flow diagram&lt;br /&gt;
&lt;br /&gt;
'''Modeling tool:''' Vensim&lt;br /&gt;
&lt;br /&gt;
:: [[User:Oleg.Svatos|Oleg.Svatos]] ([[User talk:Oleg.Svatos|talk]]) 22:13, 11 December 2019 (CET) What data will you build (derive the equations) your simulation on?&lt;br /&gt;
&lt;br /&gt;
:: [[User:Simm04|Simm04]] ([[User talk:Simm04|talk]]) 20:02, 12 December 2019 (CET) I would use available dataset from https://www.nature.com/articles/s41598-017-14271-6#Sec16&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Assignments_WS_2019/2020&amp;diff=19001</id>
		<title>Assignments WS 2019/2020</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Assignments_WS_2019/2020&amp;diff=19001"/>
		<updated>2019-12-10T19:35:00Z</updated>

		<summary type="html">&lt;p&gt;Simm04: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ambox&lt;br /&gt;
| text  = &amp;lt;div&amp;gt;&lt;br /&gt;
Please, put here your assignments. Do not forget to sign them. You can use &amp;lt;nowiki&amp;gt;~~~~&amp;lt;/nowiki&amp;gt; (four tildas) for an automatic signature. Use Show preview in order to check the result before your final sumbition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Ambox&lt;br /&gt;
| text  = &amp;lt;div&amp;gt;&lt;br /&gt;
Please, strive to formulate your assignment carefully. We expect an adequate effort to formulate the assignment as it is your semestral paper. Do not forget that your main goal is a research paper. It means your simulation model must generate the results that are specific, measurable and verifiable. Think twice how you will develop your model, which entities you will use, draw a model diagram, consider what you will measure. No sooner than when you have a good idea about the model, submit your assignment. And of course, read [[How to deal with the simulation assignment|How to deal with the simulation assignment]].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Ambox&lt;br /&gt;
| text  = &amp;lt;div&amp;gt;&lt;br /&gt;
Topics on gambling, cards, etc. are not welcome.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Ambox&lt;br /&gt;
| type  = content&lt;br /&gt;
| text  = &amp;lt;div&amp;gt;&lt;br /&gt;
In order to avoid possible confusion, please, check if you have added '''approved''' in bold somewhere in our comment under your submission. If there is no '''approved''', it means the assignment was not approved yet.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Simulation Proposal - Santa Clause Elves &amp;amp; Scattered Gifts ==&lt;br /&gt;
&lt;br /&gt;
This simulation is inspired by couple of animation movies from my childhood. Imagine, sleigh of the Santa crashed and all the gifts scattered. Elves try to move around and calculate all the gifts by moving to the sleigh. So, each elf moves randomly until he will found a gift, then he carries the gift to the sleigh. After he will put gift into sleigh he will perform operations again. The process will continue until all the gifts will be in sleigh.&lt;br /&gt;
&lt;br /&gt;
'''Title:'''Santa Clause Elves &amp;amp; Scattered Gifts&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Ibrahim Aghazada&lt;br /&gt;
&lt;br /&gt;
'''Model type:''' Multi Agent&lt;br /&gt;
&lt;br /&gt;
'''Modeling tool:''' NetLogo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Simulation Proposal - Atlantic Bluefin Tuna Population==&lt;br /&gt;
&lt;br /&gt;
The population of tuna worldwide is decreasing due to being overfished. Yet some studies claim, that overfishing is not the main cause of the tuna population reduction. Christelle Ravier and Jean-Marc Fromentin in their paper &amp;quot;Long-term fluctuations in the eastern Atlantic and Mediterranean bluefin tuna population&amp;quot; came to the conclusion that the bluefin tuna population may be influence by biotic and environmental factors more than by overexploitation. This simulation will use available data of population size, juvenile death, environmental influences, fishing statistics and other to investigate whether overfishing is the main culprit for bluefin tuna population decline.&lt;br /&gt;
&lt;br /&gt;
'''Title:''' Atlantic Bluefin Tuna Population&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Petra Vokálová, [[User:Vokp00|Vokp00]] ([[User talk:Vokp00|talk]]) 07:43, 9 December 2019 (CET)&lt;br /&gt;
&lt;br /&gt;
'''Model type:''' Stock and flow diagram&lt;br /&gt;
&lt;br /&gt;
'''Modeling tool:''' Vensim&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Simulation Proposal - Crop Rotation in sustainable farming==&lt;br /&gt;
&lt;br /&gt;
Crop rotation is based on growing a series of different types of crops in the same area in sequential seasons. The planned rotation may vary from a growing season to a few years or even longer periods. It is one of the most effective agricultural control strategies that is used in preventing the loss of soil fertility. It also helps in reducing soil erosion and increases crop yield. Planning an effective crop rotation requires weighing fixed and fluctuating production circumstances: market, farm size, labor supply, climate, soil type, growing practices, etc. In this simulation I will try to find parameters which have impact on the whole process of crop rotation with goal to find model providing desired outputs - high soil fertility, low soil erosion, good quality crops, high crop field and therefore higher revenue.&lt;br /&gt;
&lt;br /&gt;
'''Title:''' Crop Rotation in sustainable farming&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Michal Šimánek, [[User:Simm04|Simm04]] ([[User talk:Simm04|talk]]) 20:33, 10 December 2019 (CET)&lt;br /&gt;
&lt;br /&gt;
'''Model type:''' Stock and flow diagram&lt;br /&gt;
&lt;br /&gt;
'''Modeling tool:''' Vensim&lt;/div&gt;</summary>
		<author><name>Simm04</name></author>
		
	</entry>
</feed>