You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+71-33Lines changed: 71 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,20 @@ Each of the input files is described in more detail below, but assuming that the
120
120
Cycles_win.exe -s <simulation name>
121
121
```
122
122
123
-
5. Cycles includes a "baseline simulation" mode.
123
+
5. Cycles includes a grain growth model.
124
+
To use the grain growth model:
125
+
126
+
```shell
127
+
./Cycles -g <simulation name>
128
+
```
129
+
130
+
or, in Windows:
131
+
132
+
```shell
133
+
Cycles_win.exe -g <simulation name>
134
+
```
135
+
136
+
6. Cycles includes a "baseline simulation" mode.
124
137
The baseline simulation generates a re-initialization file at specified day of year (DOY) when it runs.
125
138
The generated re-initialization file can be used to for other simulations, resetting model variables to the "baseline" values.
126
139
To start a baseline simulation that generates re-initialization for a specified DOY:
@@ -138,7 +151,7 @@ Each of the input files is described in more detail below, but assuming that the
138
151
The baseline simulation can also spin-up.
139
152
Only the equilibrium simulation will generate re-initialization variables.
140
153
141
-
6. Cycles includes a "calibration" mode.
154
+
7. Cycles includes a "calibration" mode.
142
155
In calibration mode, a [calibration file](#calibration-file) named `<simulation name>.nudge` in the input folder is required.
143
156
The calibration multipliers and parameters are used to nudge the hard-coded parameter values in Cycles.
144
157
To run Cycles in calibration mode:
@@ -152,7 +165,7 @@ Each of the input files is described in more detail below, but assuming that the
152
165
Cycles_win.exe -c <simulation name>
153
166
```
154
167
155
-
7. Cycles output file extension is defaulted to `.txt`, but can be customized by users using the `-e` command line option.
168
+
8. Cycles output file extension is defaulted to `.txt`, but can be customized by users using the `-e` command line option.
156
169
For example, to change the output file extension to `.dat`:
157
170
158
171
```shell
@@ -231,6 +244,38 @@ There must be records in the weather file through December 31 of this year.
231
244
The number of years in the crop rotation specified in the operation input file.
232
245
The specified rotation will automatically repeat itself as many times as needed over the duration of the simulation spanning from `SIMULATION_START_YEAR` to `SIMULATION_END_YEAR`.
233
246
247
+
#### `CROP_FILE`
248
+
249
+
The name of the crop description file.
250
+
This file must be located in a directory titled `input` that is within the `Cycles` working directory.
251
+
252
+
#### `OPERATION_FILE`
253
+
254
+
The name of the operation file.
255
+
This file must be located in a directory titled `input` that is within the `Cycles` working directory.
256
+
257
+
#### `SOIL_FILE`
258
+
259
+
The name of the soil profile description file.
260
+
This file must be located in a directory titled `input` that is within the `Cycles` working directory.
261
+
262
+
#### `WEATHER_FILE`
263
+
264
+
The name of the weather file.
265
+
This file must be located in a directory titled `input` that is within the `Cycles` working directory.
266
+
267
+
#### `REINIT_FILE`
268
+
269
+
The name of the reinitialization file.
270
+
This file must be located in a directory titled `input` that is within the `Cycles` working directory.
271
+
Note that it cannot be left as blank, even if reinitialization is not needed.
272
+
Use `N/A` if reinitialization is not needed.
273
+
274
+
#### `CO2_LEVEL`
275
+
276
+
Atmospheric CO<sub>2</sub> concentration (ppm).
277
+
Set to `-999` to use annual CO<sub>2</sub> concentrations in the `co2.txt` file.
278
+
234
279
#### `USE_REINITIALIZATION`
235
280
236
281
Set to `1` if reinitialization of carbon, nitrogen or water variables are desired on a specific day of simulation year.
@@ -253,7 +298,6 @@ Cascade method can miss denitrification badly, but does a good job with the wate
253
298
Set to `0` for crops to be grown based on N available from N fertilizer additions and N cycling processes.
254
299
Set to `1` for all crops in the simulation to be grown without nitrogen limitations. For this selection to work, the autoN flag in the planting operation of a given crop (operation file) needs to be set to 1. This allows running crops with and without N limitation in the same simulation.
255
300
256
-
257
301
#### `AUTOMATIC_PHOSPHORUS`
258
302
259
303
Crops grow with no phosphorus limitations.
@@ -305,32 +349,6 @@ Set to `1` to write an output file named `annualSoilProfileC.txt` with annual va
305
349
306
350
Set to `1` to write and output file named `annualN.txt` with annual values of nitrogen fluxes, including fertilization, fixation, leaching, denitrification, nitrification, and volatilization.
307
351
308
-
#### `CROP_FILE`
309
-
310
-
The name of the crop description file.
311
-
This file must be located in a directory titled `input` that is within the `Cycles` working directory.
312
-
313
-
#### `OPERATION_FILE`
314
-
315
-
The name of the operation file.
316
-
This file must be located in a directory titled `input` that is within the `Cycles` working directory.
317
-
318
-
#### `SOIL_FILE`
319
-
320
-
The name of the soil profile description file.
321
-
This file must be located in a directory titled `input` that is within the `Cycles` working directory.
322
-
323
-
#### `WEATHER_FILE`
324
-
325
-
The name of the weather file.
326
-
This file must be located in a directory titled `input` that is within the `Cycles` working directory.
327
-
328
-
#### `REINIT_FILE`
329
-
330
-
The name of the reinitialization file.
331
-
This file must be located in a directory titled `input` that is within the `Cycles` working directory.
332
-
Note that it cannot be left as blank, even if reinitialization is not needed.
333
-
Use `N/A` if reinitialization is not needed.
334
352
335
353
[(Back to top)](#contents)
336
354
@@ -368,7 +386,7 @@ The curve number rating will affect the water budget in a simulation, which can
368
386
The `SLOPE` value is in %, or units of rise per 100 units of run.
369
387
The `TOTAL_LAYERS` value is simply the total number of soil layers described in the profile.
370
388
371
-
Below the first three keyword tags is a row of column headers for soil properties in the order `LAYER`, `THICK`, `CLAY`, `SAND`, `ORGANIC`, `BD`, `FC`, `PWP`, `SON`, `NO3`, `NH4`, `BYP_H`, and `BYP_V`.
389
+
Below the first three keyword tags is a row of column headers for soil properties in the order `LAYER`, `THICK`, `CLAY`, `SAND`, `SOC`, `BD`, `FC`, `PWP`, `SON`, `NO3`, `NH4`, `BYP_H`, and `BYP_V`.
372
390
The values of each soil property are listed below in a separate row for each soil layer.
373
391
The variable `LAYER` is simply the layer number, starting at `1` and increasing by one unit for each additional layer.
374
392
`THICK` is the thickness of each soil layer in meters.
@@ -378,8 +396,8 @@ Below the topsoil layers, we suggest that soil layers be defined based on depth
378
396
379
397
The keyword tags `CLAY` and `SAND` are the clay particle size fraction and sand particle size fraction of each soil layer in %.
380
398
381
-
`ORGANIC` is the organic matter concentration of each layer in %.
382
-
The organic matter concentration of each layer is converted to C and N concentration to initialize the stabilized soil C and N pools when the simulation is started, using a conversion of 0.58 %C per % organic matter and a soil organic matter C:N ratio of 10:1.
399
+
`SOC` is the soil organic carbon concentration of each layer in %.
400
+
The organic carbon concentration of each layer is used to calculate N concentration to initialize the stabilized soil C and N pools when the simulation is started, using a soil organic C:N ratio of 10:1.
383
401
The microbial biomass C and N pools are also initialized as 3% of the pool sizes of stabilized soil C and N.
384
402
385
403
`BD` is bulk density in Mg/m<sup>3</sup>, and `FC` and `PWP` are the field capacity and permanent wilting point volumetric water contents, respectively, in m<sup>3</sup>/m<sup>3</sup>.
@@ -465,6 +483,26 @@ The harvest index is calculated based on the proportion of aboveground crop biom
465
483
466
484
where `Hk = m * (1 - Hn) / (Hx - Hn)`.
467
485
486
+
#### `N_MAX_CONCENTRATION_GRAIN`
487
+
488
+
The maximum allowable grain N concentration (%), used in nitrogen harvest index calculation.
489
+
490
+
#### `N_MIN_CONCENTRATION_GRAIN`
491
+
492
+
The minimum allowable grain N concentration (%), used in nitrogen harvest index calculation.
493
+
494
+
#### `N_MAX_CONCENTRATION_STRAW`
495
+
496
+
The maximum allowable straw N concentration at harvest (%), used in nitrogen harvest index calculation.
497
+
498
+
#### `N_MIN_CONCENTRATION_STRAW`
499
+
500
+
The minimum allowable straw N concentration at harvest (%), used in nitrogen harvest index calculation.
501
+
502
+
#### `N_PARTITIONING_FACTOR`
503
+
504
+
An empirical constant in N partitioning (-) used in nitrogen harvest index calculation.
0 commit comments