Skip to content

Repository files navigation

Dual Status Signaling and the Diffusion of Green Innovation

Version: July 2026

This agent-based model examines how status signaling shapes the diffusion of sustainable technologies in a heterogeneous consumer-firm setting.

Getting Started

These instructions will allow you to run the model on your system.

System Requirements and Installation

To run the code, you need to install Julia (v1.12.6). Additionally, the following packages need to be installed:

To install a package, start julia and execute the following command:

using Pkg; Pkg.add("<package name>")

Running The Model

The model implementation is located in the model/ folder. To run the model, the initial state must be set up. Our baseline initialization is specified in the experiments/initialization.jl file. By default, the subset of data stored during a simulation run is defined in the experiments/data_collection.jl file.

To conduct an experiment and execute several runs of the model (batches) in parallel, execute run_exp.jl. This requires setting up the experiment(s) in a configuration file; see baseline.jl as an example. To execute an experiment, use the following command:

julia [--project=<path>] [-p <no_cpus>] run_exp.jl <config-file> [--chunk <i>] [--no_chunks <n>]

Instead of using activate from within Julia, you can specify the project on startup using the --project= flag. For example, to run a script from the command line using the environment in the current directory, you can run

julia --project=. [-p <no_cpus>] run_exp.jl <config-file> [--chunk <i>] [--no_chunks <n>]

The Julia parameter -p <no_cpus> is optional and specifies how many CPU cores will be used in parallel. The --chunk and --no_chunk parameters are also optional and can be used to break up the experiment into several chunks, e.g., to distribute execution among different machines.

Plots from experiments can be created by using the following command:

julia plot_exp.jl <config-file>

By default, data and plots will be stored in the data/ and plots/ folders, respectively.

Authors

Fiona Borsetzky, Isabella Koch

Further Links

  • ETACE - Economic Theory and Computational Economics, Bielefeld University

About

This repository contains the Julia source code and data of the paper "Dual Status Signaling and the Diffusion of Green Innovation".

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages