def get_batch_series(source):
    """Extracts sim_batch and series values from full source string

    e.g.: sim10_1 would return (10, 1)
    """
    stripped = source.strip('sim')
    sim_batch = int(stripped[:2])
    series = int(stripped[3:])
    return sim_batch, series