calculate_embodied
Calculate whole-life embodied carbon for materials per EN 15978. Provide material key, quantity, and optional boundary to obtain stage totals, module D, and missing-stage flags.
Instructions
Whole-life embodied carbon for materials, per EN 15978. Give a material key + quantity (+ optional boundary A1-A3 / A1-A4 / A1-A5 / A1-C); it assembles the declared lifecycle modules (A1-A3, B, C1-C4, D) into stages, totals the boundary, reports module D separately, and flags any missing stage as not-assessed (never zero). Find material keys via search_factors (section "materials").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| materials | Yes | Each: { material_key, quantity:{value,unit e.g. m3/kg/tonne/m2}, boundary? }. |