Insight diagram
My gemini interaction May2026 Prompted by Hasok Chang's Book Realism for realistic people (video 2026) using Gene Bellinger's AI prompts Youtube videos 2023 history of science , 2017 pragmatic realism 4 lectures
Hasok Chang's Pragmatic Realism
Insight diagram
Simple box model for atmospheric and ocean carbon cycle, with surface and deep water, including DIC system, carbonate alkalinity, weathering, O2, and PO4 feedbacks.
LAB #9: Modern Marine 2-box Carbon Cycle
Insight diagram
Spring, 2020: in the midst of on-line courses, due to the pandemic of Covid-19.

With the onset of the Covid-19 coronavirus crisis, we focus on SIRD models, which might realistically model the course of the disease.

We start with an SIR model, such as that featured in the MAA model featured in
https://www.maa.org/press/periodicals/loci/joma/the-sir-model-for-spread-of-disease-the-differential-equation-model

Without mortality, with time measured in days, with infection rate 1/2, recovery rate 1/3, and initial infectious population I_0=1.27x10-4, we reproduce their figure

With a death rate of .005 (one two-hundredth of the infected per day), an infectivity rate of 0.5, and a recovery rate of .145 or so (takes about a week to recover), we get some pretty significant losses -- about 3.2% of the total population.

Resources:
  1. http://www.nku.edu/~longa/classes/2020spring/mat375/mathematica/SIRModel-MAA.nb
  2. https://www.maa.org/press/periodicals/loci/joma/the-sir-model-for-spread-of-disease-the-differential-equation-model
SD India
Insight diagram
Assignment 3: Bourke Crime and Community Development​

This complex systems model depicts the impact of factors such as violence and community programs on the youth of Bourke. The time scale is in months and shows the next 6 years. The model aims to show how by altering expenditure in different areas, the town of Bourke can decrease crime and increase their population involvement in community programs. This model is intended to be dynamic to allow the user to change certain variables to see changes in impact

The town of Bourke has a population of 3634 people, 903 of which are classified as youth (being 0-24 inclusive) (ABS, 2016 census).
This population starts with all youths in three differing stocks:
- 703 in Youth
- 100 in Juvenile Detention
- 100 in Rehabilitation


Assumptions:
This model makes many assumptions that would not necessarily uphold in reality.

- Only the youth of the town are committing crimes.
- All convicted youths spend 6 months in juvenile detention.
- All convicted youths must go to rehabilitation after juvenile detention and spend 2 months there.
- The risk rate impacts upon every youth committing a crime and is a  broad term covering effects such as abuse.
- No gaol effect, youths do not return to town with a tendency to re- commit a crime.
- No further external factors than those given.
- There cannot be zero expenditure in any of the fields.


The stocks:
Each stock depicts a different action or place that an individual youth may find themselves in. 
These stocks include:
- Youth (the youths living in Bourke, where youths are if they are not committing crimes or in community programs)
- Petty Crime (crimes committed by the youths of Bourke such as stealing)
- Juvenile Detention (where convicted youths go)
- Rehabilitation
- Community Programs


The variables:
- Community Expenditure (parameter 0.1-0.4)
- Law Enforcement Expenditure (parameter 0.1-0.6)
- Rehabilitation Expenditure (parameter 0.1-0.4)
- Risk Rate (not adjustable but alters with Law Enforcement Expenditure)

Sliders on each of the expenditure variables have been provided. These variables indicate the percentage of the criminal minimising budget for Bourke.
Note that to be realistic, one should make the three differing sliders be equal to 1, in order to show 100% of expenditure

Base Parameter Settings:
- Law Enforcement Expenditure = 0.5
- Community Expenditure = 0.25
- Rehabilitation Expenditure = 0.25

Interesting Parameter Settings:
- When Law Enforcement is at 0.45 and Community and Rehabilitation at 0.3 and 0.25 (in either order) then convicted and not-convicted values are the same. If Law Enforcement expenditure goes any lower then the number of convicted youths is less than those not-convicted and vice versa if the expenditure is increased.
- When Law Enforcement is at 0.2 and Community and Rehabilitation at 0.4 each then the increase in community programs and decrease in crime and thus detention occurs in a shorter and more rapid time frame. This shows that crime can be minimised in this model almost entirely through community initiatives.
- Alternatively, when Law Enforcement is at 0.6 and Community and Rehabilitation at 0.2 each then the increase in community programs and decrease in crime occurs over a longer time period with more incremental change.



Population Source:

http://www.censusdata.abs.gov.au/census_services/getproduct/census/2016/quickstat/LGA11150?opendocument


Bourke Community (C.Woods, 44593961)
Insight diagram
Electricity Grid Sim With Batteries
3 6 months ago
Insight diagram
Flow of successful SBC
Insight diagram
To provide a brief overview of the description of this model, here is a table of contents of sorts:
- The Program - Overview
- The Model Itself - Macro Scale
- Principal Inputs
- Principal Outputs
- Inputs & Outputs - Brief Explanation
- The Details - How This All Works
- Viewing Data Outputs


The Program - Overview:

The model as seen revolves around the main variable components featuring "program" in their name and identified by their green color. The individual household starts at the "Building Envelope" program, which involves changes and modifications made to the actual building envelope of the house to make it more energy efficient, such as modifications to the insulation, windows, doors, etc. Then, the individual household will begin to progress through the behavioral component of the energy reduction program, starting with Climate Control. This portion concerns thermostat set points, the use of windows and fans to modulate temperature, and a behavioral adjustment in how to tolerate different levels of hot/cold temperature in the household. From here, the household moves through each room in the house, implementing energy reduction practices as appropriate. Because this program is designed to be modular and applicable to wide varieties of homes across the country, these rooms have been broken up into some standard categories that should apply to most households. These categories include the kitchen, the washroom, the main room/living room/"den", any bathrooms, and any bedrooms. Each category has its own set of energy reduction practices that can all be applied from a behavioral standpoint; clicking on each individual "program" will show a brief description of what these practices are in the notes section. Once the individual household has progressed through all of these areas, making the appropriate adjustments in each, they have more or less effectively "completed" the program. In reality, areas may continue to pop up where adjustments can be made to reduce energy consumption, so even though the program has been "completed" the members of the household will be continually working to maintain the new efficiency standard they have achieved with the end goal of cultivating a permanent, sustainable lifestyle. 


The Model Itself - Macro Scale:

The above is all essentially a description of how the household energy reduction program operates; the model is obviously tied to this, however it also includes an energy component that takes into account energy savings not only from a single house but all houses in a single community. How this all works will be discussed more in detail below, but first some basics will be gone over.

Principal inputs:

- energy capable of being saved in each portion of the program through behavioral changes (e.g. total possible energy reductions compared with initial baseline use prior to starting the program are X kWh/year and Y CCF/year)
- % of progress that needs to be made on meeting the reduction goal prior to moving onto the next program (e.g. for a total possible energy reduction of X compared to the initial energy use prior to starting the program, the participant must have reduced 90% of that total energy prior to moving on to the next program)
- time each program is projected to take (e.g. 4 weeks, 5 weeks, etc.)
- households in the community
- time (i.e. how long to run the model for, e.g. 52 weeks, 104 weeks, etc.)

Principal Outputs:

- amount of kWh of electricity saved by a household over the given period of time since starting the program (based on a kWh/yr basis)
- amount of CCF of gas saved by a household over the given period of time since starting the program (based on a CCF/yr basis)
- amount of gas and amount of electricity saved by the community the given period of time since starting the program (based on a per year basis)
- a plot of the progress made on each program for a specific period of time (e.g. which program is the household in, and what is their progress on the rest of the program they have already completed)

Inputs & Outputs - Brief Explanation:

For this model, the only inputs that could vary significantly from community to community are the specific number of households as well as the time the program has been in operation. Obviously the power that each household is capable of reducing can vary from household to household, however we are mainly concerned with the average energy reduction when looking at the community scale as there will always be outliers, which is why average numbers are used. Of the outputs produced, the kWh and CCF savings can be translated to lbs of CO2 saved, as well as other useful energy savings metrics that can better explain the impact of CE4A to the normal person than trying to explain the details behind what 1 kilo-watt hour is. Additionally, for a specific area's utility rate, the number of kWh/CCF saved overtime can yield data about how much money the specific household has saved since starting the program. This last statistic would be more helpful if the program were operating by strictly giving all the savings from energy reduction back to the homeowner; as this isn't exactly how CE4A handles this component, the model would have to be modified to more accurately depict the total savings going back to the homeowner/company revenue based on energy savings over time.


The Details - How This All Works:

Program Progression per Program:
The progress of the individual household through the home energy reduction program is essentially dictated by the progress through each individual program within. Progress through these individual programs is dictated by an inverse tangent curve that models behavioral change. The curve essentially outputs the % of progress the individual household has made, going from a value of 0 to 100. 
- Why an inverse tangent curve? - the shape of the curve includes an initial portion in which changes made are significantly large, followed by a portion in which the rate of change decreases as the easily made changes are completed over time. Compared with curves of similar shape, the important part about the inverse tangent curve is that it has a horizontal asymptote that the curve will only get close to, but never actually reach over time. This is representative of the concept that individuals will always have to work to maintain energy reduction practices until they become habit, as well as the reality that new challenges in the field of energy reduction can and will arise over time as people and technology changes.
***
Important to note: the inverse tangent function has been written to operate on a basis of weeks and % (in terms of a whole number XX.YY, not 0.XXYY). If the time scale is to be adjusted, say from weeks to months, then the entire tangent function must be rewritten to reflect this. Additionally, the function outputs values going from 0 to 100. This is a key reason why the function would need to be rewritten, as this would be drastically changed if different time units were used.
***
Inputs for each program include the progress % that the household needs to reach to advance on to the next program, as well as the time (in weeks) it should take them to reach this % threshold. Given the above explanation for how the inverse tangent curve works, the % progress and time threshold values should be chosen based on how much change is realistically possible within that time range (e.g. if it is realistic for an individual to complete 95% of possible changes within a 3 week period and form the habits to maintain those changes, then those values are well-suited for that program. However, if some programs have components that will take a long time to adapt to, then a longer period of time should be picked or a lower progress threshold, ideally the former.

Program Progression from Program to Program:
Each program following the first includes if-then statements related to the progress threshold of the previous program; once that program reaches that threshold, then the code the programs were written on will start the next program and reset its specific time scale to start at time=0 instead of time=current time in order to allow for flexibility in changing time thresholds without rewriting the entire inverse tangent function every time. In this way, changing progress thresholds not only affects the rate of progress of the current program but the start time of all others after it as well. 

Energy Reduction & Values:
The energy reduction numbers used in this model are all based on roughly what types of energy would be used in each room and how much is possible to be reduced. These numbers will all total up to the total projected energy reduction per household in terms of CCF/kWh, but the individual breakdown per room type as found in this model is entirely arbitrary and was chosen according to what made the most sense based on knowledge of what energy is used in which room and roughly how much with regards to the savings measures for the room type. These values are also on a per-week basis, so the small size is understandable in that context (originally on a yearly basis, then divided by 52 to get weeks to make this work with the model)

Original Use & Baseline Use:
Although this model does not utilize this and instead operates on a total savings possible basis, the initial energy usage of a particular household can be put into the "___.CCFOriginalUse" and "___.CCFBaseline" variables (note that CCF is interchangeable with KWH here) to get the total amount of possible savings based on real data. Currently, baseline use is set to 0 for each program with original use equivalent to the total amount of energy capable of being reduced per week for that room type. These numbers were derived from an estimate on the total energy reduction possible in terms of kWh and CCF, which was then broken down into each room and the type of energy capable of being reduced in each (see above section for more on this).

Note that "TotalKWH/CCFSavings" is for each individual household, whereas "NeighborhoodKWH/CCFSavings" is for the entire neighborhood composed of the amount of houses stored in the variable "#Households."


Viewing Data Outputs:

- Viewing current program progress at time X:
- use the plot option to while selecting "BuildingEnvelope.Program", "ClimateControl.Program", "Kitchen.Program," etc., to see the progress curves for each program over time.
- Viewing savings data:
- use the data table option to view the kWh/CCF savings over time for the household, the community, or both, changing the time column to display most recent time first; this will give the total savings in each of those areas for that entire time period.
Home Energy Reduction Progression
Insight diagram

We start with an SEIR social virality model and adapt it to model social media adoption of Playcast Hosts.  *Note that this model does not attempt to model WOM emergent virality.  

Clone of Social Media Virality
Insight diagram

About the Model

This model is designed to simulate the youth population in Bourke, specifically focusing on the number of criminals and incarcerated dependent on a few key variables.

Within the model, a young person living in Bourke can be classified as being in any of five states:

Young Community Member: The portion of the youth population that is not committing crime and will not commit crime in the future. Essentially the well behaved youths. A percentage of these youths will become alienated and at risk.

Alienated and At Risk Youths: The youths of Bourke that are on the path of becoming criminals, this could be caused by disruptive home lives, alcohol and drug problems, and peer pressure, among other things.

Criminal: The youths of Bourke who are committing crimes. Of these criminals a percentage will be caught and convicted and become imprisoned, while the remainder will either go back to being at risk and commit more crimes, or change their behaviour and go back to being a behaving community member.

Imprisoned: The youths of Bourke who are currently serving time in a juvenile detention centre. Half of the imprisoned are released every period at a delay of 6 months.

Released: Those youths that have been released from a detention centre. All released youths either rehabilitate and go back to being a community member or are likely to re-offend and become an alienated and at risk youth.

The variables used in the model are:

Police- This determines the police expenditure in Bourke, which relates to the number of police officers, the investment in surveillance methods and investment in criminal investigations. The level of expenditure effects how many youths are becoming criminals and how many are being caught. An increase in police expenditure causes an increase in imprisoned youths and a decrease in criminals.

Community Engagement Programs- The level of investment in community engagement programs that are targeted to keep youths in Bourke from becoming criminals. The programs include sporting facilities and clubs, educational seminars, mentoring programs and driving lessons. Increasing the expenditure in community engagement programs causes more young community members and less criminals and at risk youths.

Community Service Programs- The level of investment in community service programs that are provided for youths released from juvenile detention to help them rehabilitate and reintegrate back into the community. An increase in community service expenditure leads to more released prisoners going back into the community, rather than continuing to be at risk. Since community service programs are giving back to the community, the model also shows that an increase in expenditure causes a decrease in the amount of at risk youths.

All three of these variables are adjustable. The number of variables has been kept at three in order to ensure the simulation runs smoothly at all times without complicated outputs, limitations have also been set on how the variables can be adjusted as the simulation does not act the same out of these boundaries.

Key Assumptions:

The model does not account for the youths’ memory or learning.

There is no differentiation in the type of criminals and the sentences they serve. Realistically, not all crimes would justify juvenile detention and some crimes would actually have a longer than six-month sentence.

The constants within in the calculations of the model have been chosen arbitrarily and should be adjusted based on actual Bourke population data if this model were to be a realistic representation of Bourke’s population.

The model assumes that there are no other factors affecting youth crime and imprisonment in Bourke.

There are 1500 youths in Bourke. At the beginning of the simulation:

Young Community Member = 700

Alienated and At Risk Youth = 300

Criminal = 300

Imprisoned = 200

Noteworthy observations:

Raising Police expenditure has a very minimal effect on the number of at risk youths. This can be clearly seen by raising Police expenditure to the maximum of twenty and leaving the other two variables at a minimum. The number of Alienated and at Risk Youths is significantly higher than the other states.

Leaving Police expenditure at the minimum of one and increasing community development programs and community service programs to their maximum values shows that, in this model, crime can be decreased to nearly zero through community initiatives alone.

Leaving all the variables at the minimum position results in a relatively large amount of crime, a very low amount of imprisoned youth, and a very large proportion of the population alienated and at risk.

An ideal and more realistic simulation can be found by using the settings: Police = 12, Community Engagement Programs = 14, Community Service Programs = 10. This results in a large proportion of the population being young community members and relatively low amounts of criminals and imprisoned.



Clone of Bourke Justice Reinvestment - Nicholas Hayward 44553625
Insight diagram
This version of the CAPABILITY DEMONSTRATION model has been further calibrated (additional calibration phases will occur as better standardized data becomes available).  Note that the net causal interactions have been effectively captured in a very scoped and/or simplified format.  Relative magnitudes and durations of impact remain in need of further data & adjustment (calibration). In the interests of maintaining steady progress and respecting budget & time constraints, significant simplifying assumptions have been made: assumptions that mitigate both completeness & accuracy of the outputs.  This model meets the criteria for a Capability demonstration model, but should not be taken as complete or realistic in terms of specific magnitudes of effect or sufficient build out of causal dynamics.  Rather, the model demonstrates the interplay of a minimum set of causal forces on a net student progress construct -- as informed and extrapolated from the non-causal research literature.
Provided further interest and funding, this  basic capability model may further de-abstracted and built out to: higher provenance levels -- coupled with increased factorization, rigorous causal inclusion and improved parameterization.
Version 6B: Calibrated Student-Home-Teachers-Classroom
Insight diagram

Peircean process approach to Causation from Menno Hulswit's article. See also Peirce thought insight 

Peircean Causation and Causality
3 weeks ago
Insight diagram
Problem 3 - Instagram
Insight diagram
This version of the CAPABILITY DEMONSTRATION model has been further calibrated (additional calibration phases will occur as better standardized data becomes available).  Note that the net causal interactions have been effectively captured in a very scoped and/or simplified format.  Relative magnitudes and durations of impact remain in need of further data & adjustment (calibration). In the interests of maintaining steady progress and respecting budget & time constraints, significant simplifying assumptions have been made: assumptions that mitigate both completeness & accuracy of the outputs.  This model meets the criteria for a Capability demonstration model, but should not be taken as complete or realistic in terms of specific magnitudes of effect or sufficient build out of causal dynamics.  Rather, the model demonstrates the interplay of a minimum set of causal forces on a net student progress construct -- as informed and extrapolated from the non-causal research literature.
Provided further interest and funding, this  basic capability model may further de-abstracted and built out to: higher provenance levels -- coupled with increased factorization, rigorous causal inclusion and improved parameterization.
Version 6A: Calibrated Student-Home-Teachers-Classroom
3 2 months ago
Insight diagram
SMA project
CO2 Emissions by Passenger Cars in SG
Insight diagram
Simple box model for atmospheric and ocean carbon cycle, with surface and deep water, including DIC system, carbonate alkalinity, weathering, O2, and PO4 feedbacks.
Lab 10 (predictive model eg. keeling curve)
Insight diagram
Causal Loop and Summary of Klein and Kahneman's American Psychologist 2009 article  with 2024 Gigerenzer The Rationality Wars article update, assisted by my Gemini interaction April2026 using Gene Bellinger's AI prompts
Intuitive Expertise
Insight diagram
WIP Adding Pragmatism, Critical Realism and Category Theory to  WIlliam Powers' Perceptual Control Theory to explain ways of thinking, with similarities to structure agency theory. Based on help from Gene Bellinger's conversations with Gemini Nov2025, named Unified Cybernetic Realist Model
Philosophies of Science and Cognition
2 months ago
Insight diagram
This model simulates the electricity supply and demand dynamics for the Napanee community in Ontario, with a focus on the impact of micro-generated solar electricity from households and businesses.

Units Used in the Model:
  • Electricity Supply: Measured in MWh/h (megawatt-hours per hour), representing the total amount of electricity available from both external sources and local solar generation.
  • Electricity Demand: Measured in MWh/h, covering both household and business consumption.
  • Micro-Generated Solar Electricity: Solar power generated by households and businesses, measured in MWh/h.
Key Components:
  1. Electricity Supply: The total electricity provided by both external sources (the grid) and solar generation.
  2. Electricity Demand: The total community demand, which includes household and business consumption and varies over a 24-hour period based on usage patterns.
  3. Micro-Generated Solar: Solar power generated by both households and businesses. This power reduces the demand for grid electricity and follows a sinusoidal pattern, peaking during the day and dropping to zero at night.
  4. Total Demand: The remaining electricity that the grid needs to supply after accounting for micro-generated solar power.
Napanee Community Electricity Model
Insight diagram
Simple box model for atmospheric and ocean carbon cycle, with surface and deep water, including DIC system, carbonate alkalinity, weathering, O2, and PO4 feedbacks.
Lab 11, coastal model
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 Final Midterm Student version of A More Realistic Model of Isle Royale: Predator Prey Interactions
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 Final Midterm Student version of A More Realistic Model of Isle Royale: Predator Prey Interactions
Insight diagram
Spring, 2020: in the midst of on-line courses, due to the pandemic of Covid-19.

With the onset of the Covid-19 coronavirus crisis, we focus on SIRD models, which might realistically model the course of the disease.

We start with an SIR model, such as that featured in the MAA model featured in
https://www.maa.org/press/periodicals/loci/joma/the-sir-model-for-spread-of-disease-the-differential-equation-model

Without mortality, with time measured in days, with infection rate 1/2, recovery rate 1/3, and initial infectious population I_0=1.27x10-4, we reproduce their figure

With a death rate of .005 (one two-hundredth of the infected per day), an infectivity rate of 0.5, and a recovery rate of .145 or so (takes about a week to recover), we get some pretty significant losses -- about 3.2% of the total population.

Resources:
  1. http://www.nku.edu/~longa/classes/2020spring/mat375/mathematica/SIRModel-MAA.nb
  2. https://www.maa.org/press/periodicals/loci/joma/the-sir-model-for-spread-of-disease-the-differential-equation-model
SD USA
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 Clone of Final Midterm Student version of A More Realistic Model of Isle Royale: Predator Prey Interactions
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 Final Midterm Student version of A More Realistic Model of Isle Royale: Predator Prey Interactions