The simulation integrates or sums (INTEG) the Nj population, with a change of Delta N in each generation, starting with an initial value of 5. The equation for DeltaN is a version of  Nj+1 = Nj  + mu (1- Nj / Nmax ) Nj  the maximum population is set to be one million, and the growth rate constant mu
The simulation integrates or sums (INTEG) the Nj population, with a change of Delta N in each generation, starting with an initial value of 5.
The equation for DeltaN is a version of 
Nj+1 = Nj  + mu (1- Nj / Nmax ) Nj
the maximum population is set to be one million, and the growth rate constant mu = 3.
 
Nj: is the “number of items” in our current generation.

Delta Nj: is the “change in number of items” as we go from the present generation into the next generation. This is just the number of items born minus the number of items who have died.

mu: is the growth or birth rate parameter, similar to that in the exponential growth and decay model. However, as we extend our model it will no longer be the actual growth rate, but rather just a constant that tends to control the actual growth rate without being directly proportional to it.

F(Nj) = mu(1‐Nj/Nmax): is our model for the effective “growth rate”, a rate that decreases as the number of items approaches the maximum allowed by external factors such as food supply, disease or predation. (You can think of mu as the growth or birth rate in the absence of population pressure from other items.) We write this rate as F(Nj), which is a mathematical way of saying F is affected by the number of items, i.e., “F is a function of Nj”. It combines both growth and all the various environmental constraints on growth into a single function. This is a good approach to modeling; start with something that works (exponential growth) and then modify it incrementally, while still incorporating the working model.

Nj+1 = Nj + Delta Nj : This is a mathematical way to say, “The new number of items equals the old number of items plus the change in number of items”.

Nj/Nmax: is what fraction a population has reached of the maximum "carrying capacity" allowed by the external environment. We use this fraction to change the overall growth rate of the population. In the real world, as well as in our model, it is possible for a population to be greater than the maximum population (which is usually an average of many years), at least for a short period of time. This means that we can expect fluctuations in which Nj/Nmax is greater than 1.

This equation is a form of what is known as the logistic map or equation. It is a map because it "maps'' the population in one year into the population of the next year. It is "logistic'' in the military sense of supplying a population with its needs. It a nonlinear equation because it contains a term proportional to Nj^2 and not just Nj. The logistic map equation is also an example of discrete mathematics. It is discrete because the time variable j assumes just integer values, and consequently the variables Nj+1 and Nj do not change continuously into each other, as would a function N(t). In addition to the variables Nj and j, the equation also contains the two parameters mu, the growth rate, and Nmax, the maximum population. You can think of these as "constants'' whose values are determined from external sources and remain fixed as one year of items gets mapped into the next year. However, as part of viewing the computer as a laboratory in which to experiment, and as part of the scientific process, you should vary the parameters in order to explore how the model reacts to changes in them.
This is Figure 4 from Lancastle, N. (2012) 'Circuit Theory Extended: The Role of Speculation in Crises' based on Keen, S. (2010). Solving the Paradox of Monetary Profits.   http://www.economics-ejournal.org/economics/journalarticles/2012-34      If banks run down their reserves but there is a policy
This is Figure 4 from Lancastle, N. (2012) 'Circuit Theory Extended: The Role of Speculation in Crises' based on Keen, S. (2010). Solving the Paradox of Monetary Profits.

http://www.economics-ejournal.org/economics/journalarticles/2012-34

If banks run down their reserves but there is a policy to maintain wages, the model shows a decline in household spending and an increase in bank spending: austerity and inequality followed by a partial recovery.  
Clone of Pesticide Use in Central America for Lab work        This model is an attempt to simulate what is commonly referred to as the “pesticide treadmill” in agriculture and how it played out in the cotton industry in Central America after the Second World War until around the 1990s.     The cotto
Clone of Pesticide Use in Central America for Lab work


This model is an attempt to simulate what is commonly referred to as the “pesticide treadmill” in agriculture and how it played out in the cotton industry in Central America after the Second World War until around the 1990s.

The cotton industry expanded dramatically in Central America after WW2, increasing from 20,000 hectares to 463,000 in the late 1970s. This expansion was accompanied by a huge increase in industrial pesticide application which would eventually become the downfall of the industry.

The primary pest for cotton production, bol weevil, became increasingly resistant to chemical pesticides as they were applied each year. The application of pesticides also caused new pests to appear, such as leafworms, cotton aphids and whitefly, which in turn further fuelled increased application of pesticides. 

The treadmill resulted in massive increases in pesticide applications: in the early years they were only applied a few times per season, but this application rose to up to 40 applications per season by the 1970s; accounting for over 50% of the costs of production in some regions. 

The skyrocketing costs associated with increasing pesticide use were one of the key factors that led to the dramatic decline of the cotton industry in Central America: decreasing from its peak in the 1970s to less than 100,000 hectares in the 1990s. “In its wake, economic ruin and environmental devastation were left” as once thriving towns became ghost towns, and once fertile soils were wasted, eroded and abandoned (Lappe, 1998). 

Sources: Douglas L. Murray (1994), Cultivating Crisis: The Human Cost of Pesticides in Latin America, pp35-41; Francis Moore Lappe et al (1998), World Hunger: 12 Myths, 2nd Edition, pp54-55.

Here I've translated the macoreconomic rule 'SPENDING = INCOME = OUTPUT, WHICH DRIVES EMPLOYMENT' into a negative feedback loop by adding an explicit goal of Output and Employment. As shown in 'Investment and Output 1', all the income earned has to be spent to maintain output and employment. Any sho
Here I've translated the macoreconomic rule 'SPENDING = INCOME = OUTPUT, WHICH DRIVES EMPLOYMENT' into a negative feedback loop by adding an explicit goal of Output and Employment. As shown in 'Investment and Output 1', all the income earned has to be spent to maintain output and employment. Any shorfall in spending can be made up by any of the three sectors that contribute to total output. However, when spending/investment by the private sector is too small to maintain the required level of overall spending and the exports do not contribute enough to compensate for this shortfall then only the government can save the day through Net Spending, i.e. spending more than it collects in tax revenue. Taxation at any rate, according to Modern Monetary Theory (MMT) does not serve the purpose of financing spending but can be used legitimately to slow down an overheating economy. I have not taken into account 'structural reforms', which are often subject to the 'Fallacy of Composition' and of dubious value, at least in a recessive climate, according to MMT.