Input variables:
- Trees
$tree
: smrk, buk, modrin - Locations
$loc
: loc1, loc2, loc3 - Scenarios
$swc
: low, mid, high
Input data in form of .csv files containing temperature evolution for each tree type and locations has to be provided in a folowing format:
dataIN/
├── buk
│ ├── output_loc1_buk_subsoil.csv
│ ├── output_loc1_buk_topsoil.csv
│ ├── output_loc2_buk_subsoil.csv
│ ├── output_loc2_buk_topsoil.csv
│ ├── output_loc3_buk_subsoil.csv
│ └── output_loc3_buk_topsoil.csv
├── modrin
│ ├── output_loc1_modrin_subsoil.csv
│ ├── output_loc1_modrin_topsoil.csv
│ ├── output_loc2_modrin_subsoil.csv
│ ├── output_loc2_modrin_topsoil.csv
│ ├── output_loc3_modrin_subsoil.csv
│ └── output_loc3_modrin_topsoil.csv
└── smrk
├── output_loc1_smrk_subsoil.csv
├── output_loc1_smrk_topsoil.csv
├── output_loc2_smrk_subsoil.csv
├── output_loc2_smrk_topsoil.csv
├── output_loc3_smrk_subsoil.csv
└── output_loc3_smrk_topsoil.csv
User has two ways to obtain calibration results
- Prepare simulation input data for desired tree type and location
./prepData.sh tree loc
prepInputs tree loc
prepInitTemp tree loc
calcHeatCapacity tree loc
- Prepare DRUtES configurations for each soil moisture scenario
./prepSimConf.sh swc
- Perform model calibration
python3 heatConductOpt.py tree loc swc
- Visualize simulated data
python3 genPlotMulti.py tree loc swc
- Repeat step 2. - 4. for each scenario
- Clean configurations between each location
./cleanTree
Executes model calibration for given tree type, soil moisture scenario and model complexity
./tree_sim.sh tree opt mod
- opt:
low
- all loc low swc onlymid
- all loc mid swc onlyhigh
- all loc high swc onlyall
- all loc all swc
- mod:
1
- conduction only2
- conduction + convection3
- conduction + source4
- conduction + convection + source
Both ways should yield figures and simul.h5 file which contain soil conductivities.