KineticLaw
Show kinetic law used for ReactionRate
Description
The KineticLaw
property shows the kinetic
law that determines the reaction rate specified in the ReactionRate
property
of the reaction object. This property shows the kinetic law used to
define ReactionRate
.
KineticLaw
can be configured with the addkineticlaw
method.
The addkineticlaw
function configures the ReactionRate
based
on the KineticLaw
and the species and parameters
specified in the kinetic law object properties SpeciesVariableNames
and ParameterVariableNames
. SpeciesVariableNames
are
determined automatically for mass action kinetics.
If you update the reaction, the ReactionRate
property
automatically updates only for mass action kinetics. For all other
kinetics, you must set the SpeciesVariableNames
property
of the kinetic law object.
For information on dimensional analysis for reaction rates, see How Reaction Rates Are Evaluated.
Characteristics
Applies to | Object: reaction |
Data type | Kinetic law object |
Data values | Kinetic law object. Default is [] (empty). |
Access | Read-only |
Examples
Example with Henri-Michaelis-Menten
kinetics
Create a model object, and then add a reaction object.
modelObj = sbiomodel ('my_model'); reactionObj = addreaction (modelObj, 'a + b -> c + d');
Define a kinetic law for the reaction object.
kineticlawObj = addkineticlaw(reactionObj, 'Henri-Michaelis-Menten');
Verify that the
KineticLaw
property for the reaction object isHenri-Michaelis-Menten
.get (reactionObj, 'KineticLaw')
MATLAB® returns:
SimBiology Kinetic Law Array Index: KineticLawName: 1 Henri-Michaelis-Menten