Custom Rate Law Classifications¶
ratesb_python allows the use of custom rate law classifications. To utilize this, you must create a JSON file defining your rate laws. Each rate law object in the JSON file should include:
name: A string that specifies the name of the rate law.
expression: A valid mathematical equation using specific symbols (compartment, parameter, reactant1, reactant2, reactant3, product1, product2, product3, and enzyme). “species” is NOT allowed, instead you should specify whether a species is reactant, product or enzyme. Any other symbols should not be used in the expression. Mathematical operators such as +, -, , /, *, and parentheses should be used to construct the equation.
optional_symbols: An array of symbols not necessarily required in the model’s rate law.
power_limited_species: An array of species where the power (exponent) matters in the analysis. If a species is listed here, it should be raised to a specific power in the rate law (specified in the expression).
Here’s an example of how to define your rate laws in the JSON file: