Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorghum model senescence defect #8917

Open
hol353 opened this issue May 12, 2024 · 1 comment
Open

Sorghum model senescence defect #8917

hol353 opened this issue May 12, 2024 · 1 comment
Assignees

Comments

@hol353
Copy link
Contributor

hol353 commented May 12, 2024

What happened?

The attached simulation throws the exception:

Paddock.Sorghum.Leaf:                             Emergence
                                                  LAI = 0.00 (m^2/m^2)
Paddock.Sorghum.AboveGround:                      AboveGround = 1.80 (g/m^2)
.Sorghum_DEWS-30778_Northern_Soil_72_Pop9_Buster: ERROR in file: C:\Work\Temp\Heidi\Sorghum_Pop9_30778.apsimx
Simulation name: Sorghum_DEWS-30778_Northern_Soil_72_Pop9_Buster
Models.Core.SimulationException
 ---> System.Exception: Attempted to senesce more N than exists on leaf 'Leaf'
   at Models.PMF.Organs.SorghumLeaf.ApplySenescence() in C:\Work\Repos\APSIMInitiative\ApsimX\Models\PMF\Organs\SorghumLeaf.cs:line 897
   at Models.PMF.Organs.SorghumLeaf.OnDoActualPlantGrowth(Object sender, EventArgs e) in C:\Work\Repos\APSIMInitiative\ApsimX\Models\PMF\Organs\SorghumLeaf.cs:line 1102
   at Models.Clock.OnDoCommence(Object _, CommenceArgs e) in C:\Work\Repos\APSIMInitiative\ApsimX\Models\Clock.cs:line 417
   at Models.Core.Simulation.Run(CancellationTokenSource cancelToken) in C:\Work\Repos\APSIMInitiative\ApsimX\Models\Core\Simulation.cs:line 292
   --- End of inner exception stack trace ---

135.8 kg/ha of NO3N was added at sowing. The sorghum model is trying to senesce all leaves at emergence so my guess it is severely water stresed.

Sorghum_Pop9_30778.zip

What Operating System are you on?

Windows

@hol353
Copy link
Contributor Author

hol353 commented May 12, 2024

@peter-devoil - can you look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants