This example demonstrates the PCF Process Module in the AAS Web UI. The module allows users to select a product shell (assetkind=Type) for a product that is being manufactured. A PCF calculation will take place based on selected materials resulting in a product instance shell (assetkind=Instance) with a calculated PCF Submodel.
You can run the provided example using Docker Compose. Make sure you have Docker and Docker Compose installed on your machine.
-
Clone the repository if you haven't already:
git clone https://github.com/eclipse-basyx/basyx-aas-web-ui.git cd basyx-aas-web-ui/examples/PcfCalculation -
Start the setup with Docker Compose:
docker compose up -d
- Open the AAS Web UI in your browser (http://localhost:3000)
- Navigate to the
PCF Processmodule via the main menu
- Select a product from the list of available shells

- Provide a display name for the new product instance
- Click on
Produceto proceed to material selection - Select materials to be used in the product
- Enter the amount of each material used

- See the preview of the calculated PCF equivalent CO2 emissions
- Click on
Completeto create the product instance AAS with the calculated PCF Submodel (+ Submodels of the original Type AAS)