Für
die Untersuchungen wurde die Entwicklungsplattform Delphi 2005 verwendet.
Download: Kostenlose
Borland Delphi 2005 Personal-Edition oder Trial
Version
Die Programme stehen als ausführbare exe-Dateien zur
Verfügung. Der Delphi Quellcode findet sich jeweils unter 'Source'
als zip-Datei.
Sollte die Darstellung der Schriften und Anzeigefelder der Programme
verzerrt oder verrutscht sein, liegt dass an den Einstellungen der
Windowsschriftgröße
(DPI) sowie des Schriftgrades.
Der aktuelle Stand zu den hier dargestellten Projekten findet sich hier: link.
44_SettlementLandUse - 060811
LandUse Pattern 01 ------------------------------------------------------------- (page anchor: #landUseP_01)
Settlement and land use pattern combined with interaction patterns.
Eine detailiertere Beschreibung folgt...
42_InteractionPattern / Source - 060611
Interaction
Pattern 01 -----------------------------------------------------------
(page anchor:
#interactP_01)
Update
1.1 Probabilistic Interaction & Manhattan Landscape
Zu beginn des Prozesses befinden sich alle Agenten auf dem Ursprungsort in der Mitte des noch völlig unerkundeten Zellenfeldes {Tm(0) = 0}. Die Erkundung des Feldes erfolg am Anfang durch zufälliges Umherwandern der Agenten, bis erste Zielorte gefunden werden. Die zum Ursprungsort zurückkehrenden Agenten markieren ihren Weg und künftige Agenten folgen wiederum der intensivsten Markierung, wenn sie in die Nähe der markierten Zellen kommen. Im Verlauf der Zeit entstehen so stark markierte Pfade zu den verschiedenen Zielorten und die Agenten "lernen" in gewisser Weise, wo sich die Zielorte befinden, indem sie indirekt über die Landscape miteinander kommunizieren. Dadurch verkürzt sich die Zeit zum Auffinden eines Zielortes und es bewegen sich immer mehr Agenten auf den stark markierten Pfaden. Lediglich die zufälligen Fehlerwerte sorgen dafür, dass einige Agenten weiterhin die gesamte Landscape absuchen. Für ihren Rückweg zum Ursprungsort werden dessen Koordinaten von den Agenten im Gedächtnis behalten, so dass sie den Weg dorthin immer wiederfinden können.
Siehe Batty: 'Cities and Complexity' (Kapietel 5)
41_MultiWalker / Source - 060605
Multi
Walker -----------------------------------------------------------------------------
(page anchor: #activeW2)
Das Programm ergänzt das ursprüngliche
Active Walker Modell (AWM) um eine Diffusionsfunktion, einen
Störwert für die Bewegung des Walkers (Noise) entlang
des Gradienten und der Möglichkeit, mehrere Walker (Multi-Agents-System)
gleichzeitig mit der Landscape interagieren zu lassen.
Dazu wird die „Stepping Rule“ um einen Noise-Wert
ergänzt,
mittels welchem die Geradlinigkeit der Agentenpfade aufgelockert
werden kann
.
Die „Landscape Rule" wird um eine Diffusionsfunktion
erweitert
,
dabei ist
die Diffusionskonstante. Der Diffusionsterm
wird für das Modell folgendermaßen operationalisiert:

bezeichnet
die Moore Nachbarschaft und
die Stärke des Diffusionseffektes (Programmparameter: „diffusion
strength“).
Die Diffusionsfunktion sorgt dafür, dass sich die Erreichbarkeitswerte
Pi(t) über das Feld verteilen. Bei anfänglich
relativ kleinen Werten Pi(t) hat die Diffusion
nur eine geringe Auswirkung auf die Landscape. Im Verlauf der Prozesses
wird der Diffusions-Summand
(
) der
„Landscape Rule“ mit steigenden Werten Pi(t)
immer größer und die Wirkung des Distanz-Summanden (
)
nimmt relativ dazu ab.
Sobald der Diffusions-Summand wesentlich größer ist als
der Distanz-Summand, verändern sich die Hoch- und Tiefbereiche
der Erreichbarkeitswerte Pi(t) der Landscape
nicht mehr. Dies hat zur Folge, dass sich die Walker zu einzelnen
Clustern zusammen finden. Die Dauer der Veränderungsfähigkeit
der Landscape hängt wesentlich von den Parametern
(„diffusion strength“) und
(„distance scaling“) ab.
Siehe Batty: 'Cities and Complexity' (Kapietel 5)
40_ActiveWalker / Source - 060604
Active
Walker ---------------------------------------------------------------------------
(page anchor: #activeW1)
An dieser Stelle soll ein Modell vorgestellt werden, welches die
grundlegende Kopplung der beiden Komponenten „Agenten“
(Agents oder Walkers) und „Landschaft“ (Landscape) darstellt.
Diese Koppelung ist die Basis für viele der hier vorgestellten
Agenten basierten Modelle. Für eine Einführung bietet
sich das so genannte „Active Walker“ Modell aufgrund
seines relativ einfachen Aufbaus an. Dabei kann ein „Walker“
während seiner Bewegung die „Landscape“ verändern,
wird aber gleichzeitig durch die sich verändernde „Landscape“
beeinflusst. Die Art, wie ein „Walker“ die „Landscape“
verändert, geschieht anhand der „Landscape Rule“,
einer Prozedur, welche in Abhängigkeit der Position eines „Walkers“
den Wert jedes Punktes der „Landscape“ verändern
kann. Die Art, wie ein „Walker“ auf die „Landscape“
reagiert wird mittels der „Stepping Rule“ angegeben,
welche die Bewegung des „Walkers“ anhand der lokalen
Bedingungen der „Landscape“ steuert. Im Modell wird
die „Landscape“ anhand eines Zellulären Feldes
repräsentiert.
Das vorliegende Beispiel illustriert den Prozess, indem ein „Walker“
sich über die „Landschaft“ bewegt, die wir im Folgenden
als eine Art Erreichbarkeitsfläche betrachten, welche als Funktion
der Position des „Walkers“ bei jedem Schritt neu berechnet
wird. Der „Walker“ bewegt sich über die Fläche,
in der Absicht die am schlechtesten erreichbaren Orte zu erkunden.
Er geht stets in die Richtung mit dem niedrigstem Erreichbarkeitswert
Pi(t) in seiner unmittelbaren Umgebung
(Moore Nachbarschaft):
(„Stepping
Rule“)
Am ist die Position des „Walkers“
und
gibt den Gradienten der Erreichbarkeitsfläche an, welche durch
die Gleichung
(„Landscape
Rule“)
berechnet wird. Dabei gibt
die Skalierungskonstante an und dij(t)
ist der Abstand von einer Zelle i zu dem „Walker“,
der sich zum Zeitpunkt t auf der Position j befindet.
Die Natur der „Landscape“ bedingt, dass der „Walker“
nie an dem Ort der geringsten Erreichbarkeit ankommt. Es scheint,
als ob die „Landscape“ sich ständig in einem Sinn
verändert, der den „Walker“ vom Erreichen seines
Ziels abzuhalten versucht.
Siehe Batty: 'Cities and Complexity' (Kapietel 5)
Evolutionary
Network --------------------------------------------------------------
(page anchor: #evoNet01)
Ausgehend von dem Modell „Path
System 02“, soll hier untersucht werden, welche Einstellungen
für „angle threshold“ und „wiggle threshold“
am effektivsten sind. Die Effizienz wird dadurch gemessen, wie oft
ein Agent einen Weg von seiner „Home Cell“ zu der „Center
Cell“ und wieder zurück findet. Jeder Agent ist mit einer
begrenzten Energiereserve ausgestattet, die sich durch die Bewegung
über das Zellenfeld allmählich erschöpft, wobei die
Benutzung von Strassen (markierte Zellen) weniger Energie erfordert
als die Bewegung über freies Feld (leere Zellen). Ist der Energievorrat
verbraucht, wird der Agent mit den „gekreuzten" Einstellungen
der effektivsten Agenten seiner „Familie" (= gleiche
Home Cell) „wiedergeboren".
Es ergibt sich eine komplexe Wechselwirkung zwischen der durch die
Agenten generierten Wegestruktur und den von dieser Struktur abhängigen
optimalen Bewegungsparameter der Agenten.
Die Parameter „angle threshold“ und „wiggle threshold“
werden mittels eines Genetischen
Algorithmus optimiert. Die oben erwähnte Effizienz entspricht
dabei der so genannten „Fitness-Function“. Die Mutationsrate
(mutation rate) kann das System aus einem lokalen Optimum „herausschubsen“
indem einzelte Parameter zufällig verändert werden.
Abhängig von den zufällig gesetzten Anfangswerten für
die Position und Ausrichtung der Agenten ergibt sich ein Wegesystem,
dessen Vernetzung durch die Optimierung der Verwendung der zur Verfügung
stehenden (Energie)Ressourcen begründet ist. In der Abbildung
rechts sind sechs verschiedenen Strukturen zu sehen, die sich nach
50000 Timesteps eingestellt haben, wobei die Position der Home und
Center Cells immer die gleiche ist. Bei den einzelnen Durchläufen
haben sich jeweils andere Parametereinstellungen für „angle
threshold“ und „wiggle threshold“ ergeben. Dennoch
wiederholen sich bei manchen Abbildungen einige Strukturelemente
der unterschiedlichen Wegesysteme.
Siehe: Schweitzer, F. [2003]: "Brownian Agents and Active Particles. Collective Dynamics in the Natural and Social Sciences" Berlin Heidelberg, Springer Verlag.
38_path_system_02 / Source - 060419
Path
System 02 ---------------------------------------------------------------------------
(page anchor: #path02)
Ausgehend von dem Modell „Path
System_01“ werden hier zehn zufällig verteilte Ausgangsorte
(Home Cells - rot) für die Agenten und ein Zentraler Ort (Center
Cells - grün) in der Mitte des Feldes definiert. Die Agenten
werden anfangs gleichmäßig auf die „Home Cells“
verteilt.
Solange die Agenten noch keine „Center Cell“ (oder eine
Wegemarkierung) entdeckt haben, bewegen sie sich in einem „Random
Walk“ über das Feld. Sobald sich ein Agent auf einer
„Center Cell“ befindet, wechselt er seinen inneren Zustand
und versucht möglichst schnell und kostengünstig zu seiner
„Home Cell“ zurück zu gelangen. Bei seinem Rückweg
hinterlässt der Agent eine Markierung bei den Zellen, welche
er überquert. Nachfolgende Agenten versuchen nun diesen Markierungen
auf ihrem Heimweg zu folgen (Kostenersparnis). Die Markierungen
werden ebenfalls von den Agenten benutzt, die noch (oder wieder)
nach der „Center Cell“ suchen.
Der „Pathfinding“ Algorithmus für die Bestimmung
der jeweiligen Bewegungsrichtung eines Agenten bei seinem Heimweg
wird dadurch ergänzt, dass vor dem „Hill Climbing“
die Ausrichtung (Heading H) des Agenten auf seine „Home Cell“
gerichtet wird, deren Koordinaten er gespeichert hat und diese mit
seiner aktuellen Position vergleichen kann.
Es ergibt sich eine Vernetzung der „Home Cells“ und
der „Center Cells“, wobei die „Home Cells“
oft untereinander mit direkten Wegen verbunden sind, aber nicht
immer eine direkte Verbindung zu dem Zentralen Ort aufweisen.
Nach anfänglichen Schwankungen stellt sich eine relativ stabile
Wegestruktur ein, welche sich über längere Zeiträume
hinweg nur geringfügig verändert und gegen Störungen
(Mausinteraktion) verhältnismäßig unempfindlich
ist. Die Abbildung links zeigt (von l.o. nach r.u.) ein Wegesystem
bei den Timesteps 2, 200, 1.000, 4.000, 10.000, 20.000.
Bei den voreingestellten Parametern ergibt sich bei verschiedenen
Veiteilungen der „Home Cells“ meist eine Anzahl von
ca. 400 Zellen, die für ein stabiles Wegesystem erforderlich
sind (siehe Graph bei hohem „visibility threshold).
Siehe: Schweitzer, F. [2003]: "Brownian Agents and Active Particles. Collective Dynamics in the Natural and Social Sciences" Berlin Heidelberg, Springer Verlag.
37_slimeMold / Source - 060415
Slime
Mold -----------------------------------------------------------------------------
(page anchor: #SlimeMold)
Für dieses Modell wurde das Programm „Path
System 01“ erweitert, indem die Markierungswerte der Zellen
diffundiert werden. Die Diffusion erfolgt ähnlich wie bei dem
Modell „Growth and Moore
Neighborhood“:

Dabei wird der jeweilige Wert P einer Zelle i gleichmäßig
auf die acht Nachbarzellen aufgeteilt.
bezeichnet
den Koeffizienten für den Verfall der Markierungswerte.
Bei den voreingestellten Werten kommt es nach kurzer Zeit zur Bildung
von Clustern, die sich langsam über das Feld bewegen und miteinander
verschmelzen bzw. sich wieder trennen können. Wird der Wert
für den „angle threshold“ verringert, lösen
sich die Cluster langsam auf. Entscheiden für die Bildung der
Cluster ist außerdem eine ausreichende Dichte an Agenten.
Per Maus lassen sich Markierungen hinzufügen (linke Maustaste),
sowie löschen (rechte Maustaste).
Siehe: Resnick, M. [1994]: "Turtles, Termites and Traffic Jams: Explorations in Massively Parallel Microworlds." Cambridge, Ma: MIT Press.
36_path system_01 / Source - 060414
Path
System 01 ---------------------------------------------------------------------------
(page anchor: #path01)
Eine bestimmte Anzahl M beweglicher Agenten Am,
m = 1, 2, …, M, wird auf zufällige Positionen j innerhalb
des Zellenrasters verteilt:

Die Agenten bewegen sich zu Beginn in zufällig gewählten
Richtungen über das Zellenraster (random walk). Die Änderungswerte
des Bewegungsvektors (Heading H) schwanken dabei jeweils nach links
(-) und rechts (+) im Bereich des „angle threshold“
:

Der „wiggle angle“
gibt
die zufälligen Abweichungen des Bewegungsvektors von der jeweils
gewählten Richtung an. Die Distanz, welche ein Agent pro Zeitschritt
überwinden kann beträgt eine Zelle in der Moore-Nachbarschaft.
Beim überqueren einer Zelle hinterlassen die Agenten Markierungen,
vergleichbar mit den chemischen Pheromon-Spuren bei Ameisen. Befindet
sich im Verlauf des Random Walks eine oder mehrere markierte Zellen
in dem Sichtbereich (angle threshold) eines Agenten, folgt er dieser
Markierung. Für die Entscheidung, welcher Spur ein Agent folgen
soll, stehen zwei Verfahren zur Verfügung. Bei dem ersten,
dem so genannte 'Hill Climbing', folgt der Agent der stärksten
Markierung (der mit dem höchsten Wert). Das zweite Verfahren
wird als 'Roulette Wheel' bezeichnet und gewichtet die Wahrscheinlichkeit
bei der Auswahl einer Zelle entsprechend den Stärken der betrachteten
Markierungen. Im Verlauf der Zeit verfallen die Markierungen langsam
wieder.
Visuell werden die Markierungswerte der Zellen anhand der Grauwerte
dargestellt. Durch die Interaktion der Agenten mit den Zellen ergibt
sich ein sich selbst organisierendes Wegesystem.
Aufgrund des regelmäßigen Zellenrasters sind die relevanten
Werte für den „angle threshold“ 22,5 | 67,5 | 112,5
| 147,5. Bei dem unter- bzw. überschreiten dieser Werte fallen
jeweils zwei benachbarte Zellen aus dem Sichtfeld eines Agenten
heraus oder es kommen zwei Zellen dazu.
Per Maus lassen sich Markierungen hinzufügen (linke Maustaste),
sowie löschen (rechte Maustaste).
Siehe: Schweitzer, F. [2003]: "Brownian Agents and Active Particles. Collective Dynamics in the Natural and Social Sciences" Berlin Heidelberg, Springer Verlag.
35_segregation_04 / Source - 060322
Skalenerträge
und Segregation ----------------------------------------
(page anchor: #Segregation04)
Hier werden die beiden Modelle 'Skalenerträge'
und 'Segregation und Zentrale
Orte' zusammengeführt. Dies ermöglicht eine Untersuchung
der Standortwahl eines Agenten unter den kombinierten Bedingungen
der Segregation und einer möglichst günstigen Lage bei
einem Markt. Die Qualität eines Ortes (Zelle) wird durch das
Einzugsgebiet eines Marktes definiert, welches mit den Angebotspreisen
der Märke zusammenhängt.
Die Kunden sind jetzt nicht mehr gleichmäßig Verteilt,
sonder können ihren Standort aufgrund mehrer Kriterien wählen.
Neben einer zentrumsnahen Lage ist ein weiteres Kriterium jenes
der ähnlichen Nachbarschaft, bzw. der Toleranz gegenüber
andersartigen Nachbarn. Insgesamt wirkt sich die Mobilität
der Kunden verstärkend auf die Monopolisierung aufgrund der
Skalenerträge aus.
34_Segregation_03 / Source - 060321
Segregation
und Zentrale Orte ------------------------------------------
(page anchor: #Segregation03)
Dieses Programm erweitert das Modell 'Segregation
durch Ortsveränderung' um zentrale Orte (Märkte),
denen die Agenten möglichst nahe kommen wollen. Die Bedingungen
bleiben im Wesentlichen die gleichen wie bei dem ursprünglichen
Modell. Es wird lediglich ein zentraler Ort (oder mehrere Orte)
in Zelle m ergänzt. Die Regeln für den Segregationsprozess
werden folgendermaßen ergänzt:
Wenn der Abstand d von Zelle i zur zentralen Zelle
m größer ist als an dem verglichen Ort j,
dann wechsle den Standort von i nach j (vergleiche
hill climbing verfahren oder potential field).
Neben der Anforderung an eine Mindestzahl an Agenten des gleichen
Typs in der unmittelbaren Umgebung, entsteht unter den Agenten eine
Konkurrenz um den zentralsten Ort. Die Segregationsstruktur verdichtet
sich innerhalb eines Kreises um den zentralen Ort herum. Bei mehreren
zentralen Orten lagern sich ab einer bestimmten Toleranzgrenze nur
noch eine Sorte von Agenten (weiß oder schwarz) an einem Zentrum
an. Es erfolg demnach eine übergeordnete Segregation nach Zentren.
33_crystalGrowth / Source - 060313
Crystal
Growth ---------------------------------------------------------------------
(page anchor: #crystalGrowth)
Als vorläufiger Abschluss der Wachstumsmodelle bietet dieses
Modell die bisher umfangreichste Palette an erzeugbaren Formen.
Das zugrunde liegende Prinzip stellt eine Erweiterung des Snow
Flake Growth Modells dar. Initialisiert wird das System mit:

Für die Berechnung des Potential-Felds werden die verschiedenen
Nachbarschaftstypen unterschiedlich gewichtetet:

Das Feld wird mittels mehrer Iterationen T (iteration Steps) einem
Gleichgewicht angenähert:

ist die Diffusionskonstante und skaliert die Geschwindigkeit der
Diffusion. Entwickelt wird eine Zelle, sobald das Potential einen
gewissen Wert unterschreitet und die entsprechende Zelle zu einer
entwickelten Zelle benachbart ist. Das Potential kann als Temperatur
verstanden werden, bei deren unterschreiten eine Kristallisation
stattfindet:

U gibt den „undercooling threshold“ an. Dieser Wert
wird beeinflusst von einem Zufallsparameter
mit der Reichweite von -1 bis 1, dessen (noise) Amplitude durch
den Parameter
definiert wird. Der Parameter
bestimmt die Größe des Interface-Effekts und
stellt die Interfacekonstante dar. Die Gewichtung wk
der Moore Nachbarschaft ist hier:

Bei
= 1,5 wird ein Mittelwert aus den Nachbarschaftsgewichten gebildet.
Anhand des Parameters „pot. multi“ kann die Markierung
der Potentialwerte des Feldes eingestellt werden.
Für das Verhalten des Systems sollte hauptsächlich mit
den Parametern U (undercooling threshold),
(interface size) und
(noise amplitude) experimentiert werden. Dabei genügen minimale
Veränderungen der Werte um sichtbare Abweichungen bei der Entstehung
der Struktur zu bewirken.
Siehe Batty: 'Cities and Complexity' (Kapietel 3)
32_snowFlake / Source - 060310
Snow
Flake Growth -----------------------------------------------------------------
(page anchor: #snowFlake)
Das Prinzip bei diesem Modell ist ähnlich wie bei Growth
in a Diffusion-Field. Zu beginn wird jede Zelle mit einem Grundpotential
initialisiert
und eine Zelle als "Samen" entwickelt:

Im Verlauf des Prozesses werden die Zellen nach jedem Schritt in
„receptive“
und „nonreceptive“

Zellen aufgeteilt.
Der Potentialwert P setzt sich aus den beiden Teilpotentialen zusammen:

Jeder Teil wird gesondert berechnet, wobei bei den „receptiven“
Zellen ein konstanter Wert addiert wird:

Bei den „nonreceptiven“ Zellen wird ein Durchschnittswert
aus den gewichteten Werten wk der benachbarten
Zellen gebildet. Die Gewichte sind dabei so verteilt, dass den direkten
Nachbarn ein höheres und den diagonalen ein geringeres Gewicht
zukommt:

Zusammengenommen ergeben die Gewichte aller Nachbarzellen 1 = 4*(1/6)
+ 4*(1/12).
Die Formel für das neue Teilpotential lautet nun:

Die Transtion Rule setzt jede Zelle mit einem Gesamtpotential Pi(t)
größer oder gleich 1 auf 'entwickelt' (Di(t)
= 1):

Die durch die Iteration des beschriebenen Prozesses entstehenden
Strukturen sind symmetrisch und gleichen Schneekristallen.
Siehe: Reiter C. Auxiliary materials
for: a local cellular model for snow crystal growth.
http://ww2.lafayette.edu/~reiterc/mvp/sfn/index.html.
31_diffuseGrowth / Source - 060305
Growth
in a Diffusion-Field --------------------------------------------------
(page anchor: #diffuseGrowth)
Das Wachstum findet bei diesem Modell innerhalb eines „Diffusionsfeldes“
statt, welches aus den Potentialwerten besteht, die bei jedem Schritt
ausgemittelt werden (siehe Spatial
Averaging).
Die Anfangsbedingungen für den Prozess werden folgendermaßen
festgelegt:

Die Erweiterung der Struktur findet schrittweise statt, wobei bei
jedem Schritt nur die Zelle 'entwickelt' wird, welche den höchsten
Potentialwert P aufweist und in der (von Neumann) Nachbarschaft
eine 'entwickelte' Zelle besitzt. Um die Symmetrie des Prozesses
zu brechen wird zu jedem Potentialwert P ein Zufallswert
(Noise)
addiert. Die entsprechende ‘Transition Rule’ lautet
dann:

Das Potential Field wird nach jedem Schritt in einen relativen „Gleichgewichtszustand“
gebracht, indem das Feld mehrmals berechnet wird.

In einer bestimmten Entfernung R (Sphere of Influence) zum sich
entwickelnden Cluster werden die Potentialwerte P = 1 gesetzt. Dadurch
entwickelt sich das Wachstum der Struktur eher am Rand als in der
Mitte.
Durch die Variation der Parameter können unterschiedlich dichte
oder lineare Strukturen erzeugt werden.
Siehe Batty: 'Cities and Complexity' (Kapietel 3)
30_potDevProb / Source - 060304
Growth
in a Potential-Field ---------------------------------------------------
(page anchor: #potDevProb)
Bei diesem Zellulären Automaten Modell findet Wachstum (Entwicklung
der Zellen) nur in Abhängigkeit des Potentials P einer Zelle
statt. Übersteigt das Potential P einen bestimmten Schwellenwert
,
kann die Zelle 'entwickelt' werden (D = 1)
siehe Grundmodelle Potential and Development
Zusätzlich definiert der Parameter p (Noise) den Wahrscheinlichkeitswert
der Entwicklung einer Zelle.
Das 'potential field' wird in jedem Schritt aktualisiert und der
Wert für P dort neu berechnet, wo eine Zelle in der (Moore)
Nachbarschaft 'entwickelt' ist. Der neue Wert für P bildet
den Durchschnitt aus den Umgebungswerten:
Initialisiert wird der Prozess, indem das Potential der Zelle in
der Feldmitte auf 1 gesetzt wird: Pc(0) =
1. Die sich ergebende Wachstumsstruktur ähnelt den Verästelungen
einer Koralle.
Siehe Batty: 'Cities and Complexity' (Kapietel 3)
29_groupGrowth / Source - 060303
Wachstum
mit räumlicher Umorganisation --------------------------
(page anchor: #groupGrowth)
Hier wird ein Zellulärer Automat für 'Einfaches
Wachstum' mit dem Modell zur 'Segregation
durch Eigenschaftsanpassung' kombiniert. Innerhalb eines gegebenen
Radius r werden 'entwickelte' Zellen als Typ 1 markiert (grau) und
außerhalb als Typ 2 (weiß). Über den Parameter
"State ½ Probability in %" wird angegeben, wie
häufig die beiden Typen bei der 'Entwicklung' vertauscht werden.
Nach jedem Schritt wird der Segregationsalgorithmus auf das System
angewandt. Dabei entstehen einzelnen Inseln aus Zellen des einen
Typs innerhalb des Bereichs aus Zellen des anderen Typs.
Wird der Prozess mit 'activate aging' gestartet, so werden die Inseln
und Ausläufer mit jeder Entwicklungswelle kleiner und die ursprüngliche
Grenze bei r wird deutlich. Verringert man währenddessen den
"State ½ Probability in %"’ Wert unter 50,
so wechseln die Farben in einer Art 'Umstülpung' allmählich
die Bereiche.
Siehe Batty: 'Cities and Complexity' (Kapietel 2)
28_probabCA / Source - 060302
Grundlage ist ein einfacher Zellulärer Automat (siehe Grundlagen Zellulärer Automaten), bei dem eine Zelle 'entwickelt' (Zustand D = 1) wird, wenn sich mindestens eine 'entwickelte' Zelle in der (Moore) Nachbarschaft befindet (Beispielprogramm). Der Prozess wird mit der mittleren Zelle initialisiert: Dc(0) = 1. Die Transition Rule lautet dabei:

Dieser Prozess wird nun mit einem Wahrscheinlichkeitswert p für
die 'Entwicklung' einer Zelle kombiniert. Die Transition Rule wird
entsprechend mit einem random-Wert ergänzt, bei dessen Überschreiten
die Zelle 'entwickelt' wird:

Das 'Alter’ einer Zelle wird anhand des Grauwertes dargestellt.
Über die Einstellung der 'Lebensdauer’ einer Zelle kann
die Häufigkeit von Entwicklungswellen definiert werden.
Siehe Batty: 'Cities and Complexity' (Kapietel 2)
27_Entropiemessung / Source - 060301
Entropiemessung
-----------------------------------------------------------------------
(page anchor: #Entropie)
Die Komplexität eines eindimensionaler Zellulärer Automat
(hier mit
D = 2, K = 3 und N = 202) lässt sich mittels des klassischen
Maßes der Shannon Entropie messen. Die Startkonfiguration
der ersten Zeile kann wahlweise entweder mit D101(0) = 1 (mittlere
Zelle) und bei allen anderen Zellen der Reihe gleich 0 gesetzt oder
mit einer zufälligen Konfiguration Di (0) = ei, bei ei = 0
oder 1 initialisiert werden.
Elementare Zelluläre Automaten erzeugen Muster mit einem veränderlichen
Grad an Zufälligkeit. In einer zufälligen Sequenz müssen
alle 2^X möglichen Untersequenzen mit der Länge X (Korrelationslänge)
mit gleicher Wahrscheinlichkeit auftreten (Chaos). Abweichungen
von einer rein zufälligen Sequenz implizieren ungleiche Wahrscheinlichkeiten
für verschiedene Untersequenzen und damit mögliche Ordnungsstrukturen.
Mit der Wahrscheinlichkeit pi,n für 2^X möglicher Sequenzen
von Zellzuständen in einem Muster (Abschnitt nebeneinander
liegender Zellen) der Länge X kann die räumlich metrischen
Entropie definiert werden als:

Die Werte für die topologische Entropie und die metrischen
Entropie liegen zwischen 0 and 1,
0<= Smetric,n <= Stopologic,n < 1.
Siehe: HUBLER, Alfred W. (2002):
Statistical Properties of Cellular Automata:
http://www.how-why.com/cgi-bin/cyberprof/os.exe?home=&document=http://www.how-why.com/ucs2002/tutorial/CAStatistics.html
(login with guest/guest)
26_Krugman´s Model / Source - 051222
Krugman´s
Model ---------------------------------------------------------------------
(page anchor: #Krugman)
P.R. Krugman hat 1996 in 'The
Self-Organizing Economy' ein Modell vorgestellt, mit
welchem sich die zwei gegenläufigen Kräfte der Zentralisierung
und der Dezentralisierung erfassen lassen. Also die Notwendigkeit
der Bevölkerung, sich nah beieinander anzusiedeln, sowie das
Bedürfnis von Individuen einander zu meiden und soviel Raum
wie möglich für eigene Zwecke zu besetzen.
Die Entstehung neuer Aktivitäten (= Erhöhung der Einwohnerdichte)
ist Proportional zu dem Potential Vi eines
Ortes. Um die zentrifugalen und zentripetalen Kräfte wiedergeben
zu können, werden jeweils zwei Potentiale an einem Ort berechnet,
die zusammengenommen die Entwicklungstendenz ergeben:

K1 und K2 sind Größen-Parameter,
während alpha und beta die jeweiligen Skalierungs-Parameter
für die Distanzen dij darstellen. Ferner
wird zur Berechnung der Veränderungsrate das durchschnittliche
Potential des gesamten Systems benötigt:

Die Veränderung der Bevölkerung ist dann definiert als:

Durch die Gewichtung der Parameter kann nun die Konkurrenz und Entwicklung
einzelner Orte durch Handel und Austausch erfasst werden. Im Gegensatz
zu den Wachstumsmodellen (19 bis 21)
können sich so mehrere zentrale Orte aus einer anfänglichen
Zufallsverteilung entwickeln.
Siehe Batty: 'Cities and Complexity' (Kapietel 1)
25_Segregation03 / Source - 051219
Segregation durch Ortsveränderung
-----------------------------------
(page anchor: #Segregation02)
Ähnlich wie bei dem Modell '08_segregation'
vom 10.06.2005 verändern Agenten mit bestimmten Eigenschaften
ihre Position, wenn in ihrer Umgebung (3x3 Moore Nachbarschaft)
nicht genügend Agenten mit den gleichen Eigenschaften vorhanden
sind. Das mathematische Prinzip ist dasselbe wie bei dem vorigen
Modell 'Segregation durch Eigenschaftsanpassung'.
Siehe Batty: 'Cities and Complexity' (Kapietel 1)
24_Segregation02 / Source - 051218
Segregation
durch Eigenschaftsanpassung -----------------------
(page anchor: #Segregation01)
Zu Beginn wird jeder Zelle ein zufälliger Eigenschaftswert
zugeordnet Pi(0) =
.
Der Grundgedanke des Modells besteht darin, dass jede Zelle ihre
Eigenschaft (Meinung, Präferenz o. ä.) ändert, wenn
die Mehrzahl der umgebenden Zellen (in der 3x3 Moore Nachbarschaft)
eine andere Eigenschaft hat. Nehmen wir an, es handelt sich bei
den weißen Zellen um Personen, die lieber Bier trinken und
bei den schwarzen um Weintrinker.
Die Anzahl der Biertrinker wird formal dargestellt durch
,
Weintrinker
.
Die Bedingungen, wann sich eine Eigenschaft ändert kann wie
folgt ausgedrückt werden:

Das sich ergebende Muster ist relativ unempfindlich gegen Störungen.
Siehe Batty: 'Cities and Complexity' (Kapietel 1)
23_Diffusion-Connect / Source - 051217
Diffusion
Connect Model -------------------------------------------------
(page anchor: #Diffusion-Connect)
Das Modell besteht aus einem Zellenraster und einer bestimmten Anzahl
M frei beweglichen Agenten A. Die Agenten werden zu Beginn zufällig
verteilt und bewegen sich bei jedem Zeitschritt in eine zufällige
Richtung:

ist der Winkel-Variation
der Ausrichtung des Agenten und d ist die Distanz, die er zurücklegt.
Nach jedem Schritt wird überprüft, ob der Schwellenwert,
gemessen an der Anzahl der Agenden in der Moore Nachbarschaft, überschritten
und die jeweilige Zelle „Entwickelt“ wird:

Wenn der Schwellenwert erhöht wird, reduziert sich die Anzahl
der entstehenden Cluster. Wird die Anzahl der Agenten erhöht,
nimmt die Anzahl bzw. Größe der Cluster zu. Die Art,
wie die Strukturen in diesem Modell entstehen, ist analog zu der
Ausbreitung von Siedlungen im Raum und der Entstehung von Transportverbindungen.
Siehe Batty: 'Cities and Complexity' (Kapietel 1)
22_Vicsek-Szalay
/ Source - 051215
Vicsek-Szalay
Model -----------------------------------------------------------
(page anchor: #Vicsek-Szalay)
Geordnete Strukturen, die der Ausbreitung urbaner Entwicklungs-flächen
nicht unähnlich sind, können in einem Modell emergieren,
welches auf jenem der räumlichen Gleichverteilung (21_Spatial
Averaging) aufbaut. Dazu wird bei jedem Schritt ein weißes
Rauschen eingefügt:

Der Wert
ist
entweder 1 oder -1. Daraus ergibt sich ein Modell
mit weißem Rauschen.
Die Werte je Zelle (=Potential) werden für die Entscheidung
herangezogen, ob eine Zelle ‚Entwickelt’ ist oder nicht,
wenn der Zellenwert einen bestimmten Schwellenwert übersteigt.
Fällt der Zellenwert wieder unter den Schwellenwert, wird davon
ausgegangen, dass der Entwicklungsstand erhalten bleibt. Für
unser Programm wurde der Schwellenwert auf 4,5 gesetzt. Entwickelte’
Zellen werden weiß markiert.
Siehe Batty: 'Cities and Complexity' (Kapietel 1)
21_Spatial
Averaging / Source -
051214

Spatial
Averaging ---------------------------------------------------------
(page anchor: #Spatial_Averaging)
Bei diesem Modell wird eine anfängliche Zufallsverteilung Pi(0)
= -1 or 1 Schritt für Schritt über den Zellenraum ausgemittelt.
Der Maximalwert max{Pi(t)} geht gegen 0. Die räumliche Verteilung
findet über die 4 orthogonal benachbarten Zellen (von Neumann
Nachbarschaft) statt. Die entsprechende Formel lautet:

Siehe Batty: 'Cities and Complexity' (Kapietel 1)
20_Growth02 / Source - 051213
Growth
and Moore Neighborhood --------------------------------------------
(page anchor: #Growth02)
Die Ausgangssituation ist dieselbe wie bei dem Modell 19_Growth01.
Die räumliche Verteilung findet jetzt allerdings über
den Durchschnittswert der 8 direkten Nachbarn inklusive der jeweils
betrachtete Zelle statt (Moore Nachbarschaft):

Siehe Batty: 'Cities and Complexity' (Kapietel 1)
Growth
and spatial redistribution through increasing returns -
(page anchor: #Growth01)
Ein einfacher Zellulärer Automat wird mit einer Zufallswerten
zwischen 0 und 1 je Zelle ( Pi(0) = 0 < x <1 ) initialisiert.
Es wird folgende Formel zur Berechnung der räumlichen Umverteilung
verwendet:

Wir interessieren uns für die Fälle
> 0. Dies hat zur Folge, dass hohe Werte größer werden
auf kosten der niedrigen Werte. Man kann dies als Analogie betrachten,
dass Orte mit einem hohen Entwicklungspotential ausgebaut werden,
bzw. sich ausbreiten, indem sie sich Ressourcen aus der Umgebung
einverleiben.
Siehe Batty: 'Cities and Complexity' (Kapietel 1)
18_Gravitation
/ Source - 051123

Gravitationsmodell
(social physics paradigm) ---------------------------
(page anchor: #Gravitation)
Update des Programms für die Erreichbarkeitsanalyse. Bei Aktivierung
des dritten Buttons rechts oben werden die Ströme zwischen
den Zentren (Nodes) nach dem Gravitationsmodell berechnet. Die Größe
(Bevölkerungszahl P an einem Ort i =
Pi) eines Zentrums kann verändert werden,
indem ein Node vergrößert oder verkleinert wird (strg
+ drag&drop). Die Linienstärke gibt die Intensität
des Stroms an. Die Schätzung des Stroms Fij
zwischen zwei Orten erfolgt mit Hilfe des Quadrats der Distanz dij:

17_Erreichbarkeit / Source - 051117
Erreichbarkeitsanalyse
--------------------------------------------------------
(page anchor: #Erreichbarkeit)
Nach dem erstellen eines Graphen (Knotenpunkte und deren Verbindungen)
kann die Konnektivität des Graphen berechnet werde (rechter
Button oben):
Die Zeilensummen (in der Tabelle 2. Spalte v. rechts) bilden jeweils
ein Maß für die relative Verknüpftheit jedes Knotenpunktes
(Node). Niedrigere Werte entsprechen dabei einer besseren Erreichbarkeit.
Die Gesamtsumme (unterster Wert in der Spalte; wird auch als Streuwert
bezeichnet) kennzeichnet die Größe des Graphen durch
alle Verbindungen innerhalb seiner Grenzen.
Bei Teilung der Zeilensummen und des Streuwerts durch die Anzahl
der positiven Werte erhält man ein Maß für die durchschnittliche
Verbindungslänge (in der Tabelle die Spalte ganz rechts), welche
dazu benutzt werden kann, Netzwerke miteinander zu vergleichen.
(Mit dem Button oben links kann der gezeichnete Graph wieder gelöscht
werden.)
16_urbaneNutzungen
/ Source - 050815

Programm herunterladen, entzippen und von
Festplatte starten! (wg. Hintergrundgrafiken)
Verteilung
städtischer Flächennutzungen ------------------------------
(page anchor: #Nutzungen)
Das Modell beruht auf William Alonsos "Theory of the Urban
Land Market" (1960). Es geht um die Frage, wie sich der gewinnmaximale
Standort und die optimale Betriebsgröße eines städtischen
Unternehmens in einer Stadt bestimmen lassen. Die Fragestellung
ist ähnlich wie bei Thünens Landnutzungsmodell.
Den Gewinn eines städtischen Unternehmens bestimmen die drei
Variablen Umsatz V, Produktionskosten C und die Bodenkosten R, die
alle von der Entfernung zum Markt t und der erforderlichen Bodenfläche
q (=Betriebsgröße) abhängen. Durch die Variation
der Variablen kann für den optimalen Standort die Entfernung
vom Stadtkern ermittelt werden.
15_Wegenutzung
/ Source - 050726
Bei diesem Modell wird die Häufigkeit der Benutzung eines Wegabschnitts aufgezeichnet. Die Nutzungsintensität wird anhand der Linienstärke dargestellt. Dick gezeichnete Linien werden oft frequentiert, dünn abgebildete selten.
Für die Bestimmung der Wege werden zufällig Start- und Zielpunkte gesetzt und mittels des A-Stern Algorithmus verbunden (siehe voriges Programm: 14_graphPath). Die „Stärke“ einer Markierung, die bei der Nutzung eines Wegeabschnitts hinterlassen wird (Parameter: Stärke der Weg-Markierung), kann ebenso eingestellt werden wie die Geschwindigkeit, mit der die Markierungen wieder gelöscht werden (Parameter: Verfallsrate Markierungen). Bedingt durch die Wahrscheinlichkeitsverteilung der Start- und Endpunkte werden in der Regel die in der Mitte liegenden Verbindungen häufiger genutzt.
14_graphPath
/ Source - 050720
Pathfinding in unregelmäßigem Graph ------------------------------------- (page anchor: #Pathfind)
Auf dem A-Stern Algorithmus aufbauend, sucht dieses Programm innerhalb eines beliebigen, zusammenhängenden unregelmäßigen Graphen den kürzesten Weg von einem Start- zu einem Zielpunkt. Die Erstellung des Graphen orientiert sich an der Methode, die bei dem Modell 09_christaller zur Zentralität und zentralen Orten eingeführt wurde.
13_pathfinding
mit A* / Source - 050716
Das Programm ermittelt den kürzesten Weg von einem Startpunk (grün) zum Zielpunkt (rot). Die Hindernisse (blau) werden bei der Suche nach dem optimalen Pfad umgangen und dürfen nicht diagonal geschnitten werden. Eine gute und detaillierte Einführung in die Funktionsweise des A-Stern Algorithmus bietet der Artikel A* Pfadfindung für Anfänger von Patrick Lester.
12_skalenertraege / Source - 050709
Skalenerträge
--------------------------------------------------------------------------
(page anchor: #Skalenertr)
Das Modell zeigt, wie sich positive Skalenerträge auf das Einzugsgebiet
eines Herstellers/Händlers (Markt) auswirken. Bei der Herstellung
eines Produktes fallen bestimmte Kosten an (Modellparameter: Produktionskosten).
Kann eine größere Anzahl der Produkte verkauft werden
(versch. farbige Einzugsgebiete), sinken die Kosten pro Produkt
(Skalenertrag). Es lohnt sich somit für einen Käufer,
einen weiteren Weg zurückzulegen, um das billiger gehandelte
Produkt zu erwerben, wodurch allerdings seine Fahrtkosten steigen.
Die erhöhte Nachfrage in einem Markt führt wiederum zu
einer weiteren Verbilligung. Bei dem dadurch entstehenden Konkurrenzkampf
um Absatzgebiete können sich einige Anbieter durchsetzen und
örtliche Monopole bilden. An den Grenzen der Einzugsgebiete
gleichen sich die Fahrtkosten und die Kosten des Produkts im nächstgelegenen
Markt aus. Bei teureren Produkten verstärkt sich diese Wirkung
der Skalenerträge.
11_verh_thuenen / Source - 050706
Verhandlungsmodell
für die Landnutzung nach Thünen ---------
(page anchor: #Thuenen)
Im Gegensatz zur Berechnung der idealen Landnutzung im vorhergehenden
Modell (10_thuenen), wird hier für eine gegebene Menge von
Nutzungen die ideale Verteilung ermittelt.
Eine Zelle repräsentiert im Modell einen Landwirt, der versucht,
den Gewinn mit seinem Anbauprodukt zu maximieren. Der Gewinn ist
abhängig von der Produktivität, der Entfernung zum Markt
(per Mausklick in die Zeichenfläche wird ein neuer Markt erzeugt)
und den Transportkosten für die unterschiedlichen Güter
(Nur auf den hell markierten Flächen fällt die Lagerente/der
Gewinn positiv aus). Jeder Landwirt verhandelt mit den Anderen innerhalb
eines definierten Umgebungsbereichs (Parameter: Tauschradius). Könnte
er auf einem anderen Grundstück mit seinem Anbauprodukt einen
höheren Gewinn erzielen, versucht er dieses zu tauschen. Kommt
es dabei zu einer Konkurrenz bei der Nutzung einer Parzelle, unterliegt
derjenige Landwirt, der mit seinem Produkt an dieser Stelle einen
geringeren Gewinn erwirtschaften würde als sein Konkurrent.
10_thuenen.exe
/ Source - 050627
Landnutzungsmodell nach J.H. v. Thünen ------------------------------ (page anchor: #Thuenen1)
Die Simulation behandelt Thünens Theorie zu den Standorten unterschiedlicher landwirtschaftlicher Nutzungen im Bezug auf einen zentralen Markt. (Zusammenfassung siehe: Einführung in die Kultur- und Sozialgeographie. -> Theorie & Modell -> Thünen)
Das Programm berechnet die optimalen lokalen Lagerenten. Diese sind Abhängig von: Anbauertrag, Entfernung zum Markt, Marktpreisen und Erzeugungskosten des Produkts, sowie den Transportkosten. Angezeigt wird die optimale räumliche Verteilung von drei verschiedenen Produkten.
09_christaller.exe
/ Source - 050625

Zentralität und zentrale Orte -------------------------------------------------------
(page anchor: #Zentral)
Das Modell demonstriert die Verteilung von Siedlungen im Raum. Die
roten, blauen und gelben Punkte stellen Zentren verschieden hohen
Rangs dar. Die Anlagerung der Punkte folgt dieser Hierarchie. Untergeordnete
Zentren lagern sich an übergeordnete an. Eine Zusammenfassung
der Theorie zentraler Orte findet sich in der Einführung
in die Kultur- und Sozialgeographie. -> Theorie & Modell
-> Zentralität.
Zum Starten der Simulation mit der Erstellung roter Punkte beginnen
und anschließend blaue und gelbe hinzufügen. Die AnlagerDist.
Parameter verringern, bis das System zur Ruhe kommt.
08_segregation
model / Source - 050610

Segregationsmodell ----------------------------------------------------------------- (page anchor: #Segregat)
Verschiedene Agenten (blau und gelb) repräsentieren Nutzungen, die räumlich nicht zusammen liegen sollen. Im Modell werden die Zellen um einen Agenten herum seiner Nutzung entsprechend markiert. Dieser Raum ist beispielsweise durch Emissionen eines Gewerbebetriebs beeinträchtigt (blau). Wohnnutzungen (gelb) bleiben diesen Flächen fern. Es ergibt sich automatisch eine Klusterung der verschiedenen Farben um die roten Anlagerungspunkte.
07_packingScale.exe
/ Source - 050517

Dichte Packungen II ------------------------------------------------------------------
(page anchor: #Packung)
Update des Überschneidungsflächen-Programms für 'Dichte
Packungen I'
Die Rechtecke variieren ihre Höhe und Breite um die Überlagerungsflächen
zu minimieren. Der Flächeninhalt (Rechteckgröße)
bleibt dabei erhalten. Die Einstellung der Variationswerte legt
die größe der möglichen Veränderung pro Generation
fest. Kleinere Werte erzeugen meist die besseren Ergebnisse.
(Idee siehe Überschneidungsflächen)
06_minUeberschn.exe
/ Source - 050516

Dichte Packungen
I -------------------------------------------------------------------
(page anchor: #overlap2)
Die Überschneidungsflächen
einer zufällig erzeugten Rechteckanordnung wird unter Anwedung
einer evolutionären Strategie minimiert.
Die Summe aller Überschneidungsflächen dient dabei als
Fitness-Funktion. Die jeweils beste Variante zufälliger Positionsveränderungen
wird ausgewählt und als Basis für die nächste Generation
verwendet. Durch Mutationen werden einzelne Rechtecke neu angeordnet.
Das Programm rechnet bis eine Gesamtüberlagerungsfläche
von 100 Pixel unterschritten ist.
Die Idee ist dem Artikel "Algorithmic
Support of Creative Architectural Design" von Tomor Elezkurtaj
und Georg Franck entliehen.
05_rechtClipping.exe
/ Source - 050515

Überlagerungsflächen
---------------------------------------------------------------
(page anchor: #overlap1)
Berechnung der Überlagerungsflächen
von Rechtecken.
Die gleiche Berechnung mittels Cohen-Sutherland-Algorithmus: 04_rechtClipping.exe
/ Source.
03_Swarming.exe
/ Source - 050510

Schwarmverhalten -------------------------------------------------------------------
(page anchor: #Schwarm)
Das Sichtfeld kann über den Interaktionsradius und den Blickwinkel
eingestellt werden. Der Mindestabstand sorgt für eine gleichmäßige
Verteilung der Agenten innerhalb eines Schwarms. Die Zellen zeichnen
die Häufigkeit der "Begehung" auf, indem sie sich
weiß verfärben. Die Bewegungsvektoren können eingeblendet
werden.
02_Swarming.exe
/ Source - 050509

Einfaches Schwarmverhalten
-------------------------------------------
(page anchor: #simpleSchwarm)
Die Bewegungsvektoren innerhalb eines bestimmten Radius werden aneinander
angepasst.
01_FACS.exe
/ Source - 050504
FACS --------------------------------------------------------------------------------------------
(page anchor: #FACS)
Grundlegendes Modell freier Agenten in einem zellulären Raum.
Es kann eine Interaktion der Agenten mit den lokalen Zellen stattfinden.
Das Zellenraster dient den Agenten als Speicherstruktur.
(FACS - Free Agents in Cellular Space : Siehe
Juval Portugali: Self-Organization
and the City).
siehe auch: Modelle mit NetLogo______
The development platform Delphi 2005 was used for the investigations.
Download: Free Borland Delphi 2005 Personal Edition or Trial
Version
The programs are available as executable exe files. The Delphi source code can be found under 'Source' as a zip file in each case.
If the fonts and display fields of the programs appear distorted or shifted, this is due to the settings of the
Windows font size (DPI) and the font size.
The current status of the projects presented here can be found here: link.
44_SettlementLandUse - 060811
LandUse Pattern 01 ------------------------------------------------------------- (page anchor: #landUseP_01)
Settlement and land use pattern combined with interaction patterns.
A more detailed description will follow...
42_InteractionPattern / Source - 060611
Interaction
Pattern 01 -----------------------------------------------------------
(page anchor:
#interactP_01)
Update
1.1 Probabilistic Interaction & Manhattan Landscape
At the beginning of the process, all agents are located at the origin in the middle of the as yet completely unexplored cell field {Tm(0) = 0}. Initially, the field is explored by the agents wandering around at random until the first destinations are found. The agents returning to the origin mark their path, and later agents in turn follow the most intense marking when they come near the marked cells. Over time, strongly marked paths to the various destinations thus emerge, and the agents in a certain sense "learn" where the destinations are located by communicating with one another indirectly via the landscape. This shortens the time needed to find a destination, and more and more agents move along the strongly marked paths. Only the random error values ensure that some agents continue to search the entire landscape. For their way back to the origin, the agents keep its coordinates in memory so that they can always find their way there again.
See Batty: 'Cities and Complexity' (Chapter 5)
41_MultiWalker / Source - 060605
Multi
Walker -----------------------------------------------------------------------------
(page anchor: #activeW2)
The program extends the original
Active Walker model (AWM) with a diffusion function, a disturbance value (noise) for the walker's movement along the gradient, and the possibility of letting several walkers (multi-agent system) interact with the landscape simultaneously.
To this end, the "stepping rule" is supplemented by a noise value
, by means of which the straightness of the agent paths can be loosened
.
The "landscape rule" is extended by a diffusion function
,
where
is the diffusion constant. The diffusion term
is operationalized for the model as follows:

denotes the Moore neighborhood and
the strength of the diffusion effect (program parameter: "diffusion strength").
The diffusion function ensures that the accessibility values Pi(t) are distributed across the field. With initially relatively small values Pi(t), diffusion has only a slight effect on the landscape. In the course of the process, the diffusion summand
(
) of the "landscape rule" becomes ever larger as the values Pi(t) increase, and the effect of the distance summand (
) decreases relative to it.
As soon as the diffusion summand is substantially larger than the distance summand, the high and low areas of the accessibility values Pi(t) of the landscape no longer change. As a result, the walkers gather into individual clusters. How long the landscape remains capable of change depends essentially on the parameters
("diffusion strength") and
("distance scaling").
See Batty: 'Cities and Complexity' (Chapter 5)
40_ActiveWalker / Source - 060604
Active
Walker ---------------------------------------------------------------------------
(page anchor: #activeW1)
Here we present a model that represents the basic coupling of the two components "agents" (agents or walkers) and "landscape". This coupling is the basis for many of the agent-based models presented here. The so-called "Active Walker" model lends itself to an introduction because of its relatively simple structure. A "walker" can change the "landscape" while moving, but is at the same time influenced by the changing "landscape". The way in which a "walker" changes the "landscape" is determined by the "landscape rule", a procedure that can change the value of every point of the "landscape" depending on the position of a "walker". The way in which a "walker" reacts to the "landscape" is specified by the "stepping rule", which controls the movement of the "walker" on the basis of the local conditions of the "landscape". In the model, the "landscape" is represented by a cellular field.
The present example illustrates the process in which a "walker" moves across the "landscape", which in the following we regard as a kind of accessibility surface that is recalculated at every step as a function of the "walker's" position. The "walker" moves across the surface with the intention of exploring the least accessible places. It always moves in the direction with the lowest accessibility value
Pi(t) in its immediate surroundings (Moore neighborhood):
("stepping rule")
Here is the position of the "walker" and
indicates the gradient of the accessibility surface, which is calculated by the equation
("landscape rule")
. Here
indicates the scaling constant and dij(t)
is the distance from a cell i to the "walker", which at time t is located at position j .
The nature of the "landscape" means that the "walker" never arrives at the place of lowest accessibility. It seems as though the "landscape" constantly changes in a way that tries to prevent the "walker" from reaching its goal.
See Batty: 'Cities and Complexity' (Chapter 5)
Evolutionary
Network --------------------------------------------------------------
(page anchor: #evoNet01)
Based on the model "Path
System 02", the aim here is to investigate which settings for "angle threshold" and "wiggle threshold" are most effective. Efficiency is measured by how often an agent finds a way from its "home cell" to the "center cell" and back again. Each agent is equipped with a limited energy reserve that is gradually depleted by moving across the cell field, whereby using streets (marked cells) requires less energy than moving across open field (empty cells). When the energy reserve is used up, the agent is "reborn" with the "crossed" settings of the most effective agents of its "family" (= same home cell).
The result is a complex interaction between the path structure generated by the agents and the optimal movement parameters of the agents, which depend on this structure.
The parameters "angle threshold" and "wiggle threshold" are optimized by means of a genetic algorithm . The efficiency mentioned above corresponds to the so-called "fitness function". The mutation rate can "nudge" the system out of a local optimum by randomly changing individual parameters.
Depending on the randomly set initial values for the position and orientation of the agents, a path system results whose network structure is based on optimizing the use of the available (energy) resources. The figure on the right shows six different structures that emerged after 50,000 time steps, with the positions of the home and center cells always the same. In the individual runs, different parameter settings for "angle threshold" and "wiggle threshold" resulted in each case. Nevertheless, some structural elements of the different path systems recur in some of the figures.
See: Schweitzer, F. [2003]: "Brownian Agents and Active Particles. Collective Dynamics in the Natural and Social Sciences" Berlin Heidelberg, Springer Verlag.
38_path_system_02 / Source - 060419
Path
System 02 ---------------------------------------------------------------------------
(page anchor: #path02)
Based on the model "Path
System_01", ten randomly distributed starting locations (home cells - red) for the agents and one central place (center cells - green) in the middle of the field are defined here. Initially, the agents are distributed evenly among the "home cells".
As long as the agents have not yet discovered a "center cell" (or a path marking), they move across the field in a "random walk". As soon as an agent is on a "center cell", it changes its internal state and tries to return to its "home cell" as quickly and cheaply as possible. On its way back, the agent leaves a marking on the cells it crosses. Subsequent agents now try to follow these markings on their way home (cost saving). The markings are also used by the agents that are still (or again) searching for the "center cell".
The "pathfinding" algorithm for determining an agent's respective direction of movement on its way home is supplemented in that, before the "hill climbing", the agent's orientation (heading H) is directed toward its "home cell", whose coordinates it has stored and can compare with its current position.
The result is a network of "home cells" and "center cells", in which the "home cells" are often connected to one another by direct paths but do not always have a direct connection to the central place.
After initial fluctuations, a relatively stable path structure emerges, which changes only slightly over longer periods and is relatively insensitive to disturbances (mouse interaction). The figure on the left shows (from top left to bottom right) a path system at time steps 2, 200, 1,000, 4,000, 10,000, 20,000.
With the preset parameters, different distributions of the "home cells" usually result in a number of approx. 400 cells required for a stable path system (see graph at high "visibility threshold").
See: Schweitzer, F. [2003]: "Brownian Agents and Active Particles. Collective Dynamics in the Natural and Social Sciences" Berlin Heidelberg, Springer Verlag.
37_slimeMold / Source - 060415
Slime
Mold -----------------------------------------------------------------------------
(page anchor: #SlimeMold)
For this model, the program "Path
System 01" was extended by diffusing the marking values of the cells. The diffusion takes place similarly to the model "Growth and Moore
Neighborhood“:

The respective value P of a cell i is distributed evenly among the eight neighboring cells.
denotes the coefficient for the decay of the marking values.
With the preset values, clusters form after a short time; they move slowly across the field and can merge with one another or separate again. If the value for the "angle threshold" is reduced, the clusters slowly dissolve. A sufficient density of agents is also decisive for the formation of the clusters.
Markings can be added (left mouse button) and deleted (right mouse button) with the mouse.
See: Resnick, M. [1994]: "Turtles, Termites and Traffic Jams: Explorations in Massively Parallel Microworlds." Cambridge, MA: MIT Press.
36_path system_01 / Source - 060414
Path
System 01 ---------------------------------------------------------------------------
(page anchor: #path01)
A certain number M of mobile agents Am, m = 1, 2, …, M, is distributed to random positions j within the cell grid:

At the beginning, the agents move across the cell grid in randomly chosen directions (random walk). The change values of the movement vector (heading H) fluctuate to the left (-) and right (+) within the range of the "angle threshold"
:

The "wiggle angle"
indicates the random deviations of the movement vector from the respectively chosen direction. The distance an agent can cover per time step is one cell in the Moore neighborhood. When crossing a cell, the agents leave markings, comparable to the chemical pheromone trails of ants. If, in the course of the random walk, one or more marked cells lie within an agent's field of vision (angle threshold), it follows this marking. Two methods are available for deciding which trail an agent should follow. In the first, so-called 'hill climbing', the agent follows the strongest marking (the one with the highest value). The second method is called 'roulette wheel' and weights the probability of selecting a cell according to the strengths of the markings considered. Over time, the markings slowly decay again.
Visually, the marking values of the cells are represented by gray values. The interaction of the agents with the cells results in a self-organizing path system.
Owing to the regular cell grid, the relevant values for the "angle threshold" are 22.5 | 67.5 | 112.5 | 147.5. When falling below or exceeding these values, two neighboring cells drop out of an agent's field of vision or two cells are added.
Markings can be added (left mouse button) and deleted (right mouse button) with the mouse.
See: Schweitzer, F. [2003]: "Brownian Agents and Active Particles. Collective Dynamics in the Natural and Social Sciences" Berlin Heidelberg, Springer Verlag.
35_segregation_04 / Source - 060322
Economies of Scale and Segregation ---------------------------------------- (page anchor: #Segregation04)
Here the two models 'Economies of Scale' and 'Segregation and Central Places' are combined. This makes it possible to investigate an agent's location choice under the combined conditions of segregation and the most favorable possible location near a market. The quality of a place (cell) is defined by the catchment area of a market, which is related to the markets' supply prices.
The customers are now no longer evenly distributed but can choose their location on the basis of several criteria. Besides a location close to the center, a further criterion is that of a similar neighborhood, or tolerance toward neighbors who are different. Overall, the mobility of the customers reinforces the monopolization resulting from economies of scale.
34_Segregation_03 / Source - 060321
Segregation and Central Places ------------------------------------------ (page anchor: #Segregation03)
This program extends the model 'Segregation through Relocation' with central places (markets) that the agents want to get as close as possible to. The conditions remain essentially the same as in the original model. Only one central place (or several places) is added in cell m. The rules for the segregation process are supplemented as follows:
If the distance d from cell i to the central cell
m is greater than at the compared place j, then change location from i to j (compare hill climbing method or potential field).
In addition to the requirement of a minimum number of agents of the same type in the immediate surroundings, competition for the most central place arises among the agents. The segregation structure becomes denser within a circle around the central place. With several central places, beyond a certain tolerance threshold only one kind of agent (white or black) settles around each center. Thus a higher-level segregation by centers takes place.
33_crystalGrowth / Source - 060313
Crystal
Growth ---------------------------------------------------------------------
(page anchor: #crystalGrowth)
As a provisional conclusion of the growth models, this model offers the widest range of producible forms so far. The underlying principle is an extension of the Snow
Flake Growth model. The system is initialized with:

For calculating the potential field, the different neighborhood types are weighted differently:

The field is brought closer to equilibrium by means of several iterations T (iteration steps):

is the diffusion constant and scales the speed of diffusion. A cell is developed as soon as the potential falls below a certain value and the corresponding cell is adjacent to a developed cell. The potential can be understood as a temperature below which crystallization takes place:

U indicates the "undercooling threshold". This value is influenced by a random parameter
with a range from -1 to 1, whose (noise) amplitude is defined by the parameter
. The parameter
determines the size of the interface effect and
represents the interface constant. The weighting wk of the Moore neighborhood here is:

With
= 1.5, a mean value of the neighborhood weights is formed.
The parameter "pot. multi" can be used to set the marking of the potential values of the field.
For the behavior of the system, one should mainly experiment with the parameters U (undercooling threshold),
(interface size) and
(noise amplitude). Minimal changes in the values are enough to cause visible differences in the emergence of the structure.
See Batty: 'Cities and Complexity' (Chapter 3)
32_snowFlake / Source - 060310
Snow
Flake Growth -----------------------------------------------------------------
(page anchor: #snowFlake)
The principle of this model is similar to that of Growth
in a Diffusion-Field. At the beginning, each cell is initialized with a base potential
and one cell is developed as a "seed":

In the course of the process, after each step the cells are divided into "receptive"
and "nonreceptive"

cells.
The potential value P is composed of the two partial potentials:

Each part is calculated separately, with a constant value being added for the "receptive" cells:

For the "nonreceptive" cells, an average is formed from the weighted values wk of the neighboring cells. The weights are distributed so that the direct neighbors receive a higher weight and the diagonal ones a lower weight:

Taken together, the weights of all neighboring cells add up to 1 = 4*(1/6) + 4*(1/12).
The formula for the new partial potential is now:

The transition rule sets every cell with a total potential Pi(t) greater than or equal to 1 to 'developed' (Di(t) = 1):

The structures resulting from iterating the process described are symmetrical and resemble snow crystals.
See: Reiter C. Auxiliary materials for: a local cellular model for snow crystal growth.
http://ww2.lafayette.edu/~reiterc/mvp/sfn/index.html.
31_diffuseGrowth / Source - 060305
Growth
in a Diffusion-Field --------------------------------------------------
(page anchor: #diffuseGrowth)
In this model, growth takes place within a "diffusion field" consisting of the potential values, which are averaged at each step (see Spatial
Averaging).
The initial conditions for the process are specified as follows:

The structure expands step by step, whereby at each step only the cell is 'developed' that has the highest potential value P and has a 'developed' cell in its (von Neumann) neighborhood. To break the symmetry of the process, a random value
(noise) is added to each potential value P. The corresponding 'transition rule' is then:

After each step, the potential field is brought into a relative "state of equilibrium" by calculating the field several times.

At a certain distance R (sphere of influence) from the developing cluster, the potential values are set to P = 1. As a result, the structure tends to grow at the edge rather than in the middle.
By varying the parameters, structures of different density or linear structures can be generated.
See Batty: 'Cities and Complexity' (Chapter 3)
30_potDevProb / Source - 060304
Growth
in a Potential-Field ---------------------------------------------------
(page anchor: #potDevProb)
In this cellular automaton model, growth (development of the cells) takes place only as a function of the potential P of a cell. If the potential P exceeds a certain threshold
, the cell can be 'developed' (D = 1)
see basic models Potential and Development
In addition, the parameter p (noise) defines the probability of a cell's development.
The 'potential field' is updated at each step, and the value of P is recalculated wherever a cell in the (Moore) neighborhood is 'developed'. The new value of P is the average of the surrounding values:
The process is initialized by setting the potential of the cell in the middle of the field to 1: Pc(0) = 1. The resulting growth structure resembles the branching of a coral.
See Batty: 'Cities and Complexity' (Chapter 3)
29_groupGrowth / Source - 060303
Growth with Spatial Reorganization -------------------------- (page anchor: #groupGrowth)
Here a cellular automaton for 'Simple Growth' is combined with the model for 'Segregation through Adaptation of Attributes'. Within a given radius r, 'developed' cells are marked as type 1 (gray) and outside it as type 2 (white). The parameter "State ½ Probability in %" specifies how often the two types are swapped during 'development'. After each step, the segregation algorithm is applied to the system. This produces individual islands of cells of one type within the area of cells of the other type.
If the process is started with 'activate aging', the islands and offshoots become smaller with each wave of development, and the original boundary at r becomes clear. If, meanwhile, one reduces the "State ½ Probability in %" value below 50, the colors gradually swap areas in a kind of 'inversion'.
See Batty: 'Cities and Complexity' (Chapter 2)
28_probabCA / Source - 060302
The basis is a simple cellular automaton (see Fundamentals of Cellular Automata), in which a cell is 'developed' (state D = 1) if there is at least one 'developed' cell in its (Moore) neighborhood (example program). The process is initialized with the middle cell: Dc(0) = 1. The transition rule is:

This process is now combined with a probability value p for the 'development' of a cell. The transition rule is accordingly supplemented by a random value; when it is exceeded, the cell is 'developed':

The 'age' of a cell is represented by its gray value. By setting the 'lifespan' of a cell, the frequency of waves of development can be defined.
See Batty: 'Cities and Complexity' (Chapter 2)
27_Entropiemessung / Source - 060301
Entropy Measurement ----------------------------------------------------------------------- (page anchor: #Entropie)
The complexity of a one-dimensional cellular automaton (here with
D = 2, K = 3, and N = 202) can be measured by means of the classical measure of Shannon entropy. The starting configuration of the first row can be initialized either with D101(0) = 1 (middle cell) and all other cells of the row set to 0, or with a random configuration Di (0) = ei, with ei = 0 or 1.
Elementary cellular automata produce patterns with a variable degree of randomness. In a random sequence, all 2^X possible subsequences of length X (correlation length) must occur with equal probability (chaos). Deviations from a purely random sequence imply unequal probabilities for different subsequences and thus possible ordering structures. With the probability pi,n for 2^X possible sequences of cell states in a pattern (section of adjacent cells) of length X, the spatial metric entropy can be defined as:

The values for the topological entropy and the metric entropy lie between 0 and 1,
0<= Smetric,n <= Stopologic,n < 1.
See: HUBLER, Alfred W. (2002): Statistical Properties of Cellular Automata:
http://www.how-why.com/cgi-bin/cyberprof/os.exe?home=&document=http://www.how-why.com/ucs2002/tutorial/CAStatistics.html
(login with guest/guest)
26_Krugman´s Model / Source - 051222
Krugman´s
Model ---------------------------------------------------------------------
(page anchor: #Krugman)
In 1996, in 'The
Self-Organizing Economy' , P.R. Krugman presented a model that captures the two opposing forces of centralization and decentralization: the necessity for the population to settle close together, as well as the need of individuals to avoid one another and to occupy as much space as possible for their own purposes.
The emergence of new activities (= increase in population density) is proportional to the potential Vi of a place. In order to represent the centrifugal and centripetal forces, two potentials are calculated at each place, which together yield the development tendency:

K1 and K2 are size parameters, while alpha and beta are the respective scaling parameters for the distances dij. Furthermore, the average potential of the entire system is needed to calculate the rate of change:

The change in population is then defined as:

By weighting the parameters, the competition and development of individual places through trade and exchange can now be captured. In contrast to the growth models (19 to 21)
, several central places can thus develop from an initial random distribution.
See Batty: 'Cities and Complexity' (Chapter 1)
25_Segregation03 / Source - 051219
Segregation through Relocation ----------------------------------- (page anchor: #Segregation02)
Similar to the model '08_segregation' of June 10, 2005, agents with certain attributes change their position if there are not enough agents with the same attributes in their surroundings (3x3 Moore neighborhood). The mathematical principle is the same as in the previous model 'Segregation through Adaptation of Attributes'.
Siehe Batty: 'Cities and Complexity' (Chapter 1)
24_Segregation02 / Source - 051218
Segregation through Adaptation of Attributes ----------------------- (page anchor: #Segregation01)
At the beginning, each cell is assigned a random attribute value Pi(0) =
. The basic idea of the model is that each cell changes its attribute (opinion, preference, or the like) if the majority of the surrounding cells (in the 3x3 Moore neighborhood) have a different attribute. Let us assume that the white cells are people who prefer to drink beer and the black ones are wine drinkers.
The number of beer drinkers is represented formally by
, wine drinkers by
.
The conditions under which an attribute changes can be expressed as follows:

The resulting pattern is relatively insensitive to disturbances.
See Batty: 'Cities and Complexity' (Chapter 1)
23_Diffusion-Connect / Source - 051217
Diffusion
Connect Model -------------------------------------------------
(page anchor: #Diffusion-Connect)
The model consists of a cell grid and a certain number M of freely moving agents A. The agents are randomly distributed at the beginning and move in a random direction at each time step:

is the angular variation of the agent's orientation and d is the distance it travels. After each step, it is checked whether the threshold, measured by the number of agents in the Moore neighborhood, has been exceeded, in which case the respective cell is "developed":

If the threshold is raised, the number of emerging clusters decreases. If the number of agents is increased, the number or size of the clusters increases. The way in which the structures emerge in this model is analogous to the spread of settlements in space and the emergence of transportation links.
See Batty: 'Cities and Complexity' (Chapter 1)
22_Vicsek-Szalay
/ Source - 051215
Vicsek-Szalay
Model -----------------------------------------------------------
(page anchor: #Vicsek-Szalay)
Ordered structures not unlike the spread of urban development areas can emerge in a model that builds on that of spatial averaging (21_Spatial
Averaging). For this purpose, white noise is added at each step:

The value
is either 1 or -1. This results in a model with white noise.
The values per cell (= potential) are used to decide whether a cell is 'developed' or not, namely when the cell value exceeds a certain threshold. If the cell value falls below the threshold again, it is assumed that the state of development is retained. For our program, the threshold was set to 4.5. 'Developed' cells are marked white.
See Batty: 'Cities and Complexity' (Chapter 1)
21_Spatial
Averaging / Source -
051214

Spatial
Averaging ---------------------------------------------------------
(page anchor: #Spatial_Averaging)
In this model, an initial random distribution Pi(0) = -1 or 1 is averaged step by step across the cell space. The maximum value max{Pi(t)} tends toward 0. The spatial distribution takes place via the 4 orthogonally adjacent cells (von Neumann neighborhood). The corresponding formula is:

See Batty: 'Cities and Complexity' (Chapter 1)
20_Growth02 / Source - 051213
Growth
and Moore Neighborhood --------------------------------------------
(page anchor: #Growth02)
The initial situation is the same as in the model 19_Growth01. However, the spatial distribution now takes place via the average of the 8 direct neighbors including the cell under consideration (Moore neighborhood):

See Batty: 'Cities and Complexity' (Chapter 1)
Growth
and spatial redistribution through increasing returns -
(page anchor: #Growth01)
A simple cellular automaton is initialized with random values between 0 and 1 per cell ( Pi(0) = 0 < x <1 ). The following formula is used to calculate the spatial redistribution:

We are interested in the cases
> 0. As a result, high values grow at the expense of low values. This can be regarded as an analogy for places with high development potential being expanded, or spreading, by absorbing resources from their surroundings.
See Batty: 'Cities and Complexity' (Chapter 1)
18_Gravitation
/ Source - 051123

Gravity Model (social physics paradigm) --------------------------- (page anchor: #Gravitation)
Update of the program for accessibility analysis. When the third button at the top right is activated, the flows between the centers (nodes) are calculated according to the gravity model. The size (population P at a place i = Pi) of a center can be changed by enlarging or shrinking a node (Ctrl + drag&drop). The line width indicates the intensity of the flow. The flow Fij between two places is estimated using the square of the distance dij:

17_Erreichbarkeit / Source - 051117
Accessibility Analysis -------------------------------------------------------- (page anchor: #Erreichbarkeit)
After creating a graph (nodes and their connections), the connectivity of the graph can be calculated (right button at the top):
The row sums (in the table, 2nd column from the right) each form a measure of the relative connectedness of each node. Lower values correspond to better accessibility. The total sum (lowest value in the column; also called the dispersion value) characterizes the size of the graph through all connections within its boundaries.
Dividing the row sums and the dispersion value by the number of positive values yields a measure of the average connection length (in the table, the rightmost column), which can be used to compare networks with one another. (The button at the top left can be used to delete the drawn graph again.)
16_urbaneNutzungen
/ Source - 050815

Download the program, unzip it, and run it from the
hard disk! (because of background graphics)
Distribution of Urban Land Uses ------------------------------ (page anchor: #Nutzungen)
The model is based on William Alonso's "Theory of the Urban Land Market" (1960). It addresses the question of how the profit-maximizing location and the optimal size of an urban firm in a city can be determined. The question is similar to that of Thünen's land-use model.
The profit of an urban firm is determined by the three variables revenue V, production costs C, and land costs R, all of which depend on the distance to the market t and the required land area q (= firm size). By varying the variables, the distance from the city center can be determined for the optimal location.
15_Wegenutzung
/ Source - 050726
In this model, the frequency of use of a path segment is recorded. The intensity of use is represented by line width. Thick lines are frequented often, thin ones rarely.
To determine the paths, start and destination points are set at random and connected using the A* (A-star) algorithm (see previous program: 14_graphPath). The "strength" of a marking left when a path segment is used (parameter: strength of path marking) can be set, as can the speed at which the markings are deleted again (parameter: decay rate of markings). Owing to the probability distribution of the start and end points, the connections in the middle are generally used more frequently.
14_graphPath
/ Source - 050720
Pathfinding in an Irregular Graph ------------------------------------- (page anchor: #Pathfind)
Building on the A* (A-star) algorithm, this program searches for the shortest path from a start point to a destination point within any connected irregular graph. The creation of the graph follows the method introduced in the model 09_christaller on centrality and central places.
13_pathfinding mit A* / Source - 050716
The program determines the shortest path from a start point (green) to the destination point (red). The obstacles (blue) are avoided when searching for the optimal path and may not be cut diagonally. A good and detailed introduction to how the A* algorithm works is provided by the article A* Pathfinding for Beginners by Patrick Lester.
12_skalenertraege / Source - 050709
Economies of Scale -------------------------------------------------------------------------- (page anchor: #Skalenertr)
The model shows how positive economies of scale affect the catchment area of a producer/retailer (market). Certain costs arise in the manufacture of a product (model parameter: production costs). If a larger number of products can be sold (catchment areas in different colors), the cost per product falls (economy of scale). It is therefore worthwhile for a buyer to travel a longer distance to acquire the more cheaply traded product, although this increases his travel costs. The increased demand in one market in turn leads to a further price reduction. In the resulting competition for sales areas, some suppliers can prevail and form local monopolies. At the boundaries of the catchment areas, travel costs and the cost of the product at the nearest market balance out. With more expensive products, this effect of economies of scale is intensified.
11_verh_thuenen / Source - 050706
Bargaining Model for Land Use after Thünen --------- (page anchor: #Thuenen)
In contrast to the calculation of the ideal land use in the previous model (10_thuenen), here the ideal distribution is determined for a given set of uses.
In the model, a cell represents a farmer who tries to maximize the profit from his crop. The profit depends on productivity, distance to the market (a mouse click in the drawing area creates a new market), and transport costs for the different goods (the location rent/profit is positive only on the lightly marked areas). Each farmer bargains with the others within a defined neighborhood (parameter: exchange radius). If he could achieve a higher profit with his crop on another plot, he tries to swap it. If competition arises for the use of a parcel, the farmer who would earn a lower profit with his product at that location than his competitor loses out.
10_thuenen.exe
/ Source - 050627
Land-Use Model after J.H. v. Thünen ------------------------------ (page anchor: #Thuenen1)
The simulation deals with Thünen's theory of the locations of different agricultural uses in relation to a central market. (For a summary, see: Einführung in die Kultur- und Sozialgeographie. [Introduction to Cultural and Social Geography.] -> Theory & Model -> Thünen)
The program calculates the optimal local location rents. These depend on: crop yield, distance to the market, market prices and production costs of the product, and transport costs. The optimal spatial distribution of three different products is displayed.
09_christaller.exe
/ Source - 050625

Centrality and Central Places ------------------------------------------------------- (page anchor: #Zentral)
The model demonstrates the distribution of settlements in space. The red, blue, and yellow points represent centers of different rank. The attachment of the points follows this hierarchy: subordinate centers attach to higher-order ones. A summary of central place theory can be found in the Einführung in die Kultur- und Sozialgeographie. [Introduction to Cultural and Social Geography.] -> Theory & Model -> Centrality.
To start the simulation, begin by creating red points and then add blue and yellow ones. Reduce the AnlagerDist. parameter until the system comes to rest.
08_segregation
model / Source - 050610

Segregation Model ----------------------------------------------------------------- (page anchor: #Segregat)
Different agents (blue and yellow) represent uses that should not be located next to each other. In the model, the cells around an agent are marked according to its use. This space is, for example, impaired by the emissions of a commercial business (blue). Residential uses (yellow) stay away from these areas. The different colors automatically cluster around the red attachment points.
07_packingScale.exe
/ Source - 050517

Dense Packing II ------------------------------------------------------------------ (page anchor: #Packung)
Update of the overlap area program for 'Dense Packing I'
The rectangles vary their height and width in order to minimize the overlapping areas. The area (rectangle size) is preserved. The setting of the variation values determines the size of the possible change per generation. Smaller values usually produce better results.
(For the idea, see overlap areas)
06_minUeberschn.exe
/ Source - 050516

Dense Packing I ------------------------------------------------------------------- (page anchor: #overlap2)
The overlapping areas of a randomly generated arrangement of rectangles are minimized using an evolutionary strategy. The sum of all overlapping areas serves as the fitness function. The best variant of random position changes is selected in each case and used as the basis for the next generation. Mutations rearrange individual rectangles. The program runs until the total overlap area falls below 100 pixels.
The idea is borrowed from the article "Algorithmic
Support of Creative Architectural Design" by Tomor Elezkurtaj and Georg Franck.
05_rechtClipping.exe
/ Source - 050515

Overlap Areas --------------------------------------------------------------- (page anchor: #overlap1)
Calculation of the overlap areas of rectangles.
The same calculation using the Cohen-Sutherland algorithm: 04_rechtClipping.exe
/ Source.
03_Swarming.exe
/ Source - 050510

Swarm Behavior ------------------------------------------------------------------- (page anchor: #Schwarm)
The field of vision can be set via the interaction radius and the viewing angle. The minimum distance ensures an even distribution of the agents within a swarm. The cells record the frequency of "visits" by turning white. The movement vectors can be displayed.
02_Swarming.exe
/ Source - 050509

Simple Swarm Behavior ------------------------------------------- (page anchor: #simpleSchwarm)
The movement vectors within a certain radius are aligned with one another.
01_FACS.exe
/ Source - 050504
FACS --------------------------------------------------------------------------------------------
(page anchor: #FACS)
Basic model of free agents in a cellular space.
The agents can interact with the local cells. The cell grid serves the agents as a memory structure.
(FACS - Free Agents in Cellular Space: see Juval Portugali: Self-Organization
and the City).
see also: Models with NetLogo______

























