SimBiology.KineticLaw
Kinetic law information for reaction
Description
The kinetic law object holds information about the abstract kinetic law applied to
a reaction and provides a template for the reaction rate. SimBiology® uses the information you provide in a fully defined kinetic law object to
determine the ReactionRate
property in the reaction object.
When you first create a kinetic law object, you must specify the name of the abstract
kinetic law to use. SimBiology fills in the KineticLawName
property and the
Expression
property in the kinetic law object with the name of the
abstract kinetic law you specified and the mathematical expression respectively. The software
also fills in the ParameterVariables
property and the
SpeciesVariables
property of the kinetic law object with the values found
in the corresponding properties of the abstract kinetic law object.
To obtain the reaction rate, you must fully define the kinetic law object:
In the ParameterVariableNames property, specify the parameters from the model that you want to substitute in the expression (
Expression
property).In the SpeciesVariableNames property, specify the species from the model that you want to substitute in the expression.
SimBiology substitutes in the expression, the names of parameter variables and species variables in the order specified in the
ParameterVariables
andSpeciesVariables
properties respectively.The software then shows the substituted expression as the reaction rate in the ReactionRate property of the reaction object. If the kinetic law object is not fully defined, the
ReactionRate
property remains''
(empty).
Use dot notation to query the object properties or change properties that are not
read-only. You can also use the get
and set
commands.
The SimBiology Model Builder app also enables you to add reactions to your model and edit them. For an example, see Add and Configure Reactions.
Creation
Use addkineticlaw (reaction)
to create and add a
KineticLaw
object and add to a reaction.
Properties
Object Functions
addparameter (model, kineticlaw) | Create parameter object and add to model or kinetic law object |
copyobj | Copy SimBiology object and its children |
delete | Delete SimBiology object |
display | Display summary of SimBiology object |
get | Get SimBiology object properties |
getparameters (kineticlaw) | Get specific parameters in kinetic law object |
getspecies (kineticlaw) | Get specific species in kinetic law object |
rename | Rename SimBiology model component and update expressions |
reorder (model, compartment, kinetic law) | Reorder component lists |
set | Set SimBiology object properties |
setparameter (kineticlaw) | Specify specific parameters in kinetic law object |
setspecies (kineticlaw) | Specify species in kinetic law object |