 	GROUP BY generator_id;
 
 */
--- SELECT * FROM calc_ego_hv_powerflow.load WHERE bus > 280000;
-DELETE FROM calc_ego_hv_powerflow.load WHERE bus > 280000;
+-- SELECT * FROM model_draft.ego_grid_pf_hv_load WHERE bus > 280000;
+DELETE FROM model_draft.ego_grid_pf_hv_load WHERE bus > 280000;
 
 -- INSERT neigbouring states in load table
 -- Status Quo
-INSERT into calc_ego_hv_powerflow.load (scn_name, load_id, bus, sign)
+INSERT into model_draft.ego_grid_pf_hv_load (scn_name, load_id, bus, sign)
 
 	SELECT
 	scn_name,

		AND A.type = 'from_bus'
		AND A.scenario_id = 7
		) SQ
		JOIN calc_ego_hv_powerflow.load C on (C.bus = SQ.bus_id)
	WHERE SQ.v_nom = SQ.max_v_nom
	AND C.scn_name = 'NEP 2035'
	GROUP BY C.load_id;

		AND A.type = 'from_bus'
		AND A.scenario_id = 6
		) SQ
		JOIN model_draft.ego_grid_pf_hv_load C on (C.bus = SQ.bus_id)
	WHERE SQ.v_nom = SQ.max_v_nom
	AND C.scn_name = 'Status Quo'
	GROUP BY C.load_id;

-- NEP 2035
/*
INSERT INTO model_draft.ego_grid_pf_hv_load_pq_set (scn_name, load_id, temp_id, p_set)

	SELECT
	'NEP 2035' AS scn_name,
