MemoSimagent-based modeling studio

Library/Social sciences

Social network formation and change

Each tick, four things happen.

Run in your browser Download .nlogox Get MemoSim verified in NetLogo Web · or open in MemoSim
Read the assumptions first. The model itself says it is illustrative and uncalibrated. Treat its output as a demonstration of a mechanism, not an estimate of a real system.

Category: Social Sciences Status: Illustrative and uncalibrated. This is a teaching model, not a scientifically validated result.

What it shows

A small, bounded social network in which people (turtles) form friendships (links) with people they meet, friendships can fade over time, and people can leave the network (retire or move away). The model demonstrates how a network grows, changes, and eventually reaches a steady state.

Mechanism

Each tick, four things happen:

1. Meeting / formation. Every person looks at the people on their neighbouring patches. If there is at least one nearby person who is not already a friend, they form a new friendship with one of them (chosen at random). 2. Fading / dissolution. Every existing friendship has a small chance (set by the break-rate slider) of breaking. 3. Leaving. Every person has a small chance (set by the leave-rate slider) of leaving the network permanently. 4. Drift. People turn a little and move a short step, so new meetings keep happening.

Because the population is bounded (people can only leave, never be created after setup) and the world is small, the network eventually settles into a low-activity steady state.

Controls

  • Setup – clears the world and creates the initial people.
  • Go – runs the model one tick at a time (forever button).
  • initial-people – number of people created at setup (10–80, default 40).
  • break-rate – percentage chance per tick that a friendship breaks (0–20%, default 2%).
  • leave-rate – percentage chance per tick that a person leaves (0–10%, default 0.5%).

Monitors and plot

  • People – current number of people in the network.
  • Friendships (links) – current number of friendships.
  • Avg. connections per person – average degree of the network.
  • Network size over time – plot of people (blue) and friendships (red) over time.

Units

  • Time is measured in ticks.
  • Rates are percentages per tick.
  • Positions are in patch units on a 41×41 toroidal world.

Assumptions and limitations

  • People are identical; there are no attributes, preferences, or homophily.
  • Friendships are undirected and unweighted.
  • Meetings depend only on spatial proximity, not on social similarity.
  • The world is small and toroidal (edges wrap around).
  • The population is bounded: people only leave, never re-enter.
  • Parameters are chosen for a sensible demo, not fitted to any real data.
  • Results are illustrative only and should not be interpreted as empirical findings.
Field
Social sciences
Model file
Social-network-formation-and-change-bf0da336cb12.nlogox · 40 KB
Controls
initial-people, break-rate, leave-rate
Reporters
is-friend?
Procedures
setup, go, is-friend?
Experiment
none pinned in this file
Documentation
5/7 · 387 words in the Info tab