-
Notifications
You must be signed in to change notification settings - Fork 0
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 multi-mixotroph generalization of the NPBD model #6
Comments
Can I first show you a similar version of this model that does have
multiple types to see what you think? It has nn and nd as well as np and
nb. Hopefully that alleviates the "N" name problem too. I'd like to further
think about merging p and b, and maybe even z, since there's lots of
mixotrophs. The biogeochemical roles of populations would then be defined
using matrices of substrate (including light, or other populations, in the
case of grazing) inputs and outputs. I only worry this would get opaque
quickly. Maybe next week I walk through my current Julia model with you?
…On Tue, Apr 4, 2023, 5:49 PM Gregory L. Wagner ***@***.***> wrote:
It would seem that the NPBD model might be our first "useful" model? So we
should implement that in the source code.
I know @emilyzakem <https://github.com/emilyzakem> also has aspiration
for an "Multi-species NPBD", where I think either P or B can profilerate
into NP or NB "species". This model would then have NP + NB + 2 tracers.
Perhaps MultiSpeciesNutrientsPlanktonBacteriaDetritus is a good name for
that model?
—
Reply to this email directly, view it on GitHub
<#6>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHWPMDVP4JCNOFW22UNMD4LW7S6R7ANCNFSM6AAAAAAWTM6HQM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes sure, happy to take a look next week! You can also paste or link to code in this issue to further the discussion. In terms of implementing this within the current Oceananigans interface, the main challenge is software. Right now we require a different function for each tracer. So here we will have, for example, This challenge is easily overcome however, since we can use metaprogramming to automatically generate such functions. Again more of a julia 102 than julia 101 concept, but nonetheless straightforward in principle. Once that minor software hurdle is overcome, its trivial to use matrices, tuples, etc to hold any number of parameters that generate different behavior for each mixotroph species within some homogeneous mathematical framework (ie all mixotrophs have their own maximum growth rate, mortality rate, etc). |
I changed the title of this issue to reflect the discussion! |
It would seem that the NPBD model might be our first "useful" model? So we should implement that in the source code.
I know @emilyzakem also has aspiration for an "Multi-species NPBD", where I think either P or B can profilerate into NP or NB "species". This model would then have NP + NB + 2 tracers.
Perhaps
MultiSpeciesNutrientsPlanktonBacteriaDetritus
is a good name for that model?The text was updated successfully, but these errors were encountered: