Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add module3: cost of storing fertilizers #3

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Add function to readme about updating fertilizer properties
SvenVw committed May 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 7ea0e24450f7c614221c2f563023fffdbbee4cf2
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -57,6 +57,17 @@ apus$addField(
)
```

To update a fertilizer with specific values for your situation use the `updateFertilizer` function

```
apus$updateFertilizer(
p_id = 17,
p_price = -5,
p_stored = 15000,
p_storage_available = 1
)
```

To get a fertilizer advice you need a model first. A model can be trained with with the function `trainModel()`

`apus$trainModel()`
@@ -84,6 +95,7 @@ For the v1 version of `apus` we plan to develop to following features:
* [ ] Include cost function for module 7: Cost of greenhouse gas emissions
* [ ] Include realistic cultivation response curves from module 5
* [ ] Add other nutrients than NPK to module 5
* [x] Add function to update fertilizer properties
* [ ] Add custom fertilizers
* [ ] Add custom cultivations
* [ ] Add details of the optimization to the result