Modeling and Simulation in Ecotoxicology with Applications in MATLAB and Simulink Kenneth R. Dixon 2024 Scribd Download
Modeling and Simulation in Ecotoxicology with Applications in MATLAB and Simulink Kenneth R. Dixon 2024 Scribd Download
Modeling and Simulation in Ecotoxicology with Applications in MATLAB and Simulink Kenneth R. Dixon 2024 Scribd Download
https://ebookfinal.com
https://ebookfinal.com/download/modeling-and-
simulation-in-ecotoxicology-with-applications-in-
matlab-and-simulink-kenneth-r-dixon/
https://ebookfinal.com/download/system-simulation-techniques-with-
matlab-and-simulink-1st-edition-dingyu-xue/
ebookfinal.com
https://ebookfinal.com/download/modeling-and-simulation-of-systems-
using-matlab-and-simulink-1-har-cdr-edition-devendra-k-chaturvedi/
ebookfinal.com
https://ebookfinal.com/download/computational-nanotechnology-modeling-
and-applications-with-matlab-r-sarhan-m-musa/
ebookfinal.com
https://ebookfinal.com/download/signals-and-systems-with-matlab-
computing-and-simulink-modeling-3rd-edition-steven-t-karris/
ebookfinal.com
Introduction to Modeling and Simulation with MATLAB and
Python 1st Edition Steven I. Gordon
https://ebookfinal.com/download/introduction-to-modeling-and-
simulation-with-matlab-and-python-1st-edition-steven-i-gordon/
ebookfinal.com
https://ebookfinal.com/download/electronically-scanned-arrays-matlab-
modeling-and-simulation-1st-edition-arik-d-brown/
ebookfinal.com
https://ebookfinal.com/download/numerical-simulation-of-optical-wave-
propagation-with-examples-in-matlab-jason-d-schmidt/
ebookfinal.com
https://ebookfinal.com/download/modeling-and-simulation-in-
polymers-1st-edition-purushottam-d-gujrati/
ebookfinal.com
https://ebookfinal.com/download/agent-based-modeling-and-simulation-
with-swarm-1-st-edition-hitoshi-iba/
ebookfinal.com
Modeling and Simulation in Ecotoxicology with
Applications in MATLAB and Simulink Kenneth R.
Dixon Digital Instant Download
Author(s): Kenneth R. Dixon
ISBN(s): 9781439855171, 143985517X
Edition: Har/Cdr
File Details: PDF, 7.31 MB
Year: 2011
Language: english
Modeling and
Simulation in
Ecotoxicology
with Applications
in MATLAB®
and Simulink®
Modeling and
Simulation in
Ecotoxicology
with Applications
in MATLAB®
and Simulink®
Kenneth R. Dixon
CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742
This book contains information obtained from authentic and highly regarded sources. Reasonable efforts have been made to
publish reliable data and information, but the author and publisher cannot assume responsibility for the validity of all materials
or the consequences of their use. The authors and publishers have attempted to trace the copyright holders of all material repro-
duced in this publication and apologize to copyright holders if permission to publish in this form has not been obtained. If any
copyright material has not been acknowledged please write and let us know so we may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmitted, or utilized in any
form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying, microfilming,
and recording, or in any information storage or retrieval system, without written permission from the publishers.
For permission to photocopy or use material electronically from this work, please access www.copyright.com (http://www.copy-
right.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive, Danvers, MA 01923, 978-750-8400.
CCC is a not-for-profit organization that provides licenses and registration for a variety of users. For organizations that have been
granted a photocopy license by the CCC, a separate system of payment has been arranged.
Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used only for identifica-
tion and explanation without intent to infringe.
Visit the Taylor & Francis Web site at
http://www.taylorandfrancis.com
vii
viii Contents
2.3 Simulation........................................................................................................ 21
2.3.1 Principles of Simulation ..................................................................... 23
2.3.1.1 Principle of Communication............................................... 23
2.3.1.2 Principle of Modularity ...................................................... 23
2.3.1.3 A Modified Principle of Parsimony.................................... 23
2.3.2 Steps in Simulation............................................................................. 23
2.3.2.1 Problem Definition...............................................................24
2.3.2.2 Model Development............................................................24
2.3.2.3 Model Implementation........................................................24
2.3.2.4 Data Requirements ............................................................. 27
2.3.2.5 Model Validation ................................................................ 27
2.3.2.6 Design of Simulation Experiments.....................................28
2.3.2.7 Analyze Results of Simulation Experiments ......................28
2.3.2.8 Presentation and Implementation of Results ......................28
References ..................................................................................................................28
Chapter 11 A Model to Predict the Effects of Insecticides on Avian Populations ..................... 191
11.1 Problem Definition ........................................................................................ 191
11.2 Model Development........................................................................................ 191
11.3 Model Implementation .................................................................................. 191
11.3.1 Model Description............................................................................ 192
11.3.1.1 Ingestion in Food .............................................................. 192
Contents xi
xiii
xiv Preface
Chapter 11 presents a case study of a model developed to assess the relative risk of mortality
following exposure to insecticides in different avian species. Many of the toxicological processes
described in Chapter 5 are included in the model. The steps in the modeling and simulation are
described for this model. Chapter 12 is a case study designed to explore the role of diving behavior
on the inhalation and distribution of naphthalene in bottlenose dolphins. The model is an example
of physiologically based toxicokinetic models. The case study in Chapter 13 looks at the dynamics
of mercury in Daphnia that are exposed to simulated thermal plumes from a hypothetical power
plant cooling system. Differences in ambient water temperature and cooling conditions are explored
in the simulations.
Kenneth R. Dixon
Texas Tech University
Lubbock, Texas
MATLAB® and Simulink® are registered trademarks of The MathWorks, Inc. For product informa-
tion, please contact:
xv
About the Author
Kenneth R. Dixon is professor in the Department of
Environmental Toxicology and The Institute of Environ
mental and Human Health at Texas Tech University. He
received his B.S. degree in forestry from the University of
Florida in 1964 and his M.S. in forestry in 1968, also from
the University of Florida, specializing in statistics and sys-
tems engineering. From 1968 to 1971, Dr. Dixon worked as
a biometrician in the Institute of Statistics at North Carolina
State University. In 1974, he received his Ph.D. from the
School of Natural Resources at the University of Michigan.
After graduating, he took a postdoctoral position as an
ecologist and modeler at Oak Ridge National Laboratory.
His research primarily involved modeling the impact of
heavy metals on both aquatic and terrestrial ecosystems.
Additional activities included the environmental impact
assessment of nuclear power plants. In 1976, Ken joined
the University of Maryland Appalachian Environmental
Laboratory, where he taught courses in quantitative
methods in wildlife management. His research included furbearer population dynamics, wild-
life as monitors of environmental contamination, and spatial models of wildlife behavior.
From 1984 to 1992, Dr. Dixon headed the Wildlife Research Program in the Washington
Department of Wildlife. Research activities primarily involved the use of radio telemetry, remote
sensing, and geographic information systems to determine wildlife habitat requirements. Species
studied included the peregrine falcon, spotted owl, pygmy rabbit, harbor seal, California sea lion,
grizzly bear, gray wolf, elk, and mule deer. In 1985 he planned and implemented the department’s
geographic information system, which he then supervised until leaving the department in 1992.
Under Ken’s supervision, a statewide wildlife habitat mapping project was initiated. His home
range analysis program was written into Arc/GIS to facilitate the calculation of habitat selection.
Ken also assisted the U.S. Fish and Wildlife Service in implementing the Washington State Gap
Analysis project.
Dr. Dixon was associate professor in the Department of Environmental Toxicology and the
Institute of Wildlife and Environmental Toxicology at Clemson University from 1992 to 1997. His
research included developing and applying computer simulation models to predict the movement
and effects of toxic chemicals on wildlife populations and the environment, including the spatial
distribution of toxicants and effects at ecosystem, landscape, and regional scales using geographic
information systems. An example of research in this area was a study of topographic, soil, and
weather parameters affecting the runoff of pesticides into farm ponds in Iowa and Illinois.
His current research interests include developing and applying computer simulation models to
predict the movement of toxic chemicals in the environment and their effects on human and wildlife
populations. Dr. Dixon also studies the spatial distribution of toxicants and effects at ecosystem,
landscape, and regional scales by integrating models with geographic information systems. Current
research projects include developing terrestrial food-chain models to predict the uptake and effects
of pesticides, perchlorate, and explosives, and developing spatial models of the spread of infectious
diseases, and a real-time model of exposure and effects of atmospheric pollutants. Dr. Dixon has
taught courses in modeling, geographic information systems, ecosystems analysis, biometry, and
wildlife management.
xvii
1 Introduction
In a text on modeling and simulation, it is important to define these terms as there is a wide range
of usage for both. In fact, the two terms are often confused or used interchangeably. Some authors
have used the term simulation model, which makes it necessary to define both model and simula-
tion to distinguish simulation models from other types of models. We make a distinction between
modeling and simulation to clarify our discussion of both terms. A model can be defined as a
simplified abstract of a real-world object. For our purposes, modeling has the following quantita-
tive definition:
Definition 1.1: Modeling is the process of using abstract mathematical representations of a system
for analyzing or studying the relationships among the components of the system.
Although related to modeling, simulation has more to do with what we do with a model after it is
constructed. A formal definition of simulation appears as Definition 1.2.
Definition 1.2: Simulation is the process of using a computer to exercise a model for the purpose of
mimicking the behavior of a real system.
Having defined modeling, we could ask, “Why do modeling?” Everyone uses an implicit or “mental”
model to consider the future consequences of today’s actions (Gentner and Stevens 1983, Morgan et
al. 2002). For example, consider the impacts of the release of a toxic chemical into the environment.
One can imagine where the chemical may be transported, what plants and animals may be exposed,
and what the effects of that exposure are. This mental model can be thought of as the first step in
a more explicit model. The question then is not whether we should do modeling, but what kind of
model we will use. An explicit model, one based upon quantitative descriptions and data, provides
a more structured approach than a mental model. As put forward by the late wildlife statistician,
Douglas Chapman, “the use of mathematical language and mathematical models introduces and
forces clarity of ideas that may be otherwise lacking” (Chapman 1971, 429).
Although modeling and simulation are relatively new to environmental toxicology, there is a
long and productive history of modeling in other biological disciplines, including population biol-
ogy, ecology, and wildlife management. These integral disciplines usually are described as either
mathematical biology (emphasizing biology), or biomathematics (emphasizing mathematics). Other
biological disciplines that have a history of incorporating the use of models include biometrics,
cybernetics, and systems ecology.
1
2 Modeling and Simulation in Ecotoxicology with Applications in MATLAB® and Simulink®
Theory of
Theory of
Random
Statistics
Processes
Stochastic Statistical-
Probability Time-Series
Differential- Mechanistic
Mass Balance Predictive
Difference Predictive
Equations Model
Equations Model
FIGURE 1.1 Theories underlying predictive models (R. L. Patterson, personal communication).
or differential equations. Statistical models typically are static and include regression, principle
component, or Bayesian structures. Statistical-mechanistic models usually have a difference or dif-
ferential equation structure but rely on statistical analysis of experimental data for parameterization.
Stochastic differential or difference equations can take several forms. For our purposes, the models
are referred to as stochastic or probabilistic in that some (or all) of the parameters in the model are
random variables. The emphasis in this text is on predictive models using either stochastic differen-
tial or stochastic difference equations.
There are advantages and disadvantages to mechanistic models. One advantage is that the
parameters in a mechanistic model usually have real-world counterparts. These parameters then
are amenable to sensitivity analyses to determine the relative impact each parameter has on the
process. Parameters in statistical models, however, have no biological meaning attached to them.
Sensitivity analysis of these model parameters would not provide any added knowledge about
the process. Largely because mechanistic models reflect physical and chemical dynamics of the
process being modeled, they can predict future behavior of the process more accurately than sta-
tistical models can. Disadvantages of the mechanistic modeling approach are the relatively high
cost and the amount of time required to conduct the necessary experiments to estimate the model
parameters.
1.2.3 Instruction
Models have been used for teaching students about real-world systems. Students who have had
courses that use simulation as a teaching tool often learn more than students who have taken com-
parable courses without a modeling component (Rieber et al. 2004, Windschitl and Andre 1998).
Models that are used in instruction need to be as representative of real-world systems as possible
to assure that students do not incorrectly draw conclusions about how systems function or what
impact toxic substances will have on those systems. This will require that parameters with real-
world counterparts have realistic values and in the case of parameters that vary during a simulation,
they should be sampled from appropriate probability distributions. Simplified models that do not
completely mimic real-world systems still can be useful teaching tools if the purpose is to explore
theoretical concepts rather than to understand system behavior.
that plants will accumulate atmospheric pollutants until the plant concentration reaches equilibrium
equal to the atmospheric concentration. A mechanistic model of the uptake of atmospheric pollut-
ants, used to predict the accumulation of radioactive carbon, 14C, showed an accumulation much
higher than the atmospheric concentration (Killough et al. 1976, Dixon and Murphy 1979). The
reason for the difference was that the assumption of equilibrium failed to consider that carbon is
fixed by the plant during photosynthesis.
1.2.6 Cost
Simulations can reduce both the monetary and time expenditures of experiments. If we are inter-
ested in knowing the effects of a toxicant on an ecosystem, one approach would be to introduce the
contaminant into the system and then measure the effects. The resulting cost, however, could be
unacceptable, both in terms of damage to the system and the cost of conducting the experiment.
Simulation allows the experiment to be conducted a priori on the computer without the risk of
environmental damage. Simulation experiments can be run in a fraction of the time it takes to run
laboratory or field experiments. Most computer simulations take only a few seconds or minutes on
modern computers, whereas laboratory or field experiments can take weeks or months.
that we have an error-free computer program, it will predict only what it has been designed to do,
that is, the model can make predictions about a system based only upon the assumptions in the
model. That is why it is important for a modeler, or a model user, to have a good understanding of
the system being modeled—to assure that the appropriate mechanisms are built into the model so
that it is capable of addressing the pertinent questions posed by the modeler. In the case of modeling
wild populations or ecosystems, it is imperative that the modeler spend time in the natural system
to observe its components and their relationships.
REFERENCES
Andrewartha, H. G., and L. C. Birch. 1954. The Distribution and Abundance of Animals. Chicago: University
of Chicago Press.
Bialek, W., and D. Botstein. 2004. “Introductory Science and Mathematics Education for 21st-Century
Biologists.” Science 303:788–790.
Chapman, D. G. 1971. “Mathematics and Ecology.” In Statistical Ecology, Vol. 3, ed. G. P. Patil et al., 428–434.
University Park, PA: Pennsylvania State University Press.
Dixon, K. R., and B. D. Murphy. 1979. “A Discrete-Event Approach to Predicting the Effects of Atmospheric
Pollutants on Wildlife Populations Using 14C Exposure.” In Animals as Monitors of Environmental
Pollutants, 15–26. Washington, DC: National Academy of Sciences.
Epstein, J. M. 2008. “Why model?” Journal of Artificial Societies and Social Simulation 11(4):12, http://jasss.
soc.surrey.ac.uk/11/4/12.html.
Gentner, D., and A. Stevens, eds. 1983. Mental Models. Hillsdale, NJ: Lawrence Erlbaum Assoc.
Hermann, C. 1967. “Validation Problems in Games and Simulation with Special Reference to Models of
International Politics.” Behavioral Science 12:216–230.
Holcomb Research Institute. 1976. Environmental Modeling and Decision Making. New York: Praeger.
Killough, G. G., K. R. Dixon, N. T. Edwards, et al. 1976. Progress Report on Evaluation of Potential Impact
of 14C Releases from an HTGR Reprocessing Facility. ORNL/TM-5284, Oak Ridge, TN: Oak Ridge
National Laboratory.
Lucas, H. L., ed. 1962. The Cullowhee Conference on Training in Biomathematics. Raleigh, NC: Institute of
Statistics of North Carolina State College.
Martin, F. F. 1968. Computer Modeling and Simulation. New York: Wiley.
May, R. M. 2004. “Uses and Abuses of Mathematics in Biology.” Science 303:790–793.
Morgan, M. G., B. Fischoff, A. Bostrom, et al. 2002. Risk Communication: A Mental Models Approach.
Cambridge: Cambridge University Press.
O’Neill, R. V., and O. W. Burke. 1971. A Simple Systems Model for DDT and DDE Movement in the Human
Food Chain. ORNL-IBP-71-9, Oak Ridge, TN: Oak Ridge National Laboratory.
Petroski, H. 1992. To Engineer Is Human: The Role of Failure in Successful Design. New York: Vintage Books.
Pilkey, O. H., and L. Pilkey-Jarvis. 2007. Useless Arithmetic: Why Environmental Scientists Can’t Predict the
Future. New York: Columbia University Press.
8 Modeling and Simulation in Ecotoxicology with Applications in MATLAB® and Simulink®
Rieber, L. P., S.-C. Tzeng, and K. Tribble. 2004. “Discovery Learning, Representation, and Explanation within
a Computer-Based Simulation: Finding the Right Mix.” Learning and Instruction 14:307–323.
van der Vaart, H. R. 1977. “Some Signposts for the Education of Systems Ecologists.” In New Directions in the
Analysis of Ecological Systems, Part 1, ed. G. S. Innis, 35–41. La Jolla, CA: Simulation Council.
Windschitl, M., and T. Andre. 1998. “Using Computer Simulations to Enhance Conceptual Change: The Roles
of Constructivist Instruction and Student Epistemological Beliefs.” Journal of Research in Science
Teaching 35:145–160.
2 Principles of Modeling
and Simulation
2.1 SYSTEMS
This chapter describes principles of modeling and simulation. It is important, however, to under-
stand that these activities are grounded in the concept of systems. Therefore, we begin by describing
what a system is and why knowledge of a system is important.
2.1.1 Definition
The term system has become commonplace in many scientific disciplines. In physiology there are car-
diovascular, respiratory, and immune systems as well as the central nervous system. In ecology, there
are ecosystems. In meteorology, there are weather systems. There are expert systems and geographic
information systems. What do all of these systems have in common? Each system is a collection of
interconnected components, or subsystems, that functions as a complete entity or whole that is greater
than the sum of its separate parts. The cardiovascular system consists of the heart, lungs, blood, and
connecting veins and arteries. An ecosystem is a collection of plant and animal populations that
interact through various processes such as predation, consumption, competition, and decomposition.
A formal definition of a system will aid in later discussions of modeling and simulation.
Definition 2.1: A system is a collection of components that are interconnected in such a way as to
function as a whole.
The adverse effects of many toxicants are directly related to their ability to interfere with the nor-
mal functioning of systems. The receptor–ligand interactions of the nervous system, for example,
are affected by organophosphates. Many toxic chemicals interfere with cellular energy production
systems. Other toxic substances can impair the reproductive system by reducing spermatogenesis or
causing birth defects or abortion of the fetus.
9
10 Modeling and Simulation in Ecotoxicology with Applications in MATLAB® and Simulink®
2.1.4 Feedback
That component of the control system responsible for activating the system to produce the output is the
control action. In the previous examples, the control action in the heating system is the thermostat, in
the hypothalamus-pituitary-gonadal system it’s the androgen and estrogen receptors in both the hypo-
thalamus and pituitary, and in the predator-prey system it’s the predator’s brain. A system in which the
control action is dependent upon the output is called a closed-loop or feedback control system.
Definition 2.2: Feedback in a closed-loop system is the signal obtained by comparing the output
with the input.
Feedback can be either positive or negative. Negative feedback tends to increase stability of the
system, whereas positive feedback decreases stability. The systems described previously are all
negative feedback systems. In the heating system, the feedback signal is the output temperature,
which is compared with the reference temperature in the thermostat. In the hypothalamus-pituitary-
gonadal system, the feedback signal is the actual level of gonadal hormone, which is compared with
the normal level at the pituitary. The feedback signal in the predator-prey system is the position of
the prey, which feeds back to the predator’s brain.
2.2 MODELING
Because the dynamics of real systems are quite complex, understanding the impacts of toxicants on
a system can be enhanced by modeling the system. In applying modeling to ecotoxicology, we are
interested in studying a “real-world” system and the effects of various toxicants on that system. The
modeling approach we take in this book is to define the system relationships in terms of quantitative
mechanisms in a model of the system. A model is a necessary abstraction of the real system. For a
model to adequately reflect the behavior of a system perturbed by a toxicant, however, requires a
mechanistic approach to modeling. The level of abstraction is determined by the objectives of the
model. A model designed to give a quick sketch of the dominant effects on a system will require less
realism than one designed to provide accurate predictions of future system behavior.
The modeling process involves three steps: (1) identification of system components and boundar-
ies, (2) identification of component interactions, and (3) characterization of those interactions using
quantitative abstractions of mechanistic processes. Once the model has been defined, it is imple-
mented on a computer. This is the process of simulation (see Section 2.3).
Models can be described in a variety of ways. In this book, we use two approaches: equations
and block diagrams.
2.2.1 Equations
Equations can define the quantitative functional relations among system components as well as rep-
resent the system dynamics, or changes in mass or energy of the system components as functions of
time. Difference equations are used to describe discrete systems whereas differential equations are
used to represent continuous systems. For some applications, where the numerical value of the state
variables remains high, difference equations can approximate continuous systems.
The behavior of models described by the two types of equations depends upon the time step used
in the model, and the difference is usually small for small time steps. This can be seen by a study of
the definition of differential equations.
Definition 2.3: A differential equation is an algebraic equality (equation) that contains either dif-
ferentials or derivatives.
12 Modeling and Simulation in Ecotoxicology with Applications in MATLAB® and Simulink®
y = f(t)
t
t1
FIGURE 2.1 The function y = f(t) showing the derivative of y, which is the slope at the point t1.
Definition 2.4: The derivative of a function f is another function, the differential operator d/dt,
whose value at any time t1 in the domain of f is:
df (t ) f (t + t ) − f (t )
= lim (2.1) ◾
dt 0← t t
In other words, the derivative of the function f(t) is the function at some time, t plus Δt, minus the
function at time t, divided by Δt, and then taking the limit of that function as Δt approaches zero,
provided this limit exists.
Let y = f(t). The derivative dy/dt can be interpreted as the instantaneous rate of change of y with
respect to the independent variable t. The derivative of the function f(t) also can be defined for t1 as
the slope of the tangent to the curve f(t) at t1 (Figure 2.1).
A first-order system (one with a single compartment) can be represented by the general first-order
differential equation:
dy(t )
= f ( y(t ), t ) (2.2)
dt
As pointed out previously, the derivative dy/dt is equivalent to the instantaneous rate of change
of the function f(y(t),t). The following example of a differential equation describes the decrease in
material from a single compartment, or the exponential decay process.
Example 2.1
Here we have an example of the exponential decay function (also called the exponential elimina-
tion function). The exponential decay function can be written as
y (t ) = y0e − rt (2.3)
where yo is the initial value of y at time t = 0 and r is the decay rate constant. The derivative of y
is then defined as the negative rate constant times y:
dy
= −r ⋅ y (2.4)
dt
Principles of Modeling and Simulation 13
100
80
60
y
40
20
0
0 10 20 30 40 50 60
t
(a)
–2
–4
dy/dt
–6
–8
–10
0 10 20 30 40 50 60
t
(b)
FIGURE 2.2 (a) Exponential decay function, y, and (b) its derivative, dy/dx.
Figure 2.2 illustrates the relation between a function and its derivative. Note that the derivative
(rate) takes on the value of zero when the function is parallel to the t axis (zero slope).
There are several ways of classifying differential equations. One way is based on the number of
independent variables. A partial differential equation is one with more than one independent vari-
able. A differential equation with only one independent variable is called an ordinary differential
equation. Each type can have one or more dependent variables. Examples of independent vari-
ables are the Cartesian axes in three-dimensional space and time. Partial derivatives can be used
to model the movement of toxicants in geographical space but are beyond the scope of this text.
A second type of classification of differential equations depends on the way the independent
variable time is treated. If time is expressed explicitly in the differential equation, it is a time-
variable differential equation. A time-invariant differential equation is one that has no terms that
explicitly include time as an independent variable. In other words, time is only expressed in the
derivative of the dependent variable (e.g., dy/dt where t is time).
In the last section we defined linear and nonlinear systems. There is a close correspondence
between systems and differential equations. Linear differential equations can represent linear sys-
tems and nonlinear differential equations can represent nonlinear systems. Just as linear systems
can approximate nonlinear systems under certain conditions, linear differential equations some-
times can approximate nonlinear systems. Even at the point where nonlinearities are included in a
model, a comparison with the dynamics of a linear model can be instructive. A linear differential
equation is one that has no terms that include higher powers, products, or transcendental func-
tions of the dependent variables. Any differential equation that has any such term is a nonlinear
differential equation.
In general, an nth-order linear system can be described by a linear differential equation of
order n:
d ny d n−1y dy
+ a1 + + an−1 + any = f (t ) (2.5)
dt n
dt n−1
dt
where f(t) is a linear input function, with constant coefficients. Equations of an order greater than
one are rarely used in ecological modeling (but see Clark 1971, Innis 1972). If, in Equation 2.5,
14 Modeling and Simulation in Ecotoxicology with Applications in MATLAB® and Simulink®
there is zero input (i.e., f (t) = 0), the equation is said to be homogeneous. In this text, we place the
emphasis on nonhomogeneous, first-order differential equations.
In general, a first-order linear system (i.e., a system with 1 compartment) can be described by
a linear differential equation of order 1:
dy (2.6)
+ ay = f (t )
dt
Example 2.2
Again, let’s look at the example of the exponential elimination function. This time we use the
letter Q for the dependent variable and include the parameter p4, which is the minimum or final
value of Q. The initial value of Q is p5. For our example of an exponential elimination or one-
compartment elimination model, we define the rate of change in the state variable Q with the
differential equation:
dQ
= − p 2(Q − p 4 ) (2.7)
dt
where
p2 = the elimination rate constant, and p4 = the minimum or steady-state value of Q.
where
p5 = the initial value of Q, and the forced response, Qb(t) is
Qb (t ) = p4 1− e − p2t (2.9)
Principles of Modeling and Simulation 15
The total response is the sum of the free response and the forced response:
= p5e − p 2t + p 4[1− e − p 2t ]
(2.10)
= p5e − p 2t + p 4 − p 4e − p 2t
= ( p5 − p 4 )e − p 2t + p 4
We can now plot each part of the solution (Figures 2.3 and 2.4).
1. Initial conditions: Q(0) = 100 and Q(0) = 50. Input, p2 = 0.05, p4 = 10.
Note that starting with two different initial conditions, the free response (a) approaches
zero for both curves, showing that the response only depends upon the initial condition.
The forced response (b) does not change with the different initial conditions but starts at
zero and approaches the value of the parameter p4. The total response is the sum of the
free response and the forced response where the total response shows the different initial
conditions but approaches the p4 value of 10 rather than zero.
2. Initial condition: Q(0) = 100. Input, p2 = 0.05, p4 = 10 and p4 = 20.
In this case, the input, p4, has no effect on the free response, which again approaches zero.
The forced responses approach the two values of p4. The total response for both input
values starts at the initial condition, Q(0) = 100, but each response approaches a different
input value of p4 (Figure 2.4).
100 10 100
Forced Response, Qb
8
Total Response, Q
80 80
Free Response, Qa
60 6 60
40 4 40
20 2 20
0 0 0
0 50 100 0 50 100 0 50 100
t t t
(a) (b) (c)
FIGURE 2.3 Solution to elimination or decay function: (a) free response, (b) forced response, and (c) total
response.
100 20 100
Forced Response, Qb
Free Response, Qa
Total Response, Q
50 10 50
0 0 0
0 50 100 0 50 100 0 50 100
t t t
(a) (b) (c)
FIGURE 2.4 Solution to elimination or decay function: (a) free response, (b) forced response, (c) total
response.
16 Modeling and Simulation in Ecotoxicology with Applications in MATLAB® and Simulink®
QT (t ) = ( p 5 − p 4 )e− p 2 t (2.12)
which approaches zero because as time increases, the exponential function approaches zero. The
steady-state response is the constant p4, which does not approach zero:
Qss = p 4 (2.13)
The total response again is the sum of the transient response and the steady-state response.
By substituting the discrete approximation y(t + 1) – y(t) for the derivative dy/dt, Equation (2.6) now
can be approximated by the difference equation:
dy(t )
≈ y(t + 1) − y(t ) = ay
dt (2.15)
y(t + 1) = y(t ) + ay
To show the close approximation of a difference equation to a differential equation, we plotted the
solution to the differential Equation (2.7) with the difference equation approximation (Figure 2.5).
Principles of Modeling and Simulation 17
100
Difference equation
Differential equation
90
80
Amount Remaining, Q
70
60
50
40
30
20
0 10 20 30 40 50 60 70 80 90 100
Time, t
FIGURE 2.5 Exponential decay function plotted as the numerical solution to a differential equation and as
the difference equation approximation.
dy
Input Control Output dt y = ∫dy/dt
Element
∫dt
(a) (b)
FIGURE 2.6 Block diagram elements: (a) single block with an input and an output, and (b) a block with a
integral operator. The integral operates on the input derivative to create an output y. (From Joseph J. DiStefano
III et al., Feedback and Control Systems 2nd ed. Schaum’s Outline Series. New York: McGraw-Hill, 1990.
With permission from author.)
Summing Takeoff
Point Point
x + x+y x
x
y
FIGURE 2.7 Block diagram summing point and takeoff point. (Modified from Joseph J. DiStefano III, et
al., Feedback and Control Systems 2nd ed. Schaum’s Outline Series. New York: McGraw-Hill, 1990. With
permission from author.)
Disturbance
Control
Actuating Signal or
Reference (Error) Manipulated Controlled
Input Signal Feedforward Variable Output
(Control) Process
+ Elements
±
Feedback
Elements
Feedback Path
FIGURE 2.8 Generalized block diagram. (From Joseph J. DiStefano III, et al., Feedback and Control
Systems 2nd ed. Schaum’s Outline Series, New York: McGraw-Hill, 1990. With permission from author.)
Control signal. The control signal is produced by control elements and acts upon the con-
trolled process.
Feedback elements. The feedback elements are the subsystem components that define the
functional relationship between the controlled output and the primary feedback signal.
Controlled output. The controlled output is usually the state variable used to define the
subsystem.
Primary feedback signal. The primary feedback signal results from the action of the feedback
elements operating on the controlled output. The signal is compared with the reference
input at the summing point.
Reference input. The reference input is an external stimulus to the subsystem. The reference
input is compared with the primary feedback signal at the summing point.
Actuating signal. This signal is the input from the summing point to the control elements and
results from the summation of the reference input and the primary feedback signal.
Disturbance. Disturbance inputs are external environmental variables or toxic perturbations.
These inputs can affect the controlled system directly or indirectly through the effects on
other system components.
In Sections 2.1.3 and 2.1.4, we described three examples of negative feedback control systems,
a thermostat, the hypothalamus-pituitary-thyroid system, and a predator behavior system. The fol-
lowing examples illustrate these systems using block diagrams
A block diagram for a thermostat is shown in Figure 2.9 (DiStefano et al. 1990).
In the thermostat model, the controlled output is the actual room temperature. The reference
input is the temperature that is set to the desired, or reference, temperature. The actual room tem-
perature then becomes a feedback signal in a negative feedback loop. The reference temperature
and the actual temperature are compared in a summing point (thermostat) to generate an actuat-
ing signal. If the set temperature is higher than the actual temperature, the actuating signal will be
positive so the control element (furnace) is actuated (turned on). The control signal, or manipulated
variable, is the heat from the furnace, which raises the room temperature. When the actual room
temperature exceeds the set temperature, the actuating signal now is negative and the furnace
turns off.
20 Modeling and Simulation in Ecotoxicology with Applications in MATLAB® and Simulink®
Actual
Thermostat Enclosure
Heat Enclosure Temperature
+
Furnace Environment
_ Temperature
Reference
Temperature
(Set Point)
FIGURE 2.9 Block diagram for a thermostat. (From Joseph J. DiStefano III, et al., Feedback and Control
Systems 2nd ed. Schaum’s Outline Series. New York: McGraw-Hill, 1990. With permission from author.)
FIGURE 2.10 Block diagram for the hypothalamus-pituitary-thyroid control system. (From Joseph J.
DiStefano III, et al., Feedback and Control Systems 2nd ed. Schaum’s Outline Series. New York: McGraw-
Hill, 1990. With permission from author.)
+ Predator Predator
Brain Legs, Feet,
Prey _ and Claws Predator
Location Location
FIGURE 2.11 Block diagram for a predator behavior control system. (Modified from Joseph J. DiStefano
III, et al., Feedback and Control Systems 2nd ed. Schaum’s Outline Series, New York: McGraw-Hill, 1990.
With permission from author.)
Block diagrams can also be used to model animal behavior. In this example, we model the behav-
ior of a predator as it hunts its prey (Figure 2.11).
In this system, the controlled output is the location of the predator. The reference input is the
location of the prey. The relative distance between the two locations is an actuating signal pro-
cessed by the predator’s brain. The predator’s brain sends a control signal to the predator’s legs,
feet, and claws to move the predator closer to the prey. The distance is continually monitored and
the predator adjusts his position until he is able to attack the prey.
Principles of Modeling and Simulation 21
Definition 2.5: A random variable is a variable that takes on values with some relative frequency.
In this way of classifying models, those with random (stochastic) variables are called stochastic
models and those without are called deterministic models. Random variables are used to represent
the random variation or “unexplained” variation in the state variables. We describe stochastic mod-
els more fully in Chapter 4.
2.3 SIMULATION
Once we have a model defined in quantitative terms, the next step in using the model in the study
of systems is simulation. We use simulation to obtain the system output as a function of time, or the
time response of the system. We do this by exercising the model on a computer.
There are many things to consider before a simulation can be performed. These include determin-
ing the type of computer and programming language, cost of running the computer, the data needed for
model parameters, and availability of expertise for the design and analysis of simulation experiments.
The types of computers available for simulation are analog, digital, and hybrids of analog and
digital computers. Digital computers are the most widely used in simulation, including applications
Random documents with unrelated
content Scribd suggests to you:
The Project Gutenberg eBook of Madame
Goubaud's pillow lace patterns, and
instructions in Honiton lace making
This ebook is for the use of anyone anywhere in the United States
and most other parts of the world at no cost and with almost no
restrictions whatsoever. You may copy it, give it away or re-use it
under the terms of the Project Gutenberg License included with this
ebook or online at www.gutenberg.org. If you are not located in the
United States, you will have to check the laws of the country where
you are located before using this eBook.
Language: English
Price 6d., postage 1d. For Young Ladies at School & Home.
NEEDLEWORK INSTRUCTION BOOKS.
Madame Goubaud’s Berlin Work Instructions.
Madame Goubaud’s Embroidery Instructions.
Madame Goubaud’s Crochet Instructions.
BABY LINEN.
French Wove
CORSETS,
10s. 6d.
GIRLS’ HATS,
from 8s. 6d.
BERCEAUNETTE in Pretty Rose-bud Chintz, 30s.
Muslin and Lace, like Drawing, 50s. Fully fitted, £3
10s.
ADDLEY BOURNE,
37, PICCADILLY, W.
“Nowhere beats the heart more kindly
Than underneath the Tartan Plaid.”
INSTRUCTIONS
IN
NUMEROUS ILLUSTRATIONS.
LONDON:
WARD, LOCK, AND TYLER,
WARWICK HOUSE, PATERNOSTER ROW
PREFACE.
PAGE.
Appliqué, Honiton 52
Baby Cue 21
Beading or Chain 44
Braid Work 11
Butterfly 35
Cross Cottons, To 32
Cue 21
Devonshire Turn 19
Diamond Fillings, To Join 42
Double Stitch, A 36
Fern Sprig 47
Half Stitch 18
Honiton Guipure Lace 51
Honiton Lace Stitch 20
Lace Pillows 9
Lappet, Lace 49
Lerd Works or Fillings 38
” Diamonds 40
” Square 42
Maltese Cross 17
Materials Required for Lace Working 9
Old Violet Sprig 31
One Rose Border 25
Passements 11, 13, 15
Purl Edge 28
Purl Pin 28
Purl Pin for Groundwork 30
Raised Work 36
Rose Border 23
Rose Sprig 33
Rose, Shamrock, and Thistle Sprig 43
Sewings 24
Small One Rose Sprig 37
Snatch Pin 26
Spade Border 41
Sprigs, Making up The 48
Stem Work 34
Stem Work and Leaves 17
The Tulip Sprig 29
Throwing and Tying 24
To Form a Pattern 22
To Join 38
Trefoil Pattern 45
Turkey Tail 27
Whole Stitch 16
PILLOW LACE.
The materials required for Honiton Pillow Lace work are neither
numerous nor expensive. A pillow, two dozen bobbins, some lace
thread, a needle-pin, a pair of blunt scissors, and a few pricked
patterns or passements, and lace pins are all the requisites for this
useful and beautiful work.
The pillows are made and sold at moderate prices by Mrs. Mitchell,
a Devonshire lace worker, at Long Dean-street room in the Soho
Bazaar, Oxford-street. Mrs. Mitchell supplies bobbins, thread,
passements, and all requisites, as well as gives lessons in pillow-lace
making. The pillows can be obtained with plain or handsome covers
and cloths, and with wooden, ivory, or ornamental bobbins. Learners
will find it useful to have their leading bobbins ornamented, in
distinction to the plain, until they have acquired the art of working
Honiton lace.
For braid-work Mecklenburg thread is used; No. 8 is a useful size
to begin with for Honiton lace, No. 8 and 12 or 14 for very fine work;
No. 8 is quite fine enough for beginners to manage.
The pillows are always sent out fitted up, but to change one
design for another proceed as follows:—
Unpin the cloths, remove the passement; firmly pin down the new
passement with plain, not lace, pins; replace the cloths, attach the
bobbins to a pin about three-quarters of an inch from the place
intended to begin at, divide the bobbins into three parts, and loosely
plait down to the first pinhole, insert a pin and work on as before.
No. 1.—Braid-work.
No. 3.—Braid-work.
The first lesson usually given in pillow lace making is the braid
work; the learner is at first puzzled by the number of fine bobbins,
but if it is remembered that only four are used together, and that the
plain or whole stitch is only weaving or plaiting across and back
again, the difficulty vanishes.
Braid Work.
Mecklenburg linen thread, No. 8, six pairs of bobbins. For braid
work three pairs of leaders are required. One pair of leaders remains
on each side separated by a pin; work across and back again with
the third pair thus:—Work across, twist, make a stitch, twist twice,
pin, work back, twist twice, make stitch, twist twice, pin, and repeat
as before.
The lace pins are made expressly for the lace-workers in
Devonshire, and are sold in the old-fashioned paper rows.
Half Stitch.
Mark the bobbins 1, 2, 3, 4, as for whole stitch. Pass No. 3
between Nos. 1 and 2, pass No. 1 over No. 3, pass No. 2 over No. 4,
leaving No. 4 alone, and continue with the next bobbins as in
learning whole stitch. It will be observed that half stitch is worked
like whole stitch except the last movement of passing No. 4 between
Nos. 3 and 1; to this omission the stitch owes its name. Half stitch is
used largely for the lighter parts of Honiton lace, and is shown mixed
in the rose, page 43.
Devonshire Turn or Wheel
To wind the threads on the bobbins a turn or wheel is used. No.
10 shows a Devonshire turn. The thread or cotton is always wound
from right to left, and a loop is made to prevent the bobbin from
unwinding. On gentle pressure the thread unwinds, but will hang in
place perfectly if the loop is made properly. All the bobbins should be
kept at the same length from the pillow to which they are attached.
To Take Up a Sewing.
To perform this delicate operation a needle-pin is required; this
needle-pin is a fine long needle placed in a wooden handle. The real
Devonshire needle-pin is said to be a No. 8 needle stuck in a lucifer-
match.
With the needle-pin draw the thread through the edge of the lace,
pass the nearest bobbin through the loop thus formed, tie, and work
on as before.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookfinal.com