def force_zero_resource_area_constraint_rule(backend_model, node, tech):
    """
    Set resource_area to zero if energy_cap_max is zero
    (i.e. there can be no energy_cap, so similarly there can be no resource_area)

    """

    return backend_model.resource_area[node, tech] == 0