Loading pdg-cooperation-simulator.nlogo +19 −3 Original line number Original line Diff line number Diff line Loading @@ -581,6 +581,7 @@ to go ask turtles [ ask turtles [ set wage-change-tmp 0 set wage-change-tmp 0 ; if wage-change > 0 [ if wage-change > 0 [ set wage-change-tmp ( wage-change / own-performance ) / max-wage-change set wage-change-tmp ( wage-change / own-performance ) / max-wage-change ] ] Loading Loading @@ -636,7 +637,7 @@ to go ; above zero values mean that an employee has increased their money-to-work-done ratio (good for him) ; above zero values mean that an employee has increased their money-to-work-done ratio (good for him) let coef-diff wage-to-work-coef - old-wage-to-work-coef let coef-diff wage-to-work-coef - old-wage-to-work-coef let diff wage-change-tmp * initial-effort * 0.1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; magical constant WARNING let diff wage-change-tmp * initial-effort * max-effort-change ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; magical constant WARNING ; this part describes a matrix of 4 possible situations when an employee evaluates their money-to-work-done ratio and the overall salary ; this part describes a matrix of 4 possible situations when an employee evaluates their money-to-work-done ratio and the overall salary ; the salary may decrease but subjectively it may be okay if the employee has positive coef-diff ; the salary may decrease but subjectively it may be okay if the employee has positive coef-diff Loading Loading @@ -1534,7 +1535,7 @@ std-deviation-stress-limit std-deviation-stress-limit std-deviation-stress-limit 1 1 10 10 0.0 1.0 1 1 1 1 NIL NIL Loading Loading @@ -1564,7 +1565,7 @@ stress-regen stress-regen stress-regen 0.01 0.01 1 1 1.0 0.02 0.001 0.001 1 1 NIL NIL Loading Loading @@ -2244,6 +2245,21 @@ PENS "pen-5" 1.0 2 -955883 true "" "plot 100 * count turtles with [ is-sick? = true and strategy = \"tit-for-tat-npm\" ] / max list 1 count turtles with [strategy = \"tit-for-tat-npm\" ] " "pen-5" 1.0 2 -955883 true "" "plot 100 * count turtles with [ is-sick? = true and strategy = \"tit-for-tat-npm\" ] / max list 1 count turtles with [strategy = \"tit-for-tat-npm\" ] " "pen-6" 1.0 2 -10146808 true "" "plot 100 * count turtles with [ is-sick? = true and strategy = \"tit-for-two-tats\" ] / max list 1 count turtles with [strategy = \"tit-for-two-tats\" ] " "pen-6" 1.0 2 -10146808 true "" "plot 100 * count turtles with [ is-sick? = true and strategy = \"tit-for-two-tats\" ] / max list 1 count turtles with [strategy = \"tit-for-two-tats\" ] " SLIDER 555 695 727 728 max-effort-change max-effort-change 0 1 0.1 0.05 1 NIL HORIZONTAL @#$#@#$#@ @#$#@#$#@ # Simulating the Impact of Cooperation and Management Strategies on Stress and Economic Performance # Simulating the Impact of Cooperation and Management Strategies on Stress and Economic Performance Loading Loading
pdg-cooperation-simulator.nlogo +19 −3 Original line number Original line Diff line number Diff line Loading @@ -581,6 +581,7 @@ to go ask turtles [ ask turtles [ set wage-change-tmp 0 set wage-change-tmp 0 ; if wage-change > 0 [ if wage-change > 0 [ set wage-change-tmp ( wage-change / own-performance ) / max-wage-change set wage-change-tmp ( wage-change / own-performance ) / max-wage-change ] ] Loading Loading @@ -636,7 +637,7 @@ to go ; above zero values mean that an employee has increased their money-to-work-done ratio (good for him) ; above zero values mean that an employee has increased their money-to-work-done ratio (good for him) let coef-diff wage-to-work-coef - old-wage-to-work-coef let coef-diff wage-to-work-coef - old-wage-to-work-coef let diff wage-change-tmp * initial-effort * 0.1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; magical constant WARNING let diff wage-change-tmp * initial-effort * max-effort-change ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; magical constant WARNING ; this part describes a matrix of 4 possible situations when an employee evaluates their money-to-work-done ratio and the overall salary ; this part describes a matrix of 4 possible situations when an employee evaluates their money-to-work-done ratio and the overall salary ; the salary may decrease but subjectively it may be okay if the employee has positive coef-diff ; the salary may decrease but subjectively it may be okay if the employee has positive coef-diff Loading Loading @@ -1534,7 +1535,7 @@ std-deviation-stress-limit std-deviation-stress-limit std-deviation-stress-limit 1 1 10 10 0.0 1.0 1 1 1 1 NIL NIL Loading Loading @@ -1564,7 +1565,7 @@ stress-regen stress-regen stress-regen 0.01 0.01 1 1 1.0 0.02 0.001 0.001 1 1 NIL NIL Loading Loading @@ -2244,6 +2245,21 @@ PENS "pen-5" 1.0 2 -955883 true "" "plot 100 * count turtles with [ is-sick? = true and strategy = \"tit-for-tat-npm\" ] / max list 1 count turtles with [strategy = \"tit-for-tat-npm\" ] " "pen-5" 1.0 2 -955883 true "" "plot 100 * count turtles with [ is-sick? = true and strategy = \"tit-for-tat-npm\" ] / max list 1 count turtles with [strategy = \"tit-for-tat-npm\" ] " "pen-6" 1.0 2 -10146808 true "" "plot 100 * count turtles with [ is-sick? = true and strategy = \"tit-for-two-tats\" ] / max list 1 count turtles with [strategy = \"tit-for-two-tats\" ] " "pen-6" 1.0 2 -10146808 true "" "plot 100 * count turtles with [ is-sick? = true and strategy = \"tit-for-two-tats\" ] / max list 1 count turtles with [strategy = \"tit-for-two-tats\" ] " SLIDER 555 695 727 728 max-effort-change max-effort-change 0 1 0.1 0.05 1 NIL HORIZONTAL @#$#@#$#@ @#$#@#$#@ # Simulating the Impact of Cooperation and Management Strategies on Stress and Economic Performance # Simulating the Impact of Cooperation and Management Strategies on Stress and Economic Performance Loading