Skip to content

Commit ee91cad

Browse files
Fix fresh yield calculation
1 parent a2ce0b9 commit ee91cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aquacrop/timestep/run_single_timestep.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def solution_single_time_step(
430430
if growing_season is True:
431431
# Calculate crop yield_ (tonne/ha)
432432
NewCond.DryYield = (NewCond.biomass / 100) * NewCond.harvest_index_adj
433-
NewCond.FreshYield = NewCond.DryYield / (1 - (Crop.YldWC / 100))
433+
NewCond.FreshYield = NewCond.DryYield / (Crop.YldWC / 100)
434434
# print( clock_struct.time_step_counter,(NewCond.biomass/100),NewCond.harvest_index_adj)
435435
# Check if crop has reached maturity
436436
if ((Crop.CalendarType == 1) and (NewCond.dap >= Crop.Maturity)) or (

0 commit comments

Comments
 (0)