Version 1.2 (June 2013)
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
simulator.reaction.SingleMonod Class Reference

Deprecated. Was used to create pathways described by a simple Monod kinetic y1 S1 -> y2 S2+X where µ=muMax*S1/(Ks+S1) More...

Inheritance diagram for simulator.reaction.SingleMonod:
simulator.reaction.Reaction

Public Member Functions

 SingleMonod ()
 
void init (Simulator aSim, XMLParser aReactionRoot)
 
void initFromAgent (ActiveAgent anAgent, Simulator aSim, XMLParser aReactionRoot)
 
void computeSpecificGrowthRate (ActiveAgent anAgent)
 
void computeSpecificGrowthRate (double[] s, ActiveAgent anAgent)
 Return the specific reaction rate. More...
 
void computeSpecificGrowthRate (double[] s)
 Compute specific growth rate in function of concentrations sent. Parameters used are those defined for the reaction. More...
 
double computeMassGrowthRate (ActiveAgent anAgent)
 
double computeMassGrowthRate (ActiveAgent anAgent, double[] reactionKinetic)
 
double computeSpecGrowthRate (ActiveAgent anAgent)
 Compute the specific growth rate. More...
 
void computeAllUptakeRate (double[] s, double mass, double[] soluteYield, double[] kineticParam)
 
void computeUptakeRate (double[] s, double mass, double tdel)
 
void computeUptakeRate (double[] s, ActiveAgent anAgent)
 
double kineticValue (double solute, double[] paramTable, int index)
 
double kineticValue (double solute)
 
double kineticDiff (double solute, double[] paramTable, int index)
 
double kineticDiff (double solute)
 
double kineticMax ()
 
double kineticMax (double[] paramTable, int index)
 
Matrix calcdMUdS (Matrix S, double biomass)
 Calculate the rate of change of each uptake rate with respect to each solute. Returned as a matrix. More...
 
Matrix calcdMUdT (Matrix S, double biomass)
 Calculate the rate of change of each uptake rate with respect to time. More...
 
double[] computeMarginalDiffMu (double[] s)
 Compute the marginal difference array. More...
 
double computeSpecRate (double[] s)
 Compute the specific growth rate. More...
 
void updateMarginalMu (double[] s)
 Update the Marginal Mu data matrix. More...
 
- Public Member Functions inherited from simulator.reaction.Reaction
void init (Simulator aSim, XMLParser aReactionRoot)
 Initialises a reaction object, giving the object the properties stated in the protocol file. More...
 
void initFromAgent (ActiveAgent anAgent, Simulator aSim, XMLParser xmlRoot)
 Use the reaction class to fill the parameters fields of the agent. Populate only the yield vector, the kinetic vector will be filled by the subdefined method in the child classes. More...
 
void register (String aReactionName, Simulator aSimulator)
 End of the initialization procedure. Store the name and simulation dictionary index for this reaction. More...
 
LinkedList< String > declareSolutes ()
 Utilised by a solver instance to know the solutes affected by this reaction. More...
 
void fillParameters (Simulator aSim, XMLParser xmlRoot)
 Reads the reaction information (name, solute yield, particle yield etc) from the XML file and initialises this reaction. More...
 
void addAgent (ActiveAgent anAgent)
 Register an agent among the guild of this pathway. More...
 
void removeAgent (ActiveAgent anAgent)
 Remove an agent among the guild of this pathway. More...
 
void applyReaction (SpatialGrid[] concGrid, SpatialGrid[] reacGrid, SpatialGrid[] diffReacGrid, SpatialGrid biomassGrid)
 Compute reaction rate on each concerned solute grids Assumes same parameters for all the agents of a same guild. More...
 
void fitAgentMassOnGrid (SpatialGrid aSpG)
 Add the mass of all the agents of the guild on a received grid. The stored value is a CONCENTRATION. More...
 
double[] readConcentrationSeen (ActiveAgent anAgent, SoluteGrid[] concGrid)
 Return a double array with all concentration seen by an agent on the default solute grid. More...
 
void writeReport (ResultFile bufferState, ResultFile bufferSum) throws Exception
 Write reaction information to the result file stream. More...
 
void fitGuildOnGrid ()
 Build a grid with mass and mass-growth-rate of all agents of the guild. More...
 
double[] getSoluteYield ()
 Return the solute yield. More...
 
int[] getSoluteIndex ()
 Return the solute index. More...
 
double[] getParticulateYield ()
 Return the particulate yield. More...
 
double[] getKinetic ()
 Return the kinetic parameters used in this reaction. More...
 
LinkedList< ActiveAgentgetGuild ()
 Return the guild of this pathway. More...
 

Additional Inherited Members

- Public Attributes inherited from simulator.reaction.Reaction
String reactionName
 
int reactionIndex
 
int _catalystIndex
 
int[] _mySoluteIndex
 
boolean autocatalytic
 
double[] totalUptake
 
double Dil
 
- Protected Attributes inherited from simulator.reaction.Reaction
LinkedList< ActiveAgent_guild = new LinkedList<ActiveAgent>()
 
SoluteGrid[] _soluteList
 
SoluteGrid _reacGrid
 
SoluteGrid _guildGrid
 
double _specRate
 
double[] _diffUptakeRate
 
double[] _uptakeRate
 
double[] _soluteYield
 
double[] _kineticParam
 
double[] _particleYield
 
String[] _particleNameYield
 

Detailed Description

Deprecated. Was used to create pathways described by a simple Monod kinetic y1 S1 -> y2 S2+X where µ=muMax*S1/(Ks+S1)

Deprecated. Was used to create pathways described by a simple Monod kinetic y1 S1 -> y2 S2+X where µ=muMax*S1/(Ks+S1) the substrate used by a monod kinetic is the first one of the solutelist of the current object

Author
Laurent Lardon (lardo.nosp@m.nl@s.nosp@m.upagr.nosp@m.o.in.nosp@m.ra.fr), INRA, France

Constructor & Destructor Documentation

simulator.reaction.SingleMonod.SingleMonod ( )

Member Function Documentation

Matrix simulator.reaction.SingleMonod.calcdMUdS ( Matrix  S,
double  biomass 
)
virtual

Calculate the rate of change of each uptake rate with respect to each solute. Returned as a matrix.

Calculate the rate of change of each uptake rate with respect to each solute. Returned as a matrix

Parameters
STemporary container for solute concentration
biomassTotal particle mass in the system which catalyses this reaction
Returns
Matrix containing rate of change of each uptake rate with respect to each solute

Implements simulator.reaction.Reaction.

Matrix simulator.reaction.SingleMonod.calcdMUdT ( Matrix  S,
double  biomass 
)
virtual

Calculate the rate of change of each uptake rate with respect to time.

Calculate the rate of change of each uptake rate with respect to time. dMUdT = catalyticBiomass*specificGrowthRate*soluteYield. Returned as a matrix

Parameters
STemporary container for solute concentration
biomassTotal particle mass in the system which catalyses this reaction
Returns
Matrix containing rate of change of each uptake rate with respect to time

Implements simulator.reaction.Reaction.

void simulator.reaction.SingleMonod.computeAllUptakeRate ( double[]  s,
double  mass,
double[]  soluteYield,
double[]  kineticParam 
)

Add the contribution of this agent on the reaction grid and the diff reaction grid

See Also
: Reaction.applyReactionCA() and Reaction.applyReactionIbM()
double [] simulator.reaction.SingleMonod.computeMarginalDiffMu ( double[]  s)
virtual

Compute the marginal difference array.

Compute the marginal difference array. Don't forget to update marginalMu before calling this!

Parameters
sTemporary container for solute concentration
Returns
Marginal diff array

Implements simulator.reaction.Reaction.

double simulator.reaction.SingleMonod.computeMassGrowthRate ( ActiveAgent  anAgent)
virtual

return the marginal growth rate (i.e the specific growth rate times the mass of the particle who is mediating this reaction)

Parameters
anAgent
Returns

Implements simulator.reaction.Reaction.

double simulator.reaction.SingleMonod.computeMassGrowthRate ( ActiveAgent  anAgent,
double[]  reactionKinetic 
)
double simulator.reaction.SingleMonod.computeSpecGrowthRate ( ActiveAgent  anAgent)
virtual

Compute the specific growth rate.

Compute the specific growth rate

Parameters
anAgentSpecific growth rate for this ActiveAgent
Returns
The specific growth rate

Implements simulator.reaction.Reaction.

void simulator.reaction.SingleMonod.computeSpecificGrowthRate ( ActiveAgent  anAgent)
virtual

Return the specific reaction rate

See Also
ActiveAgent.grow()
Episome.computeRate(EpiBac)

Implements simulator.reaction.Reaction.

void simulator.reaction.SingleMonod.computeSpecificGrowthRate ( double[]  s,
ActiveAgent  anAgent 
)
virtual

Return the specific reaction rate.

Return the specific reaction rate

Parameters
sarray of solute concentration
anAgentThe agent
Deprecated:

Implements simulator.reaction.Reaction.

void simulator.reaction.SingleMonod.computeSpecificGrowthRate ( double[]  s)
virtual

Compute specific growth rate in function of concentrations sent. Parameters used are those defined for the reaction.

Compute specific growth rate in function of concentrations sent. Parameters used are those defined for the reaction

Parameters
sarray of solute concentration
Deprecated:

Implements simulator.reaction.Reaction.

double simulator.reaction.SingleMonod.computeSpecRate ( double[]  s)
virtual

Compute the specific growth rate.

Compute the specific growth rate. Don't forget to update marginalMu before calling this!

Parameters
sTemporary container for solute concentration
Returns
The specific growth rate

Implements simulator.reaction.Reaction.

void simulator.reaction.SingleMonod.computeUptakeRate ( double[]  s,
double  mass,
double  tdel 
)
virtual
Parameters
sDouble array
massConcentration factor
tdelDouble
Deprecated:

Implements simulator.reaction.Reaction.

void simulator.reaction.SingleMonod.computeUptakeRate ( double[]  s,
ActiveAgent  anAgent 
)
void simulator.reaction.SingleMonod.init ( Simulator  aSim,
XMLParser  aReactionRoot 
)
void simulator.reaction.SingleMonod.initFromAgent ( ActiveAgent  anAgent,
Simulator  aSim,
XMLParser  aReactionRoot 
)

Used to initialise reaction parameters of the agent

double simulator.reaction.SingleMonod.kineticDiff ( double  solute,
double[]  paramTable,
int  index 
)
double simulator.reaction.SingleMonod.kineticDiff ( double  solute)
double simulator.reaction.SingleMonod.kineticMax ( )
double simulator.reaction.SingleMonod.kineticMax ( double[]  paramTable,
int  index 
)
double simulator.reaction.SingleMonod.kineticValue ( double  solute,
double[]  paramTable,
int  index 
)
double simulator.reaction.SingleMonod.kineticValue ( double  solute)
void simulator.reaction.SingleMonod.updateMarginalMu ( double[]  s)
virtual

Update the Marginal Mu data matrix.

Update the Marginal Mu data matrix

Parameters
sTemporary container for solute concentration

Implements simulator.reaction.Reaction.


The documentation for this class was generated from the following file: