Computational Model Library

Our mission is to help computational modelers develop, document, and share their computational models in accordance with community standards and good open science and software engineering practices. Model authors can publish their model source code in the Computational Model Library with narrative documentation as well as metadata that supports open science and emerging norms that facilitate software citation, computational reproducibility / frictionless reuse, and interoperability. Model authors can also request private peer review of their computational models. Models that pass peer review receive a DOI once published.

All users of models published in the library must cite model authors when they use and benefit from their code.

Please check out our model publishing tutorial and feel free to contact us if you have any questions or concerns about publishing your model(s) in the Computational Model Library.

Displaying 10 of 136 results for "Brandon Velasco" clear search

Three stochastic simulators and the code that traces causal mechanisms in them. (1) Network SIR: a susceptible-infected-recovered process on a Barabási-Albert network of 100 agents. (2) Interbank contagion: 100 banks in which distress spreads through DebtRank dynamics and through fire sales of a common illiquid asset, with two policy instruments, emergency liquidity assistance and a market-maker of last resort. (3) NearshoreABM_XAI: the NearshoreABM model of anchor and supplier firms in the 32 Mexican states, instrumented so that the outputs of its credit, matching and infrastructure mechanisms can be recorded and injected.

The three are analyzed with ACD-ABM, a gradient-free method that attributes the effect of a policy on an aggregate outcome to the model’s mechanisms and to the simulation steps at which they act. It records the output of each mechanism in a baseline run, injects it into a policy run whose random number generator is synchronized with the baseline, and measures the share of the policy effect that the patch undoes (Expected Causal Effect), with paired bootstrap intervals, a coverage check of the mechanism partition and a rule that declines attribution when the policy effect cannot be distinguished from zero. The method is implemented in a simulator-independent Julia module.

All scripts, input data and reference outputs needed to reproduce the tables and figures of the associated article are included.

This agent-based model (ABM), implemented in the GAMA Platform (v1.9), simulates daily commuting modal choice under structural socio-spatial constraints in the Guadalajara Metropolitan Area (GMA), Mexico.

Model Overview

  • Agents & Heterogeneity: Simulates $N = 900$ synthetic citizen agents stratified across four socio-behavioral profiles (Peripheral Student, Worker with Car, Woman without Car, and Central Multimodal User) and three residential zones (Periphery, Intermediate, and Central), parameterized with empirical distributions from the 2023 Origin-Destination Survey (EOD-2023), PIMUS, and geospatial layers from IMEPLAN.
  • Decision Mechanism: Combines structural choice-set filtering (gated by private vehicle ownership, physical distance thresholds, and shared-bicycle infrastructure availability) with a Multinomial Logit (MNL) random utility function evaluating door-to-door travel time, monetary cost, effective transit accessibility, and perceived safety.
  • Policy Experiments: Evaluates five intervention scenarios across $R = 30$ stochastic Monte Carlo replications each ($150$ simulation runs; $135,000$ individual decisions):
    …

Diffusion dynamics in small-world networks with heterogeneous consumers

Sebastiano Delre | Published Saturday, September 10, 2011 | Last modified Saturday, April 27, 2013

This model simulates diffusion curves and it allows to test how social influence, network structure and consumer heterogeneity affect their spreads and their speeds.

This adaptation of the Relative Agreement model of opinion dynamics (Deffuant et al. 2002) extends the Meadows and Cliff (2012) implementation of this model in a manner that explores the effect of the network structure among the agents.

Informal risk-sharing cooperatives : ORP and Learning

Victorien Barbet Renaud Bourlès Juliette Rouchier | Published Monday, February 13, 2017 | Last modified Tuesday, May 16, 2023

The model studies the dynamics of risk-sharing cooperatives among heterogeneous farmers. Based on their knowledge on their risk exposure and the performance of the cooperative farmers choose whether or not to remain in the risk-sharing agreement.

This is a NetLogo 7.0.1 agent-based model of interdependent team productivity under O-ring production logic. The model asks when collective problem-solving capacity (CPS) improves team output and when its effect is constrained by trust, burnout, specialization diversity, weak-link quality, and team-formation rules. Agents are heterogeneous in skill, CPS, trust, burnout, effort, learning rate, openness, specialization, adaptability, and aspiration. Each tick forms temporary teams, computes individual contribution quality, combines contributions through a geometric O-ring production function with an explicit weakest-link term, records output and success, and updates agents through feedback, learning, trust change, burnout, recovery, and turnover. The paper follows the ODD protocol, reports exact implementation equations, and analyzes six BehaviorSpace experiments with 50 stochastic repetitions per condition. Scenario results show that CPS is beneficial but not sufficient: productivity is highest when CPS is combined with trust, low burnout, effective coordination, and a reliable weakest-link floor. Diversity yields only modest gains at low CPS but larger gains when CPS is high. Formation-mode results are especially informative because mixed CPS-skill formation maximizes total output, whereas random formation has the highest binary success rate, showing that output magnitude and threshold success can diverge. The study contributes a transparent computational mechanism linking collective intelligence with O-ring production and identifies boundary conditions under which high-CPS teams can still be limited by weak links and interdependence.

This model extends Schelling’s segregation model with mobility sharing. Agents of two groups occupy cells of a 32 × 32 grid and repeatedly choose activity destinations subject to a preference threshold, the minimum share of ingroup neighbours they accept. Trips are matched into shared rides between members of different groups, using one of four matching algorithms on a shareability network (maximal cross-group matching, maximum weight matching on contact time, maximum cardinality matching, or random greedy matching) with a maximum detour constraint. After each trip, an agent’s preference threshold changes with the time spent in contact with outgroup members.

Starting from complete segregation, the model examines under which conditions contact during shared trips leads to integration. Besides the main scenario, in which contact always lowers the threshold, it includes two extensions. In the first, a share of adversarial agents becomes less tolerant with contact, and this share grows or shrinks with the current level of segregation, governed by a branching dissimilarity index and a conversion rate. In the second, each contact raises or lowers the threshold with a probability that depends on the agent’s current attitude relative to a compatibility threshold.

Segregation is measured with the index of dissimilarity and the Gini coefficient. The model file includes BehaviorSpace experiments for each analysis in the associated article. The matching step uses the NetworkX library through the Python extension of NetLogo (requires Python 3 with numpy and networkx 3.x).

The purpose of the model is to investigate how different factors affect the ability of researchers to reconstruct prehistoric social networks from artifact stylistic similarities, as well as the overall diversity of cultural traits observed in archaeological assemblages. Given that cultural transmission and evolution is affected by multiple interacting phenomena, our model allows to simultaneously explore six sets of factors that may condition how social networks relate to shared culture between individuals and groups:

  1. Factors relating to the structure of social groups
  2. Factors relating to the cultural traits in question
  3. Factors relating to individual learning strategies
  4. Factors relating to the environment
    …

Replication of ECEC model: Environmental Feedback and the Evolution of Cooperation

Pierre Bommel | Published Tuesday, April 05, 2011 | Last modified Saturday, April 27, 2013

The model, presented here, is a re-implementation of the Pepper and Smuts’ model : - Pepper, J.W. and B.B. Smuts. 2000. “The evolution of cooperation in an ecological context: an agent-based model”. Pp. 45-76 in T.A. Kohler and G.J. Gumerman, eds. Dynamics of human and primate societies: agent-based modeling of social and spatial processes. Oxford University Press, Oxford. - Pepper, J.W. and B.B. Smuts. 2002. “Assortment through Environmental Feedback”. American Naturalist, 160: 205-213 […]

Peer reviewed Swidden Farming Version 2.0

C Michael Barton | Published Wednesday, June 12, 2013 | Last modified Wednesday, September 03, 2014

Model of shifting cultivation. All parameters can be controlled by the user or the model can be run in adaptive mode, in which agents innovate and select parameters.

Displaying 10 of 136 results for "Brandon Velasco" clear search

This website uses cookies and Google Analytics to help us track user engagement and improve our site. If you'd like to know more information about what data we collect and why, please see our data privacy policy. If you continue to use this site, you consent to our use of cookies.
Accept