Computational Model Library

In this agent-based model, agents decide to adopt a new product according to a utility function that depends on two kinds of social influences. First, there is a local influence exerted on an agent by her closest neighbors that have already adopted, and also by herself if she feels the product suits her personal needs. Second, there is a global influence which leads agents to adopt when they become aware of emerging trends happening in the system. For this, we endow agents with a reflexive capacity that allows them to recognize a trend, even if they can not perceive a significant change in their neighborhood.

Results reveal the appearance of slowdown periods along the adoption rate curve, in contrast with the classic stylized bell-shaped behavior. Results also show that network structure plays an important role in the effect of reflexivity: while some structures (e.g., scale-free networks) may amplify it, others (e.g., small-world structure) weaken such an effect.

This agent-based model was built as part of a replication effort of Jeness et al.’s work (linked below). The model simulates an MSM sexual activity network for the purpose of modeling the effects of respectively PrEP and ART on HIV prevention. The purpose of the model is to explore the differences between differerent interpretations of the NIH Indication Guidelines for PrEP.

This model simulates a group of farmers that have encounters with individuals of a wildlife population. Each farmer owns a set of cells that represent their farm. Each farmer must decide what cells inside their farm will be used to produce an agricultural good that is self in an external market at a given price. The farmer must decide to protect the farm from potential encounters with individuals of the wildlife population. This decision in the model is called “fencing”. Each time that a cell is fenced, the chances of a wildlife individual to move to that cell is reduced. Each encounter reduces the productive outcome obtained of the affected cell. Farmers, therefore, can reduce the risk of encounters by exclusion. The decision of excluding wildlife is made considering the perception of risk of encounters. In the model, the perception of risk is subjective, as it depends on past encounters and on the perception of risk from other farmers in the community. The community of farmers passes information about this risk perception through a social network. The user (observer) of the model can control the importance of the social network on the individual perception of risk.

In an associated paper which focuses on analyzing the structure of several egocentric networks of collective awareness platforms for sustainable innovation (CAPS), this model is developed. It answers the question whether the network structure is determinative for the sustainability of the created awareness. Based on a thorough literature review a model is developed to explain and operationalize the concept of sustainability of a social network in terms of importance, effectiveness and robustness. By developing this agent-based model, the expected outcomes after the dissolution of the CAPS are predicted and compared with the results of a network with the same participants but with different ties. Twitter data from different CAPS is collected and used to feed the simulation. The results show that the structure of the network is of key importance for its sustainability. With this knowledge and the ability to simulate the results after network changes have taken place, CAPS can assess the sustainability of their legacy and actively steer towards a longer lasting potential for social innovation. The retrieved knowledge urges organizations like the European Commission to adopt a more blended approach focusing not only on solving societal issues but on building a community to sustain the initiated development.

Our model is hybrid agent-based and equation based model for human air-borne infectious diseases measles. It follows an SEIR (susceptible, exposed,infected, and recovered) type compartmental model with the agents moving be-tween the four state relating to infectiousness. However, the disease model canswitch back and forth between agent-based and equation based depending onthe number of infected agents. Our society model is specific using the datato create a realistic synthetic population for a county in Ireland. The modelincludes transportation with agents moving between their current location anddesired destination using predetermined destinations or destinations selectedusing a gravity model.

Network-Based Trust Games

Bin-Tzong Chie | Published Thu Aug 22 07:16:41 2013 | Last modified Wed Apr 15 17:03:56 2020

The network-based trust game is a hybridization of both the repeated trust games and the network games.

Dynamic Interbank Network Simulator

Valentina Guleva | Published Wed Nov 23 16:05:19 2016 | Last modified Mon Apr 13 04:05:36 2020

The model provides instruments for the simulation of interbank network evolution. There are tools for dynamic network analysis, allowing to evaluate graph topological invariants, thermodynamic network features and combinational node-based features.

This a model developed as a part of the paper Mejía, G. & García-Díaz, C. (2018). Market-level effects of firm-level adaptation and intermediation in networked markets of fresh foods: a case study in Colombia. Agricultural Systems 160: 132-142.

It simulates the competition dynamics of the potato market in Bogotá, Colombia. The model explores the economic impact of intermediary actors on the potato supply chain.

AncientS-ABM is an agent-based model for simulating and evaluating the potential social organization of an artificial past society, configured by available archaeological data. Unlike most existing agent-based models used in archaeology, our ABM framework includes completely autonomous, utility-based agents. It also incorporates different social organization paradigms, different decision-making processes, and also different cultivation technologies used in ancient societies. Equipped with such paradigms, the model allows us to explore the transition from a simple to a more complex society by focusing on the historical social dynamics; and to assess the influence of social organization on agents’ population growth, agent community numbers, sizes and distribution.

AncientS-ABM also blends ideas from evolutionary game theory with multi-agent systems’ self-organization. We model the evolution of social behaviours in a population of strategically interacting agents in repeated games where they exchange resources (utility) with others. The results of the games contribute to both the continuous re-organization of the social structure, and the progressive adoption of the most successful agent strategies. Agent population is not fixed, but fluctuates over time, while agents in stage games also receive non-static payoffs, in contrast to most games studied in the literature. To tackle this, we defined a novel formulation of the evolutionary dynamics via assessing agents’ rather than strategies’ fitness.

As a case study, we employ AncientS-ABM to evaluate the impact of the implemented social organization paradigms on an artificial Bronze Age “Minoan” society, located at different geographical parts of the island of Crete, Greece. Model parameter choices are based on archaeological evidence and studies, but are not biased towards any specific assumption. Results over a number of different simulation scenarios demonstrate better sustainability for settlements consisting of and adopting a socio-economic organization model based on self-organization, where a “heterarchical” social structure emerges. Results also demonstrate that successful agent societies adopt an evolutionary approach where cooperation is an emergent strategic behaviour. In simulation scenarios where the natural disaster module was enabled, we observe noticeable changes in the settlements’ distribution, relating to significantly higher migration rates immediately after the modeled Theran eruption. In addition, the initially cooperative behaviour is transformed to a non-cooperative one, thus providing support for archaeological theories suggesting that the volcanic eruption led to a clear breakdown of the Minoan socio-economic system.

This model is programmed in Python 3.6. We model how different consensus protocols and trade network topologies affect the performance of a blockchain system. The model consists of multiple trader and miner agents ( and, and one system agent ( We investigated three consensus protocols, namely proof-of-work (PoW), proof-of-stake (PoS), and delegated proof-of-stake (DPoS). We also examined three common trade network topologies: random, small-world, and scale-free. To reproduce our results, you may need to create some databases using, e.g., MySQL; or read and write some CSV files as model configurations.

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.