Aquaponics & Greenhouse Gas Emissions

Aquaponics & Greenhouse Gas Emissions preview image

1 collaborator

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by everyone
Model was written in NetLogo 7.0.2 • Viewed 59 times • Downloaded 8 times • Run 0 times
Download the 'Aquaponics & Greenhouse Gas Emissions' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


WHAT IS IT?

A model of a commercial aquaponics operation with various parameters

HOW TO USE IT & HOW IT WORKS

The users selects a climate, season, type of fish, and type of plant on the left side of the interface. Once selection is completed press "Setup" then press "Go."

The left side of the actual visual is the fish tank which contains the fish, feed (light brown), and poop (dark brown). The right side is the plant tank (section) which contains the plants and poop (nutrients). The fish, feed, and nutrients move about until they are either harvested or consumed. As the fish eat the feed and the plants eat the nutrients both will grow as the model progresses until all living fish are harvested (unless "Restock" is switched on).

THINGS TO NOTICE

  1. How are the fish tank and plant tank working together?

  2. How do the feed and nutrients move? How are they different?

  3. At what tick is the first fish harvested?

  4. What causes a fish to die?

  5. How do the different fish types differ from one another?

THINGS TO TRY

  1. Try selecting parameters that will minimize or maximize the system's greenhouse gas emissions.

  2. Try selecting the number of fish and plant columns to maximize the number of plants harvested. Why does this happen?

  3. Try changing the color of the fish.

  4. Try changing how often the fish are fed. What changes?

  5. Try changing how the fish 'wander.' How does this change the progression of the model?

GENERAL MODEL NOTES & ASSUMPTIONS

Model Assumptions 1. Operation size: commercial 2. Assumed relative humidity: 70% 3. Timescale: 40 ticks per day, 1.667 ticks/hr 4. All fish in the operation are held in the same tank (in the real world, most fish species would be separated by age/weight, sex, and for breeding) 5. Fish and plants are harvested in the simulation based on size 6. All season temperatures are determined using the corresponding month's averages 7. Greenhouse temperature and related greenhouse gas emissions is dependent on the fish type, climate, and season 8. Lighting duration is dependent on plant type, climate, and season 9. Heating method is dependent on climate (e.g., Japan generally utilizes electricty for their heating) 10. Water in the system is cycled through the system twice an hour and is based on the total modelled volume of the fish and plant tanks 11. Heating and electricity emissions were determined using the reference location's method of heating.

CLIMATE & SEASON NOTES

When setting location and season, a specific temperature is assumed by the model (see below).

Humid Continental (reference location - Madison, WI, USA) 1. Spring: 34.5 F 2. Summer: 71 F 3. Fall: 49.5 F 4. Winter: 25 F

Temperate (reference location - Madrid, Spain) 1. Spring: 54.8 F 2. Summer: 74 F 3. Fall: 59 F 4. Winter: 44.6 F

Tropical (reference location - Miami, FL, USA) 1. Spring: 75 F 2. Summer: 82.3 F 3. Fall: 78 F 4. Winter: 68.2 F

Humid Subtropical (reference location - Tokyo, Japan) 1. Spring: 56.8 F 2. Summer: 76.3 F 3. Fall: 64 F 4. Winter:43.3 F

FISH NOTES

Greenhouse Temperature: Nile tilapia: 80 F Hybrid walleye: 75 F Atlantic salmon: 60 F Channel catfish: 70 F

Protein content of feed: Tilapia: 32% Walleye: 55% Salmon: 42.3% Catfish: 32%

EXTENDING THE MODEL

  1. Add in a piping system to the model to show the more realistic flow of nutrients.

  2. Change the model to make the fish be harvested around the same time.

  3. Add in the ability to 'hand feed' the fish.

NETLOGO FEATURES

Shapes of the fish were custom-made to look more like the actual fish species.

CREDITS AND REFERENCES

Breitenstein, M., Hicks, A. (2025) University of Wisconsin-Madison

Comments and Questions

Please start the discussion about this model! (You'll first need to log in.)

Click to Run Model

;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;; variable setup ;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;

breed[ fov a-fov ]
breed[ fish a-fish ]
breed[ plants plant ]
breed[ feed piece-of-feed ]
breed[ nutrients nutrient ]

globals [
  GHGs
  lighting-GHGs
  feeding-GHGs
  heating-GHGs
  pumping-GHGs
  total-lighting-GHG-emissions
  total-heating-GHG-emissions
  total-feeding-GHG-emissions
  total-pumping-GHG-emissions
  total-GHG-emissions
  total-harvested-fish
  total-harvested-plants
  fish-death ]

patches-own [type-of-patch]

;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;; setup procedure ;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;

to setup
  clear-all
  ;; PATCH SETUP ;;
  ask patches [
  set type-of-patch "water"
    if pxcor < max-pxcor - 5 [
      set pcolor blue + 0.5]
  set type-of-patch "air"
    if pxcor >  max-pxcor - 5 [
      set pcolor white ] ]
  ;; FISH SETUP ;;
  set-default-shape fov "circle"
  create-fish number-of-fish [
    if fish-type = "Tilapia" [
      set shape "fish 2"
      set color grey
      set size 0.5 ]
    if fish-type = "Walleye" [
      set shape "fish"
      set color green
      set size 0.5 ]
    if fish-type = "Salmon" or fish-type = "Default" [
      set shape "salmon"
      set color grey
      set size 1 ]
    if fish-type = "Catfish" [
      set shape "catfish"
      set color grey
      set size 1 ]
    set xcor 8 - random 23
    set ycor random-pycor ]
  ;; PLANT SETUP ;;
  ask patches with [(14) > pxcor and pxcor > (10) and pycor < (1)]
    [ sprout-plants 1 [
      if plant-type = "Basil" [
        set shape "flower budding"
        set color green - 1
        set size 0.5]
      if plant-type = "Lettuce" or plant-type = "Default" [
        set shape "plant small"
        set color green + 1
        set size 0.25 ]
      if plant-type = "Tomato" [
        set shape "plant medium"
        set color green
        set size 0.25 ]
      if plant-type = "Pepper" [
        set shape "plant"
        set color green - 1
        set size 0.25 ] ] ]
  ask patches with [(14) > pxcor and pxcor > (10) and pycor > (0)]
    [ sprout-plants 1 [
      if plant-type = "Basil" [
        set shape "flower budding"
        set color green - 1
        set size 0.5 ]
      if plant-type = "Lettuce" or plant-type = "Default" [
        set shape "plant small"
        set color green + 1
        set size 0.25 ]
      if plant-type = "Tomato" [
        set shape "plant medium"
        set color green
        set size 0.25 ]
      if plant-type = "Pepper" [
        set shape "plant"
        set color green - 1
        set size 0.25 ] ] ]
  if number-of-plant-columns = 4 [
  ask patches with [pxcor = 14 and pycor > (0)]
   [ sprout-plants 1 [
      if plant-type = "Basil" [
        set shape "flower budding"
        set color green - 1
        set size 0.5 ]
      if plant-type = "Lettuce" or plant-type = "Default" [
        set shape "plant small"
        set color green + 1
        set size 0.25 ]
      if plant-type = "Tomato" [
        set shape "plant medium"
        set color green
        set size 0.25 ]
      if plant-type = "Pepper" [
        set shape "plant"
        set color green - 1
        set size 0.25 ] ] ] ]
  if number-of-plant-columns = 4 [
  ask patches with [pxcor = 14 and pycor < (1)]
   [ sprout-plants 1 [
      if plant-type = "Basil" [
        set shape "flower budding"
        set color green - 1
        set size 0.5 ]
      if plant-type = "Lettuce" or plant-type = "Default" [
        set shape "plant small"
        set color green + 1
        set size 0.25 ]
      if plant-type = "Tomato" [
        set shape "plant medium"
        set color green
        set size 0.25 ]
      if plant-type = "Pepper" [
        set shape "plant"
        set color green - 1
        set size 0.25 ] ] ] ]
  if number-of-plant-columns = 5 [
  ask patches with [pxcor = 14 and pycor > (0)]
   [ sprout-plants 1 [
      if plant-type = "Basil" [
        set shape "flower budding"
        set color green - 1
        set size 0.5 ]
      if plant-type = "Lettuce" or plant-type = "Default" [
        set shape "plant small"
        set color green + 1
        set size 0.25 ]
      if plant-type = "Tomato" [
        set shape "plant medium"
        set color green
        set size 0.25 ]
      if plant-type = "Pepper" [
        set shape "plant"
        set color green - 1
        set size 0.25 ] ] ] ]
  if number-of-plant-columns = 5 [
  ask patches with [pxcor = 14 and pycor < (1)]
   [ sprout-plants 1 [
      if plant-type = "Basil" [
        set shape "flower budding"
        set color green - 1
        set size 0.5 ]
      if plant-type = "Lettuce" or plant-type = "Default" [
        set shape "plant small"
        set color green + 1
        set size 0.25 ]
      if plant-type = "Tomato" [
        set shape "plant medium"
        set color green
        set size 0.25 ]
      if plant-type = "Pepper" [
        set shape "plant"
        set color green - 1
        set size 0.25 ] ] ] ]
  if number-of-plant-columns = 5 [
  ask patches with [pxcor < (11) and pxcor > (9) and pycor < (1)]
   [ sprout-plants 1 [
      if plant-type = "Basil" [
        set shape "flower budding"
        set color green - 1
        set size 0.5 ]
      if plant-type = "Lettuce" or plant-type = "Default" [
        set shape "plant small"
        set color green + 1
        set size 0.25 ]
      if plant-type = "Tomato" [
        set shape "plant medium"
        set color green
        set size 0.25 ]
      if plant-type = "Pepper" [
        set shape "plant"
        set color green - 1
        set size 0.25 ] ] ] ]
  if number-of-plant-columns = 5 [
  ask patches with [pxcor > (9) and pxcor < (11) and pycor > (0)]
   [ sprout-plants 1 [
      if plant-type = "Basil" [
        set shape "flower budding"
        set color green - 1
        set size 0.5 ]
      if plant-type = "Lettuce" or plant-type = "Default" [
        set shape "plant small"
        set color green + 1
        set size 0.25 ]
      if plant-type = "Tomato" [
        set shape "plant medium"
        set color green
        set size 0.25 ]
      if plant-type = "Pepper" [
        set shape "plant"
        set color green - 1
        set size 0.25 ] ] ] ]
  ;; FEED SETUP ;;
  create-feed number-of-fish [
    set shape "circle"
    set color brown + 1.5
    set size 0.15
    set xcor 8 - random 23
    set ycor random-pycor ]
  create-feed number-of-fish [
    set shape "circle"
    set color brown + 1.5
    set size 0.15
    set xcor 8 - random 23
    set ycor random-pycor ]
    create-feed number-of-fish [
    set shape "circle"
    set color brown + 1.5
    set size 0.15
    set xcor 8 - random 23
      set ycor random-pycor ]
    if fish-type = "Tilapia" [
      set feeding-GHGs 0.0004152 ]
    if fish-type = "Walleye" [
      set feeding-GHGs 0.001313 ]
    if fish-type = "Salmon" [
      set feeding-GHGs 0.01383 ]
    if fish-type = "Catfish" [
      set feeding-GHGs 0.007620 ]
    set total-feeding-GHG-emissions total-feeding-GHG-emissions + (feeding-GHGs * number-of-fish * 3)
  ;; PUMP EMISSIONS SETUP ;;
  if climate = "Humid Continental" [
    set pumping-GHGs 0.0060948 ]
  if climate = "Temperate" [
    set pumping-GHGs 0.0060948 ]
  if climate = "Tropical" [
    set pumping-GHGs 0.0060948 ]
  if climate = "Humid Subtropical" [
    set pumping-GHGs 0.0060948 ]
  ;;; LIGHTING EMISSIONS SETUP ;;;
  ;;; Three & Four Columns ;;;
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Humid Continental" and season = "Spring"  [set lighting-GHGs 0.010299]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Humid Continental" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Humid Continental" and season = "Fall"  [set lighting-GHGs 0 ]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Humid Continental" and season = "Winter"  [set lighting-GHGs 0.048921]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Temperate" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Temperate" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Temperate" and season = "Fall"  [set lighting-GHGs 0.02967]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Temperate" and season = "Winter"  [set lighting-GHGs 0.05506]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Tropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Tropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Tropical" and season = "Fall"  [set lighting-GHGs 0.01700]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Tropical" and season = "Winter"  [set lighting-GHGs 0.02267]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Humid Subtropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Humid Subtropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Humid Subtropical" and season = "Fall"  [set lighting-GHGs 0.08372]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Basil" and climate = "Humid Subtropical" and season = "Winter"  [set lighting-GHGs 0.016744]

  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Continental" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Continental" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Continental" and season = "Fall"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Continental" and season = "Winter"  [set lighting-GHGs 0.02685]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Temperate" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Temperate" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Temperate" and season = "Fall"  [set lighting-GHGs 0 ]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Temperate" and season = "Winter"  [set lighting-GHGs 0.022089]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Tropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Tropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Tropical" and season = "Fall"  [set lighting-GHGs 0 ]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Tropical" and season = "Winter"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Subtropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Subtropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Subtropical" and season = "Fall"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Subtropical" and season = "Winter"  [set lighting-GHGs 0.05581]

  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Humid Continental" and season = "Spring"  [set lighting-GHGs 0.01030]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Humid Continental" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Humid Continental" and season = "Fall"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Humid Continental" and season = "Winter"  [set lighting-GHGs 0.04892]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Temperate" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Temperate" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Temperate" and season = "Fall"  [set lighting-GHGs 0.02967]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Temperate" and season = "Winter"  [ set lighting-GHGs 0.05506]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Tropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Tropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Tropical" and season = "Fall"  [set lighting-GHGs 0.01700]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Tropical" and season = "Winter"  [set lighting-GHGs 0.02267]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Humid Subtropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Humid Subtropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Humid Subtropical" and season = "Fall"  [set lighting-GHGs 0.08372]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Tomato" and climate = "Humid Subtropical" and season = "Winter"  [set lighting-GHGs 0.16744]

  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Humid Continental" and season = "Spring"  [set lighting-GHGs 0.054439]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Humid Continental" and season = "Summer"  [set lighting-GHGs 0.041197]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Humid Continental" and season = "Fall"  [set lighting-GHGs 0.031265]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Humid Continental" and season = "Winter"  [set lighting-GHGs 0.093061]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Temperate" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Temperate" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Temperate" and season = "Fall"  [set lighting-GHGs 0.095611]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Temperate" and season = "Winter"  [set lighting-GHGs 0.120997]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Tropical" and season = "Spring"  [set lighting-GHGs 0.04534]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Tropical" and season = "Summer"  [set lighting-GHGs 0.03967]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Tropical" and season = "Fall"  [set lighting-GHGs 0.06234]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Tropical" and season = "Winter"  [ set lighting-GHGs 0.06801]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Humid Subtropical" and season = "Spring"  [set lighting-GHGs 0.2233]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Humid Subtropical" and season = "Summer"  [set lighting-GHGs 0.1674]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Humid Subtropical" and season = "Fall"  [set lighting-GHGs 0.30697]
  if number-of-plant-columns = 3 or number-of-plant-columns = 4 and plant-type = "Pepper" and climate = "Humid Subtropical" and season = "Winter"  [set lighting-GHGs 0.3907]

  ;;;Five Columns;;;
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Humid Continental" and season = "Spring"  [set lighting-GHGs 0.01545]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Humid Continental" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Humid Continental" and season = "Fall"  [set lighting-GHGs 0 ]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Humid Continental" and season = "Winter"  [set lighting-GHGs 0.07338]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Temperate" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Temperate" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Temperate" and season = "Fall"  [set lighting-GHGs 0.04451]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Temperate" and season = "Winter"  [set lighting-GHGs 0.08259]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Tropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Tropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Tropical" and season = "Fall"  [set lighting-GHGs 0.02550]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Tropical" and season = "Winter"  [set lighting-GHGs 0.03401]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Humid Subtropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Humid Subtropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Humid Subtropical" and season = "Fall"  [set lighting-GHGs 0.1256]
  if number-of-plant-columns = 5 and plant-type = "Basil" and climate = "Humid Subtropical" and season = "Winter"  [set lighting-GHGs 0.2512]

  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Continental" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Continental" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Continental" and season = "Fall"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Continental" and season = "Winter"  [set lighting-GHGs 0.04028]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Temperate" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Temperate" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Temperate" and season = "Fall"  [set lighting-GHGs 0 ]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Temperate" and season = "Winter"  [set lighting-GHGs 0.03313]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Tropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Tropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Tropical" and season = "Fall"  [set lighting-GHGs 0 ]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Tropical" and season = "Winter"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Subtropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Subtropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Subtropical" and season = "Fall"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Lettuce" or plant-type = "Default" and climate = "Humid Subtropical" and season = "Winter"  [set lighting-GHGs 0.08372]

  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Humid Continental" and season = "Spring"  [set lighting-GHGs 0.01545]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Humid Continental" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Humid Continental" and season = "Fall"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Humid Continental" and season = "Winter"  [set lighting-GHGs 0.07338]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Temperate" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Temperate" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Temperate" and season = "Fall"  [set lighting-GHGs 0.04451]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Temperate" and season = "Winter"  [ set lighting-GHGs 0.08259]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Tropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Tropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Tropical" and season = "Fall"  [set lighting-GHGs 0.02550]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Tropical" and season = "Winter"  [set lighting-GHGs 0.03401]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Humid Subtropical" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Humid Subtropical" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Humid Subtropical" and season = "Fall"  [set lighting-GHGs 0.1256]
  if number-of-plant-columns = 5 and plant-type = "Tomato" and climate = "Humid Subtropical" and season = "Winter"  [set lighting-GHGs 0.2512]

  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Humid Continental" and season = "Spring"  [set lighting-GHGs 0.08166]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Humid Continental" and season = "Summer"  [set lighting-GHGs 0.06180]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Humid Continental" and season = "Fall"  [set lighting-GHGs 0.04690]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Humid Continental" and season = "Winter"  [set lighting-GHGs 0.1396]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Temperate" and season = "Spring"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Temperate" and season = "Summer"  [set lighting-GHGs 0]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Temperate" and season = "Fall"  [set lighting-GHGs 0.1434]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Temperate" and season = "Winter"  [set lighting-GHGs 0.1815]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Tropical" and season = "Spring"  [set lighting-GHGs 0.06801]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Tropical" and season = "Summer"  [set lighting-GHGs 0.05951]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Tropical" and season = "Fall"  [set lighting-GHGs 0.09351]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Tropical" and season = "Winter"  [ set lighting-GHGs 0.1020]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Humid Subtropical" and season = "Spring"  [set lighting-GHGs 0.3349]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Humid Subtropical" and season = "Summer"  [set lighting-GHGs 0.2512]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Humid Subtropical" and season = "Fall"  [set lighting-GHGs 0.4604]
  if number-of-plant-columns = 5 and plant-type = "Pepper" and climate = "Humid Subtropical" and season = "Winter"  [set lighting-GHGs 0.5860]

  ;;; HEATING EMISSIONS SETUP ;;;
  if fish-type = "Tilapia" and climate = "Humid Continental" and season = "Spring" [set heating-GHGs 5.7451]
  if fish-type = "Tilapia" and climate = "Humid Continental" and season = "Summer" [set heating-GHGs 1.7258]
  if fish-type = "Tilapia" and climate = "Humid Continental" and season = "Fall" [set heating-GHGs 5.2001]
  if fish-type = "Tilapia" and climate = "Humid Continental" and season = "Winter" [set heating-GHGs 9.7815]
  if fish-type = "Tilapia" and climate = "Temperate" and season = "Spring" [set heating-GHGs 4.2918]
  if fish-type = "Tilapia" and climate = "Temperate" and season = "Summer" [set heating-GHGs 1.0219]
  if fish-type = "Tilapia" and climate = "Temperate" and season = "Fall" [set heating-GHGs 3.5765]
  if fish-type = "Tilapia" and climate = "Temperate" and season = "Winter" [set heating-GHGs 6.0290]
  if fish-type = "Tilapia" and climate = "Tropical" and season = "Spring" [set heating-GHGs 0.5734]
  if fish-type = "Tilapia" and climate = "Tropical" and season = "Summer" [set heating-GHGs 0]
  if fish-type = "Tilapia" and climate = "Tropical" and season = "Fall" [set heating-GHGs 0.11922]
  if fish-type = "Tilapia" and climate = "Tropical" and season = "Winter" [set heating-GHGs 1.6747]
  if fish-type = "Tilapia" and climate = "Humid Subtropical" and season = "Spring" [set heating-GHGs 3.9456]
  if fish-type = "Tilapia" and climate = "Humid Subtropical" and season = "Summer" [set heating-GHGs 0.62453]
  if fish-type = "Tilapia" and climate = "Humid Subtropical" and season = "Fall" [set heating-GHGs 2.7250]
  if fish-type = "Tilapia" and climate = "Humid Subtropical" and season = "Winter" [set heating-GHGs 6.2448]

  if fish-type = "Walleye" and climate = "Humid Continental" and season = "Spring" [set heating-GHGs 4.8936]
  if fish-type = "Walleye" and climate = "Humid Continental" and season = "Summer" [set heating-GHGs 0]
  if fish-type = "Walleye" and climate = "Humid Continental" and season = "Fall" [set heating-GHGs 4.3486]
  if fish-type = "Walleye" and climate = "Humid Continental" and season = "Winter" [set heating-GHGs 8.9299]
  if fish-type = "Walleye" and climate = "Temperate" and season = "Spring" [set heating-GHGs 3.4403]
  if fish-type = "Walleye" and climate = "Temperate" and season = "Summer" [set heating-GHGs 0]
  if fish-type = "Walleye" and climate = "Temperate" and season = "Fall" [set heating-GHGs 2.7250]
  if fish-type = "Walleye" and climate = "Temperate" and season = "Winter" [set heating-GHGs 5.1774]
  if fish-type = "Walleye" and climate = "Tropical" and season = "Spring" [set heating-GHGs 0]
  if fish-type = "Walleye" and climate = "Tropical" and season = "Summer" [set heating-GHGs 0]
  if fish-type = "Walleye" and climate = "Tropical" and season = "Fall" [set heating-GHGs 0]
  if fish-type = "Walleye" and climate = "Tropical" and season = "Winter" [set heating-GHGs 0.82316]
  if fish-type = "Walleye" and climate = "Humid Subtropical" and season = "Spring" [set heating-GHGs 3.0940]
  if fish-type = "Walleye" and climate = "Humid Subtropical" and season = "Summer" [set heating-GHGs 0]
  if fish-type = "Walleye" and climate = "Humid Subtropical" and season = "Fall" [set heating-GHGs 1.8734]
  if fish-type = "Walleye" and climate = "Humid Subtropical" and season = "Winter" [set heating-GHGs 5.3932]

  if fish-type = "Salmon" or fish-type = "Default" and climate = "Humid Continental" and season = "Spring"  [set heating-GHGs 2.3389]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Humid Continental" and season = "Summer"  [set heating-GHGs 0]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Humid Continental" and season = "Fall"  [set heating-GHGs 1.7939]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Humid Continental" and season = "Winter"  [set heating-GHGs 6.3753]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Temperate" and season = "Spring" [set heating-GHGs 0.88561]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Temperate" and season = "Summer" [set heating-GHGs 0]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Temperate" and season = "Fall" [set heating-GHGs 0.17031]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Temperate" and season = "Winter" [set heating-GHGs 2.6228]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Tropical" and season = "Spring" [set heating-GHGs 0]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Tropical" and season = "Summer" [set heating-GHGs 0]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Tropical" and season = "Fall" [set heating-GHGs 0]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Tropical" and season = "Winter" [set heating-GHGs 0]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Humid Subtropical" and season = "Spring" [set heating-GHGs 0.53937]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Humid Subtropical" and season = "Summer" [set heating-GHGs 0]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Humid Subtropical" and season = "Fall" [set heating-GHGs 0]
  if fish-type = "Salmon" or fish-type = "Default" and climate = "Humid Subtropical" and season = "Winter" [set heating-GHGs 2.8386]

  if fish-type = "Catfish" and climate = "Humid Continental" and season = "Spring"  [set heating-GHGs 6.5967]
  if fish-type = "Catfish" and climate = "Humid Continental" and season = "Summer"  [set heating-GHGs 2.5774]
  if fish-type = "Catfish" and climate = "Humid Continental" and season = "Fall"  [set heating-GHGs 6.0517]
  if fish-type = "Catfish" and climate = "Humid Continental" and season = "Winter"  [set heating-GHGs 10.6330]
  if fish-type = "Catfish" and climate = "Temperate" and season = "Spring" [set heating-GHGs 5.1434]
  if fish-type = "Catfish" and climate = "Temperate" and season = "Summer" [set heating-GHGs 1.8734]
  if fish-type = "Catfish" and climate = "Temperate" and season = "Fall" [set heating-GHGs 4.4281]
  if fish-type = "Catfish" and climate = "Temperate" and season = "Winter" [set heating-GHGs 6.8805]
  if fish-type = "Catfish" and climate = "Tropical" and season = "Spring" [set heating-GHGs 1.4249]
  if fish-type = "Catfish" and climate = "Tropical" and season = "Summer" [set heating-GHGs 0.22140]
  if fish-type = "Catfish" and climate = "Tropical" and season = "Fall" [set heating-GHGs 0.97077]
  if fish-type = "Catfish" and climate = "Tropical" and season = "Winter" [set heating-GHGs 2.5263]
  if fish-type = "Catfish" and climate = "Humid Subtropical" and season = "Spring" [set heating-GHGs 4.7971]
  if fish-type = "Catfish" and climate = "Humid Subtropical" and season = "Summer" [set heating-GHGs 1.4761]
  if fish-type = "Catfish" and climate = "Humid Subtropical" and season = "Fall" [set heating-GHGs 3.5765]
  if fish-type = "Catfish" and climate = "Humid Subtropical" and season = "Winter" [set heating-GHGs 7.0963]
  reset-ticks
end 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;; go procedure ;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

to go
;;; RELEASE MORE FEED ;;;
  if count fish = 0 [stop]
  ask feed [
    if count feed <= 6 [
      hatch-feed number-of-fish [
      set xcor max-pxcor - 10
      set ycor random max-pycor - random 18
      set heading random 360]
      set total-feeding-GHG-emissions total-feeding-GHG-emissions + (feeding-GHGs * number-of-fish)
      hatch-feed number-of-fish [
      set xcor max-pxcor - 16
      set ycor random max-pycor - random 12
      set heading random 360 ]
      set total-feeding-GHG-emissions total-feeding-GHG-emissions + (feeding-GHGs * number-of-fish)
      hatch-feed number-of-fish [
      set xcor max-pxcor - 24
      set ycor random max-pycor - random 22
      set heading random 360 ]
     set total-feeding-GHG-emissions total-feeding-GHG-emissions + (feeding-GHGs * number-of-fish) ]
   if count feed <= 50 and fish-type = "Salmon" or fish-type = "Default" [
      hatch-feed number-of-fish [
      set xcor max-pxcor - 10
      set ycor random max-pycor - random 18
      set heading random 360]
      set total-feeding-GHG-emissions total-feeding-GHG-emissions + (feeding-GHGs * number-of-fish)
      hatch-feed number-of-fish [
      set xcor max-pxcor - 16
      set ycor random max-pycor - random 12
      set heading random 360 ]
      set total-feeding-GHG-emissions total-feeding-GHG-emissions + (feeding-GHGs * number-of-fish)
      hatch-feed number-of-fish [
      set xcor max-pxcor - 24
      set ycor random max-pycor - random 22
      set heading random 360 ]
     set total-feeding-GHG-emissions total-feeding-GHG-emissions + (feeding-GHGs * number-of-fish) ] ]
;;; FEED MOVES & AVOIDS LEFT & RIGHT EDGES ;;;
  ask feed [
    ifelse not can-move? 0.5
    [set heading 90 fd 1 ]
    [ifelse pcolor = black or pcolor = white
      [set heading 270 fd 2 ]
      [lt random 70
       rt random 70
       fd random-float 4 ] ] ]
;;; FISH MOVES & AVOIDS LEFT & RIGHT EDGES ;;;
  ask fish [
   ifelse not can-move? 0.5
     [set heading 90 fd 1.5 ]
     [ifelse pcolor = black or pcolor = white
       [set heading 270 fd 2 ]
       [lt random 50
        rt random 50
        fd random-float 0.25 ] ] ]
;;; FISH EAT & FEED TURNS TO NUTRIENTS ;;;
  ask fish [
   let prey one-of feed-here
    if prey != nobody [
      ask prey [
        set breed nutrients
        set shape "circle"
        set size 0.15
        set color brown - 2
        set heading 90 ] ] ]
;;; FISH GROW ;;;
  ask fish [
    if size < 2.5 and fish-type = "Tilapia" and any? fish and any? feed and distance one-of fish <= 2.5 and distance one-of feed <= 2.5
    [ set size size + 0.2 ]
    if size < 2.5 and fish-type = "Walleye" and any? fish and any? feed and distance one-of fish <= 2.5 and distance one-of feed <= 2.5
    [ set size size + 0.2 ]
    if size < 3 and fish-type = "Salmon" or fish-type = "Default" and any? fish and any? feed and distance one-of fish <= 2.5 and distance one-of feed <= 2.5
    [ set size size + 0.2 ]
    if size < 3 and fish-type = "Catfish" and any? fish and any? feed and distance one-of fish <= 2.5 and distance one-of feed <= 2.5
    [ set size size + 0.2 ] ]
;;; NUTRIENTS MOVES ;;;
  ask nutrients [
   ifelse not can-move? 0.75
    [ set heading 90 fd random-float 5 ]
    [ rt random 90
      lt random 90
      fd random-float 10 ]
     if not can-move? 0.75
    [set heading 270 fd 4]
     if not can-move? 0.25
    [die] ]
;;; FISH MORTALITY ;;;
  ask fish [
    if size <= 0.5 and ticks = 7300 ;; or ticks = 8000 or ticks =  12000 or ticks = 16000 or ticks = 20000 ;;
    [ set fish-death fish-death + 1
      die] ]
;;; HARVEST FISH ;;;
  ask fish [
    ifelse
    (Restock? = "on") [
    if size >= 2.5 and fish-type = "Tilapia"
    [ set size 0.5
      set total-harvested-fish total-harvested-fish + 1 ]
    if size >= 2.5 and fish-type = "Walleye"
    [ set size 0.5
      set total-harvested-fish total-harvested-fish + 1 ]
    if size >= 3 and fish-type = "Salmon"
    [ set size 1
      set total-harvested-fish total-harvested-fish + 1 ]
     if size >= 3 and fish-type = "Catfish"
    [ set size 1
        set total-harvested-fish total-harvested-fish + 1 ] ]
    [ if size >= 2.5 and fish-type = "Tilapia"
    [ set total-harvested-fish total-harvested-fish + 1
        die]
    if size >= 2.5 and fish-type = "Walleye"
    [ set total-harvested-fish total-harvested-fish + 1
        die ]
    if size >= 3 and fish-type = "Salmon" or fish-type = "Default"
    [ set total-harvested-fish total-harvested-fish + 1
     die ]
     if size >= 3 and fish-type = "Catfish"
    [ set total-harvested-fish total-harvested-fish + 1
        die ] ] ]
;;; PLANTS EAT ;;;
  ask plants [
   let fertilizer one-of nutrients-here
    if fertilizer != nobody [
      ask fertilizer [die] ] ]
;;; PLANTS GROW ;;;
  ask plants [
    if size < 2 and plant-type = "Basil"
    [ if any? plants and any? nutrients [
      if distance one-of plants <= 2 and distance one-of nutrients <= 2 [
        set size size + 0.35 ] ] ]
    if size < 2.5 and plant-type = "Lettuce" or plant-type = "Default"
    [ if any? plants and any? nutrients [
      if distance one-of plants <= 2 and distance one-of nutrients <= 2 [
        set size size + 0.25 ] ] ]
    if size < 2.5 and plant-type = "Tomato"
    [ if any? plants and any? nutrients [
      if distance one-of plants <= 2 and distance one-of nutrients <= 2 [
        set size size + 0.25 ] ] ]
    if size < 2.5 and plant-type = "Pepper"
    [ if any? plants and any? nutrients [
      if distance one-of plants <= 2 and distance one-of nutrients <= 2 [
        set size size + 0.25 ] ] ] ]
;;; HARVEST PLANTS ;;;
  ask plants [
    if size >= 2 and plant-type = "Basil"
    [ set size 0.5
      set total-harvested-plants total-harvested-plants + 1 ]
     if size >= 2.5 and plant-type = "Lettuce" or plant-type = "Default"
    [ set size 0.25
      set total-harvested-plants total-harvested-plants + 1 ]
     if size >= 2.5 and plant-type = "Tomato"
    [ set size 0.25
      set total-harvested-plants total-harvested-plants + 1 ]
     if size >= 2.5 and plant-type = "Pepper"
    [ set size 0.25
      set total-harvested-plants total-harvested-plants + 1 ] ]
;;; REPORTING GHG EMISSIONS ;;;
 set total-lighting-GHG-emissions total-lighting-GHG-emissions + lighting-GHGs
 set total-heating-GHG-emissions total-heating-GHG-emissions + heating-GHGs
 set total-pumping-GHG-emissions total-pumping-GHG-emissions + pumping-GHGs
 tick
end 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;; reporters ;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

to-report lighting-greenhouse-gas-emissions
  report total-lighting-GHG-emissions
end 

to-report heating-greenhouse-gas-emissions
  report total-heating-GHG-emissions
end 

to-report feeding-greenhouse-gas-emissions
  report total-feeding-GHG-emissions
end 

to-report pumping-greenhouse-gas-emissions
  report total-pumping-GHG-emissions
end 

to-report greenhouse-gas-emissions
  report total-heating-GHG-emissions + total-lighting-GHG-emissions + total-feeding-GHG-emissions + total-pumping-GHG-emissions
end 

to-report harvested-fish
  report total-harvested-fish
end 

to-report harvested-plants
  report total-harvested-plants
end 

to-report fish-deaths
  report fish-death
end 

There are 2 versions of this model.

Uploaded by When Description Download
Marissa Breitenstein about 21 hours ago Information section updated Download this version
Marissa Breitenstein about 1 month ago Initial upload Download this version

Attached files

File Type Description Last updated
Aquaponics & Greenhouse Gas Emissions.png preview Preview for 'Aquaponics & Greenhouse Gas Emissions' about 1 month ago, by Marissa Breitenstein Download

This model does not have any ancestors.

This model does not have any descendants.