You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Stage 5 GWP calculation and update LCA pipeline docs
- Rewrote calculate_gwp() to use process-based LCA via openLCA IPC:
get_providers() → create_product_system() → calculate() with
EF 3.0 Method (adapted), instead of a direct characterisation-factor
lookup which cannot work for product flows
- Added EF30_METHOD_ID and CLIMATE_CHANGE_CAT_ID constants
- Updated CLAUDE.md with LCA pipeline section and run instructions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ This is a **knowledge repository and MBSE model workspace**, not a traditional s
29
29
30
30
-**`docs/`** — Documentation source (MkDocs). Editing these files updates the published site at [thenightfox-1.github.io/SustainableTogether](https://thenightfox-1.github.io/SustainableTogether/).
31
31
-**`System Model/SolarX/`** — MBSE/SysML model of the SolarX PV system (current/AS-IS state). The system architecture is: `PVArray → SolarInverter → BatteryStorage` and `SolarInverter → GridConnection`, all orchestrated by `SystemController`.
32
-
-**`System Model/SolarX/LCA Analysis SolarX/`** — Planned location for Life Cycle Assessment (LCA) integration with the SolarX model (currently empty, in active development).
32
+
-**`System Model/SolarX/LCA Analysis SolarX/`** — LCA integration work. Contains a PoC SysML v2 ↔ LCA pipeline in `SimpleLCAIntegration/`. See the `CLAUDE.md` files in each subfolder for detailed guidance.
33
33
-**`Our Presentations/`** and **`SustainabilityWebinarSeries/`** — Static assets (PDFs, slides); not built or processed.
34
34
35
35
## Project Context
@@ -38,6 +38,26 @@ The project models a transformation from **SolarX** (conventional PV company, cu
38
38
39
39
The near-term roadmap prioritises: completing the SolarX RFLP (Requirements, Functional, Logical, Physical) model layers; integrating LCA to automate environmental impact assessment; and beginning the SustainaSun model.
40
40
41
+
## LCA Integration Pipeline
42
+
43
+
The `SimpleLCAIntegration/` PoC demonstrates a four-layer pipeline:
The script connects to openLCA via IPC, fetches ELCD flows, performs a SPARQL semantic match against the SysML material names, and prints the matched flow's GWP characterisation factor × mass.
58
+
59
+
To extend to the full SolarX system, create one `<Component>_instance.ttl` file per component (reusing the same ontology and SPARQL query). Component names: `PVArray`, `SolarInverter`, `BatteryStorage`, `SystemController`, `GridConnection`.
0 commit comments