Deterministic Modeling and Simulation 1. This problem describes the immune response triggered by encountering foreign antigens....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Deterministic Modeling and Simulation 1. This problem describes the immune response triggered by encountering foreign antigens. This is called the cytotoxic T cell or CTL response. Suppose that z eliminates infected cells. There are 4 variables: uninfected cells, x, infected cells, y, free virus particles v, and CTL cells z. The equations are: x=λ-dx-Bxv y=Bxv-ay-pyz v=ky-uv ż=c-bz Uninfected cells are produced at a constant rate 2, die at a rate dx and are lost to infection at a rate of Bxv. Infected cells are produced from uninfected cells and free virus at the rate, xv and die at a rate ay and are lost to CTL cells at a rate of pyz. Free virus is produced from infected cells at a rate ky and die at a rate uv. The CTL cells are produced at a rate ofc and die at a rate of b. Parameter values are λ = 1; d = 0.01; a=0.05; p=0.005; p=1; k=50; u = 5; b = 0.05. a). Let c=0. This produces no CTL response, or what happens without an immune system. Simulate the above systems with initial values of x(0)=10 y (0) = 1; v(0)=1; =(0)=0 Determine the steady state value by running the simulation and by running the "trim" function. Check answers with the equations. b). Let c=10. This is a strong immune response. Repeat part (a) and compare the steady-state results via simulation and the trim function. c). Let c=0.05 to simulate a weak immune response. Repeat part (a) and compare the steady- state results via simulation and the trim function. d). For part a, linearize the system using the "linmod" function around the steady-state result for part a. 2. Consider the following differential equation: dt² a. Write the state equations for this system pai-5 b. Add a new state in which x=y-y, where y, is the unit step and represents the desired output of the system. Write the new state equations treating y, as another input. c. Now, pick a vector k = [k,,k,k.] such that if u = kx, the new states will have roots of the characteristic equation at -2, -3, and -4. d. Simulate the system and observe the output y and compare the response for Y₁ = step input to the step response of the system without control. 3. Consider the control system shown below. This system might represent the control of a DC motor. We want to position the shaft to angle determined by, com- The problem is to choose the parameters Kr, the tachometer feedback and Kp, the motor shaft position, so as to minimize the integral squared error between the command input and the controlled output, y. The command input is com = 5 degrees and is shown as a step input of amplitude 5. Subtract1 Subtract amplifier 5 10+1 motor Kr tach pa dot motor int Kp position psi 4. The system of problem1 has the same parameters except that b, p and beta are different, but are between 0 and 1.5 in problem1. The file prob_1_data.mat has the data from a simulation where the first column is time, the second is x, the third is y, the fourth is v and the fifth is z. In the data, the initial condition for z is 0.5 not 0. Write the Matlab code to estimate the unknown parameters, b p and beta. Use a minimum square error criterion between the data and the model output to generate the parameter estimates. Deterministic Modeling and Simulation 1. This problem describes the immune response triggered by encountering foreign antigens. This is called the cytotoxic T cell or CTL response. Suppose that z eliminates infected cells. There are 4 variables: uninfected cells, x, infected cells, y, free virus particles v, and CTL cells z. The equations are: x=λ-dx-Bxv y=Bxv-ay-pyz v=ky-uv ż=c-bz Uninfected cells are produced at a constant rate 2, die at a rate dx and are lost to infection at a rate of Bxv. Infected cells are produced from uninfected cells and free virus at the rate, xv and die at a rate ay and are lost to CTL cells at a rate of pyz. Free virus is produced from infected cells at a rate ky and die at a rate uv. The CTL cells are produced at a rate ofc and die at a rate of b. Parameter values are λ = 1; d = 0.01; a=0.05; p=0.005; p=1; k=50; u = 5; b = 0.05. a). Let c=0. This produces no CTL response, or what happens without an immune system. Simulate the above systems with initial values of x(0)=10 y (0) = 1; v(0)=1; =(0)=0 Determine the steady state value by running the simulation and by running the "trim" function. Check answers with the equations. b). Let c=10. This is a strong immune response. Repeat part (a) and compare the steady-state results via simulation and the trim function. c). Let c=0.05 to simulate a weak immune response. Repeat part (a) and compare the steady- state results via simulation and the trim function. d). For part a, linearize the system using the "linmod" function around the steady-state result for part a. 2. Consider the following differential equation: dt² a. Write the state equations for this system pai-5 b. Add a new state in which x=y-y, where y, is the unit step and represents the desired output of the system. Write the new state equations treating y, as another input. c. Now, pick a vector k = [k,,k,k.] such that if u = kx, the new states will have roots of the characteristic equation at -2, -3, and -4. d. Simulate the system and observe the output y and compare the response for Y₁ = step input to the step response of the system without control. 3. Consider the control system shown below. This system might represent the control of a DC motor. We want to position the shaft to angle determined by, com- The problem is to choose the parameters Kr, the tachometer feedback and Kp, the motor shaft position, so as to minimize the integral squared error between the command input and the controlled output, y. The command input is com = 5 degrees and is shown as a step input of amplitude 5. Subtract1 Subtract amplifier 5 10+1 motor Kr tach pa dot motor int Kp position psi 4. The system of problem1 has the same parameters except that b, p and beta are different, but are between 0 and 1.5 in problem1. The file prob_1_data.mat has the data from a simulation where the first column is time, the second is x, the third is y, the fourth is v and the fifth is z. In the data, the initial condition for z is 0.5 not 0. Write the Matlab code to estimate the unknown parameters, b p and beta. Use a minimum square error criterion between the data and the model output to generate the parameter estimates.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these mathematics questions
-
The missile weighs 40 000 lb. The constant thrust provided by the turbojet engine is T = 15 000 lb. Additional thrust is provided by two rocket boosters B. The propellant in each booster is burned at...
-
From elementary physics, we know that when an object is subjected to a constant acceleration a, the relationship between distance d and time t is given by d = 1/2 at2. Suppose that, during a seek,...
-
From elementary physics, we know that when an object is subjected to a constant acceleration a, the relationship between distance d and time t is given by d = at2. Suppose that, during a seek, the...
-
(a) Write an equation describing a sinusoidal transverse wave traveling on a cord in the positive direction of a y axis with an angular wave number of 60 cm-1, a period of 0.20 s, and an amplitude of...
-
Using the information from RE8-10, calculate Carla Companys cost of goods sold for January and its January 31 inventory using the LIFO method. In RE8-10, Carla Company uses the perpetual inventory...
-
Nitroglycerin, one of the most commonly used explosives, has the following structure The decomposition reaction is The explosive action is the result of the heat released and the large increase in...
-
Orbit Airways purchased a baggage-handling truck for $41,000. Suppose Orbit Airways sold the truck on December 31,2010, for $28,000 cash, after using the truck for two full years and accumulating...
-
XYZ Ltd. is a large retail company listed on a major stock exchange, and its reported net income for the year ended December 31, 2015, is $ 5 million. The earnings were announced to the public on...
-
Nissan Company estimated direct labor hours for 2015 to be 117,000 hours with budgeted overhead of P2,340,000. The company applies factory overhead on the basis of direct labor hours. During the...
-
Frosty Queen Creamery is looking for fresh milk suppliers for its four different plants. The company considers bids from five farms. The bids, maximum daily supplies available from each bidder, and...
-
Attend charity fund raiser $300 Provide 30 hours of service Pay $65 in tolls Provide 11 hours of service Pay $1,560 for computer software to simplify tracking customer information and scheduling...
-
Are cognitive and reasoning processes universal? What evidence do anthropologists have for agreeing or disagreeing with this opinion?
-
List a number of strategies that will yield an Inverted V-shaped profit and stock price relationship at expiration.
-
Explain why the price on an expiring futures contract must be equal or approximately equal to the spot price on the contract's underlying asset.
-
Given an estimated five-year average probability intensity o f0.0375 on a five-year, BB-rated CDS, a recovery rate of \(30 \%\), and discount rate of \(5 \%\), determine the value and spread on the...
-
Can anthropologists classify various cultures by identifying certain personality characteristics found among certain individuals, as did Ruth Benedict? Discuss the limitations of this approach.
-
Discuss Corporate personality in the context of Maldivian Company Law?
-
The figure shows a bolted lap joint that uses SAE grade 8 bolts. The members are made of cold-drawn AISI 1040 steel. Find the safe tensile shear load F that can be applied to this connection if the...
-
Without drawing the MOs, state whether the 7r-molecular orbital 6 in 1,3,5,7,9-decapentaene (a 10-carbon conjugated alkene) is symmetric or anti symmetric with respect to the reference plane; is...
-
Using resonance arguments, state which ion or radical within each set is more stable. Explain. CHj HC-C CH2 or HC CH CH CH2
-
Using the Huckel 4n + 2 rule, determine whether each of the following compounds is likely to be aromatic. Explain how you arrived at the -electron count in each case. (a) (b)
-
A healthy diet is becoming increasingly important for consumers, especially women aged 2535. As a result, they are taking active steps to ensure they are eating healthy but are also looking for other...
-
Lael was just hired by Best East Motels into their manager training program and was excited about the potential benefits after her graduation from Florida State University. Working part-time and...
-
Sophie just completed a sales training course with one of the firms most productive sales representatives, Emma. At the end of the first week, Sophie and Emma sat in a motel room filling out their...
Study smarter with the SolutionInn App