mesa / mesa/mesa-examples

Mesa Examples - Tariff War demonstrating Ratchet Effect

Open
#279 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
252
Forks
279
Avg merge
8d 9h
Merged PRs (30d)
2

Description

### A model focusing on tariff in global trading could effectively demonstrate the ratchet effect

**Agents:** Countries and firms with varying preferences (country care more about debt/economic status; firms care more about profitability)
**Environment:** global trading system (could be specified to one smaller field for simplicity)
**Ratchet Mechanism**: Once tariffs are imposed by one country, other countries may keep imposing tariffs to counterattack, which leads to further tariff war instead of mutual negotiation.

### Interesting Modeling Aspects
This example could showcase several important Mesa capabilities:

**Expectation Formation:** How agents form and update expectations about the action of other agents
**Multi-level Ratchet Effects:**
firm level (more conservative to protect from loss)
consumer level (imported goods vs. local goods)
national economy level (represented by debt ? -> needs further discussion)

**Connection to Mesa Development**
Agent states and transitions
Approaches for modeling perception and expectation updating
Demonstrating adaptive behavior in more complex social systems

Contributor guide

Open the contributing guide

Research direction

The issue does not name files, tests, or an existing example entry point. Start by reviewing the Mesa examples structure and clarify the model scope, agent preferences, debt representation, and expectation updates. Done means a documented tariff-war example that demonstrates the proposed ratchet effect and adaptive behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.