 		SELECT *,
 		max(v_nom) OVER (PARTITION BY country) AS max_v_nom,
 		row_number() OVER () + (SELECT max(load_id)
-					FROM calc_ego_hv_powerflow.load
+					FROM model_draft.ego_grid_pf_hv_load
 					WHERE scn_name = 'NEP 2035') AS load_id
 		FROM calc_ego_neighbouring_states.bus
 		) SQ
 	WHERE v_nom = max_v_nom;
 
 */
--- SELECT * FROM calc_ego_hv_powerflow.load_pq_set WHERE load_id in (SELECT load_id FROM calc_ego_hv_powerflow.load WHERE bus > 280000)
-DELETE FROM calc_ego_hv_powerflow.load_pq_set;
+-- SELECT * FROM model_draft.ego_grid_pf_hv_load_pq_set WHERE load_id in (SELECT load_id FROM model_draft.ego_grid_pf_hv_load WHERE bus > 280000)
+DELETE FROM model_draft.ego_grid_pf_hv_load_pq_set;
 
 -- Parse load timeseries FROM renpass_gis to load_pq_set
 -- Status Quo
-INSERT INTO calc_ego_hv_powerflow.load_pq_set (scn_name, load_id, temp_id, p_set)
+INSERT INTO model_draft.ego_grid_pf_hv_load_pq_set (scn_name, load_id, temp_id, p_set)
 
 	SELECT
 	'Status Quo' AS scn_name,


-- NEP 2035
/*
INSERT into calc_ego_hv_powerflow.load (scn_name, load_id, bus, sign)

	SELECT
	'NEP 2035',

		SELECT *,
		max(v_nom) OVER (PARTITION BY country) AS max_v_nom,
		row_number() OVER () + (SELECT max(load_id)
					FROM model_draft.ego_grid_pf_hv_load
					WHERE scn_name = 'Status Quo') AS load_id
		FROM calc_ego_neighbouring_states.bus
		) SQ
