Modelling tutorial – ESCTAIC 2012 Stephen E. Rees Center for Model-based Medical Decision Support, Aalborg University, Denmark.

Slides:



Advertisements
Similar presentations
Monoprotic Acid-Base Equilibria
Advertisements

Monoprotic Acid-Base Equilibria Review of Fundamentals 1.)Acids and Bases are essential to virtually every application of chemistry  Analytical procedures.
Bio 98 - Lecture 2 Acid-Base Equilibria, pH and Buffers.
Buffer Calculations for Polyprotic Acids A polyprotic acid can form buffer solutions in presence of its conjugate base. For example, phosphoric acid can.
Buffers and Titrations
Weak Acids & Acid Ionization Constant Majority of acids are weak. Consider a weak monoprotic acid, HA: The equilibrium constant for the ionization would.
MLAB 2401: Clinical Chemistry Keri Brophy-Martinez
Acids, Bases and pH Student Edition 5/23/13 Version Pharm. 304 Biochemistry Fall 2014 Dr. Brad Chazotte 213 Maddox Hall Web Site:
BUFFERS AND TITRATIONS Dr. Harris Ch 21 Suggested HW: Ch 21: 1, 13, 29.
1 Chapter 17 Principles of Reactivity: Chemistry of Acids and Bases.
Investigating Chemical Reactions N 2 O 4 (g) ⇄ 2 NO 2 (g) Colorless brown.
1 Additional Aqueous Equilibria Chapter 17 Lawrence J. Henderson Discovered how acid-base equilibria are maintained in nature by carbonic acid/
Chem. 31 – 4/20 Lecture. Announcements I Exam 2 –Result: average = 75 –Distribution similar to Exam 1 (except a few more high and low scores) Lab Reports.
Lecture 15 10/05/05 Research Club. What is the charge and mass balance for 0.l5 M phosphoric acid Charge balance: [H + ] = [H 2 PO 4 - ] + 2[HPO 4 -2.
Prentice-Hall © 2007 General Chemistry: Chapter 17 Slide 1 of 45 Chapter 17: Additional Aspects of Acid-Base Equilibria CHEMISTRY Ninth Edition GENERAL.
A CIDS AND B ASES II IB C HEMISTRY G R.12 Topic 18 1 Chem2_Dr. Dura.
Acids, Bases and Buffers The Br Ø nsted-Lowry definitions of an acid and a base are: Acid: species that donates a proton Base: species that can accept.
Polyprotic Acids & Bases A polyprotic acid can donate more than one H + Carbonic acid: H 2 CO 3 (aq); dissolved CO 2 in water Sulfuric acid: H 2 SO 4 (aq)
CO 2 transport in blood: 1. Dissolved approx 7% 2. Combined with Hemoglobin10–20% 3. As bicarbonate83%
Ch. 16: Ionic Equilibria Buffer Solution An acid/base equilibrium system that is capable of maintaining a relatively constant pH even if a small amount.
PH and Buffers. pH pH is commonly expressed as –log[H + ] It approximates the negative log (base 10) of the molar concentrations of hydrogen ions H+ (really.
Unit 5: Acids & Bases Lesson 4
Section 2: Buffered Solutions.  Solutions prepared with common ions have a tendency to resist drastic pH changes even when subjected to the addition.
Common Ion Effect Buffer Solutions The resistance of pH change.
Acid-base equilibria Chemistry 321, Summer Goals of this lecture Quantify acids and bases as analytes Measure [H + ] in solution  pH Control/stabilize.
Water, pH and dissociation
Henderson – hasselbalch equation
Chemistry Chapter 17 Applications of Aqueous Equilibria.
Maths and Chemistry for Biologists. Chemistry 4 Buffers This section of the course covers – buffer solutions and how they work the Henderson-Hasselbalch.
Acid/Base Chemical Equilibria. The Brønsted Definitions  Brønsted Acid  proton donor  Brønsted Base  proton acceptor  Conjugate acid - base pair.
Monoprotic Acid- Base Equilibria K w = [ H + ] [ HO - ] = 1.0 x log K w = pH + pOH = at 25 o C So what is the pH of 1.0 x M KOH? [H.
Chapter 10 Acids and Bases.
Equilibrium SCH4U organic photochromic molecules respond to the UV light.
Continuation of Acid-Base Chemistry. CALULATE THE pH OF A STRONG ACID Compute the pH and equilibrium concentrations of all species in a 2 x M solution.
Polyprotic Acid-Base Equilibria
Forward and reverse reactions taking place at equal rates It is a dynamic state - reactions are constantly occurring.
Additional Aqueous Equilibria CHAPTER 16
Chemistry 2100 Chapters 7 and 8. Chemical kinetics Chemical kinetics: The study of the rates of chemical reactions. –Consider the reaction that takes.
Acid-Base Equilibria (Buffers ) Green & Damji Chapter 8, Section 18.2 Chang Chapter 16 Copyright © The McGraw-Hill Companies, Inc. Permission required.
Acids and Bases. Definitions Acid Base Conjugate Acid or Base Neutralization Reaction Normality.
Chemistry I Unit 11: Acids and Bases Text Questions from Wilbraham, et. al Addison Wesley Chemistry by Michael S. Matta, Dennis D. Staley, A. Wilbraham,
Lecture 1: Introduction and review –Quiz 1 –Website: –Review of acid/base chemistry –Universal features of.
Dr. Saleha Shamsudin. CHEMICAL EQUILIBRIUM Discuss the concept of chemical reaction: the rate concept, type of equilibria, Le Chatelier’s principle. Effects.
The pH Scale The pH scale is a convenient way to represent solution acidity. The pH is a log scale based on 10, where pH = -log[H+] Thus for a solution.
Acid/Base Chemistry Part II CHEM 2124 – General Chemistry II Alfred State College Professor Bensley.
Acid/Base Titration Buffers. Buffers A mixture composed of a weak acid and its conjugate base (acidic buffer) OR weak base and its conjugate acid (basic.
Copyright©2000 by Houghton Mifflin Company. All rights reserved. 1 Chemistry FIFTH EDITION by Steven S. Zumdahl University of Illinois Chapter 15 Applications.
Chapter 19 Buffers and Titrations. The Common Ion Effect & Buffer Solutions 2 ______________- solutions in which the same ion is produced by two different.
17.1 – The Common-Ion Effect The Common Ion Effect = the suppression of the ionization of a weak acid or base by the presence of a common ion from a strong.
Bettelheim, Brown, Campbell and Farrell Chapter 9
8.3 Bases Similar to weak acids, weak bases react with water to a solution of ions at equilibrium. The general equation is: B(aq) + H2O(l)  HB+(aq) +
AP Chapter 17 Ionic Equilibria of Weak Electrolytes.
Advanced Acid/Base Theory
1081. y = 1.0 x M [OH - ] = 1.0 x M 1082.
Lecture – 3 The Kinetics Of Enzyme-Catalyzed Reactions Dr. AKM Shafiqul Islam
Transport of O 2 in blood: 1. Some dissolved  1.5% at normal atmospheric pressure 2. Most combined with hemoglobin  98.5%
Acids and Bases Acids taste sour (citric acid, acetic acid) Bases taste bitter (sodium bicarbonate) There are 3 ways to define acids and bases, you will.
The common ion effect is the shift in equilibrium caused by the addition of a compound having an ion in common with one of the products.
Aqueous Solutions and the Concept of pH Section 15.1.
BUFFERS Mixture of an acid and its conjugate base. Buffer solution  resists change in pH when acids or bases are added or when dilution occurs. Mix: A.
Acid Base Disturbance and Strong Ion Difference Dr Rob Stephens Joint Intensive Care Symposium 17/18 June 2010.
HL Acids and Bases. Strength of Acids/Bases Strong Acids (100% ionized or dissociated) – HCl – HBr – HI – HNO 3 – H 2 SO 4 – HClO 4 – HClO 3 Strong bases.
Challenges with simultaneous equilibrium Speciation programs (MINEQL)
Chapter 16: Acid Base Equilibria and Solubility Equilibria Common Ion Effects Buffers Titration Solubility.
Buffered Solutions What is a buffer? Calculations involving Buffers.
Buffers and Henderson-Hasselbach Equation
Acids and Bases 9 / 03 / 2009 Chapter 2 Water
Chapter 9 Monoprotic Acid-Base Equilibria
A Different Look At Buffers
Presentation transcript:

Modelling tutorial – ESCTAIC 2012 Stephen E. Rees Center for Model-based Medical Decision Support, Aalborg University, Denmark

Tutorial Purpose and content To provide an understanding of the principles of mathematical modelling, some of the terminology, and the issues related to clinical application. –Dynamic verses steady state conditions. –Parameters or variables. –State variables, what are they? why are they useful? –Complexity, is bigger always better? –Application, modelling is fun but the purpose must be the focus. –To illustrate these issue we will consider the acid-base chemistry of blood.

The Henderson-Hasselbach equation Questions that can be asked to this (or any) model Where does it come from? What does it assume? Parameters, variables. Is this enough complexity, for what purpose?

 k 1 HA  H + + A -  k -1 Forward velocity proportional to concentration HA v f  [HA] or v f = k 1 [HA] Reverse velocity proportional to concentration H + and A - v r  [H + ] [A - ] or v r = k -1 [H + ][A - ] NOTE: k 1 and k -1 are rate constants, defined as the fraction of mass transported in that direction per unit time e.g. k 1 = 0.5 /s ( or s -1 ) k 1 and k -1 describe the dynamic properties of the system. Mathematical formulation: mass action equations

 k 1 HA  H + + A -  k -1 At steady state the forward and reverse velocity is equivalent i.e. v f = v r or k 1 [HA] = k -1 [H + ][A - ] If k 1 /k -1 = Keq then K eq = [H + ][A - ] [HA] Weak acids dissociate reversibly in aqueous solution, e.g. Mathematical formulation: mass action equations at steady state

K eq = [H + ][A - ] [HA] Rearrange to give [H + ] = K eq [HA] [A - ] Taking logarithms gives log 10 [H + ] = log 10 K eq +log 10 [HA] [A - ] From the definition of pH pH = - log 10 [H + ], we get pH = pK + log 10 [A - ] [HA] Where pK is a new constant pK = -log 10 Keq The Henderson- Hasselbalch equation Mathematical formulation: mass action equations at steady state

The Henderson-Hasselbach equation Where does it come from? What does it assume? Parameters, variables. Is this enough complexity, for what purpose? So reaction Translates to

The Henderson-Hasselbach equation Where does it come from? – mass conservation. What does it assume? – steady state Parameters, variables. pK (parameter) Is this enough complexity, for what purpose? –For calculating from pH and CO 2. - YES –For simulating what happens on changing CO 2 in plasma – NO So reaction Translates to

Plasma Translates to 1 2 These are called ”mass-action” equations

Can we simulate what happens, when we measure pH and CO 2 in a plasma sample and want to understand what happens if we change CO 2 ?

Can we solve when changing CO 2 Equations for situation (a)Equations for situation (b) Known values – CO 2(a ), CO 2(b), pK, pK A Unknown values - Four equations, seven unknowns – What are we missing? Describe the experiment, with pictures and maths

Are there any physical constraints when we change only CO 2 ?

Mass balance equations. The total concentration of protein, phosphate etc (Atot) remains constant. The total buffer base (BB) remains constant These are called ”mass balance” equations.

Can we solve when changing CO 2 Equations for situation (a)Equations for situation (b) Known values – CO 2(a ), CO 2(b), pK, pK A, Atot Unknown values - Eight equations, eight unknowns – Now we can solve

So plasma can be modelled as For the situation when we are interested in changing CO 2

Plasma

Is the model still adequate as a description of anaerobic metabolism? Tissue (anaerobic metabolism)

Lets re-visit our assumptions The total concentration of protein, phosphate etc (Atot) remains constant. The total buffer base (BB) remains constant These are called ”mass balance” equations.

Lets re-visit our assumptions The total concentration of protein, phosphate etc (Atot) remains constant. The total buffer base (BB) remains constant For a closed system, the total CO 2 remains constant These are called ”mass balance” equations.

Can we solve when adding strong acid Equations for situation (a)Equations for situation (b) Known values – CO 2(a ), pK, pK A, Atot Unknown values - Eleven equations, Eleven unknowns – we can solve CO 2 (b),

Plasma

So plasma can be modelled as One mass-action per chemical reaction, one mass-balance per component.

Plasma - components, reactions, math. One mass-action per chemical reaction, one mass-balance per component.

So plasma can be modelled as For the situations when we are interested in changing CO 2 or changing strong acid or base concentration So – The ”correctness” of a model depends on what we want to do with it!

How much do we need to know to know everything about plasma? 5 equations, 8 unknowns – This means that values of 3 variables is enough to completely understand plasma (not all combinations work), i.e. We need 3 state variables. Not any variables, one for each component of plasma.

State variables A state variable is one of the set of variables that describe the "state" of a dynamical system. Intuitively, the state of a system describes enough about the system to determine its future behaviour. (from Wikipedia)statedynamical system

How much do we need to know to know everything about plasma? 5 equations, 8 unknowns – This means that values of 3 variables is enough to completely understand plasma, i.e. We need 3 state variables. Which to choose depends upon the experiment we wish to simulate.

Exercise: Which variables are appropriate in the following experiments? 1.We measure a sample of plasma and want to simulate what will happen if we change CO 2 ? (Assume we know Atot) 2.We measure a sample of plasma and want to simulate non-selective (i.e. non-charge dependent, Atot) removal of plasma protein? 3.We measure two different samples of plasma and want to simulate what happens when we mix them?

So plasma can be modelled as Is this enough to simulate what happens in blood – changing CO 2 levels, addition of acid, changing O 2 levels, etc?

Components Plasma Erythrocyte bicarbonate Erythrocyte haemoglobin

Haemoglobin structure

Consider the protein without side chains

So one can write mass-action and mass balance for these.

Haemoglobin structure

Consider the protein side chains So one can write mass-action and mass balance for these.

Why do we need this level of complexity – Bohr-Haldane effects. O2O2 Haldane

Why do we need this level of complexity – Bohr-Haldane effects. O2O2 Haldane CO 2 So, if you want to simulate changes in O 2 or CO 2 in whole blood, you need Bohr-Haldane

The full model of blood

Tutorial Purpose and content To provide an understanding of the principles of mathematical modelling, some of the terminology, and the issues related to clinical application. –Dynamic verses steady state conditions. –Parameters or variables. –State variables, what are they? why are they useful? –Complexity, is bigger always better? –Application, modelling is fun but the purpose must be the focus. –To illustrate these issue we will consider the acid-base chemistry of blood.

Summary, conclusions To provide an understanding of the principles of mathematical modelling, some of the terminology, and the issues related to clinical application. –Dynamic verses steady state conditions. Are the dynamic of the system interesting to our problem? –Parameters or variables. What can we estimate? What is constant? –State variables, what are they? why are they useful? What variables usefully and completely describe the current state? –Complexity, is bigger always better? How many parameters do we need? –Application, modelling is fun but the purpose must be the focus. This must drive complexity, otherwise it is purely academic.

Simulation of blood mixing From: Rees S.E et al, EJAP 2010, 108:

Procedure

Simulation of blood mixing From: Rees S.E et al, EJAP 2010, 108: