GithubHelp home page GithubHelp logo

mdeloge / opengrid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opengridcc/opengrid

0.0 2.0 0.0 317 KB

Open-source algorithms for building monitoring analysis

License: Apache License 2.0

Python 100.00%

opengrid's Introduction

Build Status Coverage Status

opengrid

Open-source algorithms for data-driven building analysis and control

License: Apache 2.0

Installation

Basic setup

For the OpenGrid code to run and to enable setup you need a working installation of Python 3.5 (or above) and git.

You can check your Python 3.* installation by running python3 --version in the terminal. Git can be easily installed on most Unix based systems by running sudo apt-get install git-all in the terminal.

Change your working directory to a clear location where you want to clone the opengrid library to. Then clone the repository and cd into it.

git clone https://github.com/opengridcc/opengrid.git
cd opengrid

(optional) set your local git username by running git config user.name "git-username"

Dependencies

To be able to install all dependencies make sure you have pip3 installed. If not run sudo apt-get install python3-pip

Most of the dependencies for OpenGrid are contained in the requirements.txt file that can be found in the root directory of the cloned repository. Installing all these dependencies (and additional dependencies) can be done with the following commands:

sudo -H pip3 install -r requirements.txt
sudo apt-get update && sudo apt-get -y install \
   python3 \
   python3-dev \
   python3-setuptools \
   python3-pip \
   build-essential \
   libssl-dev \
   libffi-dev \
   python3-numpy \
   python3-scipy \
   python3-matplotlib \
   python3-pandas
sudo -H pip3 install jupyter

The last step now is to set your PYTHONPATH to the recently clone opengrid repository:

export PYTHONPATH=$PYTHONPATH:"path to chosen directory"/opengrid

This directory must be the root folder we just cloned.

Testing your setup

To test if everything is setup correctly you can execute te test script:

// when in the root opengrid directory
cd opengrid/tests
python3 test_analyses.py

If the terminal prints out something like:

.
----------------------------------------------------------------------
Ran 1 test in 0.017s

OK

Then your setup is OK! Welcome to the OpenGrid development team.

opengrid's People

Contributors

saroele avatar

Watchers

James Cloos avatar mdeloge avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.