Skip to content

An implementation of the AgE3-compatible solver for the Carbon Footprint optimization.

Notifications You must be signed in to change notification settings

bgrochal/AgE3-CarbonFootprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

AgE 3 Carbon Footprint

This repository contains an implementation of the 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 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.
  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

About

An implementation of the AgE3-compatible solver for the Carbon Footprint optimization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published