APSIMInitiative / ApsimX

ApsimX is the next generation of APSIM
http://www.apsim.info
Other
133 stars 162 forks source link

Potential bug: SoilWat XF (root exploration factor) #7399

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi there.

We’re using the root exploration factor (XF) to reflect the rooting depth of the crop (sugarcane) and the consequently crop based PAWC.

Depth breaks in our input soil data do not always align exactly with the crop rooting depth. So for example we may have a depth range of 900mm to 1200mm, with an associated crop rooting depth of 1000m.

To ensure we calculate the correct crop based PAWC we have been adjusting the XF factor to reflect rooting depth.

In the example above, we set the XF for the 900mm to 1200mm depth to 0.33 indicating roots are only present in the first one-third of the range (i.e. 900mm to 1000mm), expecting the crop PAWC to adjust and reflect this.

However it seems the model only considers XF as being 0 or 1 and ignores fractional components. In the attache screenshots from APSIMX (version 2022.7.7064.0 - latest), having XF at 1 or 0.33 yields the same crop based PAWC under crop specific physical properties under soil physical properties.

XF_At_033 XF_at_1

XF at 0 for comparison

XF_at_0

Is this by design or a bug in the code?

Our modelling is primarily focused on tracking soil water deficits. Therefore having an accurate quantification of crop based PAWC, inclusive of rooting depth is important. If we’re approaching this all wrong, please let me know.

Mark

peter-devoil commented 2 years ago

XF controls the rate of root advance; if you want to limit pawc then trim LL

hol353 commented 2 years ago

To example on @peter-devoil comment: your understanding of XF isn't quite right. A value of 0.33 means the roots will advance through that layer at a third of the rate they would normally. The roots still have access to the water in that layer though, hence why it is still included in the calculation of PAWC. A value of zero means the roots can't enter that layer.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had any activity in the last 30 days. It will be closed in one week if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue is being closed because there has been no recent activity. Feel free to re-open or open a new issue if needed.