|
1 | | -/* |
| 1 | +/* |
2 | 2 | Generators which were assigned to a specific substation prior to this script need to be transformed to a data structure |
3 | 3 | suitable for powerflow calculation with tool developed and used in the open_eGo project. The following script transforms |
4 | 4 | data from the powerplant mviews and adds some parameters according to the characteristics of the generators. |
@@ -413,7 +413,7 @@ UPDATE model_draft.ego_grid_pf_hv_generator |
413 | 413 | -- scenario log (project,version,io,schema_name,table_name,script_name,comment) |
414 | 414 | SELECT scenario_log('eGo_DP', 'v0.4.2','output','model_draft','ego_grid_pf_hv_generator','ego_dp_powerflow_assignment_generator.sql',' '); |
415 | 415 |
|
416 | | -CREATE MATERIALIZED VIEW model_draft.ego_supply_aggr_weather_mview |
| 416 | +CREATE TABLE model_draft.ego_supply_aggr_weather |
417 | 417 | AS |
418 | 418 | (WITH w_sub AS ( |
419 | 419 | SELECT DISTINCT |
|
432 | 432 | FROM |
433 | 433 | w_sub); |
434 | 434 |
|
435 | | -ALTER MATERIALIZED VIEW VIEW model_draft.ego_supply_aggr_weather_mview OWNER TO oeuser; |
| 435 | +ALTER TABLE model_draft.ego_supply_aggr_weather OWNER TO oeuser; |
436 | 436 |
|
437 | 437 | -- scenario log (project,version,io,schema_name,table_name,script_name,comment) |
438 | | -SELECT scenario_log('eGo_DP', 'v0.4.2','output','model_draft','ego_supply_aggr_weather_mview','ego_dp_powerflow_assignment_generator.sql',' '); |
| 438 | +SELECT scenario_log('eGo_DP', 'v0.4.2','output','model_draft','ego_supply_aggr_weather','ego_dp_powerflow_assignment_generator.sql',' '); |
0 commit comments