Skip to content

Commit

Permalink
Updated simplicity to OSeMOSYS v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
willu47 committed Nov 9, 2020
1 parent cd903f5 commit 80fe296
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/DiscountRate.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REGION,VALUE
SIMPLICITY,.05
REGION,TECHNOLOGY,VALUE

1 change: 1 addition & 0 deletions data/default_values.csv
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ DaysInDayType,7
DaySplit,0.00137
DepreciationMethod,1
DiscountRate,0.05
DiscountRateStorage,0.05
EmissionActivityRatio,0
EmissionsPenalty,0
FixedCost,0
Expand Down
65 changes: 63 additions & 2 deletions datapackage.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,11 @@
"type": "string",
"format": "default"
},
{
"name": "TECHNOLOGY",
"type": "string",
"format": "default"
},
{
"name": "VALUE",
"type": "number",
Expand All @@ -349,10 +354,66 @@
"resource": "REGION",
"fields": "VALUE"
}
},
{
"fields": "TECHNOLOGY",
"reference": {
"resource": "TECHNOLOGY",
"fields": "VALUE"
}
}
],
"primaryKey": [
"REGION"
"REGION",
"TECHNOLOGY"
]
}
},
{
"path": "data/DiscountRateStorage.csv",
"profile": "tabular-data-resource",
"name": "DiscountRateStorage",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8",
"schema": {
"fields": [
{
"name": "REGION",
"type": "string",
"format": "default"
},
{
"name": "STORAGE",
"type": "string",
"format": "default"
},
{
"name": "VALUE",
"type": "number",
"format": "default"
}
],
"missingValues": [""],
"foreignKeys": [
{
"fields": "REGION",
"reference": {
"resource": "REGION",
"fields": "VALUE"
}
},
{
"fields": "STORAGE",
"reference": {
"resource": "STORAGE",
"fields": "VALUE"
}
}
],
"primaryKey": [
"REGION",
"STORAGE"
]
}
},
Expand Down Expand Up @@ -2993,7 +3054,7 @@
},
{
"name": "VALUE",
"type": "string",
"type": "number",
"format": "default"
}
],
Expand Down

0 comments on commit 80fe296

Please sign in to comment.