Geo id and the storing of trace data #42
Replies: 4 comments 6 replies
-
|
Some more concrete details: Current data schema:Essentially three tables, as follows: Demand:
Where:
Project:
Where:
Zone:
Where:
Potential new schema:Essentially merge the zone / project tables - and reference only a geoid:
Where:
(nb. resource_type here could now be a bit more confusing (e.g. that A third meta optionMerge everying thing, one flat schema:
Where:
|
Beta Was this translation helpful? Give feedback.
-
|
One thing would note about the (On the flip side, could potentially hide all manner of sins in there as well. Not advocating for this per se). |
Beta Was this translation helpful? Give feedback.
-
|
See below for some examples of the proposed schema for the resource mapping (which is keyed by the # Existing named generator
"Bango 973 Wind Farm":
resource_type: wind
geo_id: BANGOWF1
rez: Null #Some will be associated with REZ, some not
subregion: SNSW
region: NSW
trace_names: [BANGOWF1]
# REZ traces
"Q1_SAT_Far North QLD":
resource_type: SAT
geo_id: Q1
rez: Q1
subregion: NQ
region: QLD
trace_names: [Q1_SAT_Far North QLD]
# Distributed REZ trace
"NNSW SAT - Distributed Resources":
resource_type: SAT
geo_id: NNSW
rez: Null #These are not associated with a REZ / only subregion
subregion: NNSW
region: NSW
trace_names: [Distributed_Resources_NNSW]Some interrelated questions:
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks Ellie! Very helpful and makes sense to me.. Re: point 4 - if I understand correctly, this (real) example below is an example of this? Two different IASR ID's ( # Many-to-one: two IASR generator entries share a single trace file
"WLWLSF1":
geo_resolution: generator
resource_type: SAT
subregion: SNSW
region: NSW
rez: Null
trace_names: [Walla_Walla]
"WLWLSF2":
geo_resolution: generator
resource_type: SAT
subregion: SNSW
region: NSW
rez: Null
trace_names: [Walla_Walla]Let me know if that makes sense / answers your question? In anycase, it sounds like the the metadata stored here is largely useful for third party users (i.e. users that want to use the trace parser library / data, but not with ISPyPSA - as most of that mapping will be handled internally to ISPyPSA anyway. (This basically relates back to #41 - where I think we decided it makes sense to including the mapping in both locations etc). But practically, the only mapping that would be directly consumed by ISPyPSA is the IASR-name to trace-name mapping - please let me know if have got that wrong! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For the
isp-trace-parserwe stored data as eitherdemand,projectorzonetypes.The project vs zone essentially maps delineates between "existing" (e.g. Existing Committed Anticipated Additional , ECAA) projects, at a specific location and potential ("extendable") projects (i.e. projects that can be build in a capacity expansion model) - within a particular zone (area, rather than point source).
Within the
ISPyPSAwe have introduced the concept of ageo idthat flattens the distinction between zones/areas and actually existing projects/ECAA point sources. On the one hand, geo id is not a term explicitly used AEMO, but on the other - they don't actually distinguish between project and zone like we do (and implicitly use a general geo id).One potential side benefit is that it avoids problems identified in issue #36 - namely that some of the "REZ's" are now actually "ISP subregions" (or "Distrubtion REZ's").
So I propose flattening the underlying data structure to have (say)
demandandresource(or similar).*Could potentially flatten further, so simple
traceflat files, but lose some access/query efficiency given the difference in columns betweendemandandresourcetraces data.Beta Was this translation helpful? Give feedback.
All reactions