https://github.com/bgrochal/age3-carbonfootprint
An implementation of the AgE3-compatible solver for the Carbon Footprint optimization.
https://github.com/bgrochal/age3-carbonfootprint
agent-based-simulation agh carbon-footprint evolutionary-algorithm
Last synced: 7 days ago
JSON representation
An implementation of the AgE3-compatible solver for the Carbon Footprint optimization.
- Host: GitHub
- URL: https://github.com/bgrochal/age3-carbonfootprint
- Owner: bgrochal
- Created: 2017-05-04T19:01:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-20T16:03:25.000Z (almost 8 years ago)
- Last Synced: 2025-02-17T11:43:05.462Z (4 months ago)
- Topics: agent-based-simulation, agh, carbon-footprint, evolutionary-algorithm
- Language: Java
- Homepage:
- Size: 87.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AgE 3 Carbon Footprint
This repository contains an implementation of the [AgE3](https://gitlab.com/age-agh/age3)-compatible solver for
optimizing Carbon Footprint. Technology stack: Java, Spring framework.## Prerequisites
You need to have the following tools installed and configured:
- Java 1.8
- Gradle## Installation and Commissioning
This repository is compatible with the `0.5` version of the [AgE3](https://gitlab.com/age-agh/age3) project, which is
not deployed yet. In order to run this repository, follow these steps:
1. Clone the latest version of the [AgE3 develop branch](https://gitlab.com/age-agh/age3/tree/develop).
2. Enter the main directory of cloned repository.
3. Navigate to the `settings.gradle` file and append the following line:
```
include 'AgE3-CarbonFootprint'
```
Then close the text editor.
4. Add this repository as a submodule and navigate to it:
```
git submodule add https://github.com/bgrochal/AgE3-CarbonFootprint.git
cd AgE3-CarbonFootprint
```
5. Build and run the code included in this repository by executing:
```
gradle node -PappArgs="['pl/edu/agh/footprint/age/carbon-footprint-config.xml,pl/edu/agh/footprint/age/carbon-footprint-config.properties']"
```## Visualisation of results
There is a `python3` script included in the `src/main/resources/visualisation` directory, which analyses the log files
produced by the Carbon Footprint solver. In order to run this script, please install all dependencies by typing:
```
pip3 install -r requirements.txt
```
in the directory mentioned above, and then run the script as follows:
```
python3 visualisation.py
```## Links
* [AgE 3 reference](https://www.age.agh.edu.pl/)
* [AgE 3 Repository on GitLab](https://gitlab.com/age-agh/age3)