-
Notifications
You must be signed in to change notification settings - Fork 4
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
Implement basic gravity model, e.g. as si_gravity()
#26
Comments
Happy to help! Just to run this with @Robinlovelace , @adamdennett This is what we would be implementing, right? The total unconstrained model? |
Yes, that looks like the one! Can be set to 1 by default I think so it would be something like... |
si_gravity = function(v, w, k = 1, mu = 1, alpha = 1, beta = 1) {
# ...
} Does that make sense? I may well be missing something! |
Yeah, that will do for a basic model, although set beta to -1 rather than 1 in any initial model. K can also be calculated simply as all flows in the system / the rest of the model, but 1 as a starter is fine |
Thanks Adam for this key input! |
No description provided.
The text was updated successfully, but these errors were encountered: