Professional interface of the Energy Transition model.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app Standardise some chart element background colors Sep 19, 2018
bin Refresh bin files Apr 6, 2017
config Updated translations for network charts Sep 26, 2018
db Allow cost_capacity_bar to define a y-axis unit Sep 18, 2018
lib IE9 is not supported Jun 18, 2018
log Update configs and initializers for Rails 5 Apr 6, 2017
public Add "cost_capacity_bar" output element type Sep 18, 2018
script TRASH: removed oink plugin May 13, 2011
spec Fix unpermitted params when merging scenarios Sep 3, 2018
test initial import May 3, 2011
tmp Update configs and initializers for Rails 5 Apr 6, 2017
vendor/assets Add Object.assign for IE Mar 20, 2018
.eslintrc Use Prettier for JS formatting Jan 28, 2018
.gitignore Ignore node_modules/* Apr 6, 2017
.prettierrc Use Prettier for JS formatting Jan 28, 2018
.rspec area code: fix Mar 23, 2012
.rubocop.yml Add RuboCop configuration Apr 6, 2017
.ruby-version Update to Rails 5.1, Ruby 2.4.2 Jan 5, 2018
Capfile Use Puma in staging and production Jan 5, 2018
Gemfile Experiment with Sentry for error tracking Sep 18, 2018
Gemfile.lock Update FFI gem Sep 19, 2018
LICENSE.txt Adding LICENSE Dec 2, 2013
README.markdown Update README.markdown Nov 21, 2017
Rakefile Added rake task 'rename' May 23, 2013 Update configs and initializers for Rails 5 Apr 6, 2017
discover.rb initial import May 3, 2011
package.json Use Prettier for JS formatting Jan 28, 2018
yarn.lock Use Prettier for JS formatting Jan 28, 2018


The Energy Transition Model (ETM) Professional

This is the source code of the ETM Pro: an online web app that let you create a future energy scenario for various countries. This software is Open Source, so you can fork it and alter at your will.

If you have any questions, please contact us.

Build Status


Master branch


Production branch


Staging branch


The ETM pro is released under the MIT License.



  • Ruby 1.9.3, 2.1.2 or 2.3
  • Mysql database server


  • Pull this repository with git clone

  • Create your personal configuration files from the samples with

    cp -vn config/database.sample.yml config/database.yml
    cp -vn config/config.sample.yml config/config.yml
    cp -vn config/email.sample.yml config/email.yml

    for the lazy:

    cd config
    for i in *.sample.yml; do; j="$(echo $i | sed 's/.sample//g')"; cp -vn $i $j; done;
    • Probably set "standalone" to true in "config/config.yml"
  • Run bundle install to install all the dependencies

  • Create and fill local database with rake db:setup and RAILS_ENV=test rake db:setup

  • Fire up your local server with rails server -p3000

  • Go to localhost:3000 and you should see the ETM pro!

Admin access

If you want to get admin access to your own page, the easiest way to do so is to create an Admin User through the console and follow instructions:

rake db:create_admin

Bugs and feature requests

If you encounter a bug or if you have a feature request, you can either let us know by creating an Issue or you can try to fix it yourself and create a pull request.