Dear Sir/Madam,
I am currently facing an issue while running SWAT+ when implementing irrigation using the water allocation (WRO) module. I am attempting to simulate irrigation from two different sources: reservoirs and aquifers.
When both irrigation sources (reservoir and aquifer) are enabled simultaneously, SWAT+ crashes with the following error:
Case 1: Reservoir irrigation only (aquifer irrigation disabled)
The model runs successfully without any errors.
Case 2: Aquifer irrigation only (reservoir irrigation disabled)
The model crashes with a different error:
Based on these tests, it appears that:
Reservoir-based irrigation functions correctly on its own.
Aquifer-based irrigation leads to numerical instability (floating overflow).
Combining both sources results in an access violation during water withdrawal.
I would greatly appreciate your guidance on:
Proper configuration of combined reservoir and aquifer irrigation in the water allocation module.
Recommended parameter ranges or safeguards for aquifer-based irrigation to avoid numerical instability.
Any known limitations or best practices when using multiple irrigation sources together in SWAT+.
Thank you very much for your time and support. I look forward to your suggestions.
Kind regards,
Poojitha K.