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

Allow for running the model step wise #5

Closed
BryceHaley opened this issue Jul 9, 2020 · 2 comments
Closed

Allow for running the model step wise #5

BryceHaley opened this issue Jul 9, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@BryceHaley
Copy link
Owner

Allow the model to be ran until the trap is closed and output results at that point. This will make the UI a lot easier and less buggy when users can select how many fish to harvest at low tide.

The model needs to able to start off where it left off.

This may necessitate the creation of a "model" object or simply be a series of parameters passed into functions.

@BryceHaley BryceHaley self-assigned this Jul 9, 2020
@BryceHaley BryceHaley added the enhancement New feature or request label Jul 10, 2020
@BryceHaley
Copy link
Owner Author

This is being worked on in the branch "issue_5". Will merge and kill that branch when completed.

@BryceHaley
Copy link
Owner Author

Created new functions

  • plot_values() accepts an array showing the history of the trap and produces a plot
  • run_trap_harvesting() takes in a model of a trap completed up to an hour where harvesting is available and a value for the selected harvest and runs until harvesting is available again

the harvesting variable was removed as a parameter for other plotting functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant