APSIMInitiative / ApsimX

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

Simple grazing #9440

Closed ashehad closed 1 day ago

ashehad commented 2 weeks ago

What happened?

I have been using simple grazing within the AgPasture module. I set the proportion of N going to Dung as "blank" and C:N ratio of biomass for dung to 0. I am considering grazing every two weeks (HarvestedWt is okay), but for some reason DungN and DungWt gets reported every other harvest. Please see attached. Harvest_DungN

What Operating System are you on?

Windows

par456 commented 2 weeks ago

Do you have an apsimx file that you could provide that is causing this issue?

I wonder if something is missing which is causing the report to only happen every other harvest.

ashehad commented 2 weeks ago

Please find the apsimx file (zipped) in the attachment. AgPastureAhaura.zip

sno036 commented 1 week ago

Dean and I just looked at this and there is an issue with SimpleGrazing getting the digestibility from AgPasture. Until that is fixed I recommend the values below be used.

image

sno036 commented 1 week ago

@MikeDoddNZ - this may affect some of your simulations as well

sno036 commented 1 week ago

@ashehad - you are getting the reporting every second grazing because you have different settings in the two SimpleGrazing components in the simulation. Try a single SimpleGrazing with

Clock.Today.Day==14 || Clock.Today.Day==28

ashehad commented 1 week ago

@sno036 thanks! By having only one script (as you pointed out), it works well.