Why isn't Stoichiometry Math working in Simbiology?

4 views (last 30 days)
"Warning: Stoichiometry Math is not supported for species. The species 'ATP' in reaction 'MAS' will be read in with a stoichiometry of 1. "

Accepted Answer

Arthur Goldsipe
Arthur Goldsipe on 16 Aug 2023
It sounds like you are trying to import an SBML file that uses the stoichiometryMath element defined in SBML level 2. Unfortunately, SimBiology does not support that element. I also see that this element was removed from the level 3 specification, so I assume it was not very widely used or supported. Can you share this SBML file or more information about it? I'd like to understand why this file uses stoichiometryMath and see if I can suggest any workarounds.
Also, we intend to document the SimBiology's limitations with respect to SBML support on this page. However, it looks like we forgot to document this particular limitation. I'll work with our documentation team to update this list.
  6 Comments
Pancy Lwin
Pancy Lwin on 25 Aug 2023
I was thinking along the line of having kinetics helps me when I extend this model into a larger one. For example, I can create Michaelis Menten rate law with an activation/inhibition control function only once and call it from the library more than once. (Recently, I found out that in that case, I could have used the built-in Michaelis Menten rate law and modify the reaction rate later with an activation function by calling reaction_A.reactionrate.) Furthermore, sometimes, when the rate law, for example from the above supplementary file, is combined, I create a new abract law which can take two reactant and two product concentrations as inputs. As if right now, Michaelis Menten rate law in the library takes only one reactant and one product concentration input.
Anyway, I might be making it more complicated than it needs to be. I will defintely sent a message to you through my profile at some points. I have been working on taking input parameters in GUI for the first time so I might need a lot of help in that area too
Also, I was wondering whether MATLAB has QSP GUI app already. I have seen gQSPSim and am thinking to give it a try.
Thanks. Have a nice weekend!
Arthur Goldsipe
Arthur Goldsipe on 25 Aug 2023
Ok, this sounds like the intended use case for a custom abstract kinetic law (AKL). But one current limitation of custom AKLs is that they are not stored in your project, so you have to take extra steps to share them with other users. (The same is true of custom unit definitions.) So for that reason, I'm a little cautious about recommending them for general use. (But I do hope to address this pain point in the future.)
Regarding QSP, you can use the Add-Ons explorer to find and install various QSP apps written by others, including QSPToolbox and gQSPSim.

Sign in to comment.

More Answers (0)

Communities

More Answers in the  SimBiology Community

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!