Skip to content

Commit

Permalink
Merge pull request #34 from HamishBrownPFR/SmallerFixes
Browse files Browse the repository at this point in the history
Smaller fixes
  • Loading branch information
HamishBrownPFR authored May 21, 2024
2 parents 78be371 + 8c55315 commit c5ab7c9
Show file tree
Hide file tree
Showing 251 changed files with 101,674 additions and 98,916 deletions.
Binary file added LincolnUniWheat_V3.4.xlsm
Binary file not shown.
Binary file modified Prototype_V3.4.xlsm
Binary file not shown.
2 changes: 1 addition & 1 deletion SVSModel.Excel/ExcelInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static class MyFunctions //: IMyFunctions
Dictionary<DateTime, double> _nApplied = Functions.dictMaker(nApplied, "Amount");
var _config = new Config(Functions.dictMaker(config));

return Simulation.Simulation.SimulateField(_tt, _rain, _pet, _testResults, _nApplied, _config);
return Simulation.Simulation.SimulateField(_tt, _rain, _pet, _testResults, _nApplied, _config, Constants.InitialN);
}
else
{
Expand Down
3 changes: 3 additions & 0 deletions SVSModel/Configuration/CropConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public double FieldYield
public double ResStover { get; set; }
public double ResFieldLoss { get; set; }
public double NUptake { get; set; }
public double NDemand { get; set; }
public double ResStoverReturn { get { return ResStover * ResidueFactRetained; } }
public double ResFieldLossReturn { get { return ResFieldLoss * ResidueFactRetained; }}
public CropType SimResults { get; set; }

/// <summary>
Expand Down
177 changes: 86 additions & 91 deletions SVSModel/Data/CropCoefficientTableFull.csv

Large diffs are not rendered by default.

421 changes: 421 additions & 0 deletions SVSModel/Data/CropCoefficients.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit c5ab7c9

Please sign in to comment.