APSIMInitiative / APSIM710

APSIM
https://www.apsim.info
31 stars 47 forks source link

ApsimX: Position of Soil in simulation tree has an effect on success of run #1347

Closed ApsimBot closed 5 years ago

ApsimBot commented 5 years ago

Legacy Bug ID: 1915 Author: Justin Date: 2014-07-08 09:40:46 +0000 UTC

Copied a soil to another Field which put the soil at the bottom of the tree. Simulation crashed with a null reference to the soil. Moved the soil to third under the Field node (beneath Fertiliser and SurfaceOM) and the simulation ran.

ApsimBot commented 5 years ago

Author: hol353 Date: 2014-07-10 15:03:00 +0000 UTC

This was a problem with OilPalm getting the Soil.SoilWater.ll15_dep.Length. Models should probably talk to the parent 'Soil' object for profile data. 

This will also be fixed at the August workshop when SoilWater is refactored.