Skip to content
Snippets Groups Projects
  1. Mar 14, 2025
  2. Nov 06, 2024
  3. Nov 05, 2024
    • Marco Matthies's avatar
      ALMaSS: allow choosing highnutrientcurve when calling sow! · b077630d
      Marco Matthies authored
      `sow!(::ALMaSS.CropState, ...)` calls `setphase!`, which needs to know
      which growth curve to use.  Some crop types (e.g. "permanent
      set-aside") do not have a lownutrientgrowthcurve, which then causes an
      error when `setphase!` tries to access the `missing` growth curve.
      
      The highnutrientgrowthcurve would only be chosen when the cropstate
      had `fertilising` in its events.  As the events for a cropstate are
      now `empty!`ied in `sow!`, it's not possible to set the `fertilising`
      event before calling `sow!`.
      
      This previously didn't cause a bug, as the logic for which growth
      curve to choose was the wrong way around, choosing the
      highnutrientgrowth curve when no `fertilising` event was set for the
      cropstate.
      b077630d
  4. Sep 06, 2024
  5. Aug 19, 2024
    • Marco Matthies's avatar
      Fix averagefieldsize and simplify code · fc23eab9
      Marco Matthies authored
      - When there are no fields `averagefieldsize` would return a unitless
        number.  This is now fixed.
      
      - An unnecessary allocation was removed
      
      - Fix unit tests, use approximate floating point comparison
      fc23eab9
  6. Aug 09, 2024
  7. Aug 08, 2024
  8. Aug 07, 2024
  9. Jul 30, 2024
  10. Jul 29, 2024
  11. Jul 25, 2024
  12. Jul 19, 2024
  13. Jul 18, 2024
  14. Jul 17, 2024
  15. Jun 20, 2024
  16. Jun 13, 2024
  17. May 31, 2024
  18. May 15, 2024
    • xo30xoqa's avatar
      Major restructure - remove Agents.jl and change species DSL · d6edd35b
      xo30xoqa authored
      This is a huge commit that changes much of the underlying model
      architecture (which is why it all had to change at once). Agents.jl
      is now no longer a dependency and the species macros have been largely
      rewritten. Not everything has been adapted yet, but the model is in a
      "minimally runnable" state.
      d6edd35b
  19. Apr 16, 2024
  20. Nov 13, 2023
  21. Oct 04, 2023
  22. Aug 31, 2023
  23. Aug 10, 2023
  24. Aug 02, 2023
  25. May 28, 2023
    • xo30xoqa's avatar
      Renamed project to Persefone · 60e90125
      xo30xoqa authored
      This commit includes a `sed` pass over all files to change all
      occurrences of the former spelling "Persephone" to "Persefone":
      `sed -ie "s/Persephone/Persefone/" *`
      60e90125
Loading