-
Notifications
You must be signed in to change notification settings - Fork 1
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
Characteristic flows? #471
Comments
@Rowanmh I kind of like this idea, and the easy way to conceptualise it would be to say the syntax is That also neatly resolves the question of what should happen if the user enters a compartment for one variable and a characteristic for the other e.g., However, this syntax will also match links that are internal to the characteristic. For example, if the user entered
If we requested Originally I was thinking it be OK to just implement it in the straightforward well-defined way, which would probably be fine for most of the common use cases - envisaging that this syntax would probably be most useful when the characteristics don't overlap (like the So the question would be, would users be able to understand what's happening easily enough? Or would this be more confusing than it is useful? |
Right, so the goal here is that instead of specifying a current function that looks like: You could instead just write: which would match 36 possible combinations, of which the 6 above have a value? Not sure I understand all the issues with internal link edge cases? Sort of seems like it might make for some cleaner syntax functions (especially for maintenance when e.g. adding or removing streams) if anyone can remember the option exists, but also introduce bizarre outputs that make no sense but aren't technically wrong if you find the edge cases? |
In some cases, it could be useful to consider flows into or out of a compartment group, as defined by a characteristic. Would it work to support link syntax for characteristics without denominators? For example
Compartments:
sus_unvac
sus_vac
inf_unvac
inf_vac
Characteristics:
sus
-sus_unvac, sus_vac
inf
-inf_unvac, inf_vac
Flows
:inf
- equivalent to[:inf_unvac , :inf_vac]
The text was updated successfully, but these errors were encountered: