Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
fruchtfolge-model
Advanced tools
This repo contains the simulation model used in the Fruchtfolge application.
The mixed-interger model optimises total farm profits, with respect to crop rotations on a highly detailed single plot resolution.
Restrictions such as the
are implemented in the model.
The model is written in GAMS language. You need a valid GAMS license in order to run the model.
Fruchtfolge is a decision support model aimed to be operated by practitioners. If you are a researcher interested in single farm modeling, please have a look at our dynamic mixed integer bio-economic model FarmDyn
The Fruchtfolge optimisation model comprises of two main parts:
Plot and crop names are obfuscated in order to ensure confidentiality of the farmer. Examples of such an include file can be found in the test/include
subdirectory.
The main model logic is joined in this file. Here, the objective function is specified and additional constraints are included from the model
folder.
Constraints as defined by the Greening directive, or general crop rotational constraints, are stored in the model
folder.
In order to test the model, execute
npm test
The test/include/
folder contains so called include files generated by the Fruchtfolge main application from different test farms. For every farm, a corresponding expected model result with the same file base name needs to be specified in the include/results
folder.
In order to build the model, execute
npm run build
Note that only $include
statements in the form of $include '%WORKDIR%path/to/file.gms'
are correctly concatenated into the final model. Other statements, as $batinclude
etc. are currently not supported.
FAQs
Base model for the Fruchtfolge application
The npm package fruchtfolge-model receives a total of 15 weekly downloads. As such, fruchtfolge-model popularity was classified as not popular.
We found that fruchtfolge-model demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.