     AND (shutdown IS NULL or shutdown >= 2015)
     AND capacity > 0 
     AND preversion = 'v0.3.0'
-    AND version = 'v0.4.0';
+    AND version = 'v0.4.1';
 
 ALTER MATERIALIZED VIEW supply.ego_dp_conv_powerplant_sq_mview
     OWNER TO oeuser; 

	AND capacity > 0
	AND (shutdown IS NULL or shutdown >= 2049)
	AND preversion = 'v0.3.0'
	AND version = 'v0.4.0';

ALTER MATERIALIZED VIEW supply.ego_dp_conv_powerplant_ego100_mview
    OWNER TO oeuser;

-- scenario log (project,version,io,schema_name,table_name,script_name,comment)
SELECT scenario_log('eGo_DP','v0.4.0','result','supply','ego_dp_conv_powerplant_sq_mview','ego_dp_versioning_mviews.sql','versioning');
SELECT scenario_log('eGo_DP','v0.4.0','result','supply','ego_dp_conv_powerplant_nep2035_mview','ego_dp_versioning_mviews.sql','versioning');
SELECT scenario_log('eGo_DP','v0.4.0','result','supply','ego_dp_conv_powerplant_ego100_mview','ego_dp_versioning_mviews.sql','versioning');

-- Create View with full dataset per scenario and renewables power plants


    OWNER TO oeuser;

-- scenario log (project,version,io,schema_name,table_name,script_name,comment)
SELECT scenario_log('eGo_DP','v0.4.1','result','supply','ego_dp_res_powerplant_sq_mview','ego_dp_versioning_mviews.sql','versioning');
SELECT scenario_log('eGo_DP','v0.4.1','result','supply','ego_dp_res_powerplant_nep2035_mview','ego_dp_versioning_mviews.sql','versioning');
SELECT scenario_log('eGo_DP','v0.4.1','result','supply','ego_dp_res_powerplant_ego100_mview','ego_dp_versioning_mviews.sql','versioning');
