Instruction
for CADLIVE Simulator
Example:
E. coli Ammonia assimilation system
TPP_RAPID CONVERSION
Contents
3.
Upload of data for regulatorreaction equations
4.
Selection of conversion methods
5.
Editing Mathematical Model (DAEs)
NOTICE
If there is anything wrong with calculation and you
want to kill your job, access the site of http://kurata01.bse.kyutech.ac.jp/TEST/Life/kill,
and push the kill simulator button.
Following the installation of the CADLIVE
Simulator, open http://kurata01.bse.kyutech.ac.jp/TEST/Life/index.html@on a PC browser to display the screen(Fig. 11). Input the user name,
subsequently his/her password to start up simulation.
Fig. 11 Login
screen
Clicking the "Simulator" button on the left hand side (Fig. 21) changes the upper region of the screen, as shown in Fig.22
Fig. 21Startup menu
Clicking the [Regulatorreaction equations] button (Fig. 22) displays the new screen. Select the XML data file for the regulatorreaction equations (NFS_demo.xml) from usersf PC (Fig. 31). The data file should be described by using the CADLIVE Editors. Users are required to click the buttons within the screen of CADLIVE, not to carelessly click those of the browser.
Fig.
31 Upload of a regulatorreaction equation file from a PC
The table that indicates the selected regulatorreaction equations appears on the screen (Fig. 41). Users choose the conversion methods with respect to geneprotein layer and metabolic layer.Select TPP_RAPID and MM, respectively
Fig. 41
Selection of conversion methods
Following
the selection of the conversion method, clicking the [Confirm] button displays
the confirmation screen (Fig. 42) that is similar to Fig. 41.
Fig. 42
Confirmation screen for the regulatorreaction equations
Clicking the [Submit] button on the confirmation screen (Fig. 42) parses the regulatorreaction equations, converting them into the mathematical model according to the selected conversion method. The resultant mathematical model is displayed as shown in Fig. 51.
Fig. 51 Mathematical model that is obtained from regulatorreaction equations
This screen mainly has seven parts: the header, the definition of constant players, the definition of variables, the definition of the employed parameter labels, the definition of kinetic parameters, the definition of intermediate mathematical expressions, the definition of algebraic equations, and the definition of differential equations.
Clicking the [Regulatorreaction eqs.] button displays another window that shows regulatorreaction equations. Clicking the [Parameter info.] button shows the parameter information. The [Download] button enables users to download various data files to their local PC.
Clicking the [Confirm] button displays the confirmation screen (Fig. 52) that is similar to Fig. 51. If there is no problem, click the [Submit] button.
Fig. 52 Confirmation screen for a mathematical model
Clicking the [Submit] button on the confirmation screen displays the screen (Fig. 61), where users select the method for numerical simulation. Select gDynamich as analysis type.
Fig. 61Selection of analysis type
As "Analsys type", users can choose either gDynamich or gSteadystateh. g Dynamich simulates the time evolution of the concentrations by calculating DAEs, and gSteadystateh calculates the concentrations at steady state by solving algebraic equations. The checkbox of "Parameter survey" determines if the simulator surveys the parameter space. Checking the checkbox of "Parallel calculation" carries out parallel calculation that employs the Message Passing Interface (MPI). Notice that the checkbox of "Parallel calculation" cannot be selected prior to checking the parameter survey.
Clicking
the [Submit] button on the screen for selecting analytical type displays the
screen for input of the control data (Fig. 71). Here, input the data, as
provided by the following table
Solver Type
(tolerance) 

RungeKutta (Adaptive stepsize) 
relative: 1e12 
Set time span and
time stepsize. 

Start time 
0 
End time 
2000 
(Initial)time stepsize 
0.001 
Monitoring interval 
1 
Set values for
NewtonRaphson Method. 

Maximum trial times 
20 
Tolerance for convergence of functions 
1e12 
Tolerance for convergence of variables 
1e12 
Ratio of changing parameters 
1.1 
Other 

Gvalue 
1 
Y default value 
0.01 
Fig. 71 Set control data for simulation
Following data input, clicking the [Confirm] button shows the confirmation screen (Fig. 72).
Fig. 72 Confirmation screen
Following
confirming the control data for simulation, clicking the [Submit] button on the
screen (Fig. 72) displays the new screen (Fig. 81), where users input the
kinetic parameters and initial values.
Fig. 81 Setting parameters and initial values
In this example, we presented the parameters and initial values that well simulated the ammonia assimilation system. Click the [Upload & merge File] button to display the screen (Fig. 82).
Fig. 82 Uploading a parameter file from the local PC
The parameter file that has been made (TPP_Param_NFS.txt) should be input in the box of "FileName". Check the box of "Update all" and click the [Submit] button. The parameters and initial values are automatically input into the mathematical model, as shown in Fig. 83
Fig. 83 Uploaded parameters and initial values
Users are allowed to edit the mathematical model on the screen (Fig. 83) directly. We ask users to learn gTime eventh, which causes the certain parameters to change. In the nitrogen fixation system, the ammonia changes abruptly at 1000 min, accompanied by the altered values of the parameters:ConstantPlayer [23]. Set the time event, as shown in Fig. 84
#T_EVENT ; name;
index; time; value; #comment
T_EVENT ; constantPlayer; 23; 1000; 0.00002; #NH3.cyt
Fig. 84 Set of time event
Following clicking the [Confirma] button, clicking the [Submit] button (Fig. 85) starts calculation.
Fig. 85 Startup calculation
The resultant time course data are displayed (Fig. 91), which contain the log regarding the calculation time. When simulation fails, the log is shown first, subsequently displaying the input file.
The button of [Save for input] stores the resultant data as the initial values for the subsequent simulation (Fig. 91), which is obtained by the [Initial val.] button. The concentrations at the final time and the steady state concentrations can be saved for the subsequent analysis of the timeevolution dynamics and the steady state, respectively. This [Initial val.] button will be not displayed when parameter survey has been carried out.
Clicking the [Graph] button, which is displayed when the timeevolution (Dynamic) is successfully simulated, opens the window for visualizing the results.
Fig. 91 Results
The screens for indicating the results (Fig. 91) have the [Registration] button. Clicking the [Registration] button shows the gRegistration to the DBh screen (Fig. 92) that has also the button of [Registration]. Clicking it saves a series of simulation data as a mathematical model in the database.
Fig. 92 Registration of Data in Database
The screen for results (Fig. 92) has the [Download] button. Clicking it displays the download screen (Fig. 93). The clicked files are downloaded to a local PC.
Fig. 93
Download
In the screen (Fig. 91), clicking the [Graph] button displays the window of "Set Graph Data" (Fig. 101).
Fig. 101DSetting graph data
The right hand side of the screen defines the definition of data that will be plotted on a graph, and can indicate five series of labels and expressions. As default, y1 – y5 and y[1] – y[5] are set as labels and expressions, respectively. Empty labels and expressions are not allowed. The variables y[i], calculation symbols +, , X, /, parentheses (,), and time T are allowed to be used for describing the mathematical expression. Here, set y[46]/y[47], y[63], y[55], y[3], and y[60]. After setting them, clicking the [Submit] button displays the screen (Fig. 102), where the scaling factor and the regions of Xaxis and Yaxis are automatically calculated based on the expression and the minimum/maximum values to visualize the five timeevolutions well.
Fig. 102 Setting graph data
Users are able to change the labels, the scaling factors, and the color of the lines. Checking the checkbox of gnot drawh omits its time evolution from the graph. The button [Recalc] recalculates the scaling factors and the regions for the X/Yaxises. The table on the lower screen is set for the X/Yaxises. X indicates time, and Y the concentrations of variables. Clicking the [Draw graph] button (Fig. 102) displays the results of timeevolution data, as shown in Fig. 103.
.
Fig. 103 Graph display
The [No legend] button omits the legends. The [Set details] button is able to change the color of the graph and other graph expressions. Clicking the [Set details] button displays the window (Fig.104). Users can change the style of the graph by inputting the value in the boxes. The values of the graph size and the location of the legends are determined by using pixel units. The location of the legend is determined by the coordinate of the left and upper legend.
Fig. 104 Detailed setting for a graph