Skip to content

Commit

Permalink
Merge pull request #52 from HamishBrownPFR/CropStageTests
Browse files Browse the repository at this point in the history
Vary soil N trigger with crop demand
  • Loading branch information
HamishBrownPFR authored Jun 7, 2024
2 parents 9dabdf7 + 3555f39 commit b393887
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 1 deletion.
Binary file modified SVSModel.Excel/TestingFiles/Brians.xlsm
Binary file not shown.
Binary file modified SVSModel.Excel/TestingFiles/Darians.xlsm
Binary file not shown.
Binary file modified SVSModel.Excel/TestingFiles/Geralds.xlsm
Binary file not shown.
Binary file added SVSModel.Excel/TestingFiles/Obama.xlsm
Binary file not shown.
Binary file modified SVSModel.Excel/TestingFiles/Wallies.xlsm
Binary file not shown.
2 changes: 1 addition & 1 deletion SVSModel/Models/Fertiliser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static void RemainingFertiliserSchedule(DateTime startSchedulleDate,DateT
// Determine dates that each fertiliser application should be made
foreach (DateTime d in schedullingDates)
{
if (thisSim.SoilN[d] < Constants.Trigger)
if (thisSim.SoilN[d] < thisSim.NUptake[d]*10)
{
double initialN = thisSim.SoilN[d];
double initialLossEst = thisSim.NLost[d];
Expand Down

0 comments on commit b393887

Please sign in to comment.