Skip to content

Commit be62045

Browse files
Add cost Pareto plots, GWP breakdown, HRWR docs, unit-aware labels
Notebook (prediction_and_optimization_tutorial): - Add GWP vs Cost scatter (guarded by include_cost) - Add Cost vs Strength Pareto frontiers for each strength day - Add per-ingredient GWP breakdown bar chart - Use STRENGTH_DISPLAY_SCALE + strength_label() for all axes - Merge duplicate cells into loops for DRY code Notebook (slump_prediction_demo): - Use SLUMP_DISPLAY_SCALE + slump_label() consistently utils.py: - Document HRWR GWP coefficient (3.18 kg CO₂/kg) with EPD refs
1 parent bc18684 commit be62045

4 files changed

Lines changed: 1702 additions & 1350 deletions

File tree

boxcrete/utils.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,9 @@ def get_subset_sum_tensors(
935935
"Fly Ash (kg/m3)": (0.029577, 0.000457),
936936
"Slag (kg/m3)": (0.085921, 0.000326),
937937
"Water (kg/m3)": (0.001829, 0.001177),
938+
# HRWR GWP: consistent with published EPDs for polycarboxylate-based
939+
# superplasticizers (1.5-5.0 kg CO₂/kg range; e.g. BASF MasterGlenium,
940+
# Sika ViscoCrete). Tight std confirms deterministic upstream formula.
938941
"HRWR (kg/m3)": (3.184316, 0.016840),
939942
"Fine Aggregate (kg/m3)": (0.002762, 0.000113),
940943
"Coarse Aggregates (kg/m3)": (0.003895, 0.000121),
@@ -945,6 +948,8 @@ def get_subset_sum_tensors(
945948
"Fly Ash (kg/m3)": (0.036826, 0.005956),
946949
"Slag (kg/m3)": (0.094776, 0.007031),
947950
"Water (kg/m3)": (0.001752, 0.020415),
951+
# HRWR GWP: consistent with Source 0 (3.18 vs 3.10 kg CO₂/kg).
952+
# See comment above for EPD references.
948953
"HRWR (kg/m3)": (3.102591, 0.531138),
949954
"Fine Aggregate (kg/m3)": (0.002823, 0.003714),
950955
"Coarse Aggregates (kg/m3)": (0.001063, 0.003163),

0 commit comments

Comments
 (0)