Code Monkey home page Code Monkey logo

energyplus-fortran's Introduction

NRGSIM Application

Development Environment Setup (Linux)

  • Install Git if you don't have it already: sudo apt-get install git
  • Install MongoDB if you don't have it already: sudo apt-get install mongodb-server
  • Install node.js if you don't have it already: sudo apt-get install nodejs (and sudo apt-get install nodejs-legacy on Debian distros)
  • Open a console window and cd to the parent directory of where you want to work on code
  • Clone the git repository: git clone [email protected]:nrgsim/nrgsim.git
  • Move into the project directory: cd nrgsim
  • Install the projects node modules: npm install
  • Start MongoDB: sudo /etc/init.d/mongodb start
  • Run the server app
    • Standalone: node server.js or npm start
    • With nodemon (auto restarts when changes made during development): nodemon [--debug] server.js

Development Environment Setup (Windows)

  • Install Git if you don't have it already: (http://git-scm.com/)
  • Install MongoDB if you don't have it already: (http://docs.mongodb.org)
  • Install node.js if you don't have it already: (http://nodejs.org/)
  • Open a console window and cd to the parent directory of where you want to work on code
  • Clone the git repository: git clone [email protected]:nrgsim/nrgsim.git
  • Move into the project directory: cd nrgsim
  • Install the projects node modules: npm install
  • Start MongoDB: sudo /etc/init.d/mongodb start
  • Run the server app:
    • Standalone: node server.js or npm start
    • With nodemon (auto restarts when changes made during development): nodemon [--debug] server.js

At this point the server application is ready to run but nothing will happen without the client application getting built first. To build the client application, see the readme.md file at public/readme.md. In particular if you want to run this app using this server side code, you need to run lineman dist in order to build the client app so that it can get served by the web server.

Useful global node.js modules

Nodemon - useful for restarting express when something changes: npm install -g nodemon

Testing

Run from command line at root of project: runTests.cmd or npm test
It runs all the tests under the 'tests/' directory. They can be written in JavaScript or CoffeeScript.

Running on production server

The following is how to run the app on the production server. cd /data/app-dev/nrgsim sudo PORT=8000 forever start servers.js &

To stop the app use the following command: sudo forever stop 0

energyplus-fortran's People

Contributors

nrgsim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

energyplus-fortran's Issues

Extracting data from RefrigeratedWarehouse.idf

Hi,
I need separate electricity end-use for freezers (1-5) and coolers (1-3), subfreezer, and dock. I can only get total annual electricity use from ABUPS. The MDD and MTD have very detailed outputs for lights and equipment, which is only 10% of total electricity use, but all chillers are reported under one number. I was not able to figure out how to obtain separate refrigeration electricity use for each zone. If that's really not possible to obtain - how can I calculate it from details below? I have the same issue with refrigerant in the system (I'm not able to get how much is a full charge, which would help me calculate emissions from refrigerant loss etc.).
SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Total Cooling Rate W SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Sensible Cooling Rate W SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Latent Cooling Rate W SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Water Removed Mass Flow Rate kg/s SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Total Electric Power [W](Each Call) SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Fan Electric Power W SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Heater Electric Power W SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Sensible Heat Ratio SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Frost Accumulation Mass Kg SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Zone Sensible Cooling Rate W SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Zone Heating Rate W SUBFREEZERAIRCHILLER_1:Refrigeration Zone Air Chiller Defrost Electric Power W

Kind regards,
Thank you for your help
Jasmina

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.