Incorrect units in simple reaction in SimBiology?
1 view (last 30 days)
I wonder why SimBiology does not detect any issues in the following model.
A cell, Cell, is producing signaling molecule, Sig, with following reaction:
Reaction 1: Cell -> Cell + Sig: kprod * Cell
Reaction 2: Sig -> null: kel*Sig
Units are as follows
Sig [mole / milliliter]
kprod [gram / (molecule * day)]
The ODE seems to be correct: d(Sig)/dt = 1/Comp1*((kprod*Cell) - ((kel*Sig)*Comp1)) BUT there should be an error as the units don't match. Any comments would be very appreciated!
See below the screenshort of the model and settings plus sbproj.
EDIT: adding molecular mass into the production rate: kprod / MM * Cell solves the unit Issue of course, but I would expect that such inconsistency would be detected by the software. PS: MM [g/mol]
Arthur Goldsipe on 12 Jul 2022
This is a bug in SimBiology. SimBiology checks that all species participating in a reaction have dimensionally consistent units. For example, you would see an error if one species had units of gram while another had units of molecule. But SimBiology does not currently check that the reaction rate's units are dimensionally consistent with these species units.
I'll create a bug report so that we can fix this in a future release. Thanks again for bringing this to our attention.
More Answers (0)
More Answers in the SimBiology Community