APSIMInitiative / APSIM710

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

Bug in Irrigation: When auto irrigation is turned on and asw_depth is > the depth of layers in soil then APSIM simply stops running without any errors or warnings. #976

Closed ApsimBot closed 5 years ago

ApsimBot commented 5 years ago

Legacy Bug ID: 1518 Author: Dean Date: 2012-05-03 12:48:16 +0000 UTC

e.g. If ASW_Depth = 600 but soil only goes down to 500mm then error occurs.

ApsimBot commented 5 years ago

Author: hol353 Date: 2012-05-03 12:48:00 +0000 UTC

Test.apsim Size: 67009

ApsimBot commented 5 years ago

Author: hol353 Date: 2012-10-10 11:46:00 +0000 UTC

Fixed in R2678 so that it now gives a proper error message rather than just crashing.

ApsimBot commented 5 years ago

Author: har297 Date: 2013-10-17 17:06:00 +0000 UTC

When automatic irrigation is set to on and "Depth to which ASW is calculated. (mm)" is greater than the soil profile depth the simulation stops after 'start of simulation' with no error message to indicate why it didn't run.

ApsimBot commented 5 years ago

Author: zur003 Date: 2013-11-04 15:10:00 +0000 UTC

When I attempt to replicate the problem, I get a reasonably informative error message:

     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                      APSIM  Fatal  Error
                      -------------------
     ASW_depth for automatic irrigation must not exceed profile depth.
     ASW_depth=  3600.0
     Profile depth=  3000.0
     Component name: paddock.Irrigation
     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

There was a problem with this message that was corrected late in 2012. Were you using an old version of Apsim?
ApsimBot commented 5 years ago

Author: zur003 Date: 2013-11-04 15:12:00 +0000 UTC

merged bug 1794 into this bug:Irrigation Depth to which ASW is calculated.