Skip to content

Commit 42c11cf

Browse files
committed
Fix XML section order
1 parent ae3bdd6 commit 42c11cf

8 files changed

Lines changed: 30 additions & 30 deletions

Sample Models/System Dynamics/Exponential Growth.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,6 @@ To inquire about commercial licenses for either NetLogo or specific models from
805805
</indicator>
806806
</shape>
807807
</linkShapes>
808-
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
809808
<systemDynamics dt="0.001">
810809
<stock name="stock" allowNegative="true" x="307" y="122">1</stock>
811810
<reservoir x="121" y="124"></reservoir>
@@ -814,4 +813,5 @@ To inquire about commercial licenses for either NetLogo or specific models from
814813
<converter name="growth-rate" x="113" y="35">growth-rate-slider</converter>
815814
<binding startFigure="4" endFigure="2"></binding>
816815
</systemDynamics>
816+
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
817817
</model>

Sample Models/System Dynamics/Logistic Growth.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,11 +796,11 @@ To inquire about commercial licenses for either NetLogo or specific models from
796796
</indicator>
797797
</shape>
798798
</linkShapes>
799-
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
800799
<systemDynamics dt="0.01">
801800
<stock name="stock" allowNegative="true" x="304" y="107">0.1</stock>
802801
<reservoir x="53" y="112"></reservoir>
803802
<rate name="inflow" bivalent="false" startFigure="1" endFigure="0">stock * ( 1 - stock )</rate>
804803
<binding startFigure="0" endFigure="2"></binding>
805804
</systemDynamics>
805+
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
806806
</model>

Sample Models/System Dynamics/Unverified/Tabonuco Yagrumo Hybrid.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,6 @@ To inquire about commercial licenses for either NetLogo or specific models from
10131013
</indicator>
10141014
</shape>
10151015
</linkShapes>
1016-
<previewCommands>setup repeat 75 [ go ]</previewCommands>
10171016
<systemDynamics dt="1.0">
10181017
<stock name="tabonuco-stock" allowNegative="false" x="198" y="268">;; if you change this, be sure to update
10191018
;; gaps initial value
@@ -1080,4 +1079,5 @@ converted-to-tabonuco</rate>
10801079
<converter name="yagrumo-growth-rate" x="675" y="112">0.20</converter>
10811080
<binding startFigure="38" endFigure="28"></binding>
10821081
</systemDynamics>
1082+
<previewCommands>setup repeat 75 [ go ]</previewCommands>
10831083
</model>

Sample Models/System Dynamics/Unverified/Tabonuco Yagrumo.nlogox

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -896,27 +896,6 @@ To inquire about commercial licenses for either NetLogo or specific models from
896896
</indicator>
897897
</shape>
898898
</linkShapes>
899-
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
900-
<experiments>
901-
<experiment name="Sweep hurricane parameters" repetitions="1" sequentialRunOrder="true" runMetricsEveryStep="true" timeLimit="250">
902-
<setup>setup</setup>
903-
<go>go</go>
904-
<exitCondition>yagrumo = 0 or tabonuco = 0</exitCondition>
905-
<metrics>
906-
<metric>tabonuco</metric>
907-
<metric>yagrumo</metric>
908-
<metric>productivity</metric>
909-
<metric>carbon</metric>
910-
<metric>nitrogen</metric>
911-
<metric>gaps</metric>
912-
<metric>ticks</metric>
913-
</metrics>
914-
<constants>
915-
<steppedValueSet variable="user-hurricane-strength" first="0" step="0.1" last="1"></steppedValueSet>
916-
<steppedValueSet variable="user-hurricane-interval" first="0" step="5" last="80"></steppedValueSet>
917-
</constants>
918-
</experiment>
919-
</experiments>
920899
<systemDynamics dt="1.0">
921900
<stock name="gaps" allowNegative="false" x="435" y="33">;; since we don't know what order
922901
;; stocks are initialized in, we have
@@ -977,4 +956,25 @@ ifelse-value previous-carbon = 0
977956
<converter name="hurricane-strength" x="422" y="125">user-hurricane-strength</converter>
978957
<binding startFigure="35" endFigure="6"></binding>
979958
</systemDynamics>
959+
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
960+
<experiments>
961+
<experiment name="Sweep hurricane parameters" repetitions="1" sequentialRunOrder="true" runMetricsEveryStep="true" timeLimit="250">
962+
<setup>setup</setup>
963+
<go>go</go>
964+
<exitCondition>yagrumo = 0 or tabonuco = 0</exitCondition>
965+
<metrics>
966+
<metric>tabonuco</metric>
967+
<metric>yagrumo</metric>
968+
<metric>productivity</metric>
969+
<metric>carbon</metric>
970+
<metric>nitrogen</metric>
971+
<metric>gaps</metric>
972+
<metric>ticks</metric>
973+
</metrics>
974+
<constants>
975+
<steppedValueSet variable="user-hurricane-strength" first="0" step="0.1" last="1"></steppedValueSet>
976+
<steppedValueSet variable="user-hurricane-interval" first="0" step="5" last="80"></steppedValueSet>
977+
</constants>
978+
</experiment>
979+
</experiments>
980980
</model>

Sample Models/System Dynamics/Wolf Sheep Predation (Docked Hybrid).nlogox

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,9 +1094,6 @@ To inquire about commercial licenses for either NetLogo or specific models from
10941094
</indicator>
10951095
</shape>
10961096
</linkShapes>
1097-
<previewCommands>setup
1098-
setup-aggregate
1099-
repeat 75 [ go step-aggregate ]</previewCommands>
11001097
<systemDynamics dt="0.001">
11011098
<stock name="sheepStock" allowNegative="false" x="270" y="100">initial-number-sheep ;; taken from agent model's slider</stock>
11021099
<stock name="wolfStock" allowNegative="true" x="352" y="246">initial-number-wolves ;; taken from agent model's slider</stock>
@@ -1126,4 +1123,7 @@ sheep-reproduce / 100</converter>
11261123
<binding startFigure="1" endFigure="8"></binding>
11271124
<binding startFigure="0" endFigure="7"></binding>
11281125
</systemDynamics>
1126+
<previewCommands>setup
1127+
setup-aggregate
1128+
repeat 75 [ go step-aggregate ]</previewCommands>
11291129
</model>

Sample Models/System Dynamics/Wolf Sheep Predation (System Dynamics).nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,6 @@ To inquire about commercial licenses for either NetLogo or specific models from
813813
</indicator>
814814
</shape>
815815
</linkShapes>
816-
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
817816
<systemDynamics dt="0.001">
818817
<stock name="sheep" allowNegative="false" x="233" y="88">100</stock>
819818
<stock name="wolves" allowNegative="false" x="279" y="275">30</stock>
@@ -841,4 +840,5 @@ To inquire about commercial licenses for either NetLogo or specific models from
841840
<binding startFigure="13" endFigure="9"></binding>
842841
<binding startFigure="1" endFigure="9"></binding>
843842
</systemDynamics>
843+
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
844844
</model>

test/sdm-dt-increment.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,10 +881,10 @@ y-exact = 2 + 2*t + exp(t)</note>
881881
</indicator>
882882
</shape>
883883
</linkShapes>
884-
<previewCommands>setup repeat 75 [ go ]</previewCommands>
885884
<systemDynamics dt="0.1">
886885
<stock name="y" allowNegative="true" x="346" y="159">3</stock>
887886
<reservoir x="194" y="159"></reservoir>
888887
<rate name="f" bivalent="false" startFigure="1" endFigure="0">( y - 2 * ticks )</rate>
889888
</systemDynamics>
889+
<previewCommands>setup repeat 75 [ go ]</previewCommands>
890890
</model>

test/sdm-order-of-operations.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,10 +844,10 @@ end</code>
844844
</indicator>
845845
</shape>
846846
</linkShapes>
847-
<previewCommands>setup repeat 75 [ go ]</previewCommands>
848847
<systemDynamics dt="2.0">
849848
<stock name="stock" allowNegative="true" x="388" y="270">1</stock>
850849
<reservoir x="81" y="274"></reservoir>
851850
<rate name="inflow" bivalent="false" startFigure="1" endFigure="0">stock + 3</rate>
852851
</systemDynamics>
852+
<previewCommands>setup repeat 75 [ go ]</previewCommands>
853853
</model>

0 commit comments

Comments
 (0)