Skip to content

Commit c998aeb

Browse files
author
IlkaCu
authored
include supply.ego_aggr_weather
1 parent b46bfdf commit c998aeb

1 file changed

Lines changed: 98 additions & 0 deletions

File tree

preprocessing/sql_snippets/ego_dp_structure_versioning.sql

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5934,3 +5934,101 @@ SELECT obj_description('grid.ego_line_expansion_costs' ::regclass) ::json;
59345934

59355935
-- ego scenario log (version,io,schema_name,table_name,script_name,comment)
59365936
SELECT scenario_log('eGo_DP', 'v0.4.0','result','grid','ego_line_expansion_costs','ego_dp_structure_versioning.sql','hv pf line expansion costs');
5937+
5938+
-- generator single subset
5939+
5940+
CREATE TABLE supply.ego_aggr_weather
5941+
(
5942+
version text,
5943+
aggr_id bigint,
5944+
w_id bigint,
5945+
scn_name character varying,
5946+
bus bigint,
5947+
row_number bigint,
5948+
CONSTRAINT ego_aggr_weather_pkey PRIMARY KEY (version, aggr_id, w_id)
5949+
);
5950+
ALTER TABLE supply.ego_aggr_weather
5951+
OWNER TO oeuser;
5952+
5953+
-- metadata
5954+
5955+
COMMENT ON TABLE supply.ego_aggr_weather IS '{
5956+
"title": "eGo subset generator_single",
5957+
"description": "A subset of table generator_single",
5958+
"language": [ "eng" ],
5959+
"spatial": {
5960+
"location": "none",
5961+
"extend": "none",
5962+
"resolution": "none"
5963+
},
5964+
"temporal": {
5965+
"reference_date": "none",
5966+
"start": "none",
5967+
"end": "none",
5968+
"resolution": "none"
5969+
},
5970+
"sources": [
5971+
{
5972+
"name": "eGo dataprocessing",
5973+
"description": "open_eGo dataprocessing code",
5974+
"url": "https://github.com/openego/data_processing",
5975+
"license": "GNU Affero General Public License Version 3 (AGPL-3.0)",
5976+
"copyright": "eGo dataprocessing © Flensburg University of Applied Sciences, Centre for Sustainable Energy Systems © Europa-Universität Flensburg, Centre for Sustainable Energy Systems © Reiner Lemoine Institut © DLR Institute for Networked Energy Systems"
5977+
}
5978+
],
5979+
"license": {
5980+
"id": "ODbL-1.0",
5981+
"name": "Open Data Commons Open Database License 1.0",
5982+
"version": "1.0",
5983+
"url": "https://opendatacommons.org/licenses/odbl/1.0/",
5984+
"instruction": "You are free: To Share, To Create, To Adapt; As long as you: Attribute, Share-Alike, Keep open!",
5985+
"copyright": "© Europa-Universität, Center for Sustainable Energy Systems"
5986+
},
5987+
"contributors": [
5988+
{
5989+
"name": "maltesc",
5990+
"email": "",
5991+
"date": "2018-07-17",
5992+
"comment": "Create table"
5993+
}
5994+
],
5995+
"resources": [
5996+
{
5997+
"fields": [
5998+
{
5999+
"name": "version",
6000+
"description": "version number",
6001+
"unit": ""
6002+
},
6003+
{
6004+
"name": "aggr_id",
6005+
"unit": "",
6006+
"description": "unique id for generator aggregates"
6007+
},
6008+
{
6009+
"name": "w_id",
6010+
"unit": "",
6011+
"description": "unique id for weather cells"
6012+
},
6013+
{
6014+
"name": "scn_name",
6015+
"unit": " ",
6016+
"description": "scenario name"
6017+
},
6018+
{
6019+
"name": "bus",
6020+
"unit": "",
6021+
"description": "bus id"
6022+
},
6023+
{
6024+
"name": "row_number",
6025+
"unit": "",
6026+
"description": "row number"
6027+
}
6028+
],
6029+
"name": "supply.ego_aggr_weather",
6030+
"format": "sql"
6031+
}
6032+
],
6033+
"metadata_version": "1.3"
6034+
}';

0 commit comments

Comments
 (0)