Skip to content

Commit

Permalink
Add table of hourly storage results.
Browse files Browse the repository at this point in the history
  • Loading branch information
binghui89 committed Oct 17, 2018
1 parent a09a073 commit 61103fd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions NCreference.sql
Expand Up @@ -11436,6 +11436,20 @@ CREATE TABLE Output_VFlow_In (
FOREIGN KEY(vintage) REFERENCES time_periods(t_periods),
FOREIGN KEY(output_comm) REFERENCES commodities(comm_name));

CREATE TABLE Output_HourlyStorage (
scenario text,
sector text,
t_periods integer,
t_season text,
t_day text,
tech text,
stored_energy real,
PRIMARY KEY(scenario, t_periods, t_season, t_day, tech),
FOREIGN KEY(sector) REFERENCES sector_labels(sector),
FOREIGN KEY(t_periods) REFERENCES time_periods(t_periods),
FOREIGN KEY(t_season) REFERENCES time_periods(t_periods),
FOREIGN KEY(t_day) REFERENCES time_of_day(t_day),
FOREIGN KEY(tech) REFERENCES technologies(tech));

CREATE TABLE Output_V_Capacity (
scenario text,
Expand Down
Binary file modified NCreference.sqlite
Binary file not shown.

0 comments on commit 61103fd

Please sign in to comment.