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 time-dependent rates #237

Open
10 tasks
gustavdelius opened this issue Oct 6, 2021 · 0 comments
Open
10 tasks

Allow time-dependent rates #237

gustavdelius opened this issue Oct 6, 2021 · 0 comments
Labels
discussion An idea that needs discussion before becoming a proposal enhancement New feature requests or suggestions for enhancement of existing features extension This feature should be implemented as a mizer extension
Milestone

Comments

@gustavdelius
Copy link
Member

I propose a function projectWithTimeDependence() which is like project() but with additional arguments that, similar to effort, are arrays with a time dimension. I think the arguments should be:

  • search_vol
  • intake_max
  • metab
  • ext_mort
  • maturity
  • repro_prop
  • resource_rate
  • resource_capacity
  • interaction
  • pred_kernel

Their values should be arrays that are like the arrays stored in the MizerParams object but with an extra first dimension for the time.

The function would simply need to update the rate arrays in the params object during project(), using the new save_callback discussed in #236.

The function should also save the time-dependent arrays in the resulting MizerSim object.

I think this function should be supplied by an extension package, which could also provide convenience functions for setting up the time-dependent arrays, provide examples like global warming, and provide appropriate analysis functions and plots.

@gustavdelius gustavdelius added enhancement New feature requests or suggestions for enhancement of existing features discussion An idea that needs discussion before becoming a proposal extension This feature should be implemented as a mizer extension labels Oct 6, 2021
@gustavdelius gustavdelius added this to the Version 3.0 milestone Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion An idea that needs discussion before becoming a proposal enhancement New feature requests or suggestions for enhancement of existing features extension This feature should be implemented as a mizer extension
Projects
None yet
Development

No branches or pull requests

1 participant