def METHOD_NAME(
    market: xr.Dataset,
    capacity: xr.DataArray,
    technologies: xr.Dataset,
    sum_over: Optional[List[Text]] = None,
    drop: Optional[List[Text]] = None,
    rounding: int = 4,
) -> xr.DataArray:
    """Current costs."""
    from muse.commodities import is_pollutant
    result = (
        market_quantity(
            market.METHOD_NAME.sel(commodity=~is_pollutant(market.comm_usage)),
            sum_over=sum_over,
            drop=drop,
        )
        .rename("costs")
        .to_dataframe()
        .round(rounding)
    )
    return result[result.METHOD_NAME != 0]