-
Notifications
You must be signed in to change notification settings - Fork 65
Rework the definition of seasons #264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
c16e6cd
dcae359
5b2ddd3
fc3b8c1
49d9095
bb54662
d73a664
5aeee57
8b548ef
4b0e730
e0ea360
bb243ca
fbf1408
e23f267
ba9ecc1
c211edb
7419317
495e26c
9f8ea11
52981e0
6c0d467
e944356
9076cfc
598f461
11563a9
4454147
71cffe7
ba2b2a0
4ff3814
f6eba06
17a0ead
ec2f3af
866a3a6
e37e8cf
74da33a
ead3a39
b65aad5
f48bd7e
c08bcad
bbc69b7
c984fa2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -896,8 +896,8 @@ CREATE TABLE limit_storage_level_fraction | |
| notes TEXT, | ||
| PRIMARY KEY(region, season, tod, tech, operator) | ||
| ); | ||
|
Comment on lines
885
to
899
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep this fixture schema aligned with the runtime storage schema. Because this file creates its own tables, the missing Suggested fix CREATE TABLE limit_storage_level_fraction
(
region TEXT,
- season TEXT,
+ season TEXT
+ REFERENCES time_season (season),
tod TEXT
REFERENCES time_of_day (tod),
tech TEXT
REFERENCES technology (tech),
@@
CREATE TABLE output_storage_level
(
scenario TEXT,
region TEXT,
sector TEXT
REFERENCES sector_label (sector),
period INTEGER
REFERENCES time_period (period),
- season TEXT,
+ season TEXT
+ REFERENCES time_season (season),
tod TEXT
REFERENCES time_of_day (tod),
tech TEXT
REFERENCES technology (tech),
vintage INTEGERAlso applies to: 1238-1255 🤖 Prompt for AI Agents |
||
| INSERT INTO "limit_storage_level_fraction" VALUES('R1','winter','day','E_BATT',2025,0.5,''); | ||
| INSERT INTO "limit_storage_level_fraction" VALUES('R2','summer','day','E_BATT',2020,0.5,''); | ||
| INSERT INTO "limit_storage_level_fraction" VALUES('R1','winter','day','E_BATT','e',0.5,''); | ||
| INSERT INTO "limit_storage_level_fraction" VALUES('R2','summer','day','E_BATT','e',0.5,''); | ||
| CREATE TABLE limit_tech_input_split | ||
| ( | ||
| region TEXT, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.