def METHOD_NAME(d: dict, year: int) -> dict:
    d["Scenario"]["Site"]["Wind"]["installed_cost_us_dollars_per_kw"] = \
        cost_forecasts.wind(
            year,
            type="capital_cost_dollars_per_kw",
            size_class=d["Scenario"]["Site"]["Wind"].get("size_class") or "commercial"
        )
    d["Scenario"]["Site"]["Wind"]["om_cost_us_dollars_per_kw"] = \
        cost_forecasts.wind(
            year,
            type="fixed_om_dollars_per_kw_per_yr",
            size_class=d["Scenario"]["Site"]["Wind"].get("size_class") or "commercial"
        )
    d["Scenario"]["Site"]["PV"]["installed_cost_us_dollars_per_kw"] = \
        cost_forecasts.pv(year, type="capital_cost_dollars_per_kw")
    d["Scenario"]["Site"]["PV"]["om_cost_us_dollars_per_kw"] = \
        cost_forecasts.pv(year, type="fixed_om_dollars_per_kw_per_yr")
    d["Scenario"]["Site"]["Storage"]["installed_cost_us_dollars_per_kw"] = \
        cost_forecasts.storage(year, type="installed_cost_us_dollars_per_kw")
    d["Scenario"]["Site"]["Storage"]["installed_cost_us_dollars_per_kwh"] = \
        cost_forecasts.storage(year, type="installed_cost_us_dollars_per_kwh")
    return d