Skip to content

Constraining Groups of Compounds #483

Open
@AlfredMayhew

Description

@AlfredMayhew

Hi,
I have a question regarding the possibility of constraining (or holding constant) groups of compounds in a model run. As an example, I'm looking to run a model in which I hold the concentration of NOx constant but would like to allow NO and NO2 to freely vary within that constraint. So for every time step, NO and NO2 can take any value provided the sum of NO and NO2 (the total NOx) is equal to the constrained value. There are some analogues to the RO2 sum here, except I'm looking to constrain the compound group, whether its NOx or RO2.
I can imagine having a new file in the configuration directory where groups of compounds are listed and then these groups could be referenced throughout the model, or just in the constraint files. This could open up a lot of possibilities for what can be done with the models, but I have no idea if this is easily implemented without requiring major changes to the code.

Do you have any thoughts on whether I would be able to adjust the model code to allow for the constraining of groups of compounds in models? And if so, how would I go about this?

I realise this is a very speculative request and so it's absolutely no problem if this would require far too much work, but I figured it was worth asking in case there is some reasonably quick way that this could be implemented.

Thanks,
Alfie

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Wishlist

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions