Avoid warning if all load data from user
@@ -557,6 +557,10 @@ def make_final_load_curves(
logger.info("Loading load curves")
user_load_curves = load_usr_demand_profiles(settings)
+ if all([r in user_load_curves.columns for r in settings["model_regions"]]):
+ load_curves_before_dr = user_load_curves
+
+ else:
load_sources = settings.get("load_source_table_name")
if load_sources is None:
s = """
