def smd_allocation_based_on_family_smd_mapping(self, job, *args, **kwargs):

    """
    Allocates the job to a SMD according to a predefined family-smd-mapping.
    """

    smd_dict = {i: smd for i, smd in zip(range(len(self.smds)), self.smds)}
    return smd_dict[job.alloc_to_smd]