2. (35 points) Use you program to investigative properties of a four step linear pathway. Just extend the model given in question 1 to include an additional two species x2 and x3. You can assume simple irreversible mass-action kinetic on each reaction. I recommend you use the following values for the rate constants: 1 = 0.6; k2 = 1.8; k3 = 0.5; k40.04. This will enable you to more easily answer the following questions. You can also assume that the input is the source X and you can set its value to one. You may find that the plot of the phase change at x3 is broken at -180 degrees because it wraps around. To avoid this you can use the method: phase = np.unwrap(phase) to make sure the phase plot is continuous. [10] i) Compute and show the Bode plots for x1, x2 and x3 with respect to the input Xo. [5] ii) Do you see a pattern with the maximum phase shifts as you move from x₁ to x3? [10] iii) Can you explain this pattern? [5] iv) What would you predict would be the maximum phase shift for a forth species x4 if it were added to the end of the pathway? [5] v) Do you see a pattern in the amplitude at low frequencies as you move from x₁ to x3. Do you see attenuation or amplification? Free Code The following is a method to compute the B matrix with complex entries. It requires a roadrunner object (the model) and a string to indicate the name of the input (eg 'Xo'). # This compute the B matrix given: # A roadrunner instance # The name of the input symbl (as a string) # eg B = getBMatrix (r, 'Xo') # Note B is already set up as a complex matrix def getBMatrix (r, inputSymbol): num Reactions = r.getNumReactions() reactionIds = r.getReactionIds(); #3 1 number of inputs dvdp = np.zeros((numReactions, 1), dtype=complex) for k in range (numReactions): val = r.getUnscaled ParameterElasticity (reactionIds (k), input Symbol); dvdp [k] = val+0j #3 It must be complex B = np.matmul (r.getFullStoichiometry Matrix(), dvdp) return np.array (B)

Introductory Circuit Analysis (13th Edition)
13th Edition
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:Robert L. Boylestad
Chapter1: Introduction
Section: Chapter Questions
Problem 1P: Visit your local library (at school or home) and describe the extent to which it provides literature...
icon
Related questions
Question
2. (35 points) Use you program to investigative properties of a four step linear pathway. Just
extend the model given in question 1 to include an additional two species x2 and x3. You can
assume simple irreversible mass-action kinetic on each reaction.
I recommend you use the following values for the rate constants: 1 = 0.6; k2 = 1.8; k3 =
0.5; k40.04. This will enable you to more easily answer the following questions.
You can also assume that the input is the source X and you can set its value to one.
You may find that the plot of the phase change at x3 is broken at -180 degrees because it wraps
around. To avoid this you can use the method:
phase = np.unwrap(phase)
to make sure the phase plot is continuous.
[10] i) Compute and show the Bode plots for x1, x2 and x3 with respect to the input Xo.
[5] ii) Do you see a pattern with the maximum phase shifts as you move from x₁ to x3?
[10] iii) Can you explain this pattern?
[5] iv) What would you predict would be the maximum phase shift for a forth species x4 if it
were added to the end of the pathway?
[5] v) Do you see a pattern in the amplitude at low frequencies as you move from x₁ to x3. Do
you see attenuation or amplification?
Free Code
The following is a method to compute the B matrix with complex entries. It requires a roadrunner
object (the model) and a string to indicate the name of the input (eg 'Xo').
# This compute the B matrix given:
#
A roadrunner instance
#
The name of the input symbl (as a string)
#
eg B = getBMatrix (r, 'Xo')
# Note B is already set up as a complex matrix
def getBMatrix (r, inputSymbol):
num Reactions = r.getNumReactions()
reactionIds = r.getReactionIds();
#3 1 number of inputs
dvdp = np.zeros((numReactions, 1), dtype=complex)
for k in range (numReactions):
val = r.getUnscaled ParameterElasticity (reactionIds (k), input Symbol);
dvdp [k] = val+0j #3 It must be complex
B = np.matmul (r.getFullStoichiometry Matrix(), dvdp)
return np.array (B)
Transcribed Image Text:2. (35 points) Use you program to investigative properties of a four step linear pathway. Just extend the model given in question 1 to include an additional two species x2 and x3. You can assume simple irreversible mass-action kinetic on each reaction. I recommend you use the following values for the rate constants: 1 = 0.6; k2 = 1.8; k3 = 0.5; k40.04. This will enable you to more easily answer the following questions. You can also assume that the input is the source X and you can set its value to one. You may find that the plot of the phase change at x3 is broken at -180 degrees because it wraps around. To avoid this you can use the method: phase = np.unwrap(phase) to make sure the phase plot is continuous. [10] i) Compute and show the Bode plots for x1, x2 and x3 with respect to the input Xo. [5] ii) Do you see a pattern with the maximum phase shifts as you move from x₁ to x3? [10] iii) Can you explain this pattern? [5] iv) What would you predict would be the maximum phase shift for a forth species x4 if it were added to the end of the pathway? [5] v) Do you see a pattern in the amplitude at low frequencies as you move from x₁ to x3. Do you see attenuation or amplification? Free Code The following is a method to compute the B matrix with complex entries. It requires a roadrunner object (the model) and a string to indicate the name of the input (eg 'Xo'). # This compute the B matrix given: # A roadrunner instance # The name of the input symbl (as a string) # eg B = getBMatrix (r, 'Xo') # Note B is already set up as a complex matrix def getBMatrix (r, inputSymbol): num Reactions = r.getNumReactions() reactionIds = r.getReactionIds(); #3 1 number of inputs dvdp = np.zeros((numReactions, 1), dtype=complex) for k in range (numReactions): val = r.getUnscaled ParameterElasticity (reactionIds (k), input Symbol); dvdp [k] = val+0j #3 It must be complex B = np.matmul (r.getFullStoichiometry Matrix(), dvdp) return np.array (B)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Introductory Circuit Analysis (13th Edition)
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:
9780133923605
Author:
Robert L. Boylestad
Publisher:
PEARSON
Delmar's Standard Textbook Of Electricity
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Electrical Engineering
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education
Fundamentals of Electric Circuits
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:
9780078028229
Author:
Charles K Alexander, Matthew Sadiku
Publisher:
McGraw-Hill Education
Electric Circuits. (11th Edition)
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:
9780134746968
Author:
James W. Nilsson, Susan Riedel
Publisher:
PEARSON
Engineering Electromagnetics
Engineering Electromagnetics
Electrical Engineering
ISBN:
9780078028151
Author:
Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:
Mcgraw-hill Education,