diff --git a/.gitignore b/.gitignore index 3ec544c..9d96864 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ -.env \ No newline at end of file +.env +.DS_Store \ No newline at end of file diff --git a/client/src/App.js b/client/src/App.js index d6c5ad8..cd558a2 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -15,8 +15,10 @@ import AppBar from "./components/SiteAppBar.js"; const theme = createTheme({ typography: { + fontFamily: '"Open Sans", sans-serif', button: { textTransform: "none", + fontSize: "medium", }, }, palette: { diff --git a/client/src/components/About.js b/client/src/components/About.js index 447b4b4..af61a91 100644 --- a/client/src/components/About.js +++ b/client/src/components/About.js @@ -1,5 +1,4 @@ import { Box, Grid, Paper, Typography, styled } from "@mui/material"; -import graphic from "./images/windmills_grid.jpg"; // visualization. will delete later const Item = styled(Paper)(({ theme }) => ({ @@ -74,10 +73,10 @@ export default function About() { - Paper citation: DFAT: A Web-Based Demand Flexibility Assessment - Toolkit for Building-to-Grid Integration.{" "} + Paper citation: DFAT: A Web-Based Toolkit for Estimating Demand + Flexibility in Building-to-Grid Integration.{" "} - -
- DFAT: A Web-Based Demand Flexibility Assessment Toolkit for - Building-to-Grid Integration.{" "} + DFAT: A Web-Based Toolkit for Estimating Demand Flexibility in + Building-to-Grid Integration{" "} navigate("/")} - style={{ width: 450, height: 150, cursor: "pointer" }} + style={{ width: 330, height: 90, cursor: "pointer" }} > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/client/src/components/images/berkeleylab.png b/client/src/components/images/berkeleylab.png deleted file mode 100644 index 767f646..0000000 Binary files a/client/src/components/images/berkeleylab.png and /dev/null differ diff --git a/client/src/components/images/smartcityinfrastructure.png b/client/src/components/images/smartcityinfrastructure.png deleted file mode 100644 index 319e25c..0000000 Binary files a/client/src/components/images/smartcityinfrastructure.png and /dev/null differ diff --git a/client/src/components/images/windmills_grid.jpg b/client/src/components/images/windmills_grid.jpg deleted file mode 100644 index 0bb1f36..0000000 Binary files a/client/src/components/images/windmills_grid.jpg and /dev/null differ diff --git a/client/src/index.css b/client/src/index.css index e69de29..2d0ee60 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -0,0 +1 @@ +@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap"); diff --git a/client/src/logic/Advanced_Calculations.js b/client/src/logic/AdvancedCalculations.js similarity index 100% rename from client/src/logic/Advanced_Calculations.js rename to client/src/logic/AdvancedCalculations.js diff --git a/client/src/logic/DR_Calculations.js b/client/src/logic/DRCalculations.js similarity index 100% rename from client/src/logic/DR_Calculations.js rename to client/src/logic/DRCalculations.js diff --git a/server/routes/retail_info/field_metrics_baseline_regression.xlsx b/server/routes/retail_info/field_metrics_baseline_regression.xlsx deleted file mode 100644 index fff856d..0000000 Binary files a/server/routes/retail_info/field_metrics_baseline_regression.xlsx and /dev/null differ diff --git a/server/routes/retail_info/outputs/rows8-16.js b/server/routes/retail_info/outputs/rows8-16.js deleted file mode 100644 index 308983c..0000000 --- a/server/routes/retail_info/outputs/rows8-16.js +++ /dev/null @@ -1,2819 +0,0 @@ -const siteT0626 = new BenchmarkingModel({ - coordinates: [121.8853, 37.3387], - siteID: "T0626", - siteInfo: { - doe_climate_zone: "3C", - city: "San Jose", - state: "CA", - zip: 95132, - number_of_floor: 1, - total_building_area_ft2: 108268, - net_selling_area_ft2: 67284, - total_stock_area_ft2: 12914, - number_of_HVAC: 19, - program: "DRAM through 2020, CBP 2021", - utility: "PG&E", - }, - fieldMetricBaselineRegression: [ - { - event_id: 0, - event_date: new Date("23 July 2018"), - shed_start_time_date: new Date("23 July 2018 18:00 GMT-8"), - shed_end_time_date: new Date("23 July 2018 19:00 GMT-8"), - peak_oat: 86.864, - event_avg_oat: 81.7925, - peak_demand_intensity_wft2: 2.235902171, - shed_avg_wft2: 0.169061897, - }, - { - event_id: 1, - event_date: new Date("23 July 2018"), - shed_start_time_date: new Date("23 July 2018 18:00 GMT-8"), - shed_end_time_date: new Date("23 July 2018 19:00 GMT-8"), - peak_oat: 86.864, - event_avg_oat: 81.7925, - peak_demand_intensity_wft2: 2.235902171, - shed_avg_wft2: 0.169061897, - }, - { - event_id: 3, - event_date: new Date("24 July 2018"), - shed_start_time_date: new Date("24 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("24 July 2018 19:00 GMT-8"), - peak_oat: 88.358, - event_avg_oat: 85.75630769, - peak_demand_intensity_wft2: 2.251440714, - shed_avg_wft2: 0.151610246, - }, - { - event_id: 5, - event_date: new Date("25 July 2018"), - shed_start_time_date: new Date("25 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("25 July 2018 19:00 GMT-8"), - peak_oat: 93.974, - event_avg_oat: 88.5515, - peak_demand_intensity_wft2: 2.303043373, - shed_avg_wft2: 0.176173507, - }, - { - event_id: 6, - event_date: new Date("07 August 2018"), - shed_start_time_date: new Date("07 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("07 August 2018 19:00 GMT-8"), - peak_oat: 83.174, - event_avg_oat: 76.7471, - peak_demand_intensity_wft2: 2.152336455, - shed_avg_wft2: 0.31622994, - }, - { - event_id: 7, - event_date: new Date("08 August 2018"), - shed_start_time_date: new Date("08 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("08 August 2018 19:00 GMT-8"), - peak_oat: 88.016, - event_avg_oat: 83.273, - peak_demand_intensity_wft2: 2.19978012, - shed_avg_wft2: 0.17873315, - }, - { - event_id: 8, - event_date: new Date("09 August 2018"), - shed_start_time_date: new Date("09 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("09 August 2018 19:00 GMT-8"), - peak_oat: 94.424, - event_avg_oat: 90.2885, - peak_demand_intensity_wft2: 2.253880521, - shed_avg_wft2: 0.051050015, - }, - { - event_id: 9, - event_date: new Date("22 October 2018"), - shed_start_time_date: new Date("22 October 2018 18:00 GMT-8"), - shed_end_time_date: new Date("22 October 2018 19:00 GMT-8"), - peak_oat: 70.052, - event_avg_oat: 62.9861, - peak_demand_intensity_wft2: 1.795366639, - shed_avg_wft2: 0.052289858, - }, - { - event_id: 10, - event_date: new Date("22 October 2018"), - shed_start_time_date: new Date("22 October 2018 18:00 GMT-8"), - shed_end_time_date: new Date("22 October 2018 19:00 GMT-8"), - peak_oat: 70.052, - event_avg_oat: 62.9861, - peak_demand_intensity_wft2: 1.795366639, - shed_avg_wft2: 0.052289858, - }, - { - event_id: 12, - event_date: new Date("24 July 2019"), - shed_start_time_date: new Date("24 July 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 July 2019 19:00 GMT-8"), - peak_oat: 94.838, - event_avg_oat: 90.7709, - peak_demand_intensity_wft2: 2.346868581, - shed_avg_wft2: 0.233475875, - }, - { - event_id: 14, - event_date: new Date("27 August 2019"), - shed_start_time_date: new Date("27 August 2019 18:00 GMT-8"), - shed_end_time_date: new Date("27 August 2019 19:00 GMT-8"), - peak_oat: 90.428, - event_avg_oat: 84.6437, - peak_demand_intensity_wft2: 2.29880155, - shed_avg_wft2: 0.246435977, - }, - { - event_id: 15, - event_date: new Date("24 September 2019"), - shed_start_time_date: new Date("24 September 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 September 2019 19:00 GMT-8"), - peak_oat: 94.01, - event_avg_oat: 87.0791, - peak_demand_intensity_wft2: 2.341402357, - shed_avg_wft2: 0.2001355, - }, - { - event_id: 16, - event_date: new Date("24 September 2019"), - shed_start_time_date: new Date("24 September 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 September 2019 19:00 GMT-8"), - peak_oat: 94.01, - event_avg_oat: 87.0791, - peak_demand_intensity_wft2: 2.341402357, - shed_avg_wft2: 0.2001355, - }, - { - event_id: 17, - event_date: new Date("22 October 2019"), - shed_start_time_date: new Date("22 October 2019 17:00 GMT-8"), - shed_end_time_date: new Date("22 October 2019 19:00 GMT-8"), - peak_oat: 84.902, - event_avg_oat: 80.928, - peak_demand_intensity_wft2: 2.108510443, - shed_avg_wft2: 0.427350624, - }, - { - event_id: 18, - event_date: new Date("22 October 2019"), - shed_start_time_date: new Date("22 October 2019 17:00 GMT-8"), - shed_end_time_date: new Date("22 October 2019 19:00 GMT-8"), - peak_oat: 84.902, - event_avg_oat: 80.928, - peak_demand_intensity_wft2: 2.108510443, - shed_avg_wft2: 0.427350624, - }, - { - event_id: 20, - event_date: new Date("20 July 2020"), - shed_start_time_date: new Date("20 July 2020 17:00 GMT-8"), - shed_end_time_date: new Date("20 July 2020 18:00 GMT-8"), - peak_oat: 78.116, - event_avg_oat: 74.0057, - peak_demand_intensity_wft2: 1.923852236, - shed_avg_wft2: 0.168335775, - }, - { - event_id: 21, - event_date: new Date("30 July 2020"), - shed_start_time_date: new Date("30 July 2020 19:00 GMT-8"), - shed_end_time_date: new Date("30 July 2020 20:00 GMT-8"), - peak_oat: 82.202, - event_avg_oat: 72.3704, - peak_demand_intensity_wft2: 2.033065722, - shed_avg_wft2: 0.229483796, - }, - { - event_id: 22, - event_date: new Date("14 August 2020"), - shed_start_time_date: new Date("14 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("14 August 2020 21:00 GMT-8"), - peak_oat: 103.928, - event_avg_oat: 95.37111765, - peak_demand_intensity_wft2: 2.577397562, - shed_avg_wft2: 0.215717577, - }, - { - event_id: 23, - event_date: new Date("17 August 2020"), - shed_start_time_date: new Date("17 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("17 August 2020 20:00 GMT-8"), - peak_oat: 94.424, - event_avg_oat: 84.51603846, - peak_demand_intensity_wft2: 2.329300216, - shed_avg_wft2: 0.298109989, - }, - { - event_id: 24, - event_date: new Date("18 August 2020"), - shed_start_time_date: new Date("18 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("18 August 2020 20:00 GMT-8"), - peak_oat: 98.654, - event_avg_oat: 91.6295, - peak_demand_intensity_wft2: 2.492152546, - shed_avg_wft2: 0.390316833, - }, - { - event_id: 25, - event_date: new Date("19 August 2020"), - shed_start_time_date: new Date("19 August 2020 18:00 GMT-8"), - shed_end_time_date: new Date("19 August 2020 20:00 GMT-8"), - peak_oat: 94.712, - event_avg_oat: 83.5935, - peak_demand_intensity_wft2: 2.385083887, - shed_avg_wft2: 0.497350917, - }, - { - event_id: 26, - event_date: new Date("05 September 2020"), - shed_start_time_date: new Date("05 September 2020 17:00 GMT-8"), - shed_end_time_date: new Date("05 September 2020 19:00 GMT-8"), - peak_oat: 100.04, - event_avg_oat: 96.0765, - peak_demand_intensity_wft2: 2.547515406, - shed_avg_wft2: 0.533167065, - }, - { - event_id: 27, - event_date: new Date("06 September 2020"), - shed_start_time_date: new Date("06 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("06 September 2020 18:30 GMT-8"), - peak_oat: 106.61, - event_avg_oat: 103.31, - peak_demand_intensity_wft2: 2.710717689, - shed_avg_wft2: 0.539627549, - }, - { - event_id: 28, - event_date: new Date("07 September 2020"), - shed_start_time_date: new Date("07 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("07 September 2020 18:30 GMT-8"), - peak_oat: 106.34, - event_avg_oat: 98.1105, - peak_demand_intensity_wft2: 2.685231305, - shed_avg_wft2: 0.448597385, - }, - { - event_id: 29, - event_date: new Date("08 September 2020"), - shed_start_time_date: new Date("08 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("08 September 2020 19:00 GMT-8"), - peak_oat: 87.152, - event_avg_oat: 78.8927, - peak_demand_intensity_wft2: 2.227370654, - shed_avg_wft2: 0.356052296, - }, - { - event_id: 30, - event_date: new Date("30 September 2020"), - shed_start_time_date: new Date("30 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("30 September 2020 19:00 GMT-8"), - peak_oat: 91.418, - event_avg_oat: 83.2946, - peak_demand_intensity_wft2: 2.351090637, - shed_avg_wft2: 0.42254872, - }, - { - event_id: 31, - event_date: new Date("01 October 2020"), - shed_start_time_date: new Date("01 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("01 October 2020 19:00 GMT-8"), - peak_oat: 95.612, - event_avg_oat: 90.4065, - peak_demand_intensity_wft2: 2.450747155, - shed_avg_wft2: 0.420223851, - }, - { - event_id: 32, - event_date: new Date("15 October 2020"), - shed_start_time_date: new Date("15 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("15 October 2020 19:00 GMT-8"), - peak_oat: 91.724, - event_avg_oat: 86.3605, - peak_demand_intensity_wft2: 2.342053017, - shed_avg_wft2: 0.395368846, - }, - { - event_id: 33, - event_date: new Date("16 October 2020"), - shed_start_time_date: new Date("16 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("16 October 2020 19:00 GMT-8"), - peak_oat: 93.308, - event_avg_oat: 87.709, - peak_demand_intensity_wft2: 2.377674181, - shed_avg_wft2: 0.433280371, - }, - { - event_id: 34, - event_date: new Date("16 June 2021"), - shed_start_time_date: new Date("16 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("16 June 2021 20:00 GMT-8"), - peak_oat: 90.626, - event_avg_oat: 81.7045, - peak_demand_intensity_wft2: 0.0, - shed_avg_wft2: 0.0, - }, - { - event_id: 35, - event_date: new Date("17 June 2021"), - shed_start_time_date: new Date("17 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("17 June 2021 20:00 GMT-8"), - peak_oat: 100.202, - event_avg_oat: 91.1585, - peak_demand_intensity_wft2: 0.0, - shed_avg_wft2: 0.0, - }, - { - event_id: 36, - event_date: new Date("12 July 2021"), - shed_start_time_date: new Date("12 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("12 July 2021 20:00 GMT-8"), - peak_oat: 76.46, - event_avg_oat: 67.0415, - peak_demand_intensity_wft2: 0.0, - shed_avg_wft2: 0.0, - }, - ], -}); - -const siteT1407 = new BenchmarkingModel({ - coordinates: [122.4702, 37.6879], - siteID: "T1407", - siteInfo: { - doe_climate_zone: "3C", - city: "Daly City", - state: "CA", - zip: 94015, - number_of_floor: 1, - total_building_area_ft2: 157321, - net_selling_area_ft2: 76106, - total_stock_area_ft2: 38122, - number_of_HVAC: 11, - program: "DRAM through 2020, CBP 2021", - utility: "PG&E", - }, - fieldMetricBaselineRegression: [ - { - event_id: 0, - event_date: new Date("23 July 2018"), - shed_start_time_date: new Date("23 July 2018 18:00 GMT-8"), - shed_end_time_date: new Date("23 July 2018 19:00 GMT-8"), - peak_oat: 69.152, - event_avg_oat: 65.912, - peak_demand_intensity_wft2: 1.858509657, - shed_avg_wft2: 0.256908709, - }, - { - event_id: 1, - event_date: new Date("23 July 2018"), - shed_start_time_date: new Date("23 July 2018 18:00 GMT-8"), - shed_end_time_date: new Date("23 July 2018 19:00 GMT-8"), - peak_oat: 69.152, - event_avg_oat: 65.912, - peak_demand_intensity_wft2: 1.858509657, - shed_avg_wft2: 0.256908709, - }, - { - event_id: 3, - event_date: new Date("24 July 2018"), - shed_start_time_date: new Date("24 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("24 July 2018 19:00 GMT-8"), - peak_oat: 69.53, - event_avg_oat: 68.04326923, - peak_demand_intensity_wft2: 1.853297908, - shed_avg_wft2: 0.2857297, - }, - { - event_id: 4, - event_date: new Date("25 July 2018"), - shed_start_time_date: new Date("25 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("25 July 2018 19:00 GMT-8"), - peak_oat: 71.42, - event_avg_oat: 67.74246154, - peak_demand_intensity_wft2: 1.881401766, - shed_avg_wft2: 0.329830156, - }, - { - event_id: 5, - event_date: new Date("25 July 2018"), - shed_start_time_date: new Date("25 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("25 July 2018 19:00 GMT-8"), - peak_oat: 71.42, - event_avg_oat: 67.74246154, - peak_demand_intensity_wft2: 1.881401766, - shed_avg_wft2: 0.329830156, - }, - { - event_id: 6, - event_date: new Date("07 August 2018"), - shed_start_time_date: new Date("07 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("07 August 2018 19:00 GMT-8"), - peak_oat: 63.806, - event_avg_oat: 61.7306, - peak_demand_intensity_wft2: 1.777249674, - shed_avg_wft2: 0.19204918, - }, - { - event_id: 7, - event_date: new Date("08 August 2018"), - shed_start_time_date: new Date("08 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("08 August 2018 19:00 GMT-8"), - peak_oat: 69.422, - event_avg_oat: 66.5123, - peak_demand_intensity_wft2: 1.861724426, - shed_avg_wft2: 0.221003743, - }, - { - event_id: 8, - event_date: new Date("09 August 2018"), - shed_start_time_date: new Date("09 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("09 August 2018 19:00 GMT-8"), - peak_oat: 79.466, - event_avg_oat: 74.8958, - peak_demand_intensity_wft2: 1.994053053, - shed_avg_wft2: 0.263597562, - }, - { - event_id: 9, - event_date: new Date("22 October 2018"), - shed_start_time_date: new Date("22 October 2018 18:00 GMT-8"), - shed_end_time_date: new Date("22 October 2018 19:00 GMT-8"), - peak_oat: 61.898, - event_avg_oat: 57.2, - peak_demand_intensity_wft2: 1.765728152, - shed_avg_wft2: 0.146893583, - }, - { - event_id: 10, - event_date: new Date("22 October 2018"), - shed_start_time_date: new Date("22 October 2018 18:00 GMT-8"), - shed_end_time_date: new Date("22 October 2018 19:00 GMT-8"), - peak_oat: 61.898, - event_avg_oat: 57.2, - peak_demand_intensity_wft2: 1.765728152, - shed_avg_wft2: 0.146893583, - }, - { - event_id: 12, - event_date: new Date("24 July 2019"), - shed_start_time_date: new Date("24 July 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 July 2019 19:00 GMT-8"), - peak_oat: 81.698, - event_avg_oat: 75.0596, - peak_demand_intensity_wft2: 2.203049284, - shed_avg_wft2: 0.239768297, - }, - { - event_id: 13, - event_date: new Date("15 August 2019"), - shed_start_time_date: new Date("15 August 2019 17:00 GMT-8"), - shed_end_time_date: new Date("15 August 2019 18:00 GMT-8"), - peak_oat: 89.582, - event_avg_oat: 84.1532, - peak_demand_intensity_wft2: 2.35164771, - shed_avg_wft2: 0.351856561, - }, - { - event_id: 14, - event_date: new Date("24 September 2019"), - shed_start_time_date: new Date("24 September 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 September 2019 19:00 GMT-8"), - peak_oat: 90.068, - event_avg_oat: 83.8346, - peak_demand_intensity_wft2: 2.248113637, - shed_avg_wft2: 0.421566244, - }, - { - event_id: 15, - event_date: new Date("24 September 2019"), - shed_start_time_date: new Date("24 September 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 September 2019 19:00 GMT-8"), - peak_oat: 90.068, - event_avg_oat: 83.8346, - peak_demand_intensity_wft2: 2.248113637, - shed_avg_wft2: 0.421566244, - }, - { - event_id: 16, - event_date: new Date("22 October 2019"), - shed_start_time_date: new Date("22 October 2019 17:00 GMT-8"), - shed_end_time_date: new Date("22 October 2019 19:00 GMT-8"), - peak_oat: 82.778, - event_avg_oat: 77.697, - peak_demand_intensity_wft2: 2.104586143, - shed_avg_wft2: 0.430687056, - }, - { - event_id: 17, - event_date: new Date("22 October 2019"), - shed_start_time_date: new Date("22 October 2019 17:00 GMT-8"), - shed_end_time_date: new Date("22 October 2019 19:00 GMT-8"), - peak_oat: 82.778, - event_avg_oat: 77.697, - peak_demand_intensity_wft2: 2.104586143, - shed_avg_wft2: 0.430687056, - }, - { - event_id: 19, - event_date: new Date("03 June 2020"), - shed_start_time_date: new Date("03 June 2020 19:00 GMT-8"), - shed_end_time_date: new Date("03 June 2020 20:00 GMT-8"), - peak_oat: 69.26, - event_avg_oat: 64.7573, - peak_demand_intensity_wft2: 1.608131973, - shed_avg_wft2: 0.340625011, - }, - { - event_id: 20, - event_date: new Date("20 July 2020"), - shed_start_time_date: new Date("20 July 2020 17:00 GMT-8"), - shed_end_time_date: new Date("20 July 2020 18:00 GMT-8"), - peak_oat: 59.486, - event_avg_oat: 57.9479, - peak_demand_intensity_wft2: 1.533799022, - shed_avg_wft2: 0.184242082, - }, - { - event_id: 21, - event_date: new Date("30 July 2020"), - shed_start_time_date: new Date("30 July 2020 19:00 GMT-8"), - shed_end_time_date: new Date("30 July 2020 20:00 GMT-8"), - peak_oat: 60.44, - event_avg_oat: 57.9038, - peak_demand_intensity_wft2: 1.553264287, - shed_avg_wft2: 0.22776751, - }, - { - event_id: 22, - event_date: new Date("14 August 2020"), - shed_start_time_date: new Date("14 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("14 August 2020 21:00 GMT-8"), - peak_oat: 80.168, - event_avg_oat: 75.00358824, - peak_demand_intensity_wft2: 1.852323278, - shed_avg_wft2: 0.293141278, - }, - { - event_id: 23, - event_date: new Date("17 August 2020"), - shed_start_time_date: new Date("17 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("17 August 2020 21:00 GMT-8"), - peak_oat: 70.088, - event_avg_oat: 66.34797059, - peak_demand_intensity_wft2: 1.762603887, - shed_avg_wft2: 0.340013339, - }, - { - event_id: 24, - event_date: new Date("18 August 2020"), - shed_start_time_date: new Date("18 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("18 August 2020 20:00 GMT-8"), - peak_oat: 71.366, - event_avg_oat: 68.85846154, - peak_demand_intensity_wft2: 1.775320206, - shed_avg_wft2: 0.351321993, - }, - { - event_id: 25, - event_date: new Date("19 August 2020"), - shed_start_time_date: new Date("19 August 2020 18:00 GMT-8"), - shed_end_time_date: new Date("19 August 2020 20:00 GMT-8"), - peak_oat: 69.494, - event_avg_oat: 65.3545, - peak_demand_intensity_wft2: 1.728860585, - shed_avg_wft2: 0.313587879, - }, - { - event_id: 26, - event_date: new Date("05 September 2020"), - shed_start_time_date: new Date("05 September 2020 17:00 GMT-8"), - shed_end_time_date: new Date("05 September 2020 19:00 GMT-8"), - peak_oat: 75.092, - event_avg_oat: 72.749, - peak_demand_intensity_wft2: 1.81580975, - shed_avg_wft2: 0.361234003, - }, - { - event_id: 27, - event_date: new Date("06 September 2020"), - shed_start_time_date: new Date("06 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("06 September 2020 18:30 GMT-8"), - peak_oat: 81.068, - event_avg_oat: 79.761, - peak_demand_intensity_wft2: 1.920464199, - shed_avg_wft2: 0.439484722, - }, - { - event_id: 28, - event_date: new Date("07 September 2020"), - shed_start_time_date: new Date("07 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("07 September 2020 18:30 GMT-8"), - peak_oat: 75.92, - event_avg_oat: 72.433, - peak_demand_intensity_wft2: 1.843922239, - shed_avg_wft2: 0.387295166, - }, - { - event_id: 29, - event_date: new Date("08 September 2020"), - shed_start_time_date: new Date("08 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("08 September 2020 19:00 GMT-8"), - peak_oat: 68.882, - event_avg_oat: 62.7089, - peak_demand_intensity_wft2: 1.718951908, - shed_avg_wft2: 0.28727586, - }, - { - event_id: 30, - event_date: new Date("30 September 2020"), - shed_start_time_date: new Date("30 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("30 September 2020 19:00 GMT-8"), - peak_oat: 70.844, - event_avg_oat: 66.4097, - peak_demand_intensity_wft2: 1.781465415, - shed_avg_wft2: 0.355527014, - }, - { - event_id: 31, - event_date: new Date("01 October 2020"), - shed_start_time_date: new Date("01 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("01 October 2020 19:00 GMT-8"), - peak_oat: 76.172, - event_avg_oat: 70.7915, - peak_demand_intensity_wft2: 1.923156064, - shed_avg_wft2: 0.399990694, - }, - { - event_id: 32, - event_date: new Date("15 October 2020"), - shed_start_time_date: new Date("15 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("15 October 2020 19:00 GMT-8"), - peak_oat: 78.854, - event_avg_oat: 73.768, - peak_demand_intensity_wft2: 1.988691607, - shed_avg_wft2: 0.483621628, - }, - { - event_id: 33, - event_date: new Date("16 October 2020"), - shed_start_time_date: new Date("16 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("16 October 2020 19:00 GMT-8"), - peak_oat: 82.382, - event_avg_oat: 75.0485, - peak_demand_intensity_wft2: 2.064240011, - shed_avg_wft2: 0.532452164, - }, - { - event_id: 34, - event_date: new Date("16 October 2020"), - shed_start_time_date: new Date("16 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("16 October 2020 19:00 GMT-8"), - peak_oat: 82.382, - event_avg_oat: 75.0485, - peak_demand_intensity_wft2: 2.064240011, - shed_avg_wft2: 0.532452164, - }, - { - event_id: 35, - event_date: new Date("16 June 2021"), - shed_start_time_date: new Date("16 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("16 June 2021 20:00 GMT-8"), - peak_oat: 67.73, - event_avg_oat: 61.767, - peak_demand_intensity_wft2: 1.520111907, - shed_avg_wft2: 0.277870959, - }, - { - event_id: 36, - event_date: new Date("17 June 2021"), - shed_start_time_date: new Date("17 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("17 June 2021 20:00 GMT-8"), - peak_oat: 70.196, - event_avg_oat: 61.428, - peak_demand_intensity_wft2: 1.530531635, - shed_avg_wft2: 0.30866372, - }, - { - event_id: 37, - event_date: new Date("09 July 2021"), - shed_start_time_date: new Date("09 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("09 July 2021 20:00 GMT-8"), - peak_oat: 63.032, - event_avg_oat: 55.808, - peak_demand_intensity_wft2: 1.49542045, - shed_avg_wft2: 0.204539246, - }, - { - event_id: 38, - event_date: new Date("12 July 2021"), - shed_start_time_date: new Date("12 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("12 July 2021 20:00 GMT-8"), - peak_oat: 54.446, - event_avg_oat: 52.287, - peak_demand_intensity_wft2: 1.475698266, - shed_avg_wft2: 0.168780403, - }, - { - event_id: 39, - event_date: new Date("19 July 2021"), - shed_start_time_date: new Date("19 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("19 July 2021 19:00 GMT-8"), - peak_oat: 59.27, - event_avg_oat: 54.0788, - peak_demand_intensity_wft2: 1.499618536, - shed_avg_wft2: 0.117263625, - }, - { - event_id: 40, - event_date: new Date("22 July 2021"), - shed_start_time_date: new Date("22 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("22 July 2021 21:00 GMT-8"), - peak_oat: 56.678, - event_avg_oat: 55.27157692, - peak_demand_intensity_wft2: 1.487087326, - shed_avg_wft2: 0.215271857, - }, - { - event_id: 41, - event_date: new Date("29 July 2021"), - shed_start_time_date: new Date("29 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("29 July 2021 20:00 GMT-8"), - peak_oat: 61.808, - event_avg_oat: 58.5635, - peak_demand_intensity_wft2: 1.514690886, - shed_avg_wft2: 0.194262977, - }, - { - event_id: 42, - event_date: new Date("30 July 2021"), - shed_start_time_date: new Date("30 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("30 July 2021 20:00 GMT-8"), - peak_oat: 63.284, - event_avg_oat: 56.9585, - peak_demand_intensity_wft2: 1.528119348, - shed_avg_wft2: 0.156950331, - }, - { - event_id: 43, - event_date: new Date("11 August 2021"), - shed_start_time_date: new Date("11 August 2021 17:00 GMT-8"), - shed_end_time_date: new Date("11 August 2021 20:00 GMT-8"), - peak_oat: 62.384, - event_avg_oat: 58.92903846, - peak_demand_intensity_wft2: 1.546422889, - shed_avg_wft2: 0.183647594, - }, - ], -}); - -const siteT1426 = new BenchmarkingModel({ - coordinates: [28.1766, 26.1326], - siteID: "T1426", - siteInfo: { - doe_climate_zone: "3C", - city: "San Jose", - state: "CA", - zip: 95133, - number_of_floor: 1, - total_building_area_ft2: 137143, - net_selling_area_ft2: 79716, - total_stock_area_ft2: 27272, - number_of_HVAC: 22, - program: "DRAM through 2020, CBP 2021", - utility: "PG&E", - }, - fieldMetricBaselineRegression: [ - { - event_id: 0, - event_date: new Date("23 July 2018"), - shed_start_time_date: new Date("23 July 2018 18:00 GMT-8"), - shed_end_time_date: new Date("23 July 2018 19:00 GMT-8"), - peak_oat: 87.584, - event_avg_oat: 82.3568, - peak_demand_intensity_wft2: 2.271910037, - shed_avg_wft2: 0.219292939, - }, - { - event_id: 1, - event_date: new Date("23 July 2018"), - shed_start_time_date: new Date("23 July 2018 18:00 GMT-8"), - shed_end_time_date: new Date("23 July 2018 19:00 GMT-8"), - peak_oat: 87.584, - event_avg_oat: 82.3568, - peak_demand_intensity_wft2: 2.271910037, - shed_avg_wft2: 0.219292939, - }, - { - event_id: 3, - event_date: new Date("24 July 2018"), - shed_start_time_date: new Date("24 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("24 July 2018 19:00 GMT-8"), - peak_oat: 88.988, - event_avg_oat: 85.71442308, - peak_demand_intensity_wft2: 2.319624076, - shed_avg_wft2: 0.381899144, - }, - { - event_id: 5, - event_date: new Date("25 July 2018"), - shed_start_time_date: new Date("25 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("25 July 2018 19:00 GMT-8"), - peak_oat: 95.036, - event_avg_oat: 88.96065385, - peak_demand_intensity_wft2: 2.510145055, - shed_avg_wft2: 0.422832811, - }, - { - event_id: 6, - event_date: new Date("07 August 2018"), - shed_start_time_date: new Date("07 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("07 August 2018 19:00 GMT-8"), - peak_oat: 84.218, - event_avg_oat: 77.4212, - peak_demand_intensity_wft2: 2.117963243, - shed_avg_wft2: 0.204480072, - }, - { - event_id: 7, - event_date: new Date("08 August 2018"), - shed_start_time_date: new Date("08 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("08 August 2018 19:00 GMT-8"), - peak_oat: 88.844, - event_avg_oat: 83.8067, - peak_demand_intensity_wft2: 2.284460584, - shed_avg_wft2: 0.175336238, - }, - { - event_id: 8, - event_date: new Date("09 August 2018"), - shed_start_time_date: new Date("09 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("09 August 2018 19:00 GMT-8"), - peak_oat: 94.514, - event_avg_oat: 90.3209, - peak_demand_intensity_wft2: 2.453689862, - shed_avg_wft2: 0.24318317, - }, - { - event_id: 9, - event_date: new Date("22 October 2018"), - shed_start_time_date: new Date("22 October 2018 18:00 GMT-8"), - shed_end_time_date: new Date("22 October 2018 19:00 GMT-8"), - peak_oat: 70.124, - event_avg_oat: 62.4506, - peak_demand_intensity_wft2: 1.863672008, - shed_avg_wft2: 0.074815994, - }, - { - event_id: 10, - event_date: new Date("22 October 2018"), - shed_start_time_date: new Date("22 October 2018 18:00 GMT-8"), - shed_end_time_date: new Date("22 October 2018 19:00 GMT-8"), - peak_oat: 70.124, - event_avg_oat: 62.4506, - peak_demand_intensity_wft2: 1.863672008, - shed_avg_wft2: 0.074815994, - }, - { - event_id: 12, - event_date: new Date("24 July 2019"), - shed_start_time_date: new Date("24 July 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 July 2019 19:00 GMT-8"), - peak_oat: 95.072, - event_avg_oat: 91.2983, - peak_demand_intensity_wft2: 2.764146193, - shed_avg_wft2: 0.50177748, - }, - { - event_id: 14, - event_date: new Date("27 August 2019"), - shed_start_time_date: new Date("27 August 2019 18:00 GMT-8"), - shed_end_time_date: new Date("27 August 2019 19:00 GMT-8"), - peak_oat: 91.148, - event_avg_oat: 84.8102, - peak_demand_intensity_wft2: 2.621543943, - shed_avg_wft2: 0.401304954, - }, - { - event_id: 15, - event_date: new Date("24 September 2019"), - shed_start_time_date: new Date("24 September 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 September 2019 19:00 GMT-8"), - peak_oat: 94.1, - event_avg_oat: 86.8091, - peak_demand_intensity_wft2: 2.645792092, - shed_avg_wft2: 0.230152557, - }, - { - event_id: 16, - event_date: new Date("24 September 2019"), - shed_start_time_date: new Date("24 September 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 September 2019 19:00 GMT-8"), - peak_oat: 94.1, - event_avg_oat: 86.8091, - peak_demand_intensity_wft2: 2.645792092, - shed_avg_wft2: 0.230152557, - }, - { - event_id: 17, - event_date: new Date("22 October 2019"), - shed_start_time_date: new Date("22 October 2019 17:00 GMT-8"), - shed_end_time_date: new Date("22 October 2019 19:00 GMT-8"), - peak_oat: 84.83, - event_avg_oat: 80.8285, - peak_demand_intensity_wft2: 2.303292087, - shed_avg_wft2: 0.498954369, - }, - { - event_id: 18, - event_date: new Date("22 October 2019"), - shed_start_time_date: new Date("22 October 2019 17:00 GMT-8"), - shed_end_time_date: new Date("22 October 2019 19:00 GMT-8"), - peak_oat: 84.83, - event_avg_oat: 80.8285, - peak_demand_intensity_wft2: 2.303292087, - shed_avg_wft2: 0.498954369, - }, - { - event_id: 19, - event_date: new Date("30 July 2020"), - shed_start_time_date: new Date("30 July 2020 19:00 GMT-8"), - shed_end_time_date: new Date("30 July 2020 20:00 GMT-8"), - peak_oat: 82.814, - event_avg_oat: 72.7997, - peak_demand_intensity_wft2: 0.854936947, - shed_avg_wft2: -0.997793182, - }, - { - event_id: 20, - event_date: new Date("14 August 2020"), - shed_start_time_date: new Date("14 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("14 August 2020 21:00 GMT-8"), - peak_oat: 104.234, - event_avg_oat: 95.56938235, - peak_demand_intensity_wft2: 2.328372926, - shed_avg_wft2: -0.055759552, - }, - { - event_id: 21, - event_date: new Date("17 August 2020"), - shed_start_time_date: new Date("17 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("17 August 2020 20:00 GMT-8"), - peak_oat: 95.882, - event_avg_oat: 85.10969231, - peak_demand_intensity_wft2: 1.804294956, - shed_avg_wft2: -0.397331544, - }, - { - event_id: 22, - event_date: new Date("18 August 2020"), - shed_start_time_date: new Date("18 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("18 August 2020 20:00 GMT-8"), - peak_oat: 99.968, - event_avg_oat: 92.51634615, - peak_demand_intensity_wft2: 2.151336107, - shed_avg_wft2: -0.025794636, - }, - { - event_id: 23, - event_date: new Date("19 August 2020"), - shed_start_time_date: new Date("19 August 2020 18:00 GMT-8"), - shed_end_time_date: new Date("19 August 2020 20:00 GMT-8"), - peak_oat: 95.504, - event_avg_oat: 84.2735, - peak_demand_intensity_wft2: 1.866346325, - shed_avg_wft2: -0.216095772, - }, - { - event_id: 24, - event_date: new Date("05 September 2020"), - shed_start_time_date: new Date("05 September 2020 17:00 GMT-8"), - shed_end_time_date: new Date("05 September 2020 19:00 GMT-8"), - peak_oat: 101.138, - event_avg_oat: 96.843, - peak_demand_intensity_wft2: 2.461293279, - shed_avg_wft2: 0.389702765, - }, - { - event_id: 25, - event_date: new Date("06 September 2020"), - shed_start_time_date: new Date("06 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("06 September 2020 18:30 GMT-8"), - peak_oat: 107.276, - event_avg_oat: 103.795, - peak_demand_intensity_wft2: 2.739627947, - shed_avg_wft2: 0.467463886, - }, - { - event_id: 26, - event_date: new Date("07 September 2020"), - shed_start_time_date: new Date("07 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("07 September 2020 18:30 GMT-8"), - peak_oat: 107.114, - event_avg_oat: 99.237, - peak_demand_intensity_wft2: 2.706896447, - shed_avg_wft2: 0.374969758, - }, - { - event_id: 27, - event_date: new Date("08 September 2020"), - shed_start_time_date: new Date("08 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("08 September 2020 19:00 GMT-8"), - peak_oat: 87.152, - event_avg_oat: 79.2896, - peak_demand_intensity_wft2: 1.750605855, - shed_avg_wft2: -0.150118611, - }, - { - event_id: 28, - event_date: new Date("08 September 2020"), - shed_start_time_date: new Date("08 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("08 September 2020 19:00 GMT-8"), - peak_oat: 87.152, - event_avg_oat: 79.2896, - peak_demand_intensity_wft2: 1.750605855, - shed_avg_wft2: -0.150118611, - }, - { - event_id: 29, - event_date: new Date("16 June 2021"), - shed_start_time_date: new Date("16 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("16 June 2021 20:00 GMT-8"), - peak_oat: 91.292, - event_avg_oat: 82.1655, - peak_demand_intensity_wft2: 1.992581262, - shed_avg_wft2: 0.396966527, - }, - { - event_id: 30, - event_date: new Date("17 June 2021"), - shed_start_time_date: new Date("17 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("17 June 2021 20:00 GMT-8"), - peak_oat: 101.12, - event_avg_oat: 92.261, - peak_demand_intensity_wft2: 2.172531191, - shed_avg_wft2: 2.087232812, - }, - { - event_id: 31, - event_date: new Date("12 July 2021"), - shed_start_time_date: new Date("12 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("12 July 2021 20:00 GMT-8"), - peak_oat: 78.296, - event_avg_oat: 68.942, - peak_demand_intensity_wft2: 1.643428465, - shed_avg_wft2: 0.200254773, - }, - { - event_id: 32, - event_date: new Date("13 July 2021"), - shed_start_time_date: new Date("13 July 2021 19:00 GMT-8"), - shed_end_time_date: new Date("13 July 2021 20:00 GMT-8"), - peak_oat: 76.856, - event_avg_oat: 62.4875, - peak_demand_intensity_wft2: 1.624433791, - shed_avg_wft2: 0.140939471, - }, - { - event_id: 33, - event_date: new Date("22 July 2021"), - shed_start_time_date: new Date("22 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("22 July 2021 21:00 GMT-8"), - peak_oat: 81.212, - event_avg_oat: 70.5695, - peak_demand_intensity_wft2: 1.716265022, - shed_avg_wft2: 0.226091515, - }, - { - event_id: 34, - event_date: new Date("29 July 2021"), - shed_start_time_date: new Date("29 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("29 July 2021 20:00 GMT-8"), - peak_oat: 88.61, - event_avg_oat: 81.529, - peak_demand_intensity_wft2: 1.873814923, - shed_avg_wft2: 0.09052118, - }, - { - event_id: 35, - event_date: new Date("30 July 2021"), - shed_start_time_date: new Date("30 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("30 July 2021 20:00 GMT-8"), - peak_oat: 88.43, - event_avg_oat: 79.085, - peak_demand_intensity_wft2: 1.864141892, - shed_avg_wft2: 0.154924651, - }, - ], -}); - -const siteT1427 = new BenchmarkingModel({ - coordinates: [121.8672, 37.2505], - siteID: "T1427", - siteInfo: { - doe_climate_zone: "3C", - city: "San Jose", - state: "CA", - zip: 95129, - number_of_floor: 2, - total_building_area_ft2: 166559, - net_selling_area_ft2: 89298, - total_stock_area_ft2: 27587, - number_of_HVAC: 23, - program: "DRAM through 2020, CBP 2021", - utility: "PG&E", - }, - fieldMetricBaselineRegression: [ - { - event_id: 0, - event_date: new Date("23 July 2018"), - shed_start_time_date: new Date("23 July 2018 18:00 GMT-8"), - shed_end_time_date: new Date("23 July 2018 19:00 GMT-8"), - peak_oat: 85.946, - event_avg_oat: 80.3696, - peak_demand_intensity_wft2: 2.086415529, - shed_avg_wft2: 0.054455896, - }, - { - event_id: 1, - event_date: new Date("24 July 2018"), - shed_start_time_date: new Date("24 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("24 July 2018 19:00 GMT-8"), - peak_oat: 87.548, - event_avg_oat: 84.85215385, - peak_demand_intensity_wft2: 2.124692141, - shed_avg_wft2: 0.331290633, - }, - { - event_id: 2, - event_date: new Date("25 July 2018"), - shed_start_time_date: new Date("25 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("25 July 2018 19:00 GMT-8"), - peak_oat: 93.092, - event_avg_oat: 87.81107692, - peak_demand_intensity_wft2: 2.262105477, - shed_avg_wft2: 0.414751542, - }, - { - event_id: 3, - event_date: new Date("07 August 2018"), - shed_start_time_date: new Date("07 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("07 August 2018 19:00 GMT-8"), - peak_oat: 81.374, - event_avg_oat: 76.4879, - peak_demand_intensity_wft2: 1.968851853, - shed_avg_wft2: 0.334417649, - }, - { - event_id: 4, - event_date: new Date("08 August 2018"), - shed_start_time_date: new Date("08 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("08 August 2018 19:00 GMT-8"), - peak_oat: 86.018, - event_avg_oat: 81.5621, - peak_demand_intensity_wft2: 2.096403248, - shed_avg_wft2: 0.190270253, - }, - { - event_id: 5, - event_date: new Date("09 August 2018"), - shed_start_time_date: new Date("09 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("09 August 2018 19:00 GMT-8"), - peak_oat: 92.354, - event_avg_oat: 88.2743, - peak_demand_intensity_wft2: 2.252336792, - shed_avg_wft2: 0.244264621, - }, - { - event_id: 6, - event_date: new Date("22 October 2018"), - shed_start_time_date: new Date("22 October 2018 18:00 GMT-8"), - shed_end_time_date: new Date("22 October 2018 19:00 GMT-8"), - peak_oat: 69.134, - event_avg_oat: 62.7467, - peak_demand_intensity_wft2: 1.673473403, - shed_avg_wft2: 0.170419545, - }, - { - event_id: 7, - event_date: new Date("24 July 2019"), - shed_start_time_date: new Date("24 July 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 July 2019 19:00 GMT-8"), - peak_oat: 93.146, - event_avg_oat: 88.3913, - peak_demand_intensity_wft2: 2.4245569, - shed_avg_wft2: 0.431267939, - }, - { - event_id: 8, - event_date: new Date("27 August 2019"), - shed_start_time_date: new Date("27 August 2019 18:00 GMT-8"), - shed_end_time_date: new Date("27 August 2019 19:00 GMT-8"), - peak_oat: 88.448, - event_avg_oat: 82.6484, - peak_demand_intensity_wft2: 2.375814689, - shed_avg_wft2: 0.151852568, - }, - { - event_id: 9, - event_date: new Date("24 September 2019"), - shed_start_time_date: new Date("24 September 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 September 2019 19:00 GMT-8"), - peak_oat: 92.732, - event_avg_oat: 85.9442, - peak_demand_intensity_wft2: 2.422637006, - shed_avg_wft2: 0.237788081, - }, - { - event_id: 10, - event_date: new Date("22 October 2019"), - shed_start_time_date: new Date("22 October 2019 17:00 GMT-8"), - shed_end_time_date: new Date("22 October 2019 19:00 GMT-8"), - peak_oat: 84.236, - event_avg_oat: 79.8905, - peak_demand_intensity_wft2: 2.172982662, - shed_avg_wft2: 0.278375957, - }, - { - event_id: 11, - event_date: new Date("20 July 2020"), - shed_start_time_date: new Date("20 July 2020 17:00 GMT-8"), - shed_end_time_date: new Date("20 July 2020 18:00 GMT-8"), - peak_oat: 79.646, - event_avg_oat: 75.3377, - peak_demand_intensity_wft2: 1.819888611, - shed_avg_wft2: 0.477128371, - }, - { - event_id: 12, - event_date: new Date("30 July 2020"), - shed_start_time_date: new Date("30 July 2020 19:00 GMT-8"), - shed_end_time_date: new Date("30 July 2020 20:00 GMT-8"), - peak_oat: 83.516, - event_avg_oat: 73.4774, - peak_demand_intensity_wft2: 1.917605734, - shed_avg_wft2: 0.498881692, - }, - { - event_id: 13, - event_date: new Date("14 August 2020"), - shed_start_time_date: new Date("14 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("14 August 2020 21:00 GMT-8"), - peak_oat: 105.422, - event_avg_oat: 97.061, - peak_demand_intensity_wft2: 2.385739429, - shed_avg_wft2: 0.451535312, - }, - { - event_id: 14, - event_date: new Date("14 August 2020"), - shed_start_time_date: new Date("14 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("14 August 2020 21:00 GMT-8"), - peak_oat: 105.422, - event_avg_oat: 97.061, - peak_demand_intensity_wft2: 2.385739429, - shed_avg_wft2: 0.451535312, - }, - { - event_id: 15, - event_date: new Date("17 August 2020"), - shed_start_time_date: new Date("17 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("17 August 2020 20:00 GMT-8"), - peak_oat: 96.566, - event_avg_oat: 86.63726923, - peak_demand_intensity_wft2: 2.188974584, - shed_avg_wft2: 0.459794317, - }, - { - event_id: 16, - event_date: new Date("18 August 2020"), - shed_start_time_date: new Date("18 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("18 August 2020 19:00 GMT-8"), - peak_oat: 101.696, - event_avg_oat: 94.9265, - peak_demand_intensity_wft2: 2.315100203, - shed_avg_wft2: 0.505792648, - }, - { - event_id: 17, - event_date: new Date("19 August 2020"), - shed_start_time_date: new Date("19 August 2020 18:00 GMT-8"), - shed_end_time_date: new Date("19 August 2020 20:00 GMT-8"), - peak_oat: 97.556, - event_avg_oat: 84.986, - peak_demand_intensity_wft2: 2.228662913, - shed_avg_wft2: 0.554652843, - }, - { - event_id: 18, - event_date: new Date("05 September 2020"), - shed_start_time_date: new Date("05 September 2020 17:00 GMT-8"), - shed_end_time_date: new Date("05 September 2020 19:00 GMT-8"), - peak_oat: 102.308, - event_avg_oat: 98.5285, - peak_demand_intensity_wft2: 2.33160866, - shed_avg_wft2: 0.768460386, - }, - { - event_id: 19, - event_date: new Date("06 September 2020"), - shed_start_time_date: new Date("06 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("06 September 2020 18:30 GMT-8"), - peak_oat: 110.03, - event_avg_oat: 106.2935, - peak_demand_intensity_wft2: 2.482684015, - shed_avg_wft2: 0.602741379, - }, - { - event_id: 20, - event_date: new Date("07 September 2020"), - shed_start_time_date: new Date("07 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("07 September 2020 18:30 GMT-8"), - peak_oat: 109.094, - event_avg_oat: 101.8455, - peak_demand_intensity_wft2: 2.465385306, - shed_avg_wft2: 0.496282209, - }, - { - event_id: 21, - event_date: new Date("30 September 2020"), - shed_start_time_date: new Date("30 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("30 September 2020 19:00 GMT-8"), - peak_oat: 94.334, - event_avg_oat: 84.8813, - peak_demand_intensity_wft2: 2.204752576, - shed_avg_wft2: 0.634959721, - }, - { - event_id: 22, - event_date: new Date("01 October 2020"), - shed_start_time_date: new Date("01 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("01 October 2020 19:00 GMT-8"), - peak_oat: 98.546, - event_avg_oat: 91.8095, - peak_demand_intensity_wft2: 2.276982238, - shed_avg_wft2: 0.739152873, - }, - { - event_id: 23, - event_date: new Date("01 October 2020"), - shed_start_time_date: new Date("01 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("01 October 2020 19:00 GMT-8"), - peak_oat: 98.546, - event_avg_oat: 91.8095, - peak_demand_intensity_wft2: 2.276982238, - shed_avg_wft2: 0.739152873, - }, - { - event_id: 24, - event_date: new Date("15 October 2020"), - shed_start_time_date: new Date("15 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("15 October 2020 19:00 GMT-8"), - peak_oat: 91.58, - event_avg_oat: 85.9605, - peak_demand_intensity_wft2: 2.147265293, - shed_avg_wft2: 0.584078849, - }, - { - event_id: 25, - event_date: new Date("16 October 2020"), - shed_start_time_date: new Date("16 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("16 October 2020 19:00 GMT-8"), - peak_oat: 93.344, - event_avg_oat: 87.6435, - peak_demand_intensity_wft2: 2.179370604, - shed_avg_wft2: 0.637616861, - }, - { - event_id: 26, - event_date: new Date("16 June 2021"), - shed_start_time_date: new Date("16 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("16 June 2021 20:00 GMT-8"), - peak_oat: 92.21, - event_avg_oat: 82.0755, - peak_demand_intensity_wft2: 1.914808717, - shed_avg_wft2: 0.363231585, - }, - { - event_id: 27, - event_date: new Date("17 June 2021"), - shed_start_time_date: new Date("17 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("17 June 2021 20:00 GMT-8"), - peak_oat: 103.316, - event_avg_oat: 92.4815, - peak_demand_intensity_wft2: 2.133959597, - shed_avg_wft2: 0.43177618, - }, - { - event_id: 28, - event_date: new Date("09 July 2021"), - shed_start_time_date: new Date("09 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("09 July 2021 19:00 GMT-8"), - peak_oat: 98.258, - event_avg_oat: 91.0319, - peak_demand_intensity_wft2: 2.170590238, - shed_avg_wft2: 0.481192813, - }, - { - event_id: 29, - event_date: new Date("13 July 2021"), - shed_start_time_date: new Date("13 July 2021 19:00 GMT-8"), - shed_end_time_date: new Date("13 July 2021 20:00 GMT-8"), - peak_oat: 76.802, - event_avg_oat: 62.186, - peak_demand_intensity_wft2: 1.670983666, - shed_avg_wft2: 0.160021314, - }, - { - event_id: 30, - event_date: new Date("22 July 2021"), - shed_start_time_date: new Date("22 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("22 July 2021 21:00 GMT-8"), - peak_oat: 82.652, - event_avg_oat: 71.19638462, - peak_demand_intensity_wft2: 1.839132229, - shed_avg_wft2: 0.341411699, - }, - { - event_id: 31, - event_date: new Date("29 July 2021"), - shed_start_time_date: new Date("29 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("29 July 2021 20:00 GMT-8"), - peak_oat: 90.356, - event_avg_oat: 82.561, - peak_demand_intensity_wft2: 2.048579194, - shed_avg_wft2: 0.450048175, - }, - { - event_id: 32, - event_date: new Date("30 July 2021"), - shed_start_time_date: new Date("30 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("30 July 2021 20:00 GMT-8"), - peak_oat: 89.744, - event_avg_oat: 79.2815, - peak_demand_intensity_wft2: 2.036858507, - shed_avg_wft2: 0.412528673, - }, - { - event_id: 33, - event_date: new Date("11 August 2021"), - shed_start_time_date: new Date("11 August 2021 17:00 GMT-8"), - shed_end_time_date: new Date("11 August 2021 20:00 GMT-8"), - peak_oat: 90.068, - event_avg_oat: 81.15038462, - peak_demand_intensity_wft2: 2.055996716, - shed_avg_wft2: 0.398877534, - }, - ], -}); - -const siteT1927 = new BenchmarkingModel({ - coordinates: [121.9136, 37.2944], - siteID: "T1927", - siteInfo: { - doe_climate_zone: "3C", - city: "San Jose", - state: "CA", - zip: 95123, - number_of_floor: 2, - total_building_area_ft2: 166839, - net_selling_area_ft2: 84217, - total_stock_area_ft2: 36165, - number_of_HVAC: 22, - program: "DRAM through 2020, CBP 2021", - utility: "PG&E", - }, - fieldMetricBaselineRegression: [ - { - event_id: 0, - event_date: new Date("23 July 2018"), - shed_start_time_date: new Date("23 July 2018 18:00 GMT-8"), - shed_end_time_date: new Date("23 July 2018 19:00 GMT-8"), - peak_oat: 87.908, - event_avg_oat: 82.634, - peak_demand_intensity_wft2: 2.211409434, - shed_avg_wft2: 0.515905626, - }, - { - event_id: 1, - event_date: new Date("23 July 2018"), - shed_start_time_date: new Date("23 July 2018 18:00 GMT-8"), - shed_end_time_date: new Date("23 July 2018 19:00 GMT-8"), - peak_oat: 87.908, - event_avg_oat: 82.634, - peak_demand_intensity_wft2: 2.211409434, - shed_avg_wft2: 0.515905626, - }, - { - event_id: 2, - event_date: new Date("24 July 2018"), - shed_start_time_date: new Date("24 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("24 July 2018 19:00 GMT-8"), - peak_oat: 90.266, - event_avg_oat: 86.35584615, - peak_demand_intensity_wft2: 2.278714664, - shed_avg_wft2: 0.532849452, - }, - { - event_id: 3, - event_date: new Date("24 July 2018"), - shed_start_time_date: new Date("24 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("24 July 2018 19:00 GMT-8"), - peak_oat: 90.266, - event_avg_oat: 86.35584615, - peak_demand_intensity_wft2: 2.278714664, - shed_avg_wft2: 0.532849452, - }, - { - event_id: 4, - event_date: new Date("25 July 2018"), - shed_start_time_date: new Date("25 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("25 July 2018 19:00 GMT-8"), - peak_oat: 95.18, - event_avg_oat: 89.56884615, - peak_demand_intensity_wft2: 2.372485562, - shed_avg_wft2: 0.636579591, - }, - { - event_id: 5, - event_date: new Date("25 July 2018"), - shed_start_time_date: new Date("25 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("25 July 2018 19:00 GMT-8"), - peak_oat: 95.18, - event_avg_oat: 89.56884615, - peak_demand_intensity_wft2: 2.372485562, - shed_avg_wft2: 0.636579591, - }, - { - event_id: 6, - event_date: new Date("07 August 2018"), - shed_start_time_date: new Date("07 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("07 August 2018 19:00 GMT-8"), - peak_oat: 84.308, - event_avg_oat: 78.6749, - peak_demand_intensity_wft2: 2.087951726, - shed_avg_wft2: 0.10445706, - }, - { - event_id: 7, - event_date: new Date("08 August 2018"), - shed_start_time_date: new Date("08 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("08 August 2018 19:00 GMT-8"), - peak_oat: 88.556, - event_avg_oat: 83.5196, - peak_demand_intensity_wft2: 2.210373251, - shed_avg_wft2: 0.035573133, - }, - { - event_id: 8, - event_date: new Date("09 August 2018"), - shed_start_time_date: new Date("09 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("09 August 2018 19:00 GMT-8"), - peak_oat: 93.794, - event_avg_oat: 89.7206, - peak_demand_intensity_wft2: 2.318123882, - shed_avg_wft2: 0.421425363, - }, - { - event_id: 9, - event_date: new Date("22 October 2018"), - shed_start_time_date: new Date("22 October 2018 18:00 GMT-8"), - shed_end_time_date: new Date("22 October 2018 19:00 GMT-8"), - peak_oat: 70.358, - event_avg_oat: 63.4937, - peak_demand_intensity_wft2: 1.995889765, - shed_avg_wft2: 0.225719532, - }, - { - event_id: 10, - event_date: new Date("22 October 2018"), - shed_start_time_date: new Date("22 October 2018 18:00 GMT-8"), - shed_end_time_date: new Date("22 October 2018 19:00 GMT-8"), - peak_oat: 70.358, - event_avg_oat: 63.4937, - peak_demand_intensity_wft2: 1.995889765, - shed_avg_wft2: 0.225719532, - }, - { - event_id: 11, - event_date: new Date("24 July 2019"), - shed_start_time_date: new Date("24 July 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 July 2019 19:00 GMT-8"), - peak_oat: 94.55, - event_avg_oat: 89.5667, - peak_demand_intensity_wft2: 2.460511492, - shed_avg_wft2: 0.376726283, - }, - { - event_id: 13, - event_date: new Date("27 August 2019"), - shed_start_time_date: new Date("27 August 2019 18:00 GMT-8"), - shed_end_time_date: new Date("27 August 2019 19:00 GMT-8"), - peak_oat: 89.366, - event_avg_oat: 83.1398, - peak_demand_intensity_wft2: 2.336574108, - shed_avg_wft2: 0.372864042, - }, - { - event_id: 14, - event_date: new Date("27 August 2019"), - shed_start_time_date: new Date("27 August 2019 18:00 GMT-8"), - shed_end_time_date: new Date("27 August 2019 19:00 GMT-8"), - peak_oat: 89.366, - event_avg_oat: 83.1398, - peak_demand_intensity_wft2: 2.336574108, - shed_avg_wft2: 0.372864042, - }, - { - event_id: 15, - event_date: new Date("24 September 2019"), - shed_start_time_date: new Date("24 September 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 September 2019 19:00 GMT-8"), - peak_oat: 93.83, - event_avg_oat: 86.7146, - peak_demand_intensity_wft2: 2.331701922, - shed_avg_wft2: 0.563276543, - }, - { - event_id: 16, - event_date: new Date("24 September 2019"), - shed_start_time_date: new Date("24 September 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 September 2019 19:00 GMT-8"), - peak_oat: 93.83, - event_avg_oat: 86.7146, - peak_demand_intensity_wft2: 2.331701922, - shed_avg_wft2: 0.563276543, - }, - { - event_id: 17, - event_date: new Date("22 October 2019"), - shed_start_time_date: new Date("22 October 2019 17:00 GMT-8"), - shed_end_time_date: new Date("22 October 2019 19:00 GMT-8"), - peak_oat: 84.92, - event_avg_oat: 80.6225, - peak_demand_intensity_wft2: 2.126514197, - shed_avg_wft2: 0.450052243, - }, - { - event_id: 18, - event_date: new Date("22 October 2019"), - shed_start_time_date: new Date("22 October 2019 17:00 GMT-8"), - shed_end_time_date: new Date("22 October 2019 19:00 GMT-8"), - peak_oat: 84.92, - event_avg_oat: 80.6225, - peak_demand_intensity_wft2: 2.126514197, - shed_avg_wft2: 0.450052243, - }, - { - event_id: 19, - event_date: new Date("20 July 2020"), - shed_start_time_date: new Date("20 July 2020 17:00 GMT-8"), - shed_end_time_date: new Date("20 July 2020 18:00 GMT-8"), - peak_oat: 82.13, - event_avg_oat: 77.2466, - peak_demand_intensity_wft2: 1.941785633, - shed_avg_wft2: 0.130417614, - }, - { - event_id: 20, - event_date: new Date("30 July 2020"), - shed_start_time_date: new Date("30 July 2020 19:00 GMT-8"), - shed_end_time_date: new Date("30 July 2020 20:00 GMT-8"), - peak_oat: 86.018, - event_avg_oat: 74.5358, - peak_demand_intensity_wft2: 2.047805666, - shed_avg_wft2: 0.402645942, - }, - { - event_id: 21, - event_date: new Date("30 July 2020"), - shed_start_time_date: new Date("30 July 2020 19:00 GMT-8"), - shed_end_time_date: new Date("30 July 2020 20:00 GMT-8"), - peak_oat: 86.018, - event_avg_oat: 74.5358, - peak_demand_intensity_wft2: 2.047805666, - shed_avg_wft2: 0.402645942, - }, - { - event_id: 23, - event_date: new Date("14 August 2020"), - shed_start_time_date: new Date("14 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("14 August 2020 21:00 GMT-8"), - peak_oat: 106.556, - event_avg_oat: 97.61608824, - peak_demand_intensity_wft2: 2.503824756, - shed_avg_wft2: 0.413236279, - }, - { - event_id: 24, - event_date: new Date("14 August 2020"), - shed_start_time_date: new Date("14 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("14 August 2020 21:00 GMT-8"), - peak_oat: 106.556, - event_avg_oat: 97.61608824, - peak_demand_intensity_wft2: 2.503824756, - shed_avg_wft2: 0.413236279, - }, - { - event_id: 25, - event_date: new Date("17 August 2020"), - shed_start_time_date: new Date("17 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("17 August 2020 20:00 GMT-8"), - peak_oat: 98.564, - event_avg_oat: 87.44380769, - peak_demand_intensity_wft2: 2.36060918, - shed_avg_wft2: 0.483109782, - }, - { - event_id: 26, - event_date: new Date("18 August 2020"), - shed_start_time_date: new Date("18 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("18 August 2020 19:00 GMT-8"), - peak_oat: 102.524, - event_avg_oat: 96.171, - peak_demand_intensity_wft2: 2.448192386, - shed_avg_wft2: 0.458538897, - }, - { - event_id: 27, - event_date: new Date("19 August 2020"), - shed_start_time_date: new Date("19 August 2020 18:00 GMT-8"), - shed_end_time_date: new Date("19 August 2020 20:00 GMT-8"), - peak_oat: 97.898, - event_avg_oat: 85.839, - peak_demand_intensity_wft2: 2.340183556, - shed_avg_wft2: 0.646426684, - }, - { - event_id: 28, - event_date: new Date("05 September 2020"), - shed_start_time_date: new Date("05 September 2020 17:00 GMT-8"), - shed_end_time_date: new Date("05 September 2020 19:00 GMT-8"), - peak_oat: 104.18, - event_avg_oat: 99.751, - peak_demand_intensity_wft2: 2.451648476, - shed_avg_wft2: 0.636184367, - }, - { - event_id: 29, - event_date: new Date("06 September 2020"), - shed_start_time_date: new Date("06 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("06 September 2020 18:30 GMT-8"), - peak_oat: 110.894, - event_avg_oat: 106.549, - peak_demand_intensity_wft2: 2.596657307, - shed_avg_wft2: 0.490442195, - }, - { - event_id: 30, - event_date: new Date("07 September 2020"), - shed_start_time_date: new Date("07 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("07 September 2020 18:30 GMT-8"), - peak_oat: 109.868, - event_avg_oat: 102.4885, - peak_demand_intensity_wft2: 2.584734475, - shed_avg_wft2: -0.149963386, - }, - { - event_id: 31, - event_date: new Date("30 September 2020"), - shed_start_time_date: new Date("30 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("30 September 2020 19:00 GMT-8"), - peak_oat: 94.19, - event_avg_oat: 86.1368, - peak_demand_intensity_wft2: 2.271136841, - shed_avg_wft2: 0.380372707, - }, - { - event_id: 32, - event_date: new Date("01 October 2020"), - shed_start_time_date: new Date("01 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("01 October 2020 19:00 GMT-8"), - peak_oat: 98.96, - event_avg_oat: 92.1205, - peak_demand_intensity_wft2: 2.369339232, - shed_avg_wft2: 0.645704753, - }, - { - event_id: 33, - event_date: new Date("01 October 2020"), - shed_start_time_date: new Date("01 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("01 October 2020 19:00 GMT-8"), - peak_oat: 98.96, - event_avg_oat: 92.1205, - peak_demand_intensity_wft2: 2.369339232, - shed_avg_wft2: 0.645704753, - }, - { - event_id: 34, - event_date: new Date("15 October 2020"), - shed_start_time_date: new Date("15 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("15 October 2020 19:00 GMT-8"), - peak_oat: 92.3, - event_avg_oat: 86.745, - peak_demand_intensity_wft2: 2.236327141, - shed_avg_wft2: 0.574555384, - }, - { - event_id: 35, - event_date: new Date("16 October 2020"), - shed_start_time_date: new Date("16 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("16 October 2020 19:00 GMT-8"), - peak_oat: 93.92, - event_avg_oat: 88.1025, - peak_demand_intensity_wft2: 2.26688663, - shed_avg_wft2: 0.520167033, - }, - { - event_id: 36, - event_date: new Date("16 June 2021"), - shed_start_time_date: new Date("16 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("16 June 2021 20:00 GMT-8"), - peak_oat: 92.606, - event_avg_oat: 82.592, - peak_demand_intensity_wft2: 2.2582352, - shed_avg_wft2: 0.477023548, - }, - { - event_id: 37, - event_date: new Date("17 June 2021"), - shed_start_time_date: new Date("17 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("17 June 2021 20:00 GMT-8"), - peak_oat: 103.928, - event_avg_oat: 93.954, - peak_demand_intensity_wft2: 2.510733871, - shed_avg_wft2: 0.530238929, - }, - { - event_id: 38, - event_date: new Date("09 July 2021"), - shed_start_time_date: new Date("09 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("09 July 2021 19:00 GMT-8"), - peak_oat: 100.292, - event_avg_oat: 91.6952, - peak_demand_intensity_wft2: 2.626632833, - shed_avg_wft2: 0.614863051, - }, - { - event_id: 39, - event_date: new Date("12 July 2021"), - shed_start_time_date: new Date("12 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("12 July 2021 20:00 GMT-8"), - peak_oat: 82.076, - event_avg_oat: 71.3005, - peak_demand_intensity_wft2: 2.108812026, - shed_avg_wft2: 0.442230918, - }, - { - event_id: 40, - event_date: new Date("13 July 2021"), - shed_start_time_date: new Date("13 July 2021 19:00 GMT-8"), - shed_end_time_date: new Date("13 July 2021 20:00 GMT-8"), - peak_oat: 79.178, - event_avg_oat: 65.0516, - peak_demand_intensity_wft2: 2.042088947, - shed_avg_wft2: 0.304472742, - }, - { - event_id: 41, - event_date: new Date("22 July 2021"), - shed_start_time_date: new Date("22 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("22 July 2021 21:00 GMT-8"), - peak_oat: 84.038, - event_avg_oat: 72.37711538, - peak_demand_intensity_wft2: 2.183844288, - shed_avg_wft2: 0.435466842, - }, - { - event_id: 42, - event_date: new Date("29 July 2021"), - shed_start_time_date: new Date("29 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("29 July 2021 20:00 GMT-8"), - peak_oat: 91.004, - event_avg_oat: 83.162, - peak_demand_intensity_wft2: 2.354272791, - shed_avg_wft2: 0.618495752, - }, - { - event_id: 43, - event_date: new Date("30 July 2021"), - shed_start_time_date: new Date("30 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("30 July 2021 20:00 GMT-8"), - peak_oat: 90.788, - event_avg_oat: 80.6685, - peak_demand_intensity_wft2: 2.317822775, - shed_avg_wft2: 0.407119654, - }, - { - event_id: 44, - event_date: new Date("11 August 2021"), - shed_start_time_date: new Date("11 August 2021 17:00 GMT-8"), - shed_end_time_date: new Date("11 August 2021 20:00 GMT-8"), - peak_oat: 91.112, - event_avg_oat: 82.21619231, - peak_demand_intensity_wft2: 2.391456399, - shed_avg_wft2: 0.514438713, - }, - ], -}); - -const siteT2584 = new BenchmarkingModel({ - coordinates: [122.0363, 37.3688], - siteID: "T2584", - siteInfo: { - doe_climate_zone: "3C", - city: "Sunnyvale", - state: "CA", - zip: 94086, - number_of_floor: 1, - total_building_area_ft2: 174835, - net_selling_area_ft2: 87380, - total_stock_area_ft2: 35220, - number_of_HVAC: 19, - program: "DRAM through 2020, CBP 2021", - utility: "PG&E", - }, - fieldMetricBaselineRegression: [ - { - event_id: 0, - event_date: new Date("23 July 2018"), - shed_start_time_date: new Date("23 July 2018 18:00 GMT-8"), - shed_end_time_date: new Date("23 July 2018 19:00 GMT-8"), - peak_oat: 83.966, - event_avg_oat: 74.5106, - peak_demand_intensity_wft2: 1.992303772, - shed_avg_wft2: -0.044652257, - }, - { - event_id: 1, - event_date: new Date("23 July 2018"), - shed_start_time_date: new Date("23 July 2018 18:00 GMT-8"), - shed_end_time_date: new Date("23 July 2018 19:00 GMT-8"), - peak_oat: 83.966, - event_avg_oat: 74.5106, - peak_demand_intensity_wft2: 1.992303772, - shed_avg_wft2: -0.044652257, - }, - { - event_id: 3, - event_date: new Date("24 July 2018"), - shed_start_time_date: new Date("24 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("24 July 2018 19:00 GMT-8"), - peak_oat: 85.784, - event_avg_oat: 81.83715385, - peak_demand_intensity_wft2: 2.059519008, - shed_avg_wft2: 0.182872239, - }, - { - event_id: 4, - event_date: new Date("25 July 2018"), - shed_start_time_date: new Date("25 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("25 July 2018 19:00 GMT-8"), - peak_oat: 89.348, - event_avg_oat: 84.07746154, - peak_demand_intensity_wft2: 2.122899255, - shed_avg_wft2: 0.066060172, - }, - { - event_id: 5, - event_date: new Date("25 July 2018"), - shed_start_time_date: new Date("25 July 2018 16:00 GMT-8"), - shed_end_time_date: new Date("25 July 2018 19:00 GMT-8"), - peak_oat: 89.348, - event_avg_oat: 84.07746154, - peak_demand_intensity_wft2: 2.122899255, - shed_avg_wft2: 0.066060172, - }, - { - event_id: 6, - event_date: new Date("07 August 2018"), - shed_start_time_date: new Date("07 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("07 August 2018 19:00 GMT-8"), - peak_oat: 73.4, - event_avg_oat: 69.8756, - peak_demand_intensity_wft2: 1.748581263, - shed_avg_wft2: 0.151428002, - }, - { - event_id: 7, - event_date: new Date("08 August 2018"), - shed_start_time_date: new Date("08 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("08 August 2018 19:00 GMT-8"), - peak_oat: 81.248, - event_avg_oat: 76.1621, - peak_demand_intensity_wft2: 1.933038876, - shed_avg_wft2: 0.021003969, - }, - { - event_id: 8, - event_date: new Date("09 August 2018"), - shed_start_time_date: new Date("09 August 2018 18:00 GMT-8"), - shed_end_time_date: new Date("09 August 2018 19:00 GMT-8"), - peak_oat: 88.988, - event_avg_oat: 85.0145, - peak_demand_intensity_wft2: 2.126243576, - shed_avg_wft2: 0.15807913, - }, - { - event_id: 9, - event_date: new Date("22 October 2018"), - shed_start_time_date: new Date("22 October 2018 18:00 GMT-8"), - shed_end_time_date: new Date("22 October 2018 19:00 GMT-8"), - peak_oat: 66.344, - event_avg_oat: 61.2257, - peak_demand_intensity_wft2: 1.614095198, - shed_avg_wft2: 0.073608433, - }, - { - event_id: 10, - event_date: new Date("22 October 2018"), - shed_start_time_date: new Date("22 October 2018 18:00 GMT-8"), - shed_end_time_date: new Date("22 October 2018 19:00 GMT-8"), - peak_oat: 66.344, - event_avg_oat: 61.2257, - peak_demand_intensity_wft2: 1.614095198, - shed_avg_wft2: 0.073608433, - }, - { - event_id: 11, - event_date: new Date("24 July 2019"), - shed_start_time_date: new Date("24 July 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 July 2019 19:00 GMT-8"), - peak_oat: 91.094, - event_avg_oat: 85.8326, - peak_demand_intensity_wft2: 2.354917446, - shed_avg_wft2: 0.420355699, - }, - { - event_id: 13, - event_date: new Date("27 August 2019"), - shed_start_time_date: new Date("27 August 2019 18:00 GMT-8"), - shed_end_time_date: new Date("27 August 2019 19:00 GMT-8"), - peak_oat: 85.874, - event_avg_oat: 79.5362, - peak_demand_intensity_wft2: 2.261741175, - shed_avg_wft2: 0.331585546, - }, - { - event_id: 15, - event_date: new Date("24 September 2019"), - shed_start_time_date: new Date("24 September 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 September 2019 19:00 GMT-8"), - peak_oat: 93.218, - event_avg_oat: 86.3915, - peak_demand_intensity_wft2: 2.409879996, - shed_avg_wft2: 0.232206014, - }, - { - event_id: 16, - event_date: new Date("24 September 2019"), - shed_start_time_date: new Date("24 September 2019 18:00 GMT-8"), - shed_end_time_date: new Date("24 September 2019 19:00 GMT-8"), - peak_oat: 93.218, - event_avg_oat: 86.3915, - peak_demand_intensity_wft2: 2.409879996, - shed_avg_wft2: 0.232206014, - }, - { - event_id: 17, - event_date: new Date("22 October 2019"), - shed_start_time_date: new Date("22 October 2019 17:00 GMT-8"), - shed_end_time_date: new Date("22 October 2019 19:00 GMT-8"), - peak_oat: 84.884, - event_avg_oat: 80.489, - peak_demand_intensity_wft2: 2.18172733, - shed_avg_wft2: 0.46381689, - }, - { - event_id: 18, - event_date: new Date("22 October 2019"), - shed_start_time_date: new Date("22 October 2019 17:00 GMT-8"), - shed_end_time_date: new Date("22 October 2019 19:00 GMT-8"), - peak_oat: 84.884, - event_avg_oat: 80.489, - peak_demand_intensity_wft2: 2.18172733, - shed_avg_wft2: 0.46381689, - }, - { - event_id: 20, - event_date: new Date("20 July 2020"), - shed_start_time_date: new Date("20 July 2020 17:00 GMT-8"), - shed_end_time_date: new Date("20 July 2020 18:00 GMT-8"), - peak_oat: 76.406, - event_avg_oat: 72.6287, - peak_demand_intensity_wft2: 1.790196324, - shed_avg_wft2: 0.122210195, - }, - { - event_id: 21, - event_date: new Date("30 July 2020"), - shed_start_time_date: new Date("30 July 2020 19:00 GMT-8"), - shed_end_time_date: new Date("30 July 2020 20:00 GMT-8"), - peak_oat: 79.898, - event_avg_oat: 70.5245, - peak_demand_intensity_wft2: 1.916462817, - shed_avg_wft2: 0.202830394, - }, - { - event_id: 22, - event_date: new Date("14 August 2020"), - shed_start_time_date: new Date("14 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("14 August 2020 21:00 GMT-8"), - peak_oat: 103.1, - event_avg_oat: 94.32261765, - peak_demand_intensity_wft2: 2.560202913, - shed_avg_wft2: 0.160057522, - }, - { - event_id: 23, - event_date: new Date("17 August 2020"), - shed_start_time_date: new Date("17 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("17 August 2020 20:00 GMT-8"), - peak_oat: 93.074, - event_avg_oat: 83.79880769, - peak_demand_intensity_wft2: 2.298793216, - shed_avg_wft2: 0.102273956, - }, - { - event_id: 24, - event_date: new Date("18 August 2020"), - shed_start_time_date: new Date("18 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("18 August 2020 20:00 GMT-8"), - peak_oat: 97.394, - event_avg_oat: 89.58476923, - peak_demand_intensity_wft2: 2.428842519, - shed_avg_wft2: 0.25628491, - }, - { - event_id: 25, - event_date: new Date("19 August 2020"), - shed_start_time_date: new Date("19 August 2020 18:00 GMT-8"), - shed_end_time_date: new Date("19 August 2020 20:00 GMT-8"), - peak_oat: 93.758, - event_avg_oat: 82.2665, - peak_demand_intensity_wft2: 2.332337679, - shed_avg_wft2: 0.221620309, - }, - { - event_id: 26, - event_date: new Date("05 September 2020"), - shed_start_time_date: new Date("05 September 2020 17:00 GMT-8"), - shed_end_time_date: new Date("05 September 2020 19:00 GMT-8"), - peak_oat: 99.32, - event_avg_oat: 95.198, - peak_demand_intensity_wft2: 2.516376551, - shed_avg_wft2: 0.71155801, - }, - { - event_id: 27, - event_date: new Date("06 September 2020"), - shed_start_time_date: new Date("06 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("06 September 2020 18:30 GMT-8"), - peak_oat: 106.268, - event_avg_oat: 102.733, - peak_demand_intensity_wft2: 2.703020899, - shed_avg_wft2: 0.391049288, - }, - { - event_id: 28, - event_date: new Date("07 September 2020"), - shed_start_time_date: new Date("07 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("07 September 2020 18:30 GMT-8"), - peak_oat: 104.81, - event_avg_oat: 97.242, - peak_demand_intensity_wft2: 2.641866132, - shed_avg_wft2: 0.276620652, - }, - { - event_id: 29, - event_date: new Date("08 September 2020"), - shed_start_time_date: new Date("08 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("08 September 2020 19:00 GMT-8"), - peak_oat: 89.834, - event_avg_oat: 78.701, - peak_demand_intensity_wft2: 2.263685056, - shed_avg_wft2: 0.359022488, - }, - { - event_id: 30, - event_date: new Date("08 September 2020"), - shed_start_time_date: new Date("08 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("08 September 2020 19:00 GMT-8"), - peak_oat: 89.834, - event_avg_oat: 78.701, - peak_demand_intensity_wft2: 2.263685056, - shed_avg_wft2: 0.359022488, - }, - { - event_id: 31, - event_date: new Date("30 September 2020"), - shed_start_time_date: new Date("30 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("30 September 2020 19:00 GMT-8"), - peak_oat: 91.004, - event_avg_oat: 81.7295, - peak_demand_intensity_wft2: 2.29233099, - shed_avg_wft2: 0.491347031, - }, - { - event_id: 32, - event_date: new Date("01 October 2020"), - shed_start_time_date: new Date("01 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("01 October 2020 19:00 GMT-8"), - peak_oat: 96.458, - event_avg_oat: 89.638, - peak_demand_intensity_wft2: 2.426955832, - shed_avg_wft2: 0.575080725, - }, - { - event_id: 33, - event_date: new Date("15 October 2020"), - shed_start_time_date: new Date("15 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("15 October 2020 19:00 GMT-8"), - peak_oat: 91.976, - event_avg_oat: 86.5455, - peak_demand_intensity_wft2: 2.298785705, - shed_avg_wft2: 0.486307063, - }, - { - event_id: 34, - event_date: new Date("16 October 2020"), - shed_start_time_date: new Date("16 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("16 October 2020 19:00 GMT-8"), - peak_oat: 93.578, - event_avg_oat: 87.6105, - peak_demand_intensity_wft2: 2.339274961, - shed_avg_wft2: 0.446448572, - }, - { - event_id: 35, - event_date: new Date("16 June 2021"), - shed_start_time_date: new Date("16 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("16 June 2021 20:00 GMT-8"), - peak_oat: 89.708, - event_avg_oat: 80.04, - peak_demand_intensity_wft2: 1.899193492, - shed_avg_wft2: 0.113076737, - }, - { - event_id: 36, - event_date: new Date("17 June 2021"), - shed_start_time_date: new Date("17 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("17 June 2021 20:00 GMT-8"), - peak_oat: 98.222, - event_avg_oat: 87.7885, - peak_demand_intensity_wft2: 2.018050861, - shed_avg_wft2: 0.101346189, - }, - { - event_id: 37, - event_date: new Date("12 July 2021"), - shed_start_time_date: new Date("12 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("12 July 2021 20:00 GMT-8"), - peak_oat: 73.4, - event_avg_oat: 65.021, - peak_demand_intensity_wft2: 1.755734903, - shed_avg_wft2: 0.177707546, - }, - { - event_id: 38, - event_date: new Date("13 July 2021"), - shed_start_time_date: new Date("13 July 2021 19:00 GMT-8"), - shed_end_time_date: new Date("13 July 2021 20:00 GMT-8"), - peak_oat: 71.762, - event_avg_oat: 60.0602, - peak_demand_intensity_wft2: 1.711467908, - shed_avg_wft2: 0.065656517, - }, - { - event_id: 39, - event_date: new Date("22 July 2021"), - shed_start_time_date: new Date("22 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("22 July 2021 21:00 GMT-8"), - peak_oat: 76.37, - event_avg_oat: 67.45030769, - peak_demand_intensity_wft2: 1.839426264, - shed_avg_wft2: 0.21544932, - }, - { - event_id: 40, - event_date: new Date("29 July 2021"), - shed_start_time_date: new Date("29 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("29 July 2021 20:00 GMT-8"), - peak_oat: 84.776, - event_avg_oat: 78.322, - peak_demand_intensity_wft2: 2.063637512, - shed_avg_wft2: 0.249236223, - }, - { - event_id: 41, - event_date: new Date("30 July 2021"), - shed_start_time_date: new Date("30 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("30 July 2021 20:00 GMT-8"), - peak_oat: 85.046, - event_avg_oat: 74.5035, - peak_demand_intensity_wft2: 2.049340864, - shed_avg_wft2: 0.171174165, - }, - ], -}); - -const siteT2768 = new BenchmarkingModel({ - coordinates: [122.4194, 37.7749], - siteID: "T2768", - siteInfo: { - doe_climate_zone: "3C", - city: "San Francisco", - state: "CA", - zip: 94118, - number_of_floor: 2, - total_building_area_ft2: 108207, - net_selling_area_ft2: 54965, - total_stock_area_ft2: 19877, - number_of_HVAC: 1, - program: "DRAM through 2020, CBP 2021", - utility: "PG&E", - }, - fieldMetricBaselineRegression: [ - { - event_id: 0, - event_date: new Date("03 June 2020"), - shed_start_time_date: new Date("03 June 2020 19:00 GMT-8"), - shed_end_time_date: new Date("03 June 2020 20:00 GMT-8"), - peak_oat: 76.766, - event_avg_oat: 67.3925, - peak_demand_intensity_wft2: 2.126771723, - shed_avg_wft2: 0.232778326, - }, - { - event_id: 1, - event_date: new Date("20 July 2020"), - shed_start_time_date: new Date("20 July 2020 17:00 GMT-8"), - shed_end_time_date: new Date("20 July 2020 18:00 GMT-8"), - peak_oat: 58.892, - event_avg_oat: 57.6509, - peak_demand_intensity_wft2: 1.891712119, - shed_avg_wft2: 0.135125059, - }, - { - event_id: 2, - event_date: new Date("14 August 2020"), - shed_start_time_date: new Date("14 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("14 August 2020 21:00 GMT-8"), - peak_oat: 88.358, - event_avg_oat: 81.74776471, - peak_demand_intensity_wft2: 2.079425285, - shed_avg_wft2: 0.159572216, - }, - { - event_id: 3, - event_date: new Date("17 August 2020"), - shed_start_time_date: new Date("17 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("17 August 2020 21:00 GMT-8"), - peak_oat: 72.302, - event_avg_oat: 67.77341176, - peak_demand_intensity_wft2: 1.942116041, - shed_avg_wft2: 0.137882786, - }, - { - event_id: 4, - event_date: new Date("18 August 2020"), - shed_start_time_date: new Date("18 August 2020 17:00 GMT-8"), - shed_end_time_date: new Date("18 August 2020 20:00 GMT-8"), - peak_oat: 74.768, - event_avg_oat: 71.83884615, - peak_demand_intensity_wft2: 1.977755128, - shed_avg_wft2: 0.18436858, - }, - { - event_id: 5, - event_date: new Date("19 August 2020"), - shed_start_time_date: new Date("19 August 2020 18:00 GMT-8"), - shed_end_time_date: new Date("19 August 2020 20:00 GMT-8"), - peak_oat: 73.022, - event_avg_oat: 68.0785, - peak_demand_intensity_wft2: 1.972153916, - shed_avg_wft2: 0.169419502, - }, - { - event_id: 6, - event_date: new Date("19 August 2020"), - shed_start_time_date: new Date("19 August 2020 18:00 GMT-8"), - shed_end_time_date: new Date("19 August 2020 20:00 GMT-8"), - peak_oat: 73.022, - event_avg_oat: 68.0785, - peak_demand_intensity_wft2: 1.972153916, - shed_avg_wft2: 0.169419502, - }, - { - event_id: 7, - event_date: new Date("19 August 2020"), - shed_start_time_date: new Date("19 August 2020 18:00 GMT-8"), - shed_end_time_date: new Date("19 August 2020 20:00 GMT-8"), - peak_oat: 73.022, - event_avg_oat: 68.0785, - peak_demand_intensity_wft2: 1.972153916, - shed_avg_wft2: 0.169419502, - }, - { - event_id: 8, - event_date: new Date("19 August 2020"), - shed_start_time_date: new Date("19 August 2020 18:00 GMT-8"), - shed_end_time_date: new Date("19 August 2020 20:00 GMT-8"), - peak_oat: 73.022, - event_avg_oat: 68.0785, - peak_demand_intensity_wft2: 1.972153916, - shed_avg_wft2: 0.169419502, - }, - { - event_id: 10, - event_date: new Date("05 September 2020"), - shed_start_time_date: new Date("05 September 2020 17:00 GMT-8"), - shed_end_time_date: new Date("05 September 2020 19:00 GMT-8"), - peak_oat: 83.984, - event_avg_oat: 81.3945, - peak_demand_intensity_wft2: 1.940300453, - shed_avg_wft2: 0.106254341, - }, - { - event_id: 11, - event_date: new Date("06 September 2020"), - shed_start_time_date: new Date("06 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("06 September 2020 18:30 GMT-8"), - peak_oat: 92.462, - event_avg_oat: 88.6625, - peak_demand_intensity_wft2: 1.969999701, - shed_avg_wft2: 0.119408131, - }, - { - event_id: 12, - event_date: new Date("07 September 2020"), - shed_start_time_date: new Date("07 September 2020 16:30 GMT-8"), - shed_end_time_date: new Date("07 September 2020 18:30 GMT-8"), - peak_oat: 85.316, - event_avg_oat: 76.3855, - peak_demand_intensity_wft2: 1.994579891, - shed_avg_wft2: 0.105490555, - }, - { - event_id: 13, - event_date: new Date("08 September 2020"), - shed_start_time_date: new Date("08 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("08 September 2020 19:00 GMT-8"), - peak_oat: 69.422, - event_avg_oat: 63.1841, - peak_demand_intensity_wft2: 1.912489483, - shed_avg_wft2: 0.093026127, - }, - { - event_id: 14, - event_date: new Date("30 September 2020"), - shed_start_time_date: new Date("30 September 2020 18:00 GMT-8"), - shed_end_time_date: new Date("30 September 2020 19:00 GMT-8"), - peak_oat: 77.99, - event_avg_oat: 70.3688, - peak_demand_intensity_wft2: 1.898914853, - shed_avg_wft2: 0.115471286, - }, - { - event_id: 15, - event_date: new Date("01 October 2020"), - shed_start_time_date: new Date("01 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("01 October 2020 19:00 GMT-8"), - peak_oat: 83.282, - event_avg_oat: 76.711, - peak_demand_intensity_wft2: 1.934831271, - shed_avg_wft2: 0.140613771, - }, - { - event_id: 16, - event_date: new Date("15 October 2020"), - shed_start_time_date: new Date("15 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("15 October 2020 19:00 GMT-8"), - peak_oat: 85.73, - event_avg_oat: 79.7645, - peak_demand_intensity_wft2: 2.040375452, - shed_avg_wft2: -0.24936563, - }, - { - event_id: 17, - event_date: new Date("16 October 2020"), - shed_start_time_date: new Date("16 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("16 October 2020 19:00 GMT-8"), - peak_oat: 87.008, - event_avg_oat: 81.499, - peak_demand_intensity_wft2: 2.052880557, - shed_avg_wft2: -0.328743424, - }, - { - event_id: 18, - event_date: new Date("16 October 2020"), - shed_start_time_date: new Date("16 October 2020 17:00 GMT-8"), - shed_end_time_date: new Date("16 October 2020 19:00 GMT-8"), - peak_oat: 87.008, - event_avg_oat: 81.499, - peak_demand_intensity_wft2: 2.052880557, - shed_avg_wft2: -0.328743424, - }, - { - event_id: 19, - event_date: new Date("16 June 2021"), - shed_start_time_date: new Date("16 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("16 June 2021 20:00 GMT-8"), - peak_oat: 73.328, - event_avg_oat: 67.8305, - peak_demand_intensity_wft2: 1.819997245, - shed_avg_wft2: 0.018725684, - }, - { - event_id: 20, - event_date: new Date("17 June 2021"), - shed_start_time_date: new Date("17 June 2021 18:00 GMT-8"), - shed_end_time_date: new Date("17 June 2021 20:00 GMT-8"), - peak_oat: 76.694, - event_avg_oat: 69.4235, - peak_demand_intensity_wft2: 1.835353994, - shed_avg_wft2: -0.002003564, - }, - { - event_id: 21, - event_date: new Date("09 July 2021"), - shed_start_time_date: new Date("09 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("09 July 2021 20:00 GMT-8"), - peak_oat: 67.604, - event_avg_oat: 60.3095, - peak_demand_intensity_wft2: 1.874899728, - shed_avg_wft2: 0.21540519, - }, - { - event_id: 22, - event_date: new Date("12 July 2021"), - shed_start_time_date: new Date("12 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("12 July 2021 20:00 GMT-8"), - peak_oat: 56.12, - event_avg_oat: 53.2985, - peak_demand_intensity_wft2: 1.732435212, - shed_avg_wft2: 0.205744889, - }, - { - event_id: 23, - event_date: new Date("13 July 2021"), - shed_start_time_date: new Date("13 July 2021 19:00 GMT-8"), - shed_end_time_date: new Date("13 July 2021 20:00 GMT-8"), - peak_oat: 56.714, - event_avg_oat: 53.5586, - peak_demand_intensity_wft2: 1.729483581, - shed_avg_wft2: 0.232301237, - }, - { - event_id: 24, - event_date: new Date("19 July 2021"), - shed_start_time_date: new Date("19 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("19 July 2021 19:00 GMT-8"), - peak_oat: 63.194, - event_avg_oat: 57.0029, - peak_demand_intensity_wft2: 1.830782687, - shed_avg_wft2: 0.196187085, - }, - { - event_id: 25, - event_date: new Date("22 July 2021"), - shed_start_time_date: new Date("22 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("22 July 2021 21:00 GMT-8"), - peak_oat: 59.054, - event_avg_oat: 57.2045, - peak_demand_intensity_wft2: 1.76780187, - shed_avg_wft2: 0.177761239, - }, - { - event_id: 26, - event_date: new Date("29 July 2021"), - shed_start_time_date: new Date("29 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("29 July 2021 20:00 GMT-8"), - peak_oat: 65.3, - event_avg_oat: 61.118, - peak_demand_intensity_wft2: 1.836403126, - shed_avg_wft2: 0.128877786, - }, - { - event_id: 27, - event_date: new Date("30 July 2021"), - shed_start_time_date: new Date("30 July 2021 18:00 GMT-8"), - shed_end_time_date: new Date("30 July 2021 20:00 GMT-8"), - peak_oat: 63.356, - event_avg_oat: 58.7865, - peak_demand_intensity_wft2: 1.806650054, - shed_avg_wft2: 0.146849939, - }, - { - event_id: 28, - event_date: new Date("11 August 2021"), - shed_start_time_date: new Date("11 August 2021 17:00 GMT-8"), - shed_end_time_date: new Date("11 August 2021 20:00 GMT-8"), - peak_oat: 64.472, - event_avg_oat: 60.67711538, - peak_demand_intensity_wft2: 1.862072165, - shed_avg_wft2: 0.078322877, - }, - ], -}); - -const siteT1782 = new BenchmarkingModel({ - coordinates: [95.9928, 36.154], - siteID: "T1782", - siteInfo: { - doe_climate_zone: "3A", - city: "Tulsa", - state: "OK", - zip: 74133, - number_of_floor: 1, - total_building_area_ft2: 174678, - net_selling_area_ft2: 94771, - total_stock_area_ft2: 25508, - number_of_HVAC: 32, - program: "Peak Performers", - utility: "AEP Public Service Organization of Oklahoma", - }, - fieldMetricBaselineRegression: [ - { - event_id: 0, - event_date: new Date("28 June 2018"), - shed_start_time_date: new Date("28 June 2018 14:00 GMT-8"), - shed_end_time_date: new Date("28 June 2018 18:00 GMT-8"), - peak_oat: 96.674, - event_avg_oat: 96.27032353, - peak_demand_intensity_wft2: 3.147219884, - shed_avg_wft2: 0.04966851, - }, - { - event_id: 1, - event_date: new Date("19 July 2018"), - shed_start_time_date: new Date("19 July 2018 02:00 GMT-8"), - shed_end_time_date: new Date("19 July 2018 06:00 GMT-8"), - peak_oat: 100.454, - event_avg_oat: 76.29482353, - peak_demand_intensity_wft2: 3.451969784, - shed_avg_wft2: -0.14066208, - }, - { - event_id: 2, - event_date: new Date("19 July 2018"), - shed_start_time_date: new Date("19 July 2018 14:00 GMT-8"), - shed_end_time_date: new Date("19 July 2018 18:00 GMT-8"), - peak_oat: 100.454, - event_avg_oat: 99.85311765, - peak_demand_intensity_wft2: 3.451969784, - shed_avg_wft2: 0.223821481, - }, - { - event_id: 3, - event_date: new Date("07 August 2019"), - shed_start_time_date: new Date("07 August 2019 14:00 GMT-8"), - shed_end_time_date: new Date("07 August 2019 18:00 GMT-8"), - peak_oat: 97.106, - event_avg_oat: 92.35611765, - peak_demand_intensity_wft2: 3.409051616, - shed_avg_wft2: 0.175235507, - }, - { - event_id: 4, - event_date: new Date("12 August 2019"), - shed_start_time_date: new Date("12 August 2019 14:00 GMT-8"), - shed_end_time_date: new Date("12 August 2019 18:00 GMT-8"), - peak_oat: 99.662, - event_avg_oat: 98.48882353, - peak_demand_intensity_wft2: 3.523114682, - shed_avg_wft2: 0.176381969, - }, - { - event_id: 5, - event_date: new Date("20 August 2019"), - shed_start_time_date: new Date("20 August 2019 15:00 GMT-8"), - shed_end_time_date: new Date("20 August 2019 18:00 GMT-8"), - peak_oat: 100.328, - event_avg_oat: 99.18707692, - peak_demand_intensity_wft2: 3.493656077, - shed_avg_wft2: 0.054771236, - }, - { - event_id: 6, - event_date: new Date("16 June 2020"), - shed_start_time_date: new Date("16 June 2020 14:00 GMT-8"), - shed_end_time_date: new Date("16 June 2020 15:00 GMT-8"), - peak_oat: 93.056, - event_avg_oat: 92.6276, - peak_demand_intensity_wft2: 2.853953261, - shed_avg_wft2: 0.244686939, - }, - { - event_id: 7, - event_date: new Date("14 June 2021"), - shed_start_time_date: new Date("14 June 2021 14:00 GMT-8"), - shed_end_time_date: new Date("14 June 2021 15:00 GMT-8"), - peak_oat: 93.398, - event_avg_oat: 90.9239, - peak_demand_intensity_wft2: 2.959707967, - shed_avg_wft2: 0.435395295, - }, - { - event_id: 8, - event_date: new Date("17 June 2021"), - shed_start_time_date: new Date("17 June 2021 15:00 GMT-8"), - shed_end_time_date: new Date("17 June 2021 18:00 GMT-8"), - peak_oat: 97.322, - event_avg_oat: 96.66534615, - peak_demand_intensity_wft2: 3.093375501, - shed_avg_wft2: 0.562406568, - }, - { - event_id: 9, - event_date: new Date("29 July 2021"), - shed_start_time_date: new Date("29 July 2021 14:00 GMT-8"), - shed_end_time_date: new Date("29 July 2021 17:00 GMT-8"), - peak_oat: 97.682, - event_avg_oat: 97.05546154, - peak_demand_intensity_wft2: 3.34138176, - shed_avg_wft2: 0.489505796, - }, - { - event_id: 10, - event_date: new Date("30 July 2021"), - shed_start_time_date: new Date("30 July 2021 15:00 GMT-8"), - shed_end_time_date: new Date("30 July 2021 17:00 GMT-8"), - peak_oat: 99.122, - event_avg_oat: 98.116, - peak_demand_intensity_wft2: 3.366836971, - shed_avg_wft2: 0.541468887, - }, - ], -}); - -const siteT1509 = new BenchmarkingModel({ - coordinates: [90.1994, 38.627], - siteID: "T1509", - siteInfo: { - doe_climate_zone: "4A", - city: "Saint Louis", - state: "MO", - zip: 63128, - number_of_floor: 1, - total_building_area_ft2: 126232, - net_selling_area_ft2: 79962, - total_stock_area_ft2: 17020, - number_of_HVAC: 23, - program: "Ameren Missouri BDRP", - utility: "Ameren Missouri", - }, - fieldMetricBaselineRegression: [ - { - event_id: 0, - event_date: new Date("13 May 2020"), - shed_start_time_date: new Date("13 May 2020 15:00 GMT-8"), - shed_end_time_date: new Date("13 May 2020 16:00 GMT-8"), - peak_oat: 59.4725, - event_avg_oat: 57.3728, - peak_demand_intensity_wft2: 1.565056092, - shed_avg_wft2: 0.061091042, - }, - { - event_id: 1, - event_date: new Date("20 August 2020"), - shed_start_time_date: new Date("20 August 2020 15:00 GMT-8"), - shed_end_time_date: new Date("20 August 2020 16:00 GMT-8"), - peak_oat: 83.048, - event_avg_oat: 82.922, - peak_demand_intensity_wft2: 2.611756236, - shed_avg_wft2: 1.018013163, - }, - { - event_id: 2, - event_date: new Date("20 August 2020"), - shed_start_time_date: new Date("20 August 2020 15:00 GMT-8"), - shed_end_time_date: new Date("20 August 2020 16:00 GMT-8"), - peak_oat: 83.048, - event_avg_oat: 82.922, - peak_demand_intensity_wft2: 2.611756236, - shed_avg_wft2: 1.018013163, - }, - { - event_id: 3, - event_date: new Date("17 September 2020"), - shed_start_time_date: new Date("17 September 2020 15:00 GMT-8"), - shed_end_time_date: new Date("17 September 2020 16:00 GMT-8"), - peak_oat: 78.566, - event_avg_oat: 78.2231, - peak_demand_intensity_wft2: 2.330627614, - shed_avg_wft2: 0.606829325, - }, - ], -}); - -await addOrUpdateSite(siteT0626); -await addOrUpdateSite(siteT1407); -await addOrUpdateSite(siteT1426); -await addOrUpdateSite(siteT1427); -await addOrUpdateSite(siteT1927); -await addOrUpdateSite(siteT2584); -await addOrUpdateSite(siteT2768); -await addOrUpdateSite(siteT1782); -await addOrUpdateSite(siteT1509); diff --git a/server/routes/states.js b/server/routes/states.js index bd76a73..9bd2cb9 100644 --- a/server/routes/states.js +++ b/server/routes/states.js @@ -2,7 +2,7 @@ import express from "express"; import { createCaseIDs, gtaCalculation, -} from "../../client/src/logic/DR_Calculations.js"; +} from "../../client/src/logic/DRCalculations.js"; import StateModel from "../models/states.js"; const router = express.Router();