Skip to content

AMO-Tools-Desktop is an energy efficiency calculation application for use with industrial equipment such as pumps, furnaces, fans, and motors, as well as for industrial systems such as steam.

License

Notifications You must be signed in to change notification settings

ORNL-AMO/AMO-Tools-Desktop

Repository files navigation

MEASUR

Downloads Github Releases Github All Releases

MEASUR (Manufacturing Energy Assessment Software for Utility Reduction) helps manufacturers increase industrial energy efficiency at the plant-level and in specific systems. Learn step-by-step ways to identify opportunities, monitor progress, and improve efficiency in any facility. Some tools help facilities implement an energy management system and prepare to become ISO 50001 and Superior Energy Performance certified. Based on older Department of Energy (DOE) tools, the Advanced Manufacturing Office (AMO) has undertaken this effort to refactor the legacy tools into a modern environment. The suite includes 7 energy system assessment modules, a Data Exploration Module, extensive help text, comprehensive reports, data visualization, and 80 calculators!

Dependencies

  • Node.js LTS (https://nodejs.org/en/)
    • The MEASUR team recommends managing node versions using Node Version Manager (NVM)

Install and Run the Project

Install Node Dependencies for All Repo Modules

Note: Both /AMO-Tools-Desktop and /AMO-Tools-Desktop/process-flow-diagram-component package.json's must be installed for the project to build successfully.

Use the command below to install them simultaneously, or see the Manual Install section. npm run install-packages

Or: Manual Install

Change directory to /AMO-Tools-Desktop/process-flow-diagram-component

  • Install process-flow-diagram-component dependencies: npm install Change directory to /AMO-Tools-Desktop
  • Install Angular project dependencies: npm install

Build for Development

Note: Build scripts will run /AMO-Tools-Desktop and /AMO-Tools-Desktop/process-flow-diagram-component concurrently

  • Serve the web build: npm run start
  • Build for electron development with hot-reload: npm run build-watch
    • To start the electron app: npm run electron

Build for Production

  • Build the desktop installer:
    • npm run build-prod-desktop
    • npm run dist
    • The package will be placed in output
  • Build the web dist:
    • npm run build-prod-web

Reset All Project Build Artifacts and Dependencies

This script will remove /dist, package-lock.json, and node_modules for /AMO-Tools-Desktop and /AMO-Tools-Desktop/process-flow-diagram-component npm run reset


More Information

Bundled Dependencies

The repo includes two dependencies which are not part of the core Angular project.

Process Flow Diagram Component

MEASUR depends on this native web component built in React to leverage the ReactFlow library. The process-flow-diagram-component webpack build runs concurrently from commands executed for the main project. The component is copied into the Angular project /dist output and referenced in the Angular project index.html.

Process Flow Library

Both MEASUR and the Process Flow Diagram Component depend on /process-flow-lib as a shared library of types, calculations, and utility methods.

About

AMO-Tools-Desktop is an energy efficiency calculation application for use with industrial equipment such as pumps, furnaces, fans, and motors, as well as for industrial systems such as steam.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 28