Best Call Girls In Sector 29 Gurgaonβ€οΈ8860477959 EscorTs Service In 24/7 Delh...
Β
Compartmental model
1. Tuesday, 6th February 2018
MATA KULIAH:
PEMODELAN MATEMATIKA
COMPARTMENTAL
MODEL
Lecture:
Heni Widayani, M.Si
2. Compartmental Diagram
Process
input output
Rate in Rate out
Balance Law
πππ‘ πππ‘π
ππ πβππππ
ππ π π π’ππ π‘ππππ
=
πππ‘π
ππ
β
πππ‘π
ππ’π‘
Example :
1. The decay process of radioactive elements
2. Births and deaths in population
3. Pollution into and our of a lake or river, or the atmosphere
4. Drug asimilation into and removal from the bloodstream
3. Exponential decay and radiometric dating
ο± Essential to the understanding of our history
(find the approximately date)
RADIOACTIVE
MATERIAL
Emitted particles
Asumption :
1. The amount of an element present is large enough so that we are
justified in ignoring random fluctuations.
2. The process is continuous in time
3. There is a fixed rate of decay for an element
4. There is no increase in mass of the body of material.
πππ‘π ππ πβππππ ππ
ππππππππ‘ππ£π πππ‘πππππ
ππ‘ π‘πππ π‘
= β
πππ‘π ππππ’ππ‘ ππ
ππππππππ‘ππ£π
πππ‘πππππ
πππππ¦ππ
4. Formulating the differential equation
Let N(π‘) be the mass (in gram) of radioactive atoms at time π‘ and let βπ‘
be a small change in time. The change number of atom is proportional
to the number of atom at the start of the time period.
π π‘ + βπ‘ = π π‘ β ππ π‘ βπ‘, π π‘0 = π0
where π is a positive constant of proportionality indicating the rate of
decay per atom in unit time (decay constant).
If βπ‘ is small enough (βπ‘ β 0), then
ππ
ππ‘
= βππ, π π‘0 = π0
Initial value
Problem (IVP)
Use the separation variable technique to solve the equation !
π΅ π = π΅ π πβπ(πβπ π)
Since π‘ β π‘0 > 0 then
lim
π‘ββ
π0 πβπ(π‘βπ‘0) = 0
π(π‘) is a monoton
decreasing function
5. Substance π―πππ β ππππ(π)
Xenon-133 5 days
Barium-140 13 days
Lead-210 22 years
Strontium-90 25 years
Carbon-14 5568 years
Plutonium 23103 years
Uranium-235 0.707x109 years
Uranium-238 4.5 x 109 years
Experimentally measured for the half-life (π)
Half-Life (π) is defined as the time taken for
half of a given quantity of atoms to decay. If
π π‘0 = π0 then
π π =
π0
2
Find the value of decay constant (π)
for Carbon-14 !
In General,
π =
ln 2
π
6. ο± Residence time is defined to be the mean time that an individual
particle is in the compartment.
ππ
ππ‘
= βπ π
ο± πβ1 is the residence time for a single compartment where π is the
constant rate of π.
π΅ π = π΅ π πβπ(πβπ π)
ο± The fraction of particles remaining in the compartment at time π‘ is
given by πβπ(π‘βπ‘0).
ο± The quantity πΉ π‘ = 1 β πβππ‘
represents the probability an
individual particle has left the compartment by time π‘ (cumulative
probability function for the time each particle was in the
compartment)
π π = π·π π» < π
ο± π is the random variable representing the time for each period.
Residence time
7. Study Case :Lascaux Cave Paintings
In the Cave of Lascaux in France there are some ancient wall paintings,
believed to be prehistoric. Using a Geiger counter, the current decay rate of C14
in charcoal fragments collected from the cave was measured as approximately
1.69 disintegrations per minutes per gram of carbon. In comparison,for living
tissue in 1950 the measurement was 13.5 disintegration per minute per gram
of carbon. How long ago was the radioactive carbon formed (the Lascaux Cave
painting painted)?
ANSWER :
Let π(π‘) be the amout of C14 per gram in the charcoal at time π‘. We know that
π = 5568 years (the half-life of C14), so we get
π β 0.0001245 per year
Let π‘0 = 0 be the current time. Let π be the time that the charcoal was formed,
and thus π < 0. For π < π‘ < π‘0, the C14 decays follow the function
π π‘ = π0 πβππ
We donβt have the π(π) or π0, but we have πβ²
π =
πβ²(π)
πβ²(0)
=
π(π)
π0
Thus, we get
π = β
1
π
ln
π π
π0
= β16690 years ago
8. Salt dissolved in a tank
tank
salt inflow salt outflow
πππ‘π πβππππ
ππ π πππ‘ πππ π
ππ π‘πππ
=
πππ‘π
πππ π ππ π πππ‘
πππ‘πππ π‘πππ
β
πππ‘π
πππ π ππ π πππ‘
ππππ£ππ π‘πππ
ππ
ππ‘
= 10πππ π‘ β
1
10
π(π‘), π 0 = π 0
Balance law
A large tank contains 100 litres of salt water. Initially π 0 kg of salt is
dissolved. Salt water flows into the tank at the rate of 10 litres per
minute, with the concentration πππ(π‘) (kg of salt/litre) of this incoming
water-salt mixture varies with time. We assume that the solution in the
tank is thoroughly mixed and that the salt solution flows out at the
same rate at which it flows in: that is, the volume of water-salt mixture
in the tank remain constant.
Use the technique of integrating factors to solve IVP equation above!
π π = π 0 πβπ/10
+ 10πβπ/10
0
π
πππ(π )π π /10
ππ‘
9. Lake Pollution Models
Mass of
pollutant in
lake
Mass inflow Mass outflow
Polluted river water, pollution
dump into the lake
Water flows from the lake
carrying some polution with it
πππ‘π ππ πβππππ
πππππ’π‘πππ‘ πππ π
ππ ππππ
=
πππ‘π
ππ πππππ’π‘πππ‘
πππ‘πππ ππππ
β
πππ‘π
ππ πππππ’π‘πππ‘
ππππ£ππ ππππ
Assumption :
1. The lake has a constant volume π
2. The lake water is continuously well mixed so the pollution is uniform
throughout
Let π(π‘) is the mass of the pollutant in the lake
Let πΆ(π‘) be the concentration of the pollutant in the lake at time π‘.
Let πΉ be the rate at which water flows out of the lake in m3/day.
Let πππ is the concentration g/m3) of the pollutant in the flow entering lake
ππ
ππ‘
= πΉπππ β πΉ
π π‘
π
ππΆ
ππ‘
=
πΉ
π
πππ β
πΉ
π
πΆ, πΆ 0 = πΆ0
10. Problem :
How long it will take for the lakeβs pollution level to reach 5% of
its initial level, if only fresh water flows into the lake ?
Implement the result for the cases below
a. Consider Lake Eric with π = 458 Γ 109
m3 and πΉ = 480 Γ
106 m3/day = 1,75 x 1011 m3/year.
b. Consider Lake Ontario with π=1636 x 109 m3 and πΉ = 572 Γ
106
m3/day = 2,089 x 1011 m3/year.
a. t0.05 = 7.8 years
b. t0.05 = 23.5 years
Although the flow rate in and out of Lake Ontario is similar to
Lake Erie, it takes significantly longer to clear the pollution from
Lake Ontario due to the larger volume water in Lake Ontario.
11. Drug Assimilation into the blood
ο± The drug dissolves in the gastrointestinal tract (GI-tract) and each
ingredient is diffused into bloodstream.
ο± Drug carried to the locations in which they act and are removed from
the blood by the kidneys and the liver.
GI Tract Blood
Drug intake digestion tissues
πππ‘π πβππππ
ππ πππ’π
ππ πΊπΌ π‘ππππ‘
=
πππ‘π ππ
πππ’π
πππ‘πππ
-
πππ‘π ππ
πππ’π ππππ£ππ
πΊπΌ π‘ππππ‘
πππ‘π πβππππ
ππ πππ’π
ππ πππππ
=
πππ‘π ππ
πππ’π
πππ‘πππ πππππ
-
πππ‘π ππ
πππ’π
ππππ£ππ πππππ
Let π₯(π‘) be the amount of a drug in the GI-tract at time π‘.
Let π¦(π‘) be the amount of a drug in the bloodstream at time π‘.
12. A single cold pill
ο± There is no ingestion of the drug except that which occurs initially.
ο± Assumption :
1. The output rate of GI-tract is proportional to the drug concentration,
which is proportional to the amount of drug in the bloodstream
2. In the bloodstream, the initial amount of the drugs is zero. The level
increases as the drug diffuses from the GI-tract an decreases as the
kidneys and liver remove it.
ππ₯
ππ‘
= βπ1 π₯, π₯ 0 = π₯0
ππ¦
ππ‘
= π1 π₯ β π2 π¦, π¦ 0 = 0
where π₯0 is the amount of a drug in the pill, π1 and π2 are positive
contant of proportionality.
The cold pill is made up of a decongestant and an antihistamine, which
are define the value of π1 and π2.
Decongestant Antihistamine
π1 1.3860/hr 0.6931/hr
π2 0.1386/hr 0.0231/hr
π₯ π‘ = π₯0 πβπ1 π‘
π¦ π‘ =
π1
π1 β π2
πβπ2 π‘ β πβπ1 π‘
13. A course of cold pills
ο± We take a course of pills rather than just one.
ο± There is a continuous flow of drugs into the GI-tract
ππ₯
ππ‘
= πΌ β π1 π₯, π₯ 0 = π₯0
ππ¦
ππ‘
= π1 π₯ β π2 π¦, π¦ 0 = 0
where πΌ is a positive constant represnting the rate of ingestion of the
drug (g/hr).
The analytic solution was
π₯ π‘ =
πΌ
π1
1 β πβπ1 π‘
π¦ π‘ =
πΌ
π2
1 β
1
π2 β π1
π2 πβπ1 π‘
β π1 πβπ2 π‘
* This solution is valid only if π1 β π2.
14. Dull, dizzy, or dead?
ο± Australian law prohibits driving of vehicles (including boats and
horse) for those with BAL (blood alcohol level) above 0.05. This the
relates to 50mg/100ml alcohol in the bloodstream.
ο± This restriction is a result of U.S statistics which indicate that a person
with a BAL of 0.15 is 25 times more likely to have a fatal accident than
one with no alcohol. Furthermore, for 41% of Australian men
excessive alcohol leads to confrontational behaviour.
BAL Behavioural effect
5% Lowered alertness, usually good feeling, release of
inhibitors, impaired judgement
Dull and dignified
10% Slowed reaction times and impaired motor function,
less caution
Dangerous and devilish
15% Large consistent increases in reaction time Dizzy
20% Marked depression in sensory and motor capability,
decidedly intoxicated
Disturbing
25% Severe motor disturbance, staggering, sensory
perceptions greatly impaired, smashed
Disgusting and
dishevelled
30% Stuporous but conscious, no comprehension of whatβs
going on
Delirious and
disoriented
35% Surgical anaesthesia, minimal level causing death Dead drunk
40% 50 times the minimal level, causing death Dead !
15. β’ The alcohol intake into the GI-tract is βcontrolledβ by the drinker. The
amount of alcohol subsequently absorbed into the bloodstream
depends on the concentration of alcohol, other liquid and food in the
GI-tract, as well as on the weight and sex of the individual. Alcohol is
removed from the bloodstream at a constant rate by the liver. This is
independent of the body weight, sexm of the individual and
concentration of alcohol in the bloodstream and assumes that the liver
has not been damaged by large doses of alcohol. (Ignoring that a small
percentage leaves through sweat, saliva, breath, and urine. This means
BAL estimate may be slightly above the true value).
β’ Let πΆ1(π‘) be the concentration of alcohol in the GI-tract at time π‘.
Let πΆ2(π‘) be the concentration of alcohol in the bloodstream at time π‘
ππΆ1
ππ‘
= πΌ β π1 πΆ2
ππΆ2
ππ‘
= π2 πΆ1 β
π3 πΆ3
πΆ2 + π
β’ In the case of drinking on an empty stomach, π1 = π2
β’ If drinking occurs together with a meal (or is diluted) then π1 > π2