sybila / eBCSgen

eBCSgen - BioChemical Space Language support tool.
https://ebcsgen.readthedocs.io/
MIT License
2 stars 4 forks source link

define observables #108

Closed mopichalova closed 4 months ago

mopichalova commented 4 months ago

define observables - pools, scaling (basic arithmetics).

mopichalova commented 4 months ago

What are pools and scaling in the context of observables? And how should the basic arithmetics be incorporated in the observables?

xtrojak commented 4 months ago

So I think the basic usage of observables is something like this:

obs_A_all: A{i}::cell + A{a}::cell

obs_A_all is now a pool As in multiple states. We also used some arithmetics there as you can see.

Scaling is just arithmetics with a constant, so you also want to allow constants. For example:

scaled_A: 1000 * A{i}::cell
mopichalova commented 4 months ago

Thank you!