/SimuBridge-OLCA

Team work from Anoa group

Primary LanguageJavaScriptMIT LicenseMIT

SimuBridge-OLCA
CI

ℹ️ About

This repository is a supplementary branch to the main SimuBridge project. It contains the source code for the web application that is the heart piece of the project. Please refer to the root repository for overall project documentation.

This project focuses on sustainability related information on SimuBridge. The extensions made allows users to assign abstract environmental cost drivers to specific activities, and further refine these into concrete cost drivers for accurate impact assessment. The platform facilitates a deeper understanding of the environmental implications of different operational choices, providing valuable insights for sustainable decision-making.

💻 LCA Components Structure

The module is structured to segregate UI components from logic.

Lca/
├── Components/
│ ├── BasicSpinner.jsx
│ ├── FormattedConcreteDriver.jsx
│ ├── LcaIntegration.jsx
│ ├── LcaVariantsConfiguration.jsx
│ ├── OlcaConnectionAlert.jsx
│ └── VariantEditor.jsx
└── Logic/
├── LcaDataManager.js
├── LcaIntegrationUtils.js
└── OpenLcaConnector.js

Components

  • BasicSpinner.jsx: Auxiliary React component for the loading spinner.
  • FormattedConcreteDriver.jsx: Component to display formatted data of concrete cost drivers.
  • LcaIntegration.jsx: Interface for configuring external LCA data integration.
  • LcaVariantsConfiguration.jsx: Manages the mapping of abstract and concrete cost drivers for variants.
  • VariantEditor.jsx: UI component for creating or editing variants.
  • OlcaConnectionAlert.jsx: Notifies about the OpenLCA connection status.

Logic

  • LcaDataManager.js: Manages app data storage.
  • LcaIntegrationUtils.js: Handles requests to external LCA systems.
  • OpenLcaConnector.js: Specialized connector for OpenLCA software integration.

📦️ UI Pages

The web application is split into multiple pages, each with dedicated purpose. Notably, the discovery and simulator views interact with the external process discovery and simulation tools, respectively.

LCA Integration Panel

Configure LCA with host and port for a flexible data fetching. For now, only availability is the normalization method of EF3.0 to calculate impacts.

Configure Cost Drivers nn Process Model

Assign abstract cost drivers to activities within your process model in model based parameters panel.

LCA Variants Panel

Use this panel to map abstract cost drivers to concrete cost drivers from dropdown menus. Configure the frequency of cost variants to simulate the process instances and calculate the overall environmental impact.

Simulation

Get the output of the Scylla simulator to view extended XML files.

Features

Flexible Simulation

Configure simulations with varying cost variants to explore different scenarios.

Impact Visualization

View and analyze the environmental impact of process instances through intuitive UI components.

Results

We built the application using the Javascript library React, using the Chakra-UI design framework to ensure a modern look. Image Image Image