diff --git a/.terrametmp_E14Hj/Coffee-chart-1.bmp b/.terrametmp_E14Hj/Coffee-chart-1.bmp new file mode 100644 index 0000000..231a74c Binary files /dev/null and b/.terrametmp_E14Hj/Coffee-chart-1.bmp differ diff --git a/.terrametmp_E14Hj/Daisyworld-chart-1.bmp b/.terrametmp_E14Hj/Daisyworld-chart-1.bmp new file mode 100644 index 0000000..983e379 Binary files /dev/null and b/.terrametmp_E14Hj/Daisyworld-chart-1.bmp differ diff --git a/.terrametmp_E14Hj/Daisyworld-chart-2.bmp b/.terrametmp_E14Hj/Daisyworld-chart-2.bmp new file mode 100644 index 0000000..ec40f4b Binary files /dev/null and b/.terrametmp_E14Hj/Daisyworld-chart-2.bmp differ diff --git a/.terrametmp_E14Hj/Daisyworld-chart-3.bmp b/.terrametmp_E14Hj/Daisyworld-chart-3.bmp new file mode 100644 index 0000000..6b77eec Binary files /dev/null and b/.terrametmp_E14Hj/Daisyworld-chart-3.bmp differ diff --git a/.terrametmp_E14Hj/Daisyworld-chart-4.bmp b/.terrametmp_E14Hj/Daisyworld-chart-4.bmp new file mode 100644 index 0000000..ba1e5c4 Binary files /dev/null and b/.terrametmp_E14Hj/Daisyworld-chart-4.bmp differ diff --git a/.terrametmp_E14Hj/chaotic-growth.png b/.terrametmp_E14Hj/chaotic-growth.png new file mode 100644 index 0000000..84e5a69 Binary files /dev/null and b/.terrametmp_E14Hj/chaotic-growth.png differ diff --git a/log/Dam-chart-1.bmp b/log/Dam-chart-1.bmp new file mode 100644 index 0000000..cc45b57 Binary files /dev/null and b/log/Dam-chart-1.bmp differ diff --git a/log/Dam-chart-2.bmp b/log/Dam-chart-2.bmp new file mode 100644 index 0000000..ed67ce8 Binary files /dev/null and b/log/Dam-chart-2.bmp differ diff --git a/lua/.terrametmp_2lBrT/Coffee-chart-1.bmp b/lua/.terrametmp_2lBrT/Coffee-chart-1.bmp new file mode 100644 index 0000000..231a74c Binary files /dev/null and b/lua/.terrametmp_2lBrT/Coffee-chart-1.bmp differ diff --git a/lua/.terrametmp_2lBrT/Daisyworld-chart-1.bmp b/lua/.terrametmp_2lBrT/Daisyworld-chart-1.bmp new file mode 100644 index 0000000..983e379 Binary files /dev/null and b/lua/.terrametmp_2lBrT/Daisyworld-chart-1.bmp differ diff --git a/lua/.terrametmp_2lBrT/Daisyworld-chart-2.bmp b/lua/.terrametmp_2lBrT/Daisyworld-chart-2.bmp new file mode 100644 index 0000000..ec40f4b Binary files /dev/null and b/lua/.terrametmp_2lBrT/Daisyworld-chart-2.bmp differ diff --git a/lua/.terrametmp_2lBrT/Daisyworld-chart-3.bmp b/lua/.terrametmp_2lBrT/Daisyworld-chart-3.bmp new file mode 100644 index 0000000..6b77eec Binary files /dev/null and b/lua/.terrametmp_2lBrT/Daisyworld-chart-3.bmp differ diff --git a/lua/.terrametmp_2lBrT/Daisyworld-chart-4.bmp b/lua/.terrametmp_2lBrT/Daisyworld-chart-4.bmp new file mode 100644 index 0000000..ba1e5c4 Binary files /dev/null and b/lua/.terrametmp_2lBrT/Daisyworld-chart-4.bmp differ diff --git a/lua/.terrametmp_2lBrT/Dam-chart-1.bmp b/lua/.terrametmp_2lBrT/Dam-chart-1.bmp new file mode 100644 index 0000000..cc45b57 Binary files /dev/null and b/lua/.terrametmp_2lBrT/Dam-chart-1.bmp differ diff --git a/lua/.terrametmp_2lBrT/Dam-chart-2.bmp b/lua/.terrametmp_2lBrT/Dam-chart-2.bmp new file mode 100644 index 0000000..ed67ce8 Binary files /dev/null and b/lua/.terrametmp_2lBrT/Dam-chart-2.bmp differ diff --git a/lua/.terrametmp_2lBrT/Lorenz-chart-1.bmp b/lua/.terrametmp_2lBrT/Lorenz-chart-1.bmp new file mode 100644 index 0000000..5fa948f Binary files /dev/null and b/lua/.terrametmp_2lBrT/Lorenz-chart-1.bmp differ diff --git a/lua/.terrametmp_2lBrT/Lorenz-chart-2.bmp b/lua/.terrametmp_2lBrT/Lorenz-chart-2.bmp new file mode 100644 index 0000000..4e6c68e Binary files /dev/null and b/lua/.terrametmp_2lBrT/Lorenz-chart-2.bmp differ diff --git a/lua/.terrametmp_2lBrT/SIR-chart-1.bmp b/lua/.terrametmp_2lBrT/SIR-chart-1.bmp new file mode 100644 index 0000000..8aa4a69 Binary files /dev/null and b/lua/.terrametmp_2lBrT/SIR-chart-1.bmp differ diff --git a/lua/.terrametmp_2lBrT/SIR-chart-2.bmp b/lua/.terrametmp_2lBrT/SIR-chart-2.bmp new file mode 100644 index 0000000..584c171 Binary files /dev/null and b/lua/.terrametmp_2lBrT/SIR-chart-2.bmp differ diff --git a/lua/.terrametmp_2lBrT/Yeast-chart-1.bmp b/lua/.terrametmp_2lBrT/Yeast-chart-1.bmp new file mode 100644 index 0000000..e7040c9 Binary files /dev/null and b/lua/.terrametmp_2lBrT/Yeast-chart-1.bmp differ diff --git a/lua/.terrametmp_2lBrT/chaotic-growth.png b/lua/.terrametmp_2lBrT/chaotic-growth.png new file mode 100644 index 0000000..84e5a69 Binary files /dev/null and b/lua/.terrametmp_2lBrT/chaotic-growth.png differ diff --git a/lua/.terrametmp_2lBrT/examples-coffee-scenarios-chart-1-end.png b/lua/.terrametmp_2lBrT/examples-coffee-scenarios-chart-1-end.png new file mode 100644 index 0000000..7712df4 Binary files /dev/null and b/lua/.terrametmp_2lBrT/examples-coffee-scenarios-chart-1-end.png differ diff --git a/lua/.terrametmp_2lBrT/examples-infection-scenarios-1-chart-1-end.png b/lua/.terrametmp_2lBrT/examples-infection-scenarios-1-chart-1-end.png new file mode 100644 index 0000000..460749c Binary files /dev/null and b/lua/.terrametmp_2lBrT/examples-infection-scenarios-1-chart-1-end.png differ diff --git a/lua/.terrametmp_2lBrT/examples-infection-scenarios-2-chart-1-end.png b/lua/.terrametmp_2lBrT/examples-infection-scenarios-2-chart-1-end.png new file mode 100644 index 0000000..b0e29ad Binary files /dev/null and b/lua/.terrametmp_2lBrT/examples-infection-scenarios-2-chart-1-end.png differ diff --git a/lua/.terrametmp_2lBrT/examples-infection-scenarios-3-chart-1-end.png b/lua/.terrametmp_2lBrT/examples-infection-scenarios-3-chart-1-end.png new file mode 100644 index 0000000..e5487a6 Binary files /dev/null and b/lua/.terrametmp_2lBrT/examples-infection-scenarios-3-chart-1-end.png differ diff --git a/lua/.terrametmp_2lBrT/examples-population-scenarios-1-chart-1-end.png b/lua/.terrametmp_2lBrT/examples-population-scenarios-1-chart-1-end.png new file mode 100644 index 0000000..5166206 Binary files /dev/null and b/lua/.terrametmp_2lBrT/examples-population-scenarios-1-chart-1-end.png differ diff --git a/lua/.terrametmp_2lBrT/examples-population-scenarios-2-chart-1-end.png b/lua/.terrametmp_2lBrT/examples-population-scenarios-2-chart-1-end.png new file mode 100644 index 0000000..d21e06c Binary files /dev/null and b/lua/.terrametmp_2lBrT/examples-population-scenarios-2-chart-1-end.png differ diff --git a/lua/.terrametmp_2lBrT/homeostasis.png b/lua/.terrametmp_2lBrT/homeostasis.png new file mode 100644 index 0000000..9e7e41c Binary files /dev/null and b/lua/.terrametmp_2lBrT/homeostasis.png differ diff --git a/lua/.terrametmp_2lBrT/limited-growth.png b/lua/.terrametmp_2lBrT/limited-growth.png new file mode 100644 index 0000000..9e4b1f3 Binary files /dev/null and b/lua/.terrametmp_2lBrT/limited-growth.png differ diff --git a/lua/.terrametmp_2lBrT/monolake-1.png b/lua/.terrametmp_2lBrT/monolake-1.png new file mode 100644 index 0000000..4c540ed Binary files /dev/null and b/lua/.terrametmp_2lBrT/monolake-1.png differ diff --git a/lua/.terrametmp_2lBrT/monolake-2.png b/lua/.terrametmp_2lBrT/monolake-2.png new file mode 100644 index 0000000..9d5ff26 Binary files /dev/null and b/lua/.terrametmp_2lBrT/monolake-2.png differ diff --git a/lua/.terrametmp_2lBrT/population-growth.png b/lua/.terrametmp_2lBrT/population-growth.png new file mode 100644 index 0000000..412a6d6 Binary files /dev/null and b/lua/.terrametmp_2lBrT/population-growth.png differ diff --git a/lua/.terrametmp_2lBrT/predator-prey-1.png b/lua/.terrametmp_2lBrT/predator-prey-1.png new file mode 100644 index 0000000..ffe7d49 Binary files /dev/null and b/lua/.terrametmp_2lBrT/predator-prey-1.png differ diff --git a/lua/.terrametmp_2lBrT/predator-prey-2.png b/lua/.terrametmp_2lBrT/predator-prey-2.png new file mode 100644 index 0000000..dc2dfdf Binary files /dev/null and b/lua/.terrametmp_2lBrT/predator-prey-2.png differ diff --git a/lua/.terrametmp_2lBrT/random-walk.png b/lua/.terrametmp_2lBrT/random-walk.png new file mode 100644 index 0000000..b034c02 Binary files /dev/null and b/lua/.terrametmp_2lBrT/random-walk.png differ diff --git a/lua/.terrametmp_2lBrT/room-temperature.png b/lua/.terrametmp_2lBrT/room-temperature.png new file mode 100644 index 0000000..3eda084 Binary files /dev/null and b/lua/.terrametmp_2lBrT/room-temperature.png differ diff --git a/lua/.terrametmp_2lBrT/tub-2.png b/lua/.terrametmp_2lBrT/tub-2.png new file mode 100644 index 0000000..922a037 Binary files /dev/null and b/lua/.terrametmp_2lBrT/tub-2.png differ diff --git a/lua/.terrametmp_2lBrT/tub.png b/lua/.terrametmp_2lBrT/tub.png new file mode 100644 index 0000000..404f92a Binary files /dev/null and b/lua/.terrametmp_2lBrT/tub.png differ diff --git a/lua/.terrametmp_ChR8n/Coffee-chart-1.bmp b/lua/.terrametmp_ChR8n/Coffee-chart-1.bmp new file mode 100644 index 0000000..231a74c Binary files /dev/null and b/lua/.terrametmp_ChR8n/Coffee-chart-1.bmp differ diff --git a/lua/.terrametmp_ChR8n/Daisyworld-chart-1.bmp b/lua/.terrametmp_ChR8n/Daisyworld-chart-1.bmp new file mode 100644 index 0000000..983e379 Binary files /dev/null and b/lua/.terrametmp_ChR8n/Daisyworld-chart-1.bmp differ diff --git a/lua/.terrametmp_ChR8n/Daisyworld-chart-2.bmp b/lua/.terrametmp_ChR8n/Daisyworld-chart-2.bmp new file mode 100644 index 0000000..ec40f4b Binary files /dev/null and b/lua/.terrametmp_ChR8n/Daisyworld-chart-2.bmp differ diff --git a/lua/.terrametmp_ChR8n/Daisyworld-chart-3.bmp b/lua/.terrametmp_ChR8n/Daisyworld-chart-3.bmp new file mode 100644 index 0000000..6b77eec Binary files /dev/null and b/lua/.terrametmp_ChR8n/Daisyworld-chart-3.bmp differ diff --git a/lua/.terrametmp_ChR8n/Daisyworld-chart-4.bmp b/lua/.terrametmp_ChR8n/Daisyworld-chart-4.bmp new file mode 100644 index 0000000..ba1e5c4 Binary files /dev/null and b/lua/.terrametmp_ChR8n/Daisyworld-chart-4.bmp differ diff --git a/lua/.terrametmp_ChR8n/Dam-chart-1.bmp b/lua/.terrametmp_ChR8n/Dam-chart-1.bmp new file mode 100644 index 0000000..cc45b57 Binary files /dev/null and b/lua/.terrametmp_ChR8n/Dam-chart-1.bmp differ diff --git a/lua/.terrametmp_ChR8n/Dam-chart-2.bmp b/lua/.terrametmp_ChR8n/Dam-chart-2.bmp new file mode 100644 index 0000000..ed67ce8 Binary files /dev/null and b/lua/.terrametmp_ChR8n/Dam-chart-2.bmp differ diff --git a/lua/.terrametmp_ChR8n/Lorenz-chart-1.bmp b/lua/.terrametmp_ChR8n/Lorenz-chart-1.bmp new file mode 100644 index 0000000..5fa948f Binary files /dev/null and b/lua/.terrametmp_ChR8n/Lorenz-chart-1.bmp differ diff --git a/lua/.terrametmp_ChR8n/Lorenz-chart-2.bmp b/lua/.terrametmp_ChR8n/Lorenz-chart-2.bmp new file mode 100644 index 0000000..4e6c68e Binary files /dev/null and b/lua/.terrametmp_ChR8n/Lorenz-chart-2.bmp differ diff --git a/lua/.terrametmp_ChR8n/SIR-chart-1.bmp b/lua/.terrametmp_ChR8n/SIR-chart-1.bmp new file mode 100644 index 0000000..8aa4a69 Binary files /dev/null and b/lua/.terrametmp_ChR8n/SIR-chart-1.bmp differ diff --git a/lua/.terrametmp_ChR8n/SIR-chart-2.bmp b/lua/.terrametmp_ChR8n/SIR-chart-2.bmp new file mode 100644 index 0000000..584c171 Binary files /dev/null and b/lua/.terrametmp_ChR8n/SIR-chart-2.bmp differ diff --git a/lua/.terrametmp_ChR8n/Yeast-chart-1.bmp b/lua/.terrametmp_ChR8n/Yeast-chart-1.bmp new file mode 100644 index 0000000..e7040c9 Binary files /dev/null and b/lua/.terrametmp_ChR8n/Yeast-chart-1.bmp differ diff --git a/lua/.terrametmp_ChR8n/chaotic-growth.png b/lua/.terrametmp_ChR8n/chaotic-growth.png new file mode 100644 index 0000000..84e5a69 Binary files /dev/null and b/lua/.terrametmp_ChR8n/chaotic-growth.png differ diff --git a/lua/.terrametmp_ChR8n/examples-coffee-scenarios-chart-1-end.png b/lua/.terrametmp_ChR8n/examples-coffee-scenarios-chart-1-end.png new file mode 100644 index 0000000..7712df4 Binary files /dev/null and b/lua/.terrametmp_ChR8n/examples-coffee-scenarios-chart-1-end.png differ diff --git a/lua/.terrametmp_ChR8n/examples-infection-scenarios-1-chart-1-end.png b/lua/.terrametmp_ChR8n/examples-infection-scenarios-1-chart-1-end.png new file mode 100644 index 0000000..460749c Binary files /dev/null and b/lua/.terrametmp_ChR8n/examples-infection-scenarios-1-chart-1-end.png differ diff --git a/lua/.terrametmp_ChR8n/examples-infection-scenarios-2-chart-1-end.png b/lua/.terrametmp_ChR8n/examples-infection-scenarios-2-chart-1-end.png new file mode 100644 index 0000000..b0e29ad Binary files /dev/null and b/lua/.terrametmp_ChR8n/examples-infection-scenarios-2-chart-1-end.png differ diff --git a/lua/.terrametmp_ChR8n/examples-infection-scenarios-3-chart-1-end.png b/lua/.terrametmp_ChR8n/examples-infection-scenarios-3-chart-1-end.png new file mode 100644 index 0000000..e5487a6 Binary files /dev/null and b/lua/.terrametmp_ChR8n/examples-infection-scenarios-3-chart-1-end.png differ diff --git a/lua/.terrametmp_ChR8n/examples-population-scenarios-1-chart-1-end.png b/lua/.terrametmp_ChR8n/examples-population-scenarios-1-chart-1-end.png new file mode 100644 index 0000000..5166206 Binary files /dev/null and b/lua/.terrametmp_ChR8n/examples-population-scenarios-1-chart-1-end.png differ diff --git a/lua/.terrametmp_ChR8n/examples-population-scenarios-2-chart-1-end.png b/lua/.terrametmp_ChR8n/examples-population-scenarios-2-chart-1-end.png new file mode 100644 index 0000000..d21e06c Binary files /dev/null and b/lua/.terrametmp_ChR8n/examples-population-scenarios-2-chart-1-end.png differ diff --git a/lua/.terrametmp_ChR8n/homeostasis.png b/lua/.terrametmp_ChR8n/homeostasis.png new file mode 100644 index 0000000..9e7e41c Binary files /dev/null and b/lua/.terrametmp_ChR8n/homeostasis.png differ diff --git a/lua/.terrametmp_ChR8n/limited-growth.png b/lua/.terrametmp_ChR8n/limited-growth.png new file mode 100644 index 0000000..9e4b1f3 Binary files /dev/null and b/lua/.terrametmp_ChR8n/limited-growth.png differ diff --git a/lua/.terrametmp_ChR8n/monolake-1.png b/lua/.terrametmp_ChR8n/monolake-1.png new file mode 100644 index 0000000..4c540ed Binary files /dev/null and b/lua/.terrametmp_ChR8n/monolake-1.png differ diff --git a/lua/.terrametmp_ChR8n/monolake-2.png b/lua/.terrametmp_ChR8n/monolake-2.png new file mode 100644 index 0000000..9d5ff26 Binary files /dev/null and b/lua/.terrametmp_ChR8n/monolake-2.png differ diff --git a/lua/.terrametmp_ChR8n/population-growth.png b/lua/.terrametmp_ChR8n/population-growth.png new file mode 100644 index 0000000..412a6d6 Binary files /dev/null and b/lua/.terrametmp_ChR8n/population-growth.png differ diff --git a/lua/.terrametmp_ChR8n/predator-prey-1.png b/lua/.terrametmp_ChR8n/predator-prey-1.png new file mode 100644 index 0000000..ffe7d49 Binary files /dev/null and b/lua/.terrametmp_ChR8n/predator-prey-1.png differ diff --git a/lua/.terrametmp_ChR8n/predator-prey-2.png b/lua/.terrametmp_ChR8n/predator-prey-2.png new file mode 100644 index 0000000..dc2dfdf Binary files /dev/null and b/lua/.terrametmp_ChR8n/predator-prey-2.png differ diff --git a/lua/.terrametmp_ChR8n/random-walk.png b/lua/.terrametmp_ChR8n/random-walk.png new file mode 100644 index 0000000..b034c02 Binary files /dev/null and b/lua/.terrametmp_ChR8n/random-walk.png differ diff --git a/lua/.terrametmp_ChR8n/room-temperature.png b/lua/.terrametmp_ChR8n/room-temperature.png new file mode 100644 index 0000000..3eda084 Binary files /dev/null and b/lua/.terrametmp_ChR8n/room-temperature.png differ diff --git a/lua/.terrametmp_ChR8n/tub-2.png b/lua/.terrametmp_ChR8n/tub-2.png new file mode 100644 index 0000000..922a037 Binary files /dev/null and b/lua/.terrametmp_ChR8n/tub-2.png differ diff --git a/lua/.terrametmp_ChR8n/tub.png b/lua/.terrametmp_ChR8n/tub.png new file mode 100644 index 0000000..404f92a Binary files /dev/null and b/lua/.terrametmp_ChR8n/tub.png differ diff --git a/lua/.terrametmp_lmw93/Coffee-chart-1.bmp b/lua/.terrametmp_lmw93/Coffee-chart-1.bmp new file mode 100644 index 0000000..231a74c Binary files /dev/null and b/lua/.terrametmp_lmw93/Coffee-chart-1.bmp differ diff --git a/lua/.terrametmp_lmw93/Daisyworld-chart-1.bmp b/lua/.terrametmp_lmw93/Daisyworld-chart-1.bmp new file mode 100644 index 0000000..983e379 Binary files /dev/null and b/lua/.terrametmp_lmw93/Daisyworld-chart-1.bmp differ diff --git a/lua/.terrametmp_lmw93/Daisyworld-chart-2.bmp b/lua/.terrametmp_lmw93/Daisyworld-chart-2.bmp new file mode 100644 index 0000000..ec40f4b Binary files /dev/null and b/lua/.terrametmp_lmw93/Daisyworld-chart-2.bmp differ diff --git a/lua/.terrametmp_lmw93/Daisyworld-chart-3.bmp b/lua/.terrametmp_lmw93/Daisyworld-chart-3.bmp new file mode 100644 index 0000000..6b77eec Binary files /dev/null and b/lua/.terrametmp_lmw93/Daisyworld-chart-3.bmp differ diff --git a/lua/.terrametmp_lmw93/Daisyworld-chart-4.bmp b/lua/.terrametmp_lmw93/Daisyworld-chart-4.bmp new file mode 100644 index 0000000..ba1e5c4 Binary files /dev/null and b/lua/.terrametmp_lmw93/Daisyworld-chart-4.bmp differ diff --git a/lua/.terrametmp_lmw93/Dam-chart-1.bmp b/lua/.terrametmp_lmw93/Dam-chart-1.bmp new file mode 100644 index 0000000..cc45b57 Binary files /dev/null and b/lua/.terrametmp_lmw93/Dam-chart-1.bmp differ diff --git a/lua/.terrametmp_lmw93/Dam-chart-2.bmp b/lua/.terrametmp_lmw93/Dam-chart-2.bmp new file mode 100644 index 0000000..ed67ce8 Binary files /dev/null and b/lua/.terrametmp_lmw93/Dam-chart-2.bmp differ diff --git a/lua/.terrametmp_lmw93/Lorenz-chart-1.bmp b/lua/.terrametmp_lmw93/Lorenz-chart-1.bmp new file mode 100644 index 0000000..5fa948f Binary files /dev/null and b/lua/.terrametmp_lmw93/Lorenz-chart-1.bmp differ diff --git a/lua/.terrametmp_lmw93/Lorenz-chart-2.bmp b/lua/.terrametmp_lmw93/Lorenz-chart-2.bmp new file mode 100644 index 0000000..4e6c68e Binary files /dev/null and b/lua/.terrametmp_lmw93/Lorenz-chart-2.bmp differ diff --git a/lua/.terrametmp_lmw93/SIR-chart-1.bmp b/lua/.terrametmp_lmw93/SIR-chart-1.bmp new file mode 100644 index 0000000..8aa4a69 Binary files /dev/null and b/lua/.terrametmp_lmw93/SIR-chart-1.bmp differ diff --git a/lua/.terrametmp_lmw93/SIR-chart-2.bmp b/lua/.terrametmp_lmw93/SIR-chart-2.bmp new file mode 100644 index 0000000..584c171 Binary files /dev/null and b/lua/.terrametmp_lmw93/SIR-chart-2.bmp differ diff --git a/lua/.terrametmp_lmw93/Yeast-chart-1.bmp b/lua/.terrametmp_lmw93/Yeast-chart-1.bmp new file mode 100644 index 0000000..e7040c9 Binary files /dev/null and b/lua/.terrametmp_lmw93/Yeast-chart-1.bmp differ diff --git a/lua/.terrametmp_lmw93/chaotic-growth.png b/lua/.terrametmp_lmw93/chaotic-growth.png new file mode 100644 index 0000000..84e5a69 Binary files /dev/null and b/lua/.terrametmp_lmw93/chaotic-growth.png differ diff --git a/lua/.terrametmp_lmw93/examples-coffee-scenarios-chart-1-end.png b/lua/.terrametmp_lmw93/examples-coffee-scenarios-chart-1-end.png new file mode 100644 index 0000000..7712df4 Binary files /dev/null and b/lua/.terrametmp_lmw93/examples-coffee-scenarios-chart-1-end.png differ diff --git a/lua/.terrametmp_lmw93/examples-infection-scenarios-1-chart-1-end.png b/lua/.terrametmp_lmw93/examples-infection-scenarios-1-chart-1-end.png new file mode 100644 index 0000000..460749c Binary files /dev/null and b/lua/.terrametmp_lmw93/examples-infection-scenarios-1-chart-1-end.png differ diff --git a/lua/.terrametmp_lmw93/examples-infection-scenarios-2-chart-1-end.png b/lua/.terrametmp_lmw93/examples-infection-scenarios-2-chart-1-end.png new file mode 100644 index 0000000..b0e29ad Binary files /dev/null and b/lua/.terrametmp_lmw93/examples-infection-scenarios-2-chart-1-end.png differ diff --git a/lua/.terrametmp_lmw93/examples-infection-scenarios-3-chart-1-end.png b/lua/.terrametmp_lmw93/examples-infection-scenarios-3-chart-1-end.png new file mode 100644 index 0000000..e5487a6 Binary files /dev/null and b/lua/.terrametmp_lmw93/examples-infection-scenarios-3-chart-1-end.png differ diff --git a/lua/.terrametmp_lmw93/examples-population-scenarios-1-chart-1-end.png b/lua/.terrametmp_lmw93/examples-population-scenarios-1-chart-1-end.png new file mode 100644 index 0000000..5166206 Binary files /dev/null and b/lua/.terrametmp_lmw93/examples-population-scenarios-1-chart-1-end.png differ diff --git a/lua/.terrametmp_lmw93/examples-population-scenarios-2-chart-1-end.png b/lua/.terrametmp_lmw93/examples-population-scenarios-2-chart-1-end.png new file mode 100644 index 0000000..d21e06c Binary files /dev/null and b/lua/.terrametmp_lmw93/examples-population-scenarios-2-chart-1-end.png differ diff --git a/lua/.terrametmp_lmw93/homeostasis.png b/lua/.terrametmp_lmw93/homeostasis.png new file mode 100644 index 0000000..9e7e41c Binary files /dev/null and b/lua/.terrametmp_lmw93/homeostasis.png differ diff --git a/lua/.terrametmp_lmw93/limited-growth.png b/lua/.terrametmp_lmw93/limited-growth.png new file mode 100644 index 0000000..9e4b1f3 Binary files /dev/null and b/lua/.terrametmp_lmw93/limited-growth.png differ diff --git a/lua/.terrametmp_lmw93/monolake-1.png b/lua/.terrametmp_lmw93/monolake-1.png new file mode 100644 index 0000000..4c540ed Binary files /dev/null and b/lua/.terrametmp_lmw93/monolake-1.png differ diff --git a/lua/.terrametmp_lmw93/monolake-2.png b/lua/.terrametmp_lmw93/monolake-2.png new file mode 100644 index 0000000..9d5ff26 Binary files /dev/null and b/lua/.terrametmp_lmw93/monolake-2.png differ diff --git a/lua/.terrametmp_lmw93/population-growth.png b/lua/.terrametmp_lmw93/population-growth.png new file mode 100644 index 0000000..412a6d6 Binary files /dev/null and b/lua/.terrametmp_lmw93/population-growth.png differ diff --git a/lua/.terrametmp_lmw93/predator-prey-1.png b/lua/.terrametmp_lmw93/predator-prey-1.png new file mode 100644 index 0000000..ffe7d49 Binary files /dev/null and b/lua/.terrametmp_lmw93/predator-prey-1.png differ diff --git a/lua/.terrametmp_lmw93/predator-prey-2.png b/lua/.terrametmp_lmw93/predator-prey-2.png new file mode 100644 index 0000000..dc2dfdf Binary files /dev/null and b/lua/.terrametmp_lmw93/predator-prey-2.png differ diff --git a/lua/.terrametmp_lmw93/random-walk.png b/lua/.terrametmp_lmw93/random-walk.png new file mode 100644 index 0000000..b034c02 Binary files /dev/null and b/lua/.terrametmp_lmw93/random-walk.png differ diff --git a/lua/.terrametmp_lmw93/room-temperature.png b/lua/.terrametmp_lmw93/room-temperature.png new file mode 100644 index 0000000..3eda084 Binary files /dev/null and b/lua/.terrametmp_lmw93/room-temperature.png differ diff --git a/lua/.terrametmp_lmw93/tub-2.png b/lua/.terrametmp_lmw93/tub-2.png new file mode 100644 index 0000000..922a037 Binary files /dev/null and b/lua/.terrametmp_lmw93/tub-2.png differ diff --git a/lua/.terrametmp_lmw93/tub.png b/lua/.terrametmp_lmw93/tub.png new file mode 100644 index 0000000..404f92a Binary files /dev/null and b/lua/.terrametmp_lmw93/tub.png differ diff --git a/lua/.terrametmp_tKr1r/Coffee-chart-1.bmp b/lua/.terrametmp_tKr1r/Coffee-chart-1.bmp new file mode 100644 index 0000000..231a74c Binary files /dev/null and b/lua/.terrametmp_tKr1r/Coffee-chart-1.bmp differ diff --git a/lua/.terrametmp_tKr1r/Daisyworld-chart-1.bmp b/lua/.terrametmp_tKr1r/Daisyworld-chart-1.bmp new file mode 100644 index 0000000..983e379 Binary files /dev/null and b/lua/.terrametmp_tKr1r/Daisyworld-chart-1.bmp differ diff --git a/lua/.terrametmp_tKr1r/Daisyworld-chart-2.bmp b/lua/.terrametmp_tKr1r/Daisyworld-chart-2.bmp new file mode 100644 index 0000000..ec40f4b Binary files /dev/null and b/lua/.terrametmp_tKr1r/Daisyworld-chart-2.bmp differ diff --git a/lua/.terrametmp_tKr1r/Daisyworld-chart-3.bmp b/lua/.terrametmp_tKr1r/Daisyworld-chart-3.bmp new file mode 100644 index 0000000..6b77eec Binary files /dev/null and b/lua/.terrametmp_tKr1r/Daisyworld-chart-3.bmp differ diff --git a/lua/.terrametmp_tKr1r/Daisyworld-chart-4.bmp b/lua/.terrametmp_tKr1r/Daisyworld-chart-4.bmp new file mode 100644 index 0000000..ba1e5c4 Binary files /dev/null and b/lua/.terrametmp_tKr1r/Daisyworld-chart-4.bmp differ diff --git a/lua/.terrametmp_tKr1r/Lorenz-chart-1.bmp b/lua/.terrametmp_tKr1r/Lorenz-chart-1.bmp new file mode 100644 index 0000000..5fa948f Binary files /dev/null and b/lua/.terrametmp_tKr1r/Lorenz-chart-1.bmp differ diff --git a/lua/.terrametmp_tKr1r/Lorenz-chart-2.bmp b/lua/.terrametmp_tKr1r/Lorenz-chart-2.bmp new file mode 100644 index 0000000..4e6c68e Binary files /dev/null and b/lua/.terrametmp_tKr1r/Lorenz-chart-2.bmp differ diff --git a/lua/.terrametmp_tKr1r/SIR-chart-1.bmp b/lua/.terrametmp_tKr1r/SIR-chart-1.bmp new file mode 100644 index 0000000..8aa4a69 Binary files /dev/null and b/lua/.terrametmp_tKr1r/SIR-chart-1.bmp differ diff --git a/lua/.terrametmp_tKr1r/SIR-chart-2.bmp b/lua/.terrametmp_tKr1r/SIR-chart-2.bmp new file mode 100644 index 0000000..584c171 Binary files /dev/null and b/lua/.terrametmp_tKr1r/SIR-chart-2.bmp differ diff --git a/lua/.terrametmp_tKr1r/Yeast-chart-1.bmp b/lua/.terrametmp_tKr1r/Yeast-chart-1.bmp new file mode 100644 index 0000000..e7040c9 Binary files /dev/null and b/lua/.terrametmp_tKr1r/Yeast-chart-1.bmp differ diff --git a/lua/.terrametmp_tKr1r/chaotic-growth.png b/lua/.terrametmp_tKr1r/chaotic-growth.png new file mode 100644 index 0000000..84e5a69 Binary files /dev/null and b/lua/.terrametmp_tKr1r/chaotic-growth.png differ diff --git a/lua/.terrametmp_tKr1r/examples-coffee-scenarios-chart-1-end.png b/lua/.terrametmp_tKr1r/examples-coffee-scenarios-chart-1-end.png new file mode 100644 index 0000000..7712df4 Binary files /dev/null and b/lua/.terrametmp_tKr1r/examples-coffee-scenarios-chart-1-end.png differ diff --git a/lua/.terrametmp_tKr1r/examples-infection-scenarios-1-chart-1-end.png b/lua/.terrametmp_tKr1r/examples-infection-scenarios-1-chart-1-end.png new file mode 100644 index 0000000..460749c Binary files /dev/null and b/lua/.terrametmp_tKr1r/examples-infection-scenarios-1-chart-1-end.png differ diff --git a/lua/.terrametmp_tKr1r/examples-infection-scenarios-2-chart-1-end.png b/lua/.terrametmp_tKr1r/examples-infection-scenarios-2-chart-1-end.png new file mode 100644 index 0000000..b0e29ad Binary files /dev/null and b/lua/.terrametmp_tKr1r/examples-infection-scenarios-2-chart-1-end.png differ diff --git a/lua/.terrametmp_tKr1r/examples-infection-scenarios-3-chart-1-end.png b/lua/.terrametmp_tKr1r/examples-infection-scenarios-3-chart-1-end.png new file mode 100644 index 0000000..e5487a6 Binary files /dev/null and b/lua/.terrametmp_tKr1r/examples-infection-scenarios-3-chart-1-end.png differ diff --git a/lua/.terrametmp_tKr1r/examples-population-scenarios-1-chart-1-end.png b/lua/.terrametmp_tKr1r/examples-population-scenarios-1-chart-1-end.png new file mode 100644 index 0000000..5166206 Binary files /dev/null and b/lua/.terrametmp_tKr1r/examples-population-scenarios-1-chart-1-end.png differ diff --git a/lua/.terrametmp_tKr1r/examples-population-scenarios-2-chart-1-end.png b/lua/.terrametmp_tKr1r/examples-population-scenarios-2-chart-1-end.png new file mode 100644 index 0000000..d21e06c Binary files /dev/null and b/lua/.terrametmp_tKr1r/examples-population-scenarios-2-chart-1-end.png differ diff --git a/lua/.terrametmp_tKr1r/homeostasis.png b/lua/.terrametmp_tKr1r/homeostasis.png new file mode 100644 index 0000000..9e7e41c Binary files /dev/null and b/lua/.terrametmp_tKr1r/homeostasis.png differ diff --git a/lua/.terrametmp_tKr1r/limited-growth.png b/lua/.terrametmp_tKr1r/limited-growth.png new file mode 100644 index 0000000..9e4b1f3 Binary files /dev/null and b/lua/.terrametmp_tKr1r/limited-growth.png differ diff --git a/lua/.terrametmp_tKr1r/monolake-1.png b/lua/.terrametmp_tKr1r/monolake-1.png new file mode 100644 index 0000000..4c540ed Binary files /dev/null and b/lua/.terrametmp_tKr1r/monolake-1.png differ diff --git a/lua/.terrametmp_tKr1r/monolake-2.png b/lua/.terrametmp_tKr1r/monolake-2.png new file mode 100644 index 0000000..9d5ff26 Binary files /dev/null and b/lua/.terrametmp_tKr1r/monolake-2.png differ diff --git a/lua/.terrametmp_tKr1r/population-growth.png b/lua/.terrametmp_tKr1r/population-growth.png new file mode 100644 index 0000000..412a6d6 Binary files /dev/null and b/lua/.terrametmp_tKr1r/population-growth.png differ diff --git a/lua/.terrametmp_tKr1r/predator-prey-1.png b/lua/.terrametmp_tKr1r/predator-prey-1.png new file mode 100644 index 0000000..ffe7d49 Binary files /dev/null and b/lua/.terrametmp_tKr1r/predator-prey-1.png differ diff --git a/lua/.terrametmp_tKr1r/predator-prey-2.png b/lua/.terrametmp_tKr1r/predator-prey-2.png new file mode 100644 index 0000000..dc2dfdf Binary files /dev/null and b/lua/.terrametmp_tKr1r/predator-prey-2.png differ diff --git a/lua/.terrametmp_tKr1r/random-walk.png b/lua/.terrametmp_tKr1r/random-walk.png new file mode 100644 index 0000000..b034c02 Binary files /dev/null and b/lua/.terrametmp_tKr1r/random-walk.png differ diff --git a/lua/.terrametmp_tKr1r/room-temperature.png b/lua/.terrametmp_tKr1r/room-temperature.png new file mode 100644 index 0000000..3eda084 Binary files /dev/null and b/lua/.terrametmp_tKr1r/room-temperature.png differ diff --git a/lua/.terrametmp_tKr1r/tub-2.png b/lua/.terrametmp_tKr1r/tub-2.png new file mode 100644 index 0000000..922a037 Binary files /dev/null and b/lua/.terrametmp_tKr1r/tub-2.png differ diff --git a/lua/.terrametmp_tKr1r/tub.png b/lua/.terrametmp_tKr1r/tub.png new file mode 100644 index 0000000..404f92a Binary files /dev/null and b/lua/.terrametmp_tKr1r/tub.png differ diff --git a/lua/.terrametmp_tZUAu/Coffee-chart-1.bmp b/lua/.terrametmp_tZUAu/Coffee-chart-1.bmp new file mode 100644 index 0000000..231a74c Binary files /dev/null and b/lua/.terrametmp_tZUAu/Coffee-chart-1.bmp differ diff --git a/lua/.terrametmp_tZUAu/Daisyworld-chart-1.bmp b/lua/.terrametmp_tZUAu/Daisyworld-chart-1.bmp new file mode 100644 index 0000000..983e379 Binary files /dev/null and b/lua/.terrametmp_tZUAu/Daisyworld-chart-1.bmp differ diff --git a/lua/.terrametmp_tZUAu/Daisyworld-chart-2.bmp b/lua/.terrametmp_tZUAu/Daisyworld-chart-2.bmp new file mode 100644 index 0000000..ec40f4b Binary files /dev/null and b/lua/.terrametmp_tZUAu/Daisyworld-chart-2.bmp differ diff --git a/lua/.terrametmp_tZUAu/Daisyworld-chart-3.bmp b/lua/.terrametmp_tZUAu/Daisyworld-chart-3.bmp new file mode 100644 index 0000000..6b77eec Binary files /dev/null and b/lua/.terrametmp_tZUAu/Daisyworld-chart-3.bmp differ diff --git a/lua/.terrametmp_tZUAu/Daisyworld-chart-4.bmp b/lua/.terrametmp_tZUAu/Daisyworld-chart-4.bmp new file mode 100644 index 0000000..ba1e5c4 Binary files /dev/null and b/lua/.terrametmp_tZUAu/Daisyworld-chart-4.bmp differ diff --git a/lua/.terrametmp_tZUAu/Dam-chart-1.bmp b/lua/.terrametmp_tZUAu/Dam-chart-1.bmp new file mode 100644 index 0000000..cc45b57 Binary files /dev/null and b/lua/.terrametmp_tZUAu/Dam-chart-1.bmp differ diff --git a/lua/.terrametmp_tZUAu/Dam-chart-2.bmp b/lua/.terrametmp_tZUAu/Dam-chart-2.bmp new file mode 100644 index 0000000..ed67ce8 Binary files /dev/null and b/lua/.terrametmp_tZUAu/Dam-chart-2.bmp differ diff --git a/lua/.terrametmp_tZUAu/Lorenz-chart-1.bmp b/lua/.terrametmp_tZUAu/Lorenz-chart-1.bmp new file mode 100644 index 0000000..5fa948f Binary files /dev/null and b/lua/.terrametmp_tZUAu/Lorenz-chart-1.bmp differ diff --git a/lua/.terrametmp_tZUAu/Lorenz-chart-2.bmp b/lua/.terrametmp_tZUAu/Lorenz-chart-2.bmp new file mode 100644 index 0000000..4e6c68e Binary files /dev/null and b/lua/.terrametmp_tZUAu/Lorenz-chart-2.bmp differ diff --git a/lua/.terrametmp_tZUAu/SIR-chart-1.bmp b/lua/.terrametmp_tZUAu/SIR-chart-1.bmp new file mode 100644 index 0000000..8aa4a69 Binary files /dev/null and b/lua/.terrametmp_tZUAu/SIR-chart-1.bmp differ diff --git a/lua/.terrametmp_tZUAu/SIR-chart-2.bmp b/lua/.terrametmp_tZUAu/SIR-chart-2.bmp new file mode 100644 index 0000000..584c171 Binary files /dev/null and b/lua/.terrametmp_tZUAu/SIR-chart-2.bmp differ diff --git a/lua/.terrametmp_tZUAu/Yeast-chart-1.bmp b/lua/.terrametmp_tZUAu/Yeast-chart-1.bmp new file mode 100644 index 0000000..e7040c9 Binary files /dev/null and b/lua/.terrametmp_tZUAu/Yeast-chart-1.bmp differ diff --git a/lua/.terrametmp_tZUAu/chaotic-growth.png b/lua/.terrametmp_tZUAu/chaotic-growth.png new file mode 100644 index 0000000..84e5a69 Binary files /dev/null and b/lua/.terrametmp_tZUAu/chaotic-growth.png differ diff --git a/lua/.terrametmp_tZUAu/examples-coffee-scenarios-chart-1-end.png b/lua/.terrametmp_tZUAu/examples-coffee-scenarios-chart-1-end.png new file mode 100644 index 0000000..7712df4 Binary files /dev/null and b/lua/.terrametmp_tZUAu/examples-coffee-scenarios-chart-1-end.png differ diff --git a/lua/.terrametmp_tZUAu/examples-infection-scenarios-1-chart-1-end.png b/lua/.terrametmp_tZUAu/examples-infection-scenarios-1-chart-1-end.png new file mode 100644 index 0000000..460749c Binary files /dev/null and b/lua/.terrametmp_tZUAu/examples-infection-scenarios-1-chart-1-end.png differ diff --git a/lua/.terrametmp_tZUAu/examples-infection-scenarios-2-chart-1-end.png b/lua/.terrametmp_tZUAu/examples-infection-scenarios-2-chart-1-end.png new file mode 100644 index 0000000..b0e29ad Binary files /dev/null and b/lua/.terrametmp_tZUAu/examples-infection-scenarios-2-chart-1-end.png differ diff --git a/lua/.terrametmp_tZUAu/examples-infection-scenarios-3-chart-1-end.png b/lua/.terrametmp_tZUAu/examples-infection-scenarios-3-chart-1-end.png new file mode 100644 index 0000000..e5487a6 Binary files /dev/null and b/lua/.terrametmp_tZUAu/examples-infection-scenarios-3-chart-1-end.png differ diff --git a/lua/.terrametmp_tZUAu/examples-population-scenarios-1-chart-1-end.png b/lua/.terrametmp_tZUAu/examples-population-scenarios-1-chart-1-end.png new file mode 100644 index 0000000..5166206 Binary files /dev/null and b/lua/.terrametmp_tZUAu/examples-population-scenarios-1-chart-1-end.png differ diff --git a/lua/.terrametmp_tZUAu/examples-population-scenarios-2-chart-1-end.png b/lua/.terrametmp_tZUAu/examples-population-scenarios-2-chart-1-end.png new file mode 100644 index 0000000..d21e06c Binary files /dev/null and b/lua/.terrametmp_tZUAu/examples-population-scenarios-2-chart-1-end.png differ diff --git a/lua/.terrametmp_tZUAu/homeostasis.png b/lua/.terrametmp_tZUAu/homeostasis.png new file mode 100644 index 0000000..9e7e41c Binary files /dev/null and b/lua/.terrametmp_tZUAu/homeostasis.png differ diff --git a/lua/.terrametmp_tZUAu/limited-growth.png b/lua/.terrametmp_tZUAu/limited-growth.png new file mode 100644 index 0000000..9e4b1f3 Binary files /dev/null and b/lua/.terrametmp_tZUAu/limited-growth.png differ diff --git a/lua/.terrametmp_tZUAu/monolake-1.png b/lua/.terrametmp_tZUAu/monolake-1.png new file mode 100644 index 0000000..4c540ed Binary files /dev/null and b/lua/.terrametmp_tZUAu/monolake-1.png differ diff --git a/lua/.terrametmp_tZUAu/monolake-2.png b/lua/.terrametmp_tZUAu/monolake-2.png new file mode 100644 index 0000000..9d5ff26 Binary files /dev/null and b/lua/.terrametmp_tZUAu/monolake-2.png differ diff --git a/lua/.terrametmp_tZUAu/population-growth.png b/lua/.terrametmp_tZUAu/population-growth.png new file mode 100644 index 0000000..412a6d6 Binary files /dev/null and b/lua/.terrametmp_tZUAu/population-growth.png differ diff --git a/lua/.terrametmp_tZUAu/predator-prey-1.png b/lua/.terrametmp_tZUAu/predator-prey-1.png new file mode 100644 index 0000000..ffe7d49 Binary files /dev/null and b/lua/.terrametmp_tZUAu/predator-prey-1.png differ diff --git a/lua/.terrametmp_tZUAu/predator-prey-2.png b/lua/.terrametmp_tZUAu/predator-prey-2.png new file mode 100644 index 0000000..dc2dfdf Binary files /dev/null and b/lua/.terrametmp_tZUAu/predator-prey-2.png differ diff --git a/lua/.terrametmp_tZUAu/random-walk.png b/lua/.terrametmp_tZUAu/random-walk.png new file mode 100644 index 0000000..b034c02 Binary files /dev/null and b/lua/.terrametmp_tZUAu/random-walk.png differ diff --git a/lua/.terrametmp_tZUAu/room-temperature.png b/lua/.terrametmp_tZUAu/room-temperature.png new file mode 100644 index 0000000..3eda084 Binary files /dev/null and b/lua/.terrametmp_tZUAu/room-temperature.png differ diff --git a/lua/.terrametmp_tZUAu/tub-2.png b/lua/.terrametmp_tZUAu/tub-2.png new file mode 100644 index 0000000..922a037 Binary files /dev/null and b/lua/.terrametmp_tZUAu/tub-2.png differ diff --git a/lua/.terrametmp_tZUAu/tub.png b/lua/.terrametmp_tZUAu/tub.png new file mode 100644 index 0000000..404f92a Binary files /dev/null and b/lua/.terrametmp_tZUAu/tub.png differ diff --git a/lua/Dam.lua b/lua/Dam.lua new file mode 100644 index 0000000..113e8ed --- /dev/null +++ b/lua/Dam.lua @@ -0,0 +1,63 @@ +--- A water in the dam model. +-- @arg data.water The initial stock of water measured in m³. The initial value is 5,000,000,000. +-- @arg data.inFlow1 The flow of water into the dam each first season. The default is 2e9. +-- @arg data.inFlow2 The flow of water into the dam each second season. The default is 2e9. +-- @arg data.currentYear Year 1995. +-- @arg data.population The total amount of inhabitants. The default value is 1e5. +-- @arg data.consumePerPerson The total amount of water per inhabitant. The default value is 10. +-- @arg data.kWh2cubicMeters The total amount of kWh produced by cubic meters. The default value is 100. +-- @arg data.growth The comsumption amount of kWh produced by cubic meters. The default value is 100. +-- @arg data.countYear The flag in which defines whether count or not the years . The default value is false. +-- @arg data.changedYear The year in which water values change. The default value is 1970. +-- @arg data.finalTime The final time of the simulation in months. The default value is 1000. +Dam = Model{ + water = 5e9, + inFlow1 = 2e9, + inFlow2 = 1.5e9, + population = 1e5, + consumePerPerson = 10, + kWh2cubicMeters = 100, + growth = 0.05, + countYear = false, + changedYear= 1970, + currentYear = 1950, + finalTime = 1000, + execute = function(self) -- each time step + local outFlow = self.population * self.consumePerPerson * self.kWh2cubicMeters -- update outflow + self.water = self.water - outFlow -- update water + if self.water <= 0 then -- water amount less than zero + self.water = 0 + elseif self.water > 5e9 then -- water amount more than dam capacity + self.water = 5e9 + end + if (self.countYear == true) then + if (self.timer:getTime()%12 == 0) then -- every each year increments current year + self.currentYear = self.currentYear + 1 + if (self.currentYear == self.changedYear) then -- when changedYear equal to currentYear + self.inFlow1 = self.inFlow1/2 + self.inFlow2 = self.inFlow2/2 + end + end + end + end, + init = function (self) + self.chart = Chart{ + target = self, + select = "water" + } + self.timer = Timer{ + Event{action = self, priority = 'high'}, + Event{period = 12, action = function() + self.water = self.water + self.inFlow1 -- first season in first semester + end}, + Event{start = 7, period = 12, action = function() + self.water = self.water + self.inFlow2 -- second season in second semester + end}, + Event{start = 12, period = 12, action = function() + self.consumePerPerson = self.consumePerPerson*(1 + self.growth) -- every year add 5% + end}, + Event{action = self.chart} + } + end +} + diff --git a/tests/Dam.lua b/tests/Dam.lua new file mode 100644 index 0000000..a3b428d --- /dev/null +++ b/tests/Dam.lua @@ -0,0 +1,14 @@ +-- Test file for Dam.lua +-- Author: Gilberto Camara and Pedro R. Andrade + +return{ + Dam = function(unitTest) + local model = Dam{} + model:run() + unitTest:assertSnapshot(model.chart, "Dam-chart-1.bmp", 0.15) + model = Dam{countYear = true} + model:run() + unitTest:assertSnapshot(model.chart, "Dam-chart-2.bmp", 0.12) + end, +} +