ECOGrid simulates Energy Communities using two complementary approaches:
- Agent-Based Modeling (ABM) via MESA to explore individual decisions and scenario discovery.
- MonteCarlo Simulation for large-scale stochastic data generation and reproducible experimentation.
ECOGrid helps answer critical research questions:
- π‘ Which incentives work best to increase adoption?
- π₯ What types of people are most likely to join?
- π° How do trust and income affect decision-making?
- π What policies maximize community participation?
- π² How can stochastic simulations support scenario analysis?
- β‘ Agent-Based Modeling with MESA.
- π² MonteCarlo Data Generation for robust synthetic datasets.
- πΊοΈ Scenario Discovery using PRIM.
- π 3 Policy Scenarios: No Incentive (NI), Services Incentive (SI), Economic Incentive (EI).
- π§ Reproducible Data Pipelines: MonteCarlo output and validation notebooks.
- ποΈ Visual Reports: Heatmaps, PRIM trajectory plots, and demographic tables.
| Topic | Focus | File Link |
|---|---|---|
| π Getting Started | Installation, setup, and first run commands | π GETTING_STARTED.md |
| ποΈ Architecture | Design principles (SOLID/DRY) and system structure | ποΈ ARCHITECTURE.md |
| π¦ ABM Data Generation | Guide to generating Agent-Based Model datasets | π DATA_GENERATION_ABM.md |
| π¦ MonteCarlo Pipeline | Guide to generating and validating MonteCarlo datasets | π² DATA_GENERATION_MONTECARLO.md |
| βοΈ Scripts & Experiments | Overview of all executable scripts in the project | π SCRIPTS.md |
| π Reports & Visualization | Detailed descriptions of all generated reports (Heatmaps, PRIM Trajectory, Tables) | πΊοΈ VISUALIZATION_SCRIPTS.md |
| βοΈ Tutorials | Step-by-step guides for specific usage scenarios | π TUTORIAL.md |
| π§ͺ API Reference | Function and class documentation | π API_REFERENCE.md |
ECOGrid/
βββ src/ # π Core Python code (Simulation, Analysis, Incentives)
βββ tests/ # β
Unit and integration tests
βββ data/ # πΎ Input/output storage (raw, processed, MonteCarlo results)
βββ config/ # βοΈ YAML configuration files (base, scenarios, MonteCarlo)
βββ docs/ # π Documentation files (see table above)
βββ notebooks/ # π Jupyter analysis and validation notebooks
βββ README.md # π This file
- MESA - Agent-based modeling framework
- Python 3.9+ - Programming language
- NumPy & Pandas - Data processing
- Matplotlib & Seaborn - Chart generation
- PyYAML - Configuration management
- Pytest - Testing framework
This research project is licensed under CC BY-NC-ND 4.0.
Authors: G. Antonio Pierro
Contact: antonio.pierro@gmail.com