def METHOD_NAME(model_config, model_name):
    return ParametricModel(
        model_config[model_name]["model"],
        model_config[model_name]["deg_freedom"],
        model_name,
        model_config[model_name]["bounds"],
    )