Skip to content

JUSTIFI allows users to identify the Key Performance Metrics (KPM) for a manufacturing facility and quantify the impacts of Non-Energy Benefits (NEBs) from implementation of energy efficiency opportunities.

License

Notifications You must be signed in to change notification settings

ORNL-AMO/JUSTIFI

Repository files navigation

About JUSTIFI

Build Status Latest Release Issues Pull Requests Contributors Last Commit

JUSTIFI is a tool that is a member of Oak Ridge National Laboratory's Industrial Resources suite of applications. The application was developed in collaboration with the National Laboratory of the Rockies (NLR, formerly known as NREL) around the study of Non-Energy Benefits (NEBs). JUSTIFI allows users to identify the Key Performance Metrics (KPM) for a manufacturing facility and quantify the impacts of NEBs from implementation of energy efficiency opportunities.

JUSTIFI, like it's sibling applications MEASUR and VERIFI, is developed as a web application but is also packaged and distributed as an installable desktop application.

The latest web version of the application can be found at https://justifi.ornl.gov

Installable versions of the application can be found under the releases section of this repository.

Alternatively, downloads and additional information about ORNL's suite of tools can be found at ORNL's Industrial Resources site.

📋 Project Board

Track our progress and planned work on the JUSTIFI GitHub Project Board.

Non-Energy Benefits Research

NLR led the research effort around the study and quantification of NEBs. For more information visit the Non-energy Benefits Knowledge Library.

Details For Developers

This project is built with the Angular framework (TypeScript) and uses Electron for cross-platform desktop builds.

Thinking of contributing? Please review our Contributing Guidelines first!


🚀 Getting Started

Install & Run

  1. Install dependencies:
    npm install
  2. Install Angular CLI (for tests):
    npm install -g @angular/cli
    • Or install locally: npm install @angular/cli and run with npm run-script ng
  3. Start the web dev server:
    npm run start

🖥️ Electron Development

  • Prefer web development unless adding Electron-specific features.
  • For live Electron builds:
    npm run build-watch
  • In a second terminal, start Electron:
    npm run electron
    • Kill and restart Electron after changes.

🏗️ Build

  • Build artifacts: /dist directory
  • Electron build:
    npm run build
  • Production web build:
    npm run build-prod
  • Production Electron build:
    npm run build-prod-electron

📦 Native Installers

  • Create Electron installers:
    npm run dist
  • Installers are output to ./output/

🧪 Running Unit Tests

  • To run unit tests (requires Chrome):

    ng test
    # or
    npm run test
  • For headless testing (no browser UI):

    ng test --browsers=ChromeHeadless
    # or
    npm run test-ci
  • See Karma Config for browser targeting.


📄 License

This project is licensed under the MIT License. See LICENSE for details.

About

JUSTIFI allows users to identify the Key Performance Metrics (KPM) for a manufacturing facility and quantify the impacts of Non-Energy Benefits (NEBs) from implementation of energy efficiency opportunities.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 6