-
Notifications
You must be signed in to change notification settings - Fork 25
Pcf module #907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Pcf module #907
Conversation
|
TODOs:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces a PCF (Product Carbon Footprint) Process module that enables users to create Asset Administration Shell (AAS) instances from product types with automatically calculated PCF v1.0 submodels based on material composition.
Key Changes:
- Implements a two-step wizard for PCF calculation: product selection and material composition
- Adds utility functions for creating and manipulating PCF submodels from templates
- Includes a complete PCF v1.0 template conforming to IDTA standards
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 17 comments.
Show a summary per file
| File | Description |
|---|---|
PcfProcess.vue |
Main module entry point coordinating the two-step wizard flow |
PcfProductSelection.vue |
Step 1: UI for selecting product type shells (assetKind='Type') |
PcfMaterialComposition.vue |
Step 2: Material selection interface with PCF calculation and AAS instance creation |
PCF_V1_0_Template.json |
IDTA-compliant Carbon Footprint submodel template (v1.0) |
CarbonFootprint_v1_0Utils.ts |
Enhanced utilities for PCF submodel creation and manipulation with helper functions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
aas-web-ui/src/pages/modules/PcfProcess/PcfMaterialComposition.vue
Outdated
Show resolved
Hide resolved
aas-web-ui/src/pages/modules/PcfProcess/PcfMaterialComposition.vue
Outdated
Show resolved
Hide resolved
aas-web-ui/src/pages/modules/PcfProcess/PcfMaterialComposition.vue
Outdated
Show resolved
Hide resolved
aas-web-ui/src/pages/modules/PcfProcess/PcfProductSelection.vue
Outdated
Show resolved
Hide resolved
aas-web-ui/src/pages/modules/PcfProcess/PcfMaterialComposition.vue
Outdated
Show resolved
Hide resolved
aas-web-ui/src/pages/modules/PcfProcess/PcfMaterialComposition.vue
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
aas-web-ui/src/composables/AAS/SubmodelTemplates/CarbonFootprint_v1_0Utils.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 7 out of 16 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description of Changes
This PR adds a new module to create an AAS instance from a selected product type including the PCF v1.0 Submodel. The PCF Submodel is created and instantiated based on selected materials. The materials itself have to be shells that have a PCF Submodel.
Material shells have to be of
assetKind="Instance" andassetType="material"