Hi all,
I my opinion the validation rule 10503 is much too restrictive and hampers development of models with multiple different participants such as metabolites, proteins and mRNA encoded in the species formalism.
> 10503 The unit of measurement associated with the mathematical formula in the MathML math element of every KineticLaw object in a model should be identical to all KineticLaw objects in the model. (References: SBML L3V1 Section 3.4; SBML L3V2 Section 3.4.)
The rule enforces that all KineticLaw objects have the same units, which is in the end basically substanceUnit/timeUnit. As a consequence the rule enforces that all species must have the same substanceUnit!
Consequently one can not mix species which different substanceUnits, e.g. using `mmole` for metabolites and `dimensionless` for relative mRNA or protein levels in a single model.
The much better (and more relaxed) rule is that all KineticLaws affecting species in a single connected component of the species-reaction graph must have the identical units.
E.g. a model with metabolites S1 and S2 and proteins P1 and P2
S1 -- r1--> S2 -- r2 -->, with S1 and S2 metabolites with substanceAmount [mmole], time in [min];
P1 -- r3--> P2; P2 -- r4 --> P3, with P1 and P2 proteins with substanceAmount [dimensionless], time in [min];
The resulting units of the reactions are
r1, r2, dS1/dt, dS2/dt: [mmole/min];
r3, r4, dP1/dt, dP2/dt: [dimensionless/min];
P1 would be a modifierSpecies of r1 and P2 a modifierSpecies of r2 (which couples the subgraphs via regulation, but not stoichiometric matrix).
This is a completely valid model and the two separate components in the species-reaction graphs can have different units.
The workaround to use parameters for the proteins with RateRules looses the species-reaction graph, i.e. the stoichiometric matrix, and requires to create this manually for the rate rule. Also the model cannot be visualized nicely any more.
This is a recurring issue with coupling signalling to metabolic networks for me and also in the coupling of different models with comp (which often don't use the same substanceAmounts for species, but are unconnected components in the species-reaction graph.
Suggestion: relax rule 10503 as described above and update the validator accordingly.
Best Matthias