add new task       

Task ID:  1190  Plant.BiomassRemoved event allocates grain to residue    
 
Created by guest on 2010-09-15 6:29 PM, 2808 days ago
Project:  Module Code
Category:  Bug
Priority:  [no priority]
Assigned to:  [not assigned]  
Status:  Submitted
Apsim Version:7.2
Your Name:Andrew Moore
Contact Details:
Andrew.Moore@csiro.au
 
 

show inline images      show change history

 comment 32035 posted by har297 on 2010-10-20 5:55 PM, 2773 days ago 

In Plant, a Harvest event should zero oil and meal while a End/Kill Crop event leaves them as is.

Without checking the code, I think the pod goes to residue as part of the trash on a Harvest event - a carryover from maize harvest.

 comment 32019 posted by guest on 2010-09-15 6:29 PM, 2808 days ago 

When a crop is harvested, Plant publishes a BiomassRemoved event which looks like:

[ crop_type: wheat,
  dm_type: [Leaf, Stem, Pod, meal, oil],
  dlt_crop_dm: [1291.1584, 1244.9086, 429.86148, 1096.9302, 0],
  dlt_dm_n: [6.620204, 6.1356902, 1.6587276, 31.89378, 0],
  dlt_dm_p: [0, 0, 0, 0, 0],
  fraction_to_residue: [1, 1, 1, 1, 1]
]

My query is: shouldn't the fraction_to_residue values for pod, meal & oil be zero?