Insight diagram

This stock and flow diagram is a working draft of a conceptual model of a dune-lake system in the Northland region of New Zealand.

Clone of Stock and flow diagram of phosphorus in a shallow lake
Insight diagram
Allison Zembrodt's Model

This model illustrates predator prey interactions using real-life data of wolf and moose populations on the Isle Royale.

We incorporate logistic growth into the moose dynamics, and we replace the death flow of the moose with a kill rate modeled from the kill rate data found on the Isle Royale website.

I start with these parameters:
Wolf Death Rate = 0.15
Wolf Birth Rate = 0.0187963
Moose Birth Rate = 0.4
Carrying Capacity = 2000
Initial Moose: 563
Initial Wolves: 20

I used RK-4 with step-size 0.1, from 1959 for 60 years.

The moose birth flow is logistic, MBR*M*(1-M/K)
Moose death flow is Kill Rate (in Moose/Year)
Wolf birth flow is WBR*Kill Rate (in Wolves/Year)
Wolf death flow is WDR*W

equations I used in kill rate :

power model - 12*0.1251361120909615*([Moose]/[Wolves])^.44491970277839954*[Wolves]


Kill rate sqrt = 12*(0.0933207+.0873463*([Moose]/[Wolves])^.5)*[Wolves]


Holling Type III - ((0.986198*([Moose]/[Wolves])^2)/ (601.468 +([Moose]/[Wolves])^2))*[Wolves]*12


linear - 12*[Wolves]*(.400271+.00560299([Moose]/[Wolves]))


Clone of Final Midterm Student version of A More Realistic Model of Isle Royale: Predator Prey Interactions
Insight diagram
Ganges Risk Mind Map
Insight diagram
Clone of Clone of Group 1 Project
Insight diagram
Lynx vs Hares
Insight diagram
A system dynamics model of a predator-prey lifecycle relationship




Clone of Predator-Prey relationship
Insight diagram
This model implements the equations proposed by Ketchum in 1954. The rationale behind the concept is that only phytoplankton that grows above a certain rate will not be flushed out of an estuary.

For biological processes:

Pt  =  Po exp(kt)

Where Pt is the phytoplankton biomass at time t, Po is the initial biomass, and k is the growth rate.

For physical processes:

Pm  =  Po (1-r)^m

Where Pm is the phytoplankton biomass after m tidal cycles, and r is the exchange ratio (proportion of estuary water which does not return each tidal cycle).

By substitution, and replacing t by m in the first equation, we get:

Pm = Poexp(km).(1-r)^m

For phytoplankton to exist in an estuary, Pm = Po (at least), i.e. 1 / (1-r)^m = exp(km)
ln(1) - m.ln(1-r) = km
-m.ln(1-r) = km
k = -ln(1-r)

Ketchum (1954) Relation between circulation and planktonic populations in estuaries. Ecology 35: 191-200.

In 2005, Ferreira and co-workers showed that this balance has direct implications on biodiversity of estuarine phytoplankton, and discussed how this could be relevant for water management, in particular for the EU Water Framework Directive 60/2000/EC (Ecological Modelling, 187(4) 513-523).
Clone of Phytoplankton blooms in estuaries
Insight diagram
This model is a classic simulation of the production cycle in the ocean, including the effects of the thermocline in switching off advection of dissolved nutrients and detritus to the surface layer.

It illustrates a number of interesting features including the coupling of three state variables in a closed cycle, the use of time to control the duration of advection, and the modulus function for cycling annual temperature data over multiple years.

The model state variables are expressed in nitrogen units (mg N m-3), and the calibration is based on:

Baliño, B.M. 1996. Eutrophication of the North Sea, 1980-1990: An evaluation of anthropogenic nutrient inputs using a 2D phytoplankton production model. Dr. scient. thesis, University of Bergen.
 
Fransz, H.G. & Verhagen, J.H.G. 1985. Modelling Research on the Production Cycle of Phytoplankton in the Southern Bight of the Northn Sea in Relation to Riverborne Nutrient Loads. Netherlands Journal of Sea Research 19 (3/4): 241-250.

This model was first implemented in PowerSim some years ago by one of my M.Sc. students, who then went on to become a Buddhist monk. Although this is a very Zen model, as far as I'm aware, the two facts are unrelated.
Clone of NPD model (Nutrients, Phytoplankton, Detritus)
Insight diagram
This model implements the one-dimensional version of the advection-dispersion equation for an estuary. The equation is:

dS/dt = (1/A)d(QS)/dx - (1/A)d(EA)/dx(dS/dx) (Eq. 1)

Where S: salinity (or any other constituent such as chlorophyll or dissolved oxygen), (e.g. kg m-3); t: time (s); A: cross-sectional area (m2); Q: river flow (m3 s-1); x: length of box (m); E: dispersion coefficient (m2 s-1).

For a given length delta x, Adx = V, the box volume. For a set value of Q, the equation becomes:

VdS/dt = QdS - (d(EA)/dx) dS (Eq. 2)

EA/x, i.e. (m2 X m2) / (m s) = E(b), the bulk dispersion coefficient, units in m3 s-1, i.e. a flow, equivalent to Q

At steady state, dS/dt = 0, therefore we can rewrite Eq. 2 for one estuarine box as:

Q(Sr-Se)=E(b)r,e(Sr-Se)-E(b)e,s(Se-Ss) (Eq. 3)

Where Sr: river salinity (=0), Se: mean estuary salinity; Ss: mean ocean salinity

E(b)r,e: dispersion coefficient between river and estuary, and E(b)e,s: dispersion coefficient between the estuary and ocean.

By definition the value of E(b)r,e is zero, otherwise we are not at the head (upstream limit of salt intrusion) of the estuary. Likewise Sr is zero, otherwise we're not in the river. Therefore:

QSe=E(b)e,s(Se-Ss) (Eq. 4)

At steady state

E(b)e,s = QSe/(Se-Ss) (Eq 5)

The longitudinal dispersion simulates the turbulent mixiing of water in the estuary during flood and ebb, which supplies salt water to the estuary on the flood tide, and make the sea a little more brackish on the ebb.

You can use the slider to turn off dispersion (set to zero), and see that if the tidal wave did not mix with the estuary water due to turbulence, the estuary would quickly become a freshwater system.
Clone of Estuarine salinity 1 box model (J. Gomes Ferreira)
Insight diagram
This diagram provides a stylised description of important feedbacks within a shallow-lake system.

Feedbacks in a shallow lake
Insight diagram
Diagrams of theories of control of destiny at multiple scales as fundamental causes of social determinants of health from Whitehead 2016 article in Health and Place
Control over decisions and health inequalities at multiple scales of experience
Insight diagram
Simple model to illustrate oyster growth based on primary production of Phytoplankton as a state variable, forced by light and nutrients, running for a yearly period.

Phytoplankton growth based on on Steele's and Michaelis-Menten equations), where: 

Primary Production=(([Pmax]*[I]/[Iopt]*exp(1-[I]/[Iopt])*[S])/([Ks]+[S]))

Pmax: Maximum production (d-1)
I: Light energy at depth of interest (uE m-2 s-1)
Iopt: Light energy at which Pmax occurs (uE m-2 s-1)
S: Nutrient concentration (umol N L-1)
Ks: Half saturation constant for nutrient (umol N L-1).

Further developments:
- Nutrients as state variable in cycle with detritus from phytoplankton and oyster biomass.
- Light limited by the concentration of phytoplankton.
- Temperature effect on phytoplankton and Oyster growth.


Clone of Oyster Growth based on Phytoplankton Biomass
Insight diagram
This model prototypes the working of an Smart Grid with Electric Vehicles

The objective is testing the theoretical advantages of batteries (also batteries in Electric Vehicles) in combination with renewable energies. The model considers two houses, that store energy both in Electric Vehicles (Vehicle to Grid), and in a communal battery.

Except when specified otherwise, the units of all variables are expressed in W/h.

Press "Story" in the lower bar for a guided tour over the model. Better seen at 50% zoom.

by Carlos Varela (cvarela@gmx.at)
Clone of Vehicle to Smart Grid - Prototype
Insight diagram
This model implements the one-dimensional version of the advection-dispersion equation for an estuary. The equation is:

dS/dt = (1/A)d(QS)/dx - (1/A)d(EA)/dx(dS/dx) (Eq. 1)

Where S: salinity (or any other constituent such as chlorophyll or dissolved oxygen), (e.g. kg m-3); t: time (s); A: cross-sectional area (m2); Q: river flow (m3 s-1); x: length of box (m); E: dispersion coefficient (m2 s-1).

For a given length delta x, Adx = V, the box volume. For a set value of Q, the equation becomes:

VdS/dt = QdS - (d(EA)/dx) dS (Eq. 2)

EA/x, i.e. (m2 X m2) / (m s) = E(b), the bulk dispersion coefficient, units in m3 s-1, i.e. a flow, equivalent to Q

At steady state, dS/dt = 0, therefore we can rewrite Eq. 2 for one estuarine box as:

Q(Sr-Se)=E(b)r,e(Sr-Se)-E(b)e,s(Se-Ss) (Eq. 3)

Where Sr: river salinity (=0), Se: mean estuary salinity; Ss: mean ocean salinity

E(b)r,e: dispersion coefficient between river and estuary, and E(b)e,s: dispersion coefficient between the estuary and ocean.

By definition the value of E(b)r,e is zero, otherwise we are not at the head (upstream limit of salt intrusion) of the estuary. Likewise Sr is zero, otherwise we're not in the river. Therefore:

QSe=E(b)e,s(Se-Ss) (Eq. 4)

At steady state

E(b)e,s = QSe/(Se-Ss) (Eq 5)

The longitudinal dispersion simulates the turbulent mixiing of water in the estuary during flood and ebb, which supplies salt water to the estuary on the flood tide, and make the sea a little more brackish on the ebb.

You can use the slider to turn off dispersion (set to zero), and see that if the tidal wave did not mix with the estuary water due to turbulence, the estuary would quickly become a freshwater system.
Clone of Estuarine salinity 1D model
Insight diagram
This model uses simple functions (converters, cosine) to simulate the water balance inside a reservoir.
Clone of Water balance in a reservoir
Insight diagram
A basic model of the short-term carbon cycle.
Short-term Carbon Cycle
Insight diagram
European Masters in System Dynamics 2016
New University of Lisbon, Portugal

 Model to represent oyster individual growth by simulating feeding and metabolism. Builds on the core model in three ways: (i) partitions metabolic costs into feeding and fasting catabolism; (ii) adds allometry to clearance rate; (iii) adds temperature dependence to clearance rate.
EMSD 2016 full
Insight diagram
This model is a classic simulation of the production cycle in the ocean, including the effects of the thermocline in switching off advection of dissolved nutrients and detritus to the surface layer.

It illustrates a number of interesting features including the coupling of three state variables in a closed cycle, the use of time to control the duration of advection, and the modulus function for cycling annual temperature data over multiple years.

The model state variables are expressed in nitrogen units (mg N m-3), and the calibration is based on:

Baliño, B.M. 1996. Eutrophication of the North Sea, 1980-1990: An evaluation of anthropogenic nutrient inputs using a 2D phytoplankton production model. Dr. scient. thesis, University of Bergen.
 
Fransz, H.G. & Verhagen, J.H.G. 1985. Modelling Research on the Production Cycle of Phytoplankton in the Southern Bight of the Northn Sea in Relation to Riverborne Nutrient Loads. Netherlands Journal of Sea Research 19 (3/4): 241-250.

This model was first implemented in PowerSim some years ago by one of my M.Sc. students, who then went on to become a Buddhist monk. Although this is a very Zen model, as far as I'm aware, the two facts are unrelated.
Clone of NPD model (Nutrients, Phytoplankton, Detritus)
Insight diagram
Teilmodell für die Umweltbelastung mit den Parametern Schadstoffeintrag, Erholungsrate und Schadschwelle.
Teilmodell Umweltbelastung
Insight diagram
This model describes the flow of energy from generation to consumption for neighborhoods in the metro Atlanta area. It also calculates the cost of energy production and the number of years it will take to recover that cost.
Clone of Microgrid with storage
Insight diagram
This model implements the one-dimensional version of the advection-dispersion equation for an estuary. The equation is:

dS/dt = (1/A)d(QS)/dx - (1/A)d(EA)/dx(dS/dx) (Eq. 1)

Where S: salinity (or any other constituent such as chlorophyll or dissolved oxygen), (e.g. kg m-3); t: time (s); A: cross-sectional area (m2); Q: river flow (m3 s-1); x: length of box (m); E: dispersion coefficient (m2 s-1).

For a given length delta x, Adx = V, the box volume. For a set value of Q, the equation becomes:

VdS/dt = QdS - (d(EA)/dx) dS (Eq. 2)

EA/x, i.e. (m2 X m2) / (m s) = E(b), the bulk dispersion coefficient, units in m3 s-1, i.e. a flow, equivalent to Q

At steady state, dS/dt = 0, therefore we can rewrite Eq. 2 for one estuarine box as:

Q(Sr-Se)=E(b)r,e(Sr-Se)-E(b)e,s(Se-Ss) (Eq. 3)

Where Sr: river salinity (=0), Se: mean estuary salinity; Ss: mean ocean salinity

E(b)r,e: dispersion coefficient between river and estuary, and E(b)e,s: dispersion coefficient between the estuary and ocean.

By definition the value of E(b)r,e is zero, otherwise we are not at the head (upstream limit of salt intrusion) of the estuary. Likewise Sr is zero, otherwise we're not in the river. Therefore:

QSe=E(b)e,s(Se-Ss) (Eq. 4)

At steady state

E(b)e,s = QSe/(Se-Ss) (Eq 5)

The longitudinal dispersion simulates the turbulent mixiing of water in the estuary during flood and ebb, which supplies salt water to the estuary on the flood tide, and make the sea a little more brackish on the ebb.

You can use the slider to turn off dispersion (set to zero), and see that if the tidal wave did not mix with the estuary water due to turbulence, the estuary would quickly become a freshwater system.
Clone of Estuarine salinity 1 box model (J. Gomes Ferreira)
Insight diagram
​ This model is used in a world studies extended essay research. The research question is: In what ways would the water desalination method used in Singapore benefit   water-stressed and economically less developed countries, using Palestine as a case study.
This model retrieved data on Palestine water resources from Authority, Palestinian Water. "Annual status report on water resources, water supply, and wastewater in the occupied State of Palestine 2011." Palestinian Water Authority, Ramallah 13 (2012) 
Data for Singapore desalination process is taken from PUB, Singapore Water Agency, "Singapore Water Story." PUB, Singapore's National Water Agency. N.p., n.d. Web. 25 Feb. 2017.
Data for Palestine population growth was taken from World Bank. World Bank. "West Bank and Gaza Home." The World Bank. N.p., n.d. Web. 25 Feb. 2017.
This model assumes that Palestine population will grow at 2.92% (World Bank, 2015) and average domestic consumption is 90 litres per capita per day(Palestine Water Authority, 2012). This model does not take into account growing demands for industrial and agricultural sector. It also does not show the impact of climate change on Palestine natural water resources.


Clone of Clone of Model of Palestine water demand and supply in 40 years without input from desalination process
Insight diagram
This model implements the one-dimensional version of the advection-dispersion equation for an estuary. The equation is:

dS/dt = (1/A)d(QS)/dx - (1/A)d(EA)/dx(dS/dx) (Eq. 1)

Where S: salinity (or any other constituent such as chlorophyll or dissolved oxygen), (e.g. kg m-3); t: time (s); A: cross-sectional area (m2); Q: river flow (m3 s-1); x: length of box (m); E: dispersion coefficient (m2 s-1).

For a given length delta x, Adx = V, the box volume. For a set value of Q, the equation becomes:

VdS/dt = QdS - (d(EA)/dx) dS (Eq. 2)

EA/x, i.e. (m2 X m2) / (m s) = E(b), the bulk dispersion coefficient, units in m3 s-1, i.e. a flow, equivalent to Q

At steady state, dS/dt = 0, therefore we can rewrite Eq. 2 for one estuarine box as:

Q(Sr-Se)=E(b)r,e(Sr-Se)-E(b)e,s(Se-Ss) (Eq. 3)

Where Sr: river salinity (=0), Se: mean estuary salinity; Ss: mean ocean salinity

E(b)r,e: dispersion coefficient between river and estuary, and E(b)e,s: dispersion coefficient between the estuary and ocean.

By definition the value of E(b)r,e is zero, otherwise we are not at the head (upstream limit of salt intrusion) of the estuary. Likewise Sr is zero, otherwise we're not in the river. Therefore:

QSe=E(b)e,s(Se-Ss) (Eq. 4)

At steady state

E(b)e,s = QSe/(Se-Ss) (Eq 5)

The longitudinal dispersion simulates the turbulent mixiing of water in the estuary during flood and ebb, which supplies salt water to the estuary on the flood tide, and make the sea a little more brackish on the ebb.

You can use the slider to turn off dispersion (set to zero), and see that if the tidal wave did not mix with the estuary water due to turbulence, the estuary would quickly become a freshwater system.
Clone of Estuarine salinity 1D model
Insight diagram
Collapse of the economy, not just recession, is now very likely. To give just one possible cause, in the U.S. the fracking industry is in deep trouble. It is not only that most fracking companies have never achieved a free cash flow (made a profit) since the fracking boom started in 2008, but that  an already very weak  and unprofitable oil industry cannot cope with extremely low oil prices. The result will be the imminent collapse of the industry. However, when the fracking industry collapses in the US, so will the American economy – and by extension, probably, the rest of the world economy. To grasp a second and far more serious threat it is vital to understand the phenomenon of ‘Global Dimming’. Industrial activity not only produces greenhouse gases, but emits also sulphur dioxide which converts to reflective sulphate aerosols in the atmosphere. Sulphate aerosols act like little mirrors that reflect sunlight back into space, cooling the atmosphere. But when economic activity stops, these aerosols (unlike carbon dioxide) drop out of the atmosphere, adding perhaps as much as 1° C to global average temperatures. This can happen in a very short period time, and when it does mankind will be bereft of any means to mitigate the furious onslaught of an out-of-control and merciless climate. The data and the unrelenting dynamic of the viral pandemic paint bleak picture.  As events unfold in the next few months,  we may discover that it is too late to act,  that our reign on this planet has, indeed,  come to an abrupt end?  
Covid 19 - irreversible and catastrophic consequences