Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
748 changes: 374 additions & 374 deletions data/input/building_metadata.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/input/locations.csv
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Washington,DC,11001,District of Columbia,4A,38.9047,-77.0163,America/New_York,20
Boston,MA,25025,Suffolk,5A,42.3188,-71.0846,America/New_York,02120 02121 02122 02124 02125 02126 02127 02128 02129 02467 02210 02215 02119 02118 02111 02110 02113 02115 02114 02116 02199 02134 02136 02135 02132 02131 02130 02203 02163 02152 02108 02109 02112 02117 02123 02133 02137 02196 02201 02205 02206 02211 02212 02217 02222 02241 02283 02284 02293 02297 02298,ISONE,
Phoenix,AZ,4013,Maricopa,1B,33.5722,-112.0891,America/Phoenix,85008 85009 85006 85007 85004 85083 85086 85087 85085 85383 85033 85304 85306 85308 85020 85021 85022 85023 85024 85027 85028 85029 85353 85019 85018 85013 85012 85015 85014 85017 85016 85254 85003 85044 85045 85042 85043 85040 85041 85048 85054 85037 85035 85034 85032 85031 85307 85310 85051 85050 85053 85001 85002 85005 85010 85011 85026 85030 85036 85038 85046 85060 85061 85062 85063 85064 85065 85066 85067 85068 85069 85070 85071 85072 85073 85074 85075 85076 85078 85079 85080 85082,WestConnect_South,
Seattle,WA,53033,King,4C,47.6211,-122.3244,America/Los_Angeles,98109 98108 98104 98107 98106 98101 98103 98102 98105 98154 98122 98121 98126 98125 98178 98174 98177 98144 98146 98195 98199 98118 98119 98116 98117 98115 98112 98164 98134 98136 98133 98111 98113 98114 98124 98127 98129 98139 98141 98145 98161 98165 98170 98175 98181 98185 98191 98194,NorthernGrid_West,
San Francisco,CA,6075,San Francisco,4C,37.7562,-122.443,America/Los_Angeles,94130 94131 94132 94133 94134 94109 94108 94103 94102 94105 94104 94158 94127 94124 94123 94122 94121 94129 94118 94110 94112 94116 94117 94114 94115 94111 94107 94119 94120 94125 94126 94137 94139 94140 94141 94142 94143 94144 94145 94146 94147 94151 94159 94160 94161 94163 94164 94172 94177 94188,CAISO,3
San Francisco,CA,6075,San Francisco,3C,37.7562,-122.443,America/Los_Angeles,94130 94131 94132 94133 94134 94109 94108 94103 94102 94105 94104 94158 94127 94124 94123 94122 94121 94129 94118 94110 94112 94116 94117 94114 94115 94111 94107 94119 94120 94125 94126 94137 94139 94140 94141 94142 94143 94144 94145 94146 94147 94151 94159 94160 94161 94163 94164 94172 94177 94188,CAISO,3
Detroit,MI,26163,Wayne,5A,42.3834,-83.1024,America/Detroit,48209 48208 48201 48207 48205 48204 48203 48206 48227 48238 48239 48234 48235 48233 48202 48243 48214 48215 48216 48217 48210 48211 48212 48213 48219 48228 48224 48226 48221 48223 48231 48232 48244 48255 48260 48264 48266 48267 48268 48269 48272 48275 48277 48278 48279 48288,MISO_Central,
San Diego,CA,6073,San Diego,3B,32.8312,-117.1225,America/Los_Angeles,92071 92131 92025 92027 92127 92128 92072 92142 92150 92158 92197 92198 92199,CAISO,10
San Diego,CA,6073,San Diego,3B,32.8312,-117.1225,America/Los_Angeles,92109 92108 92103 92111 92154 92110 92115 92140 92107 92106 92105 92104 92102 92132 92130 92134 92139 92147 92145 92014 92119 92117 92121 92120 92123 92122 92124 92126 92129 92101 92037 92173 92113 92114 92116 92038 92039 92092 92093 92112 92137 92138 92143 92149 92152 92153 92159 92160 92161 92163 92165 92166 92167 92168 92169 92170 92171 92172 92174 92175 92176 92177 92179 92182 92186 92187 92191 92192 92193 92195 92196,CAISO,7
Expand Down
45 changes: 27 additions & 18 deletions layout/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,24 +103,32 @@ def select_location():
"""Location selector with server-side search (options loaded via callback)."""
return html.Div(
[
dbc.Label(
[
"Building Location ",
html.Span(
"(OPTIONAL)",
style={
"fontSize": "0.75em",
"color": "#6c757d",
"fontWeight": "normal",
"marginLeft": "5px",
},
),
],
style={"fontWeight": "bold", "marginBottom": "10px"},
),
html.Br(),
html.P(
"Overwrites grid region used for electricity emission factors. If skipped, information is inferred from the location of the selected load data."
with_tooltip(
html.Div(
[
dbc.Label(
[
"Building Location ",
html.Span(
"(OPTIONAL)",
style={
"fontSize": "0.75em",
"color": "#6c757d",
"fontWeight": "normal",
"marginLeft": "5px",
},
),
],
style={"fontWeight": "bold", "marginBottom": "10px"},
),
html.Br(),
html.P(
"Sets location, climate zone and grid region (used for electricity "
"emission factors)."
),
]
),
"loads.location",
),
dcc.Dropdown(
id="location-input",
Expand All @@ -129,6 +137,7 @@ def select_location():
searchable=True,
clearable=True,
),
dmc.Text(id="location-source-note", size="xs", c="dimmed", mt=5),
]
)

Expand Down
5 changes: 5 additions & 0 deletions pages/emissions_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def layout():
),
],
gap=3,
# Let the subtitle wrap instead of pushing the buttons down
style={"flex": 1, "minWidth": 0},
),
dmc.Group(
[
Expand All @@ -69,9 +71,12 @@ def layout():
disabled=True, # <- disabled for now
),
],
wrap="nowrap",
style={"flexShrink": 0},
),
],
justify="space-between",
wrap="nowrap",
mt="md",
mb="sm",
),
Expand Down
5 changes: 5 additions & 0 deletions pages/equipment_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ def layout():
),
],
gap=3,
# Let the subtitle wrap instead of pushing the buttons down
style={"flex": 1, "minWidth": 0},
),
dmc.Group(
[
Expand All @@ -79,9 +81,12 @@ def layout():
"equipment.reset_eq_scenario",
),
],
wrap="nowrap",
style={"flexShrink": 0},
),
],
justify="space-between",
wrap="nowrap",
mt="md",
mb="sm",
),
Expand Down
Loading
Loading