Insight diagram
Simulation of MTBF with controls

F(t) = 1 - e ^ -λt 
Where  
• F(t) is the probability of failure  
• λ is the failure rate in 1/time unit (1/h, for example) 
• t is the observed service life (h, for example)

The inverse curve is the trust time
On the right the increase in failures brings its inverse which is loss of trust and move into suspicion and lack of confidence.
This can be seen in strategic social applications with those who put economy before providing the priorities of the basic living infrastructures for all.

This applies to policies and strategic decisions as well as physical equipment.
A) Equipment wears out through friction and preventive maintenance can increase the useful lifetime, 
B) Policies/working practices/guidelines have to be updated to reflect changes in the external environment and eventually be replaced when for instance a population rises too large (constitutional changes are required to keep pace with evolution, e.g. the concepts of the ancient Greeks, 3000 years ago, who based their thoughts on a small population cannot be applied in 2013 except where populations can be contained into productive working communities with balanced profit and loss centers to ensure sustainability)

Early Life
If we follow the slope from the leftmost start to where it begins to flatten out this can be considered the first period. The first period is characterized by a decreasing failure rate. It is what occurs during the “early life” of a population of units. The weaker units fail leaving a population that is more rigorous.

Useful Life
The next period is the flat bottom portion of the graph. It is called the “useful life” period. Failures occur more in a random sequence during this time. It is difficult to predict which failure mode will occur, but the rate of failures is predictable. Notice the constant slope.  

Wearout
The third period begins at the point where the slope begins to increase and extends to the rightmost end of the graph. This is what happens when units become old and begin to fail at an increasing rate. It is called the “wearout” period. 
Clone of BATHTUB MEAN TIME BETWEEN FAILURE (MTBF) RISK
Insight diagram
•Wet Period Case
–30 years of historical wet period on record (1974-2004)-including wettest years on record 1974-1983.
–Represents the wet period case
–Corresponds to wet cycle of AMO
Clone of EA wet conditions 1974-2004
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 Clone of Clone of Estuarine salinity 1 box model (J. Gomes Ferreira)
Insight diagram
Simple mass balance model for lakes, based on the Vollenweider equation:

dMw/dt = Min - sMw - Mout

The model was first used in the 1960s to determine the phosphorus concentration in lakes and reservoirs, for eutrophication assessment.
Clone of Vollenweider model
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 Model of Palestine water demand and supply in 40 years without input from desalination process
Insight diagram
Simple mass balance model for lakes, based on the Vollenweider equation:

dMw/dt = Min - sMw - Mout

The model was first used in the 1960s to determine the phosphorus concentration in lakes and reservoirs, for eutrophication assessment.
Clone of Clone of Clone of Vollenweider model
Insight diagram
Very simple model demonstrating growth of phytoplankton using Steele's equation for potential production and Michaelis-Menten equation for nutrient limitation.

Both light and nutrients (e.g. nitrogen) are modelled as forcing functions, and the model is "over-calibrated" for stability.

The phytoplankton model approximately reproduces the spring-summer diatom bloom and the (smaller) late summer dinoflagellate bloom.
 
Oyster growth is modelled only as a throughput from algae. Further developments would include filtration as a function of oyster biomass, oyster mortality, and other adjustments.
Clone of Simple phytoplankton and oyster model
Insight diagram
Two households with PV systems and Electric Vehicles, sharing a battery and connected to the grid. What are the advantages?


Clone of Vehicle to Grid Simulation
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
HANDY Model of Societal Collapse from Ecological Economics Paper 
see also D Cunha's model at IM-15085
Clone of Human and Nature Dynamics of Societal Inequality
Insight diagram
Simple mass balance model for lakes based on the Vollenweider equation:

dMw/dt = Min - sMw + pMs - Mout

The model was first used in the 1960s to determine the phosphorus concentration in lakes and reservoirs for eutrophication assessment.

This version considers mercury, and adds diagenesis, using an extra state variable (mercury in the sediment), and incorporates desorption processes that release mercury trapped in the sediment back to the water column.

The temporal dynamics of the model simulate the typical development of pollution in time.

1. Low loading, low Hg concentration in lake
2. High loading, increasing Hg concentration in lake
3. Desorption rate is low, Hg in sediment increases
4. Measures implemented for source control, loading reduces
5. Hg in lake gradually decreases, but below a certain point, desorption increases, and lake Hg concentration does not improve
6. Recovery only occurs when the secondary load in the sediment is strongly reduced.
Clone of Mercury pollution model with diagenesis
Insight diagram
Simulate an impact of an asteroid of any Diameter at any given Speed!
Clone of Asteroid impact simulator
Insight diagram
Students in ENVS 270 Online at the University of Arizona: please click Clone Insight at the top to make an editable copy of this model.

As initially proposed by Pr. William M White of Cornell University:

http://www.geo.cornell.edu/eas/education/course/descr/EAS302/302_06Lab11.pdf
http://www.eas.cornell.edu/
Clone of Clone of Global Carbon Cycle - For ENVS 270 Online
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 Clone of Oyster Growth based on Phytoplankton Biomass
Insight diagram
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

Clone of Midterm - Power Model
Insight diagram
Primitives for Watershed modeling project. Click Clone Insight at the top right to make a copy that you can edit.

The converter in this file contains precipitation for Tucson only. Tucson watersheds are Arroyo Chico, Canada Agua, and Lower Canada del Oro.
Clone of Clone of Primitives for Rainwater Harvesting -Tucson ENVS 270 F21
Insight diagram
THE BROKEN LINK BETWEEN SUPPLY AND DEMAND CREATES TURBULENT CHAOTIC DESTRUCTION

The existing global capitalistic growth paradigm is totally flawed

Growth in supply and productivity is a summation of variables as is demand ... when the link between them is broken by catastrophic failure in a component the creation of unpredictable chaotic turbulence puts the controls ito a situation that will never return the system to its initial conditions as it is STIC system (Lorenz)

The chaotic turbulence is the result of the concept of infinite bigness this has been the destructive influence on all empires and now shown up by Feigenbaum numbers and Dunbar numbers for neural netwoirks

See Guy Lakeman Bubble Theory for more details on keeping systems within finite working containers (villages communities)

Clone of THE BROKEN LINK BETWEEN SUPPLY AND DEMAND CREATES CHAOTIC TURBULENCE (+controls)
Insight diagram
Simple mass balance model for lakes, based on the Vollenweider equation:

dMw/dt = Min - sMw - Mout

The model was first used in the 1960s to determine the phosphorus concentration in lakes and reservoirs, for eutrophication assessment.
Clone of Vollenweider model
Insight diagram
M.Sc. in Environmental Engineering SIMA 2018
New University of Lisbon, Portugal

 Model to represent oyster individual growth by simulating feeding and metabolism. Model (i) partitions metabolic costs into feeding and fasting catabolism; (ii) adds allometry to clearance rate; (iii) adds temperature dependence to clearance rate; (iv) illustrates how clearance rate per gram is used if we multiply by the oyster biomass
SIMA 2018 full
Insight diagram
Simple Model of the Food Chain
Clone of Food Chain
Insight diagram
Clone of Plastic Pollution Solution Revolution
Insight diagram
Simulation of MTBF with controls

F(t) = 1 - e ^ -λt 
Where  
• F(t) is the probability of failure  
• λ is the failure rate in 1/time unit (1/h, for example) 
• t is the observed service life (h, for example)

The inverse curve is the trust time
On the right the increase in failures brings its inverse which is loss of trust and move into suspicion and lack of confidence.
This can be seen in strategic social applications with those who put economy before providing the priorities of the basic living infrastructures for all.

This applies to policies and strategic decisions as well as physical equipment.
A) Equipment wears out through friction and preventive maintenance can increase the useful lifetime, 
B) Policies/working practices/guidelines have to be updated to reflect changes in the external environment and eventually be replaced when for instance a population rises too large (constitutional changes are required to keep pace with evolution, e.g. the concepts of the ancient Greeks, 3000 years ago, who based their thoughts on a small population cannot be applied in 2013 except where populations can be contained into productive working communities with balanced profit and loss centers to ensure sustainability)

Early Life
If we follow the slope from the leftmost start to where it begins to flatten out this can be considered the first period. The first period is characterized by a decreasing failure rate. It is what occurs during the “early life” of a population of units. The weaker units fail leaving a population that is more rigorous.

Useful Life
The next period is the flat bottom portion of the graph. It is called the “useful life” period. Failures occur more in a random sequence during this time. It is difficult to predict which failure mode will occur, but the rate of failures is predictable. Notice the constant slope.  

Wearout
The third period begins at the point where the slope begins to increase and extends to the rightmost end of the graph. This is what happens when units become old and begin to fail at an increasing rate. It is called the “wearout” period. 
Clone of Clone of BATHTUB MEAN TIME BETWEEN FAILURE (MTBF) RISK
Insight diagram
From Schluter et al 2017 article A framework for mapping and comparing behavioural theories in models of social-ecological systems COMSeS2017 video. See also Balke and Gilbert 2014 JASSS article How do agents make decisions? (recommended by Kurt Kreuger U of S)
Clone of Modelling human behaviour (MoHuB)