Presentation is loading. Please wait.

Presentation is loading. Please wait.

BsysE595 Lecture Basic modeling approaches for engineering systems – Summary and Review Shulin Chen January 10, 2013.

Similar presentations


Presentation on theme: "BsysE595 Lecture Basic modeling approaches for engineering systems – Summary and Review Shulin Chen January 10, 2013."— Presentation transcript:

1 BsysE595 Lecture Basic modeling approaches for engineering systems – Summary and Review Shulin Chen January 10, 2013

2 Topics to be covered Review basic terminologies on mathematical modeling Steps for model development Example: modeling a bioreactor

3 Definition Modeling – The process of application of fundamental knowledge or experience to simulate or describe the performance of a real system to achieve prediction goals. Mathematical modeling – Using fundamental theories and principles governing the systems along with simplifying assumptions to derive mathematical relationships between the variable known of significant. – The resulting model can be calibrated using historical data from the real system and can be validated using additional data. Predictions can them be made with predefined confidence

4 Types of models Deterministic versus probabilistic – Variables and their changes are well defined with certainty, the relationship between the variables are fixed, then the model is said to be deterministic; If some unpredictable randomness or probabilities are associated with at least one of the variable of the outcomes, the model is considered probabilistic.

5 Types of models Continuous versus discrete – When the variables in a system are continuous functions of time, the model is continuous (using differential equations); If the changes in the variables occur randomly or periodically, the modeling is termed discrete (using difference equations).

6 Static versus Dynamic When a system is at a steady state, its inputs and outputs do not vary with passage of time and are average values, the model is known as static or steady-state. The results of the model are obtained by a single computation of all of the equation. When the system behavior is time-dependent, its model is called dynamic. Dynamic models are built with differential equations that yield solutions in the form of functions.

7 Distributed versus lumped When the variations of the variable in a system are continuous functions of time and space, the system has to be modeled by a distributed model; If the variable does not change with space, it is referred as a lumped model. Lumped models are often built of algebraic equations, lumped, static models are often built of ordinary differential equations, distributed models are often built of partial differential equations.

8 Linear versus nonlinear When an equation contains only one variable in each term and each variable appears only to the first power, the equation is termed linear, if not, it is termed non-linear.

9 Analytical versus numerical When all the equations can be solved algebraically to yield a solution in a close form, the can be classified as analytical. If that is not possible, and a numerical procedure is required to solve one or more of the model equations, the model is classified as numerical.

10 Terminologies Variables – The quantitative attributes of the system and of the surroundings that have significant impact on the system – Variables include those attributes that change in value during the modeling time span and those that are remain constant during the period. Variables that are constant during the period are referred to as parameters

11 Terminologies Input – Variables that are generated by surroundings and influence the behavior of the system Output – Variables that are generated by the system and influence the behavior of the surroundings

12 Definition and terminology in mathematical modeling System – A collection of one or more relate objects Boundary – The system is isolated from its surroundings by the boundary, which can be physical or imaginary Close system – When the system does not interact with surroundings – Neither mass nor energy will cross the boundary

13 System Modeling Systems modeling approach – Definition of systems – System design – Systems modeling Optimization Control

14 Biological modeling approach – Open system – Growth and transformation – Network – Flux – Regulation and control

15 Engineering modeling approach Principle of conservation – Mass balances Mass transport – Flow – Diffusion Transformation Energy balances

16 Steps of model development Problem formulation Mathematical representation Checking for validity Mathematical analysis Interpretation and evaluation of results

17 Problem formulation Establishing the goal of the modeling effort Characterize the system – Identifying the system and its boundary – Identify the significant and relevant variables and parameters – Establish how, when, where, and at what rate the system interact with its surroundings – Create graphic model Simplifying and idealizing the system

18 Mathematical Representation Identifying fundamental theories that govern the system behaviors – Stoichiometry – Conservation of mass and energy – Reaction theory – Reactor theory – Transport mechanisms. Deriving relationships – Apply and integrate the theories and principles to derive relationships between the variables of significance and relevance Standardizing relationships – Simplifying, transforming, normalizing, or forming dimensionless groups.

19 Check for Validity Check for units and dimensions – Make sure all terms in both sides of the equation have the same unit or dimension; Check for extreme conditions – Assign extreme values to some variables Give them infinitely large values Give them infinitely small values Make them zero

20 Mathematical Analysis Applying standard mathematical techniques ad procedures to “solve” the model to obtain the desirable solutions.

21 Interpretation and evaluation of results Calibrating the model – using observed data from the real system Sensitivity analysis – Check system response with changes in selected variables Validating the model – Assure mass balance closed – Compare model output with hand calculations – Using a test data set

22 Example: Modeling a Bioreactor

23 Step 1. Problem formulation CC C,V,X, k Q, CiQ, Co

24 Step 2: Mathematical representation A ∆x u C,r

25 Mass balance Rate of accumulation of mass within the system boundary = rate of flow of mass into the system boundary - rate of flow of mass out of the boundary + rate of generation within the system boundary

26 Mass transfer terms - advection Advection in which the amount of the mass transported through a flow is the multiplication of the flow rate and the concentration, Transport by advection = AuC Where A = the cross sectional area, m2 u = average pore velocity, m/d C = mass concentration of the contaminant, g/m3

27 Mass transfer terms – dispersion including diffusion Dispersion, the longitudinal transport of material due to turbulence and molecular diffusion. Dispersion is driven by the concentration gradient of the substances. There are typically two components that contribute to dispersion. The first is molecular diffusion when the mean flow velocity is very low, and the second component is caused by eddy effect when the liquid particles do not travel at the same speed under a real (non-ideal) flow condition. It becomes a common practice in transport modeling to lump the dispersion and diffusion together, to be represented by a dispersion coefficient. Thus, Transport by dispersion = (5.2.2) The reaction rate in the reactor, r, expressed as mass reduction in unit time and unit volume: Substrate reaction rate = r (g/m3-d)

28 Basic Equation Substituting all the terms into the mass balance equation, we obtain

29 The model When  x  0, the above equation can be reduced to

30 The reaction term The reaction rate, r, can be represented by kinetics. Kinetics is typically described by different orders, which are determined by the exponent of the term that represents the constituent involved. If a first order reaction is appropriate. Accordingly: where r = reaction rate (or reaction rate), g/m3.d, C = concentration of the substrate, g/m3, t = time, d, K T = reaction rate constant at a given temperature T, d-1.

31 Step 3: Checking for validity Check for units

32 Step 4: Mathematical analysis - A steady-state condition

33 Step 5: Interpretation and evaluation of results

34 A plug flow reactor

35 Plug-flow If the dispersion in a reactor is negligible, equation becomes Integration of the above equation resulting in Where: Ci = influent concentration, g/m3 (mg/l) Co = effluent concentration, g/m3 (mg/l) KT = reaction rate constant, d-1  h = Hydraulic detention time, d.

36 For a completely mixed reactor CC C,V,X, k Q, Ci Q, Co


Download ppt "BsysE595 Lecture Basic modeling approaches for engineering systems – Summary and Review Shulin Chen January 10, 2013."

Similar presentations


Ads by Google