breeds [ muscle-fibers ] muscle-fibers-own [ fiber-size ;; different from built-in "size" because it uses different units max-size ] patches-own [ anabolic-hormone ;; muscle building hormone catabolic-hormone ;; muscle breaking down hormone ] globals [ day ;; unit of time for one iteration muscle-mass ;; stores sum of muscle-fiber sizes ;; hormone bounds to ensure a realistic environment anabolic-hormone-max anabolic-hormone-min catabolic-hormone-max catabolic-hormone-min ;; the rate at which hormones from one fiber diffuse to others hormone-diffuse-rate ] to setup ca set-default-shape muscle-fibers "circle" initialize-hormones create-muscle-fibers set muscle-mass sum values-from muscle-fibers [fiber-size] set day 0 do-plotting end to initialize-hormones ;; constants chosen align the model time frame for muscle development ;; with realistic values set hormone-diffuse-rate 0.75 ask patches [ set anabolic-hormone-max 200 set catabolic-hormone-max 250 set anabolic-hormone-min 50 set catabolic-hormone-min 52 set anabolic-hormone 50 set catabolic-hormone 52 ] regulate-hormones end to create-muscle-fibers ask patches [ sprout 1 [ set breed muscle-fibers set max-size 4 ;; create a normalized distribution of maximum muscle fiber sizes ;; with median dependent on % of slow twitch fibers. repeat 20 [ if random-float 100 > %-slow-twitch-fibers [ set max-size max-size + 1 ] ] ;; provide non-uniform starting sizes for varied results, everyone's different set fiber-size (0.2 + random-float 0.4) * max-size regulate-muscle-fibers ] ] end to go set day (day + 1) ;; note the use of the LOG primitive in the procedures called below ;; to simulate a natural system's tendancy to adapt less and less ;; to each additional unit of some biological substance perform-daily-activity if lift? and (day mod days-between-workouts = 0) [ lift-weights ] sleep regulate-hormones develop-muscle set muscle-mass sum values-from muscle-fibers [fiber-size] do-plotting end to perform-daily-activity ;; simulate hormonal effect of lifestyle ;; activities like watching TV and working ask muscle-fibers [ set catabolic-hormone catabolic-hormone + 2.0 * (log fiber-size 10) set anabolic-hormone anabolic-hormone + 2.5 * (log fiber-size 10) ] end to lift-weights ;; simulate hormonal effect of weight training ask muscle-fibers [ if( random-float 1.0 < intensity / 100 * intensity / 100 ) [ set anabolic-hormone anabolic-hormone + (log fiber-size 10) * 55 set catabolic-hormone catabolic-hormone + (log fiber-size 10) * 44 ] ] end to sleep ;; simulate homonal effect of sleeping ask patches [ set catabolic-hormone catabolic-hormone - 0.5 * (log catabolic-hormone 10) * hours-of-sleep set anabolic-hormone anabolic-hormone - 0.48 * (log anabolic-hormone 10) * hours-of-sleep ] end to develop-muscle ask muscle-fibers [ grow regulate-muscle-fibers ] end to grow ;; turtle procedure ;; catabolic hormones must prepare the fibers for growth before the ;; anabolic hormones may add mass to the fibers set fiber-size (fiber-size - 0.20 * (log catabolic-hormone 10)) set fiber-size (fiber-size + 0.20 * min (list (log anabolic-hormone 10) (1.05 * log catabolic-hormone 10))) end to regulate-muscle-fibers ;;turtle procedure ;; simulate the body's natural limits on minimum and maximum fiber sizes if (fiber-size < 1) [ set fiber-size 1 ] if (fiber-size > max-size) [ set fiber-size max-size ] set color rgb ( fiber-size / max-size) 0 0 ;; base the visible size of the turtle on its fiber-size set size max list 0.2 (min list 1 (fiber-size / 20)) end to regulate-hormones ;;patch procedure ;; hormones spread to neighboring fibers diffuse anabolic-hormone hormone-diffuse-rate diffuse catabolic-hormone hormone-diffuse-rate ;; if there are to many or to few hormones in an area, ;; the body will try very hard to restore a balance ask patches [ set anabolic-hormone min (list anabolic-hormone anabolic-hormone-max) set anabolic-hormone max (list anabolic-hormone anabolic-hormone-min) set catabolic-hormone min (list catabolic-hormone catabolic-hormone-max) set catabolic-hormone max (list catabolic-hormone catabolic-hormone-min) ;;color patches based on hormone concentraions set pcolor rgb (catabolic-hormone / catabolic-hormone-max) (anabolic-hormone / anabolic-hormone-max) 0 ] end to do-plotting set-current-plot "Muscle Development" set-current-plot-pen "muscle" plot muscle-mass / 100 set-current-plot "Hormones" set-current-plot-pen "anabolic" plot mean values-from patches [anabolic-hormone] set-current-plot-pen "catabolic" plot mean values-from patches [catabolic-hormone] end ; *** NetLogo Model Copyright Notice *** ; ; This model was created as part of the project: ; PARTICIPATORY SIMULATIONS: NETWORK-BASED DESIGN FOR SYSTEMS LEARNING IN ; CLASSROOMS. The project gratefully acknowledges the support of the ; National Science Foundation (REPP program) -- grant number REC #9814682. ; ; Copyright 2002 by Uri Wilensky. Updated 2002. All rights reserved. ; ; Permission to use, modify or redistribute this model is hereby granted, ; provided that both of the following requirements are followed: ; a) this copyright notice is included. ; b) this model will not be redistributed for profit without permission ; from Uri Wilensky. ; Contact Uri Wilensky for appropriate licenses for redistribution for ; profit. ; ; To refer to this model in academic publications, please use: ; Wilensky, U. (2002). NetLogo Muscle Development model. ; http://ccl.northwestern.edu/netlogo/models/MuscleDevelopment. ; Center for Connected Learning and Computer-Based Modeling, ; Northwestern University, Evanston, IL. ; ; In other publications, please use: ; Copyright 1998 by Uri Wilensky. All rights reserved. See ; http://ccl.northwestern.edu/netlogo/models/MuscleDevelopment ; for terms of use. ; ; *** End of NetLogo Model Copyright Notice *** @#$#@#$#@ GRAPHICS-WINDOW 329 11 679 382 8 8 20.0 1 10 1 1 1 CC-WINDOW 329 393 669 532 Command Center BUTTON 43 49 112 82 Setup setup NIL 1 T OBSERVER SLIDER 5 166 221 199 days-between-workouts days-between-workouts 1 30 5 1 1 days SLIDER 5 133 221 166 hours-of-sleep hours-of-sleep 0.0 12.0 8.0 0.5 1 hours PLOT 5 236 321 381 Muscle Development Time Muscle Mass 0.0 60.0 0.0 20.0 true false PENS "muscle" 1.0 0 -65536 true PLOT 5 381 321 532 Hormones Time Hormones 0.0 60.0 0.0 30.0 true true PENS "anabolic" 1.0 0 -16777216 true "catabolic" 1.0 0 -256 true MONITOR 226 187 321 236 Day day 1 1 SLIDER 5 100 221 133 intensity intensity 50 100 95 1 1 NIL BUTTON 127 49 196 82 NIL Go T 1 T OBSERVER SWITCH 226 100 321 133 lift? lift? 0 1 -1000 SLIDER 5 199 221 232 %-slow-twitch-fibers %-slow-twitch-fibers 0.0 100.0 50.0 1.0 1 NIL @#$#@#$#@ WHAT IS IT? ----------- This is an exercise physiology model. It is intended to help you understand the factors involved in generating the appropriate hormonal balance to develop muscle from weight lifting. These factors include: Frequency: How often you lift weights must be managed appropriately in order to see gains in muscle mass. If you lift too frequently, you will not have time to recover and then rebuild stronger muscles. If you fail to lift frequently enough, there will not be enough stimuli to elicit long term gains in muscle. Sleep: The body performs most of its recovery while sleeping. If you don't get enough sleep, you will not be providing enough opportunity for recovery, so you will find it difficult to gain muscle. Intensity: How hard you works in the weight room affects how effective you are at recruiting all of your muscle fibers. The greater the number of fibers recruited, the greater the growth stimulus, assuming appropriate recovery is provided for. Genetic: The ratio of slow twitch to fast twitch muscle fibers plays a large role in how much muscle an individual is capable of developing. Someone with a majority of fibers that exhibit slow twitch characteristics will have high endurance, but the potential to develop only moderate muscle mass. An individual with a majority of fibers with fast twitch characteristics will have the potential to develop considerable muscle mass, but low endurance. Diet: A poor diet can prevent muscle growth. In this model we assume perfect diet. All five of these factors must be understood and put into balance with one another in order to achieve optimal muscular development. The appropriate combination is highly dependent on the individual and their current, unique state. It will change over time. UNDERSTANDING THE MODEL ----------------------- Ultimately, the effects of resistance training occur as a result of the hormonal responses it elicits from the body. The hormones essential to muscle development can be separated into two broad classes: catabolic hormones and anabolic hormones. Catabolic hormones break down the muscle fiber to prepare it to be rebuilt stronger by the anabolic hormones. Note: catabolic hormones play a vital role, as muscle fibers must be broken down before they can be built back up. This model attempts to simulate these effects with a cross sectional portrayal of a muscle at the level of the muscle fibers. When the observer activates a muscle fiber through resistance training, the fiber releases a chemical signal that results in a surge of hormones at the location of the fiber. These hormones affect the fiber development as mentioned above and will dissipate over time. The circles in the graphics window represent muscle fibers. The background they appear against may be thought of as the cellular fluid that contains the anabolic and catabolic hormones. The brighter the green, the more anabolic (muscle building) the environment. The brighter the yellow, the more catabolic (muscle destroying) the environment. HOW TO USE IT ------------- Buttons: SETUP: Sets up the model GO: Runs the model Switches: LIFT?: Decides whether or not the person is actively weight lifting Sliders: INTENSITY: How hard the lifter is working. The greater the intensity, the greater the number of muscle fibers that will be fatigued each workout session. HOURS-OF-SLEEP: The amount of sleep a person gets affects how quickly the body breaks down the hormones. DAYS-BETWEEN-WORKOUTS: The frequency of the workouts effects how much time the body has to recover and then over-compensate from the last workout %-SLOW-TWITCH-FIBERS: How likely each fiber is to possess slow twitch characteristics. Graphs MUSCLE DEVELOPMENT VS. TIME: The sum of all fiber sizes over time HORMONES VS. TIME: The average hormone content near each fiber THINGS TO TRY ---------------- Steps one through three should be run with %-SLOW-TWITCH slider set to 50. 1. Run the model at its default settings. What eventually happens to the amount of muscle mass? Why? 2. Overtraining occurs when the body is not allowed to recover completely from the last exercise session before being trained again. This causes stagnation of muscular development, and in extreme cases, muscle loss. What types of conditions can lead to overtraining? What is the best way to recover from overtraining? What steps can be taken to avoid it? 3. Many undertake weight training in an effort to build the maximum amount of muscle they are capable of. Find the best method for achieving this. How must it vary over time? Why is it important to take one's current level of condition into consideration when choosing a resistance training program? 4. An issue rarely addressed in conventional training is that of genetic ability. A major factor effecting this the proportion of slow twitch vs. fast twitch muscle fibers a person possesses. Slow twitch fibers provide for greater endurance, fast twitch greater strength and size. Attempt to obtain maximal muscular development with the %-SLOW-TWITCH slider set at 90% and then 10%. How do the results one can obtain vary with genetic ability? Training methods? What does this suggest about the average person following the routines of genetically gifted professional bodybuilders? EXTENDING THE MODEL ------------------- 1. In order to ensure you have achieved maximum muscular development, add a pen named "max-muscle" to the "Muscle Development" plot. Now modify the DO-PLOTTING procedure to use the "max-muscle" pen to plot the sum of the MAX-SIZE value of all the muscle fibers. 2. Nutritional quality can have a major influence on the results obtained from training. Modify the model to allow for this influence. Add a NUTRIENT variable to the MUSCLE-FIBER breed. Add a NUTRITIONAL-QUALITY slider to the model. Now modify the GO procedure to call a OBTAIN-NUTRITION function that releases nutrients into the patches. Finally, alter the GROW procedure to use the available nutrients when adding size to a muscle fiber. 3. Real life creates many inconsistencies in the average person's strength training program. Add a variance function to the model that randomly generates nights of less sleep and extra rest days between workouts to reflect these inconsistencies. Add a switch to allow the user to turn this variance on or off. Add a slider to allow the user to adjust the level of variance. What effect do these inconsistencies have on muscular development? THINGS TO NOTICE ---------------- The human body is an incredibly complex system. In order to simulate the piece of it in which we are interested, assumptions have been made about the behavior of other pieces. This can be seen in the hard-coding of various parameters, such as the hormone limits and the maximum muscle fiber sizes. These assumptions allow us to focus upon gaining an understanding of the overall process of muscle development without becoming burdened with excessive information. NETLOGO FEATURES ----------------- Note the use of the REPEAT primitve and %-SLOW-TWITCH-FIBERS variable in the CREATE-MUSCLE-FIBERS procedure to generate a normal distribution of the maximum muscle fiber sizes centered at a median influenced by the %-SLOW-TWITCH-FIBERS value. Note the use of the LOG function in the procedures which regulate hormonal release and balance. This allows us to more closely mimic the natural tendancy for each additional unit of a biological component to illicit less of an adaptive change from the system than the one before it. Note the use of the RGB primitve in the REGULATE-HORMONES procedure to color patches based on hormone quantities and provide a smooth visual transition from an anabolic to a catabolic state. CREDITS AND REFERENCES ---------------------- Original implementation: Scott Styles, for the Center for Connected Learning and Computer-Based Modeling. To refer to this model in academic publications, please use: Wilensky, U. (2002). NetLogo Muscle Development model. http://ccl.northwestern.edu/netlogo/models/MuscleDevelopment. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL. In other publications, please use: Copyright 2002 by Uri Wilensky. All rights reserved. See http://ccl.northwestern.edu/netlogo/models/MuscleDevelopment for terms of use. @#$#@#$#@ default true 0 Polygon -7566196 true true 150 5 40 250 150 205 260 250 ant true 0 Polygon -7566196 true true 136 61 129 46 144 30 119 45 124 60 114 82 97 37 132 10 93 36 111 84 127 105 172 105 189 84 208 35 171 11 202 35 204 37 186 82 177 60 180 44 159 32 170 44 165 60 Polygon -7566196 true true 150 95 135 103 139 117 125 149 137 180 135 196 150 204 166 195 161 180 174 150 158 116 164 102 Polygon -7566196 true true 149 186 128 197 114 232 134 270 149 282 166 270 185 232 171 195 149 186 149 186 Polygon -7566196 true true 225 66 230 107 159 122 161 127 234 111 236 106 Polygon -7566196 true true 78 58 99 116 139 123 137 128 95 119 Polygon -7566196 true true 48 103 90 147 129 147 130 151 86 151 Polygon -7566196 true true 65 224 92 171 134 160 135 164 95 175 Polygon -7566196 true true 235 222 210 170 163 162 161 166 208 174 Polygon -7566196 true true 249 107 211 147 168 147 168 150 213 150 arrow true 0 Polygon -7566196 true true 150 300 300 150 195 150 195 7 105 7 105 150 105 150 0 150 bee true 0 Polygon -256 true false 152 149 77 163 67 195 67 211 74 234 85 252 100 264 116 276 134 286 151 300 167 285 182 278 206 260 220 242 226 218 226 195 222 166 Polygon -16777216 true false 150 149 128 151 114 151 98 145 80 122 80 103 81 83 95 67 117 58 141 54 151 53 177 55 195 66 207 82 211 94 211 116 204 139 189 149 171 152 Polygon -7566196 true true 151 54 119 59 96 60 81 50 78 39 87 25 103 18 115 23 121 13 150 1 180 14 189 23 197 17 210 19 222 30 222 44 212 57 192 58 Polygon -16777216 true false 70 185 74 171 223 172 224 186 Polygon -16777216 true false 67 211 71 226 224 226 225 211 67 211 Polygon -16777216 true false 91 257 106 269 195 269 211 255 Line -1 false 144 100 70 87 Line -1 false 70 87 45 87 Line -1 false 45 86 26 97 Line -1 false 26 96 22 115 Line -1 false 22 115 25 130 Line -1 false 26 131 37 141 Line -1 false 37 141 55 144 Line -1 false 55 143 143 101 Line -1 false 141 100 227 138 Line -1 false 227 138 241 137 Line -1 false 241 137 249 129 Line -1 false 249 129 254 110 Line -1 false 253 108 248 97 Line -1 false 249 95 235 82 Line -1 false 235 82 144 100 bird1 false 0 Polygon -7566196 true true 2 6 2 39 270 298 297 298 299 271 187 160 279 75 276 22 100 67 31 0 bird2 false 0 Polygon -7566196 true true 2 4 33 4 298 270 298 298 272 298 155 184 117 289 61 295 61 105 0 43 boat1 false 0 Polygon -1 true false 63 162 90 207 223 207 290 162 Rectangle -6524078 true false 150 32 157 162 Polygon -16776961 true false 150 34 131 49 145 47 147 48 149 49 Polygon -7566196 true true 158 33 230 157 182 150 169 151 157 156 Polygon -7566196 true true 149 55 88 143 103 139 111 136 117 139 126 145 130 147 139 147 146 146 149 55 boat2 false 0 Polygon -1 true false 63 162 90 207 223 207 290 162 Rectangle -6524078 true false 150 32 157 162 Polygon -16776961 true false 150 34 131 49 145 47 147 48 149 49 Polygon -7566196 true true 157 54 175 79 174 96 185 102 178 112 194 124 196 131 190 139 192 146 211 151 216 154 157 154 Polygon -7566196 true true 150 74 146 91 139 99 143 114 141 123 137 126 131 129 132 139 142 136 126 142 119 147 148 147 boat3 false 0 Polygon -1 true false 63 162 90 207 223 207 290 162 Rectangle -6524078 true false 150 32 157 162 Polygon -16776961 true false 150 34 131 49 145 47 147 48 149 49 Polygon -7566196 true true 158 37 172 45 188 59 202 79 217 109 220 130 218 147 204 156 158 156 161 142 170 123 170 102 169 88 165 62 Polygon -7566196 true true 149 66 142 78 139 96 141 111 146 139 148 147 110 147 113 131 118 106 126 71 box true 0 Polygon -7566196 true true 45 255 255 255 255 45 45 45 butterfly1 true 0 Polygon -16777216 true false 151 76 138 91 138 284 150 296 162 286 162 91 Polygon -7566196 true true 164 106 184 79 205 61 236 48 259 53 279 86 287 119 289 158 278 177 256 182 164 181 Polygon -7566196 true true 136 110 119 82 110 71 85 61 59 48 36 56 17 88 6 115 2 147 15 178 134 178 Polygon -7566196 true true 46 181 28 227 50 255 77 273 112 283 135 274 135 180 Polygon -7566196 true true 165 185 254 184 272 224 255 251 236 267 191 283 164 276 Line -7566196 true 167 47 159 82 Line -7566196 true 136 47 145 81 Circle -7566196 true true 165 45 8 Circle -7566196 true true 134 45 6 Circle -7566196 true true 133 44 7 Circle -7566196 true true 133 43 8 circle false 0 Circle -7566196 true true 35 35 230 person false 0 Circle -7566196 true true 155 20 63 Rectangle -7566196 true true 158 79 217 164 Polygon -7566196 true true 158 81 110 129 131 143 158 109 165 110 Polygon -7566196 true true 216 83 267 123 248 143 215 107 Polygon -7566196 true true 167 163 145 234 183 234 183 163 Polygon -7566196 true true 195 163 195 233 227 233 206 159 spacecraft true 0 Polygon -7566196 true true 150 300 120 165 45 45 75 60 150 120 225 60 255 45 180 165 thin-arrow true 0 Polygon -7566196 true true 150 300 300 150 180 150 180 4 120 4 120 150 120 150 0 150 truck-down false 0 Polygon -7566196 true true 225 30 225 270 120 270 105 210 60 180 45 30 105 60 105 30 Polygon -8716033 true false 195 75 195 120 240 120 240 75 Polygon -8716033 true false 195 225 195 180 240 180 240 225 truck-left false 0 Polygon -7566196 true true 120 135 225 135 225 210 75 210 75 165 105 165 Polygon -8716033 true false 90 210 105 225 120 210 Polygon -8716033 true false 180 210 195 225 210 210 truck-right false 0 Polygon -7566196 true true 180 135 75 135 75 210 225 210 225 165 195 165 Polygon -8716033 true false 210 210 195 225 180 210 Polygon -8716033 true false 120 210 105 225 90 210 turtle true 0 Polygon -7566196 true true 138 75 162 75 165 105 225 105 225 142 195 135 195 187 225 195 225 225 195 217 195 202 105 202 105 217 75 225 75 195 105 187 105 135 75 142 75 105 135 105 wolf-left false 3 Polygon -6524078 true true 117 97 91 74 66 74 60 85 36 85 38 92 44 97 62 97 81 117 84 134 92 147 109 152 136 144 174 144 174 103 143 103 134 97 Polygon -6524078 true true 87 80 79 55 76 79 Polygon -6524078 true true 81 75 70 58 73 82 Polygon -6524078 true true 99 131 76 152 76 163 96 182 104 182 109 173 102 167 99 173 87 159 104 140 Polygon -6524078 true true 107 138 107 186 98 190 99 196 112 196 115 190 Polygon -6524078 true true 116 140 114 189 105 137 Rectangle -6524078 true true 109 150 114 192 Rectangle -6524078 true true 111 143 116 191 Polygon -6524078 true true 168 106 184 98 205 98 218 115 218 137 186 164 196 176 195 194 178 195 178 183 188 183 169 164 173 144 Polygon -6524078 true true 207 140 200 163 206 175 207 192 193 189 192 177 198 176 185 150 Polygon -6524078 true true 214 134 203 168 192 148 Polygon -6524078 true true 204 151 203 176 193 148 Polygon -6524078 true true 207 103 221 98 236 101 243 115 243 128 256 142 239 143 233 133 225 115 214 114 wolf-right false 3 Polygon -6524078 true true 170 127 200 93 231 93 237 103 262 103 261 113 253 119 231 119 215 143 213 160 208 173 189 187 169 190 154 190 126 180 106 171 72 171 73 126 122 126 144 123 159 123 Polygon -6524078 true true 201 99 214 69 215 99 Polygon -6524078 true true 207 98 223 71 220 101 Polygon -6524078 true true 184 172 189 234 203 238 203 246 187 247 180 239 171 180 Polygon -6524078 true true 197 174 204 220 218 224 219 234 201 232 195 225 179 179 Polygon -6524078 true true 78 167 95 187 95 208 79 220 92 234 98 235 100 249 81 246 76 241 61 212 65 195 52 170 45 150 44 128 55 121 69 121 81 135 Polygon -6524078 true true 48 143 58 141 Polygon -6524078 true true 46 136 68 137 Polygon -6524078 true true 45 129 35 142 37 159 53 192 47 210 62 238 80 237 Line -16777216 false 74 237 59 213 Line -16777216 false 59 213 59 212 Line -16777216 false 58 211 67 192 Polygon -6524078 true true 38 138 66 149 Polygon -6524078 true true 46 128 33 120 21 118 11 123 3 138 5 160 13 178 9 192 0 199 20 196 25 179 24 161 25 148 45 140 Polygon -6524078 true true 67 122 96 126 63 144 @#$#@#$#@ NetLogo 2.0alpha2 @#$#@#$#@ @#$#@#$#@ @#$#@#$#@