Category Archives: Modeling

New Textbook on Metabolic Control Analysis

New Textbook Published I am pleased to announce the publication of my new textbook: Introduction to Metabolic Control Analysis   “This book is an introduction to control in biochemical pathways. It introduces students to some of the most important concepts … Continue reading

Posted in Metabolic Control Analysis, Modeling, Pathways, Publishing, Systems Theory, Textbooks | Leave a comment

How to do a simple parameter scan using Tellurium

A common task in modeling is to see how a parameter influences a model’s dynamics. For example, consider a simple two reaction pathway: -> S1 -> where the first reaction has a fixed input of vo and the second reaction … Continue reading

Posted in General Science Interest, Modeling, Pathways, Programming, Python, Software, Tellurium | Leave a comment

How to plot a grid of phase plots using Tellurium

Let’s say we have a chemical network model where the species oscillate and you’d like to plot every combination of these on a grid. If so, then this code might be of help.

This code will generate: Here is … Continue reading

Posted in Enzyme Kinetics, Modeling, Pathways, Programming, Python, Software, Tellurium | Leave a comment

Smallest Chemical Reactions Systems that is Bistable

A while back Thomas Wilhelm, published a paper that described the smallest chemical network that could display bistability. The paper that describes this result is: Wilhelm, T. (2009). The smallest chemical reaction system with bistability. BMC systems biology, 3(1), 90. … Continue reading

Posted in Modeling, Pathways, Python, SBML, Software, Systems Theory, Tellurium | Leave a comment

Smallest Chemical Reaction System with Hopf Bifurcation

A while back Wilhelm, and Heinrich published a paper that described the smallest chemical network that could display a Hopf bifurcation. That is, the chemical species oscillated. The paper that describes this result is: Wilhelm, Thomas, and Reinhart Heinrich. “Smallest … Continue reading

Posted in Modeling, Pathways, Python, SBML, Software, Tellurium | Leave a comment

C Based Reduce Row Echelon Code

I recently needed some code to compute the reduced row echelon of a matrix. Applications such as Matlab, Mathematics, sympy and R support this functionality out of the box. Libraries such as LAPACK do not, including the linear algebra package … Continue reading

Posted in Modeling, Pathways, Programming, Software | Leave a comment

Plotting Bar graph of Species Concentrations in Tellurium

I had a model with 27 flaoting species and I wanted to plot the steady state concentrations on a histogram where the labels were the names of the different species. Here is a general purpose script that will do that: … Continue reading

Posted in Modeling, Pathways, Programming, Python, Software, Tellurium | Leave a comment

Drawing a Pathway Fragment with Inhibition using Tikz

Here is another quick pathway fragment I needed today. This won’t scale well because I’ve used some fixed dimensions eg the width of the lines and the size of the text. But these are easily adjusted if you want to … Continue reading

Posted in General Interest, LaTeX, Modeling, Pathways, Programming, Publishing | Leave a comment

Plotting 3D graphs using Python and Tellurium

As an example I wanted to show how one could plot a 3D phase plot. A great example to use for this is the Lorenz Attractor. This system is interesting because it displays chaotic behavior. The differential equations for the … Continue reading

Posted in General Science Interest, Math, Modeling, Pathways, Programming, Software | Leave a comment

How do I change the simulation tolerances in Tellurium?

For very complicated and large models it may be necessary to adjust the simulator tolerances in order to get the correct simulation results. Sometimes the simulator will terminate a simulation because it was unable to proceed due to numerical errors. … Continue reading

Posted in Modeling, Pathways, Programming, SBML, Software, Systems Theory | Leave a comment