Skip to content

Commit

Permalink
Add LinkedTechs to temoa_utopia
Browse files Browse the repository at this point in the history
So that the myopic formulation solves.
  • Loading branch information
aranyavenkatesh committed Nov 6, 2022
1 parent 7ce75cc commit d500c1f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion data_files/temoa_utopia.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1000,5 +1000,15 @@ CREATE TABLE "MaxResource" (
PRIMARY KEY("regions","tech")
);
#INSERT INTO `MaxResource` VALUES ('utopia','IMPGSL1',60,'','');

CREATE TABLE "LinkedTechs" (
"primary_region" text,
"primary_tech" text,
"emis_comm" text,
"linked_tech" text,
"tech_linked_notes" text,
FOREIGN KEY("primary_tech") REFERENCES "technologies"("tech"),
FOREIGN KEY("linked_tech") REFERENCES "technologies"("tech"),
FOREIGN KEY("emis_comm") REFERENCES "commodities"("comm_name"),
PRIMARY KEY("primary_region","primary_tech", "emis_comm")
);
COMMIT;
Binary file modified data_files/temoa_utopia.sqlite
Binary file not shown.

0 comments on commit d500c1f

Please sign in to comment.