frank0434 / Master

repo for the master project - water stress for APSIMX lucerne model
Creative Commons Zero v1.0 Universal
1 stars 1 forks source link

reconstruct configuration process #16

Closed frank0434 closed 3 years ago

frank0434 commented 3 years ago

A mother apsimx file for each treatment and children files for morris sampling values.

frank0434 commented 3 years ago

Re-edit the configuration template.

image

frank0434 commented 3 years ago

An extra step before creating heaps of simulation files from Morris sampling method. commit here e48902f38378e69be9dcebefc0a78704aa72a06c

This step can modify the base and generate a general apsimx file for each treatment. for example, AD SD1 will be generated with all initial soil, weather and agronomy conditions set up correctly for it.

frank0434 commented 3 years ago

Test this treatment general apsimx file. found the profile swc mismatched the raw data. probably caused by transformation during the calculation or the dates different during the joining? might be a good idea just use the raw data. at least can avoid multiple stages of transformation.

image image

frank0434 commented 3 years ago

image

still need to sharpen the build_config function to include all relationships

frank0434 commented 3 years ago

The fixed BD and saturation calculation function caused trouble for certain layers.

System.Exception: ERROR in file: C:\Data\Master\Data\ProcessedData\Sensitivity\Iversen12SD1.apsimx
Simulation name: SlurpLucerne
System.Exception: Saturation of 0.404 in layer 20 is above acceptable value of 0.400. You must adjust bulk density to below 1.579 OR saturation to below 0.400
Saturation of 0.404 in layer 21 is above acceptable value of 0.400. You must adjust bulk density to below 1.579 OR saturation to below 0.400
System.Exception: ERROR in file: C:\Data\Master\Data\ProcessedData\Sensitivity\Iversen12SD6.apsimx
Simulation name: SlurpLucerne
System.Exception: Saturation of 0.403 in layer 20 is above acceptable value of 0.400. You must adjust bulk density to below 1.582 OR saturation to below 0.400
System.Exception: ERROR in file: C:\Data\Master\Data\ProcessedData\Sensitivity\Iversen12SD3.apsimx
Simulation name: SlurpLucerne
System.Exception: Saturation of 0.403 in layer 20 is above acceptable value of 0.400. You must adjust bulk density to below 1.582 OR saturation to below 0.400
frank0434 commented 3 years ago

all the problematic happened in I12, proceed for now and only try adsd2

frank0434 commented 3 years ago

The current Base.apsimx file only report SW1. Perhaps more layers are necessary to examine if the sensitivities changes over different Horizon. Talked with Rog about it. Some things could try:

  1. group output
  2. test the import groups
  3. Use horizon changes information from Graham's paper.
frank0434 commented 3 years ago
System.Exception: ERROR in file: C:\Data\Master\Data\ProcessedData\Sensitivity\AshleyDeneSD2\AshleyDeneSD2Layer1Path99.apsimx
Simulation name: SlurpLucerne
System.Exception: Saturation of 0.285 in layer 1 is at or below the drained upper limit of 0.296

Went through all the error messages. DUL ranged from 0.286 ~ 0.313. increase SAT by 10% should cover the range of DUL.

SAT DUL    
0.285 0.296 0.011 0.038596
0.285 0.313 0.028 0.098246
0.285 0.29 0.005 0.017544
0.285 0.3 0.015 0.052632
0.285 0.313 0.028 0.098246
0.285 0.293 0.008 0.02807
0.285 0.31 0.025 0.087719
0.285 0.286 0.001 0.003509
0.285 0.306 0.021 0.073684

The problem came from the mother apsimx file. image

the modification didn't change the SAT

frank0434 commented 3 years ago

WASTE TOO MUCH TIME,CLOSE FOR NOW