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

Use nested functions for dynamics functions in models #5

Open
dsheldon opened this issue May 11, 2020 · 0 comments
Open

Use nested functions for dynamics functions in models #5

dsheldon opened this issue May 11, 2020 · 0 comments

Comments

@dsheldon
Copy link
Owner

Our models follow a design pattern where the model calls a dynamics function either once or twice, depending on whether forecasting is enabled. A ton of parameters are passed into dynamics either as keywords or in a big struct called params. But most of the parameters don't change. I think this would be cleaner if dynamics were a nested function and only parameters that changed between the main period and the forecasting period were passed in.

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

No branches or pull requests

1 participant