Spaces:
Sleeping
Sleeping
jerin
commited on
Commit
•
f226f2c
1
Parent(s):
bcee473
add python snipet for zonewise filtering
Browse files- .gitattributes +1 -0
- .gitignore +4 -0
- environment.yml +197 -0
- file_info.ipynb +472 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.csv filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
venv
|
2 |
+
.venv
|
3 |
+
.vscode
|
4 |
+
__pycache__/
|
environment.yml
ADDED
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: smartbuilding
|
2 |
+
channels:
|
3 |
+
- conda-forge
|
4 |
+
- defaults
|
5 |
+
dependencies:
|
6 |
+
- aiofiles=23.2.1=pyhd8ed1ab_0
|
7 |
+
- altair=5.2.0=pyhd8ed1ab_0
|
8 |
+
- annotated-types=0.6.0=pyhd8ed1ab_0
|
9 |
+
- anyio=3.7.1=pyhd8ed1ab_0
|
10 |
+
- aom=3.8.1=h63175ca_0
|
11 |
+
- asttokens=2.4.1=pyhd8ed1ab_0
|
12 |
+
- attrs=23.2.0=pyh71513ae_0
|
13 |
+
- brotli=1.1.0=hcfcfb64_1
|
14 |
+
- brotli-bin=1.1.0=hcfcfb64_1
|
15 |
+
- brotli-python=1.1.0=py311h12c1d0e_1
|
16 |
+
- bzip2=1.0.8=hcfcfb64_5
|
17 |
+
- ca-certificates=2024.2.2=h56e8100_0
|
18 |
+
- cairo=1.18.0=h1fef639_0
|
19 |
+
- certifi=2024.2.2=pyhd8ed1ab_0
|
20 |
+
- charset-normalizer=3.3.2=pyhd8ed1ab_0
|
21 |
+
- click=8.1.7=win_pyh7428d3b_0
|
22 |
+
- colorama=0.4.6=pyhd8ed1ab_0
|
23 |
+
- comm=0.2.1=pyhd8ed1ab_0
|
24 |
+
- contourpy=1.2.0=py311h005e61a_0
|
25 |
+
- cycler=0.12.1=pyhd8ed1ab_0
|
26 |
+
- dav1d=1.2.1=hcfcfb64_0
|
27 |
+
- debugpy=1.8.1=py311h12c1d0e_0
|
28 |
+
- decorator=5.1.1=pyhd8ed1ab_0
|
29 |
+
- exceptiongroup=1.2.0=pyhd8ed1ab_2
|
30 |
+
- executing=2.0.1=pyhd8ed1ab_0
|
31 |
+
- expat=2.5.0=h63175ca_1
|
32 |
+
- fastapi=0.110.0=pyhd8ed1ab_0
|
33 |
+
- ffmpeg=6.1.1=gpl_hb766fab_104
|
34 |
+
- ffmpy=0.3.0=pyhb6f538c_0
|
35 |
+
- filelock=3.13.1=pyhd8ed1ab_0
|
36 |
+
- font-ttf-dejavu-sans-mono=2.37=hab24e00_0
|
37 |
+
- font-ttf-inconsolata=3.000=h77eed37_0
|
38 |
+
- font-ttf-source-code-pro=2.038=h77eed37_0
|
39 |
+
- font-ttf-ubuntu=0.83=h77eed37_1
|
40 |
+
- fontconfig=2.14.2=hbde0cde_0
|
41 |
+
- fonts-conda-ecosystem=1=0
|
42 |
+
- fonts-conda-forge=1=0
|
43 |
+
- fonttools=4.49.0=py311ha68e1ae_0
|
44 |
+
- freetype=2.12.1=hdaf720e_2
|
45 |
+
- fsspec=2024.2.0=pyhca7485f_0
|
46 |
+
- gettext=0.21.1=h5728263_0
|
47 |
+
- gradio=4.19.2=pyhd8ed1ab_0
|
48 |
+
- gradio-client=0.10.1=pyhd8ed1ab_1
|
49 |
+
- graphite2=1.3.13=1000
|
50 |
+
- h11=0.14.0=pyhd8ed1ab_0
|
51 |
+
- h2=4.1.0=pyhd8ed1ab_0
|
52 |
+
- harfbuzz=8.3.0=h7ab893a_0
|
53 |
+
- hpack=4.0.0=pyh9f0ad1d_0
|
54 |
+
- httpcore=1.0.4=pyhd8ed1ab_0
|
55 |
+
- httpx=0.27.0=pyhd8ed1ab_0
|
56 |
+
- huggingface_hub=0.21.3=pyhd8ed1ab_0
|
57 |
+
- hyperframe=6.0.1=pyhd8ed1ab_0
|
58 |
+
- icu=73.2=h63175ca_0
|
59 |
+
- idna=3.6=pyhd8ed1ab_0
|
60 |
+
- importlib-metadata=7.0.1=pyha770c72_0
|
61 |
+
- importlib-resources=6.1.2=pyhd8ed1ab_0
|
62 |
+
- importlib_metadata=7.0.1=hd8ed1ab_0
|
63 |
+
- importlib_resources=6.1.2=pyhd8ed1ab_0
|
64 |
+
- intel-openmp=2024.0.0=h57928b3_49841
|
65 |
+
- ipykernel=6.29.3=pyha63f2e9_0
|
66 |
+
- ipython=8.22.2=pyh7428d3b_0
|
67 |
+
- jedi=0.19.1=pyhd8ed1ab_0
|
68 |
+
- jinja2=3.1.3=pyhd8ed1ab_0
|
69 |
+
- jpeg=9e=hcfcfb64_3
|
70 |
+
- jsonschema=4.21.1=pyhd8ed1ab_0
|
71 |
+
- jsonschema-specifications=2023.12.1=pyhd8ed1ab_0
|
72 |
+
- jupyter_client=8.6.0=pyhd8ed1ab_0
|
73 |
+
- jupyter_core=5.7.1=py311h1ea47a8_0
|
74 |
+
- kiwisolver=1.4.5=py311h005e61a_1
|
75 |
+
- krb5=1.20.1=heb0366b_0
|
76 |
+
- lerc=3.0=hd77b12b_0
|
77 |
+
- libblas=3.9.0=21_win64_mkl
|
78 |
+
- libbrotlicommon=1.1.0=hcfcfb64_1
|
79 |
+
- libbrotlidec=1.1.0=hcfcfb64_1
|
80 |
+
- libbrotlienc=1.1.0=hcfcfb64_1
|
81 |
+
- libcblas=3.9.0=21_win64_mkl
|
82 |
+
- libclang=14.0.6=default_hb5a9fac_1
|
83 |
+
- libclang13=14.0.6=default_h8e68704_1
|
84 |
+
- libdeflate=1.17=h2bbff1b_1
|
85 |
+
- libexpat=2.5.0=h63175ca_1
|
86 |
+
- libffi=3.4.2=h8ffe710_5
|
87 |
+
- libglib=2.78.4=h16e383f_0
|
88 |
+
- libhwloc=2.9.3=default_haede6df_1009
|
89 |
+
- libiconv=1.17=hcfcfb64_2
|
90 |
+
- liblapack=3.9.0=21_win64_mkl
|
91 |
+
- libopus=1.3.1=h8ffe710_1
|
92 |
+
- libpng=1.6.43=h19919ed_0
|
93 |
+
- libpq=12.17=h906ac69_0
|
94 |
+
- libsodium=1.0.18=h8d14728_1
|
95 |
+
- libsqlite=3.45.1=hcfcfb64_0
|
96 |
+
- libtiff=4.5.1=hd77b12b_0
|
97 |
+
- libwebp-base=1.3.2=hcfcfb64_0
|
98 |
+
- libxml2=2.12.5=hc3477c8_0
|
99 |
+
- libzlib=1.2.13=hcfcfb64_5
|
100 |
+
- markdown-it-py=3.0.0=pyhd8ed1ab_0
|
101 |
+
- markupsafe=2.1.5=py311ha68e1ae_0
|
102 |
+
- matplotlib=3.8.3=py311h1ea47a8_0
|
103 |
+
- matplotlib-base=3.8.3=py311h6e989c2_0
|
104 |
+
- matplotlib-inline=0.1.6=pyhd8ed1ab_0
|
105 |
+
- mdurl=0.1.2=pyhd8ed1ab_0
|
106 |
+
- mkl=2024.0.0=h66d3029_49657
|
107 |
+
- munkres=1.1.4=pyh9f0ad1d_0
|
108 |
+
- nest-asyncio=1.6.0=pyhd8ed1ab_0
|
109 |
+
- numpy=1.26.4=py311h0b4df5a_0
|
110 |
+
- openh264=2.4.1=h63175ca_0
|
111 |
+
- openjpeg=2.4.0=h4fc8c34_0
|
112 |
+
- openssl=3.2.1=hcfcfb64_0
|
113 |
+
- orjson=3.9.15=py311h633b200_0
|
114 |
+
- packaging=23.2=pyhd8ed1ab_0
|
115 |
+
- pandas=2.2.1=py311hf63dbb6_0
|
116 |
+
- parso=0.8.3=pyhd8ed1ab_0
|
117 |
+
- patsy=0.5.6=pyhd8ed1ab_0
|
118 |
+
- pcre2=10.42=h17e33f8_0
|
119 |
+
- pickleshare=0.7.5=py_1003
|
120 |
+
- pillow=10.2.0=py311h2bbff1b_0
|
121 |
+
- pip=24.0=pyhd8ed1ab_0
|
122 |
+
- pixman=0.43.4=h63175ca_0
|
123 |
+
- pkgutil-resolve-name=1.3.10=pyhd8ed1ab_1
|
124 |
+
- platformdirs=4.2.0=pyhd8ed1ab_0
|
125 |
+
- ply=3.11=py_1
|
126 |
+
- prompt-toolkit=3.0.42=pyha770c72_0
|
127 |
+
- psutil=5.9.8=py311ha68e1ae_0
|
128 |
+
- pthreads-win32=2.9.1=hfa6e2cd_3
|
129 |
+
- pure_eval=0.2.2=pyhd8ed1ab_0
|
130 |
+
- pydantic=2.6.3=pyhd8ed1ab_0
|
131 |
+
- pydantic-core=2.16.3=py311hc37eb10_0
|
132 |
+
- pydub=0.25.1=pyhd8ed1ab_0
|
133 |
+
- pygments=2.17.2=pyhd8ed1ab_0
|
134 |
+
- pyparsing=3.1.1=pyhd8ed1ab_0
|
135 |
+
- pyqt=5.15.10=py311hd77b12b_0
|
136 |
+
- pyqt5-sip=12.13.0=py311h2bbff1b_0
|
137 |
+
- pysocks=1.7.1=pyh0701188_6
|
138 |
+
- python=3.11.8=h2628c8c_0_cpython
|
139 |
+
- python-dateutil=2.9.0=pyhd8ed1ab_0
|
140 |
+
- python-multipart=0.0.9=pyhd8ed1ab_0
|
141 |
+
- python-tzdata=2024.1=pyhd8ed1ab_0
|
142 |
+
- python_abi=3.11=4_cp311
|
143 |
+
- pytz=2024.1=pyhd8ed1ab_0
|
144 |
+
- pywin32=306=py311h12c1d0e_2
|
145 |
+
- pyyaml=6.0.1=py311ha68e1ae_1
|
146 |
+
- pyzmq=25.1.2=py311h9250fbb_0
|
147 |
+
- qt-main=5.15.2=h19c9488_10
|
148 |
+
- referencing=0.33.0=pyhd8ed1ab_0
|
149 |
+
- requests=2.31.0=pyhd8ed1ab_0
|
150 |
+
- rich=13.7.1=pyhd8ed1ab_0
|
151 |
+
- rpds-py=0.18.0=py311hc37eb10_0
|
152 |
+
- ruff=0.3.0=py311hc14472d_0
|
153 |
+
- scipy=1.12.0=py311h0b4df5a_2
|
154 |
+
- seaborn=0.13.2=hd8ed1ab_0
|
155 |
+
- seaborn-base=0.13.2=pyhd8ed1ab_0
|
156 |
+
- semantic_version=2.10.0=pyhd8ed1ab_0
|
157 |
+
- setuptools=69.1.1=pyhd8ed1ab_0
|
158 |
+
- shellingham=1.5.4=pyhd8ed1ab_0
|
159 |
+
- sip=6.7.12=py311h12c1d0e_0
|
160 |
+
- six=1.16.0=pyh6c4a22f_0
|
161 |
+
- sniffio=1.3.1=pyhd8ed1ab_0
|
162 |
+
- sqlite=3.45.1=hcfcfb64_0
|
163 |
+
- stack_data=0.6.2=pyhd8ed1ab_0
|
164 |
+
- starlette=0.36.3=pyhd8ed1ab_0
|
165 |
+
- statsmodels=0.14.1=py311h59ca53f_0
|
166 |
+
- svt-av1=1.8.0=h63175ca_0
|
167 |
+
- tbb=2021.11.0=h91493d7_1
|
168 |
+
- tk=8.6.13=h5226925_1
|
169 |
+
- tomli=2.0.1=pyhd8ed1ab_0
|
170 |
+
- tomlkit=0.12.0=pyha770c72_0
|
171 |
+
- toolz=0.12.1=pyhd8ed1ab_0
|
172 |
+
- tornado=6.4=py311ha68e1ae_0
|
173 |
+
- tqdm=4.66.2=pyhd8ed1ab_0
|
174 |
+
- traitlets=5.14.1=pyhd8ed1ab_0
|
175 |
+
- typer=0.9.0=pyhd8ed1ab_0
|
176 |
+
- typing-extensions=4.10.0=hd8ed1ab_0
|
177 |
+
- typing_extensions=4.10.0=pyha770c72_0
|
178 |
+
- tzdata=2024a=h0c530f3_0
|
179 |
+
- ucrt=10.0.22621.0=h57928b3_0
|
180 |
+
- urllib3=2.2.1=pyhd8ed1ab_0
|
181 |
+
- uvicorn=0.27.1=py311h1ea47a8_0
|
182 |
+
- vc=14.3=hcf57466_18
|
183 |
+
- vc14_runtime=14.38.33130=h82b7239_18
|
184 |
+
- vs2015_runtime=14.38.33130=hcb4865c_18
|
185 |
+
- wcwidth=0.2.13=pyhd8ed1ab_0
|
186 |
+
- websockets=10.4=py311h2bbff1b_1
|
187 |
+
- wheel=0.42.0=pyhd8ed1ab_0
|
188 |
+
- win_inet_pton=1.1.0=pyhd8ed1ab_6
|
189 |
+
- x264=1!164.3095=h8ffe710_2
|
190 |
+
- x265=3.5=h2d74725_3
|
191 |
+
- xz=5.4.6=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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": 1,
|
6 |
+
"metadata": {},
|
7 |
+
"outputs": [],
|
8 |
+
"source": [
|
9 |
+
"import pandas as pd \n",
|
10 |
+
"from datetime import datetime \n",
|
11 |
+
"import matplotlib.pyplot as plt\n",
|
12 |
+
"import seaborn as sns\n"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"cell_type": "code",
|
17 |
+
"execution_count": 2,
|
18 |
+
"metadata": {},
|
19 |
+
"outputs": [
|
20 |
+
{
|
21 |
+
"data": {
|
22 |
+
"text/html": [
|
23 |
+
"<div>\n",
|
24 |
+
"<style scoped>\n",
|
25 |
+
" .dataframe tbody tr th:only-of-type {\n",
|
26 |
+
" vertical-align: middle;\n",
|
27 |
+
" }\n",
|
28 |
+
"\n",
|
29 |
+
" .dataframe tbody tr th {\n",
|
30 |
+
" vertical-align: top;\n",
|
31 |
+
" }\n",
|
32 |
+
"\n",
|
33 |
+
" .dataframe thead th {\n",
|
34 |
+
" text-align: right;\n",
|
35 |
+
" }\n",
|
36 |
+
"</style>\n",
|
37 |
+
"<table border=\"1\" class=\"dataframe\">\n",
|
38 |
+
" <thead>\n",
|
39 |
+
" <tr style=\"text-align: right;\">\n",
|
40 |
+
" <th></th>\n",
|
41 |
+
" <th>date</th>\n",
|
42 |
+
" <th>zone_017_hw_valve</th>\n",
|
43 |
+
" <th>rtu_004_sat_sp_tn</th>\n",
|
44 |
+
" <th>zone_017_temp</th>\n",
|
45 |
+
" <th>zone_017_fan_spd</th>\n",
|
46 |
+
" <th>rtu_004_fltrd_sa_flow_tn</th>\n",
|
47 |
+
" <th>rtu_004_sa_temp</th>\n",
|
48 |
+
" <th>rtu_004_pa_static_stpt_tn</th>\n",
|
49 |
+
" <th>rtu_004_oa_flow_tn</th>\n",
|
50 |
+
" <th>rtu_004_oadmpr_pct</th>\n",
|
51 |
+
" <th>...</th>\n",
|
52 |
+
" <th>zone_017_heating_sp</th>\n",
|
53 |
+
" <th>hvac_S</th>\n",
|
54 |
+
" <th>hp_hws_temp</th>\n",
|
55 |
+
" <th>aru_001_cwr_temp</th>\n",
|
56 |
+
" <th>aru_001_cws_fr_gpm</th>\n",
|
57 |
+
" <th>aru_001_cws_temp</th>\n",
|
58 |
+
" <th>aru_001_hwr_temp</th>\n",
|
59 |
+
" <th>aru_001_hws_fr_gpm</th>\n",
|
60 |
+
" <th>aru_001_hws_temp</th>\n",
|
61 |
+
" <th>hp_hws_temp</th>\n",
|
62 |
+
" </tr>\n",
|
63 |
+
" </thead>\n",
|
64 |
+
" <tbody>\n",
|
65 |
+
" <tr>\n",
|
66 |
+
" <th>0</th>\n",
|
67 |
+
" <td>2018-01-01 00:00:00</td>\n",
|
68 |
+
" <td>100.0</td>\n",
|
69 |
+
" <td>69.0</td>\n",
|
70 |
+
" <td>66.7</td>\n",
|
71 |
+
" <td>20.0</td>\n",
|
72 |
+
" <td>9265.604</td>\n",
|
73 |
+
" <td>66.1</td>\n",
|
74 |
+
" <td>0.06</td>\n",
|
75 |
+
" <td>0.000000</td>\n",
|
76 |
+
" <td>28.0</td>\n",
|
77 |
+
" <td>...</td>\n",
|
78 |
+
" <td>NaN</td>\n",
|
79 |
+
" <td>NaN</td>\n",
|
80 |
+
" <td>75.3</td>\n",
|
81 |
+
" <td>NaN</td>\n",
|
82 |
+
" <td>NaN</td>\n",
|
83 |
+
" <td>NaN</td>\n",
|
84 |
+
" <td>NaN</td>\n",
|
85 |
+
" <td>NaN</td>\n",
|
86 |
+
" <td>NaN</td>\n",
|
87 |
+
" <td>75.3</td>\n",
|
88 |
+
" </tr>\n",
|
89 |
+
" <tr>\n",
|
90 |
+
" <th>1</th>\n",
|
91 |
+
" <td>2018-01-01 00:01:00</td>\n",
|
92 |
+
" <td>100.0</td>\n",
|
93 |
+
" <td>69.0</td>\n",
|
94 |
+
" <td>66.7</td>\n",
|
95 |
+
" <td>20.0</td>\n",
|
96 |
+
" <td>9265.604</td>\n",
|
97 |
+
" <td>66.0</td>\n",
|
98 |
+
" <td>0.06</td>\n",
|
99 |
+
" <td>6572.099162</td>\n",
|
100 |
+
" <td>28.0</td>\n",
|
101 |
+
" <td>...</td>\n",
|
102 |
+
" <td>NaN</td>\n",
|
103 |
+
" <td>NaN</td>\n",
|
104 |
+
" <td>75.3</td>\n",
|
105 |
+
" <td>NaN</td>\n",
|
106 |
+
" <td>NaN</td>\n",
|
107 |
+
" <td>NaN</td>\n",
|
108 |
+
" <td>NaN</td>\n",
|
109 |
+
" <td>NaN</td>\n",
|
110 |
+
" <td>NaN</td>\n",
|
111 |
+
" <td>75.3</td>\n",
|
112 |
+
" </tr>\n",
|
113 |
+
" <tr>\n",
|
114 |
+
" <th>2</th>\n",
|
115 |
+
" <td>2018-01-01 00:02:00</td>\n",
|
116 |
+
" <td>100.0</td>\n",
|
117 |
+
" <td>69.0</td>\n",
|
118 |
+
" <td>66.7</td>\n",
|
119 |
+
" <td>20.0</td>\n",
|
120 |
+
" <td>9708.240</td>\n",
|
121 |
+
" <td>66.1</td>\n",
|
122 |
+
" <td>0.06</td>\n",
|
123 |
+
" <td>7628.832542</td>\n",
|
124 |
+
" <td>28.0</td>\n",
|
125 |
+
" <td>...</td>\n",
|
126 |
+
" <td>NaN</td>\n",
|
127 |
+
" <td>NaN</td>\n",
|
128 |
+
" <td>75.3</td>\n",
|
129 |
+
" <td>NaN</td>\n",
|
130 |
+
" <td>NaN</td>\n",
|
131 |
+
" <td>NaN</td>\n",
|
132 |
+
" <td>NaN</td>\n",
|
133 |
+
" <td>NaN</td>\n",
|
134 |
+
" <td>NaN</td>\n",
|
135 |
+
" <td>75.3</td>\n",
|
136 |
+
" </tr>\n",
|
137 |
+
" <tr>\n",
|
138 |
+
" <th>3</th>\n",
|
139 |
+
" <td>2018-01-01 00:03:00</td>\n",
|
140 |
+
" <td>100.0</td>\n",
|
141 |
+
" <td>69.0</td>\n",
|
142 |
+
" <td>66.7</td>\n",
|
143 |
+
" <td>20.0</td>\n",
|
144 |
+
" <td>9611.638</td>\n",
|
145 |
+
" <td>66.1</td>\n",
|
146 |
+
" <td>0.06</td>\n",
|
147 |
+
" <td>7710.294617</td>\n",
|
148 |
+
" <td>28.0</td>\n",
|
149 |
+
" <td>...</td>\n",
|
150 |
+
" <td>NaN</td>\n",
|
151 |
+
" <td>NaN</td>\n",
|
152 |
+
" <td>75.3</td>\n",
|
153 |
+
" <td>NaN</td>\n",
|
154 |
+
" <td>NaN</td>\n",
|
155 |
+
" <td>NaN</td>\n",
|
156 |
+
" <td>NaN</td>\n",
|
157 |
+
" <td>NaN</td>\n",
|
158 |
+
" <td>NaN</td>\n",
|
159 |
+
" <td>75.3</td>\n",
|
160 |
+
" </tr>\n",
|
161 |
+
" <tr>\n",
|
162 |
+
" <th>4</th>\n",
|
163 |
+
" <td>2018-01-01 00:04:00</td>\n",
|
164 |
+
" <td>100.0</td>\n",
|
165 |
+
" <td>69.0</td>\n",
|
166 |
+
" <td>66.7</td>\n",
|
167 |
+
" <td>20.0</td>\n",
|
168 |
+
" <td>9215.110</td>\n",
|
169 |
+
" <td>66.0</td>\n",
|
170 |
+
" <td>0.06</td>\n",
|
171 |
+
" <td>7139.184090</td>\n",
|
172 |
+
" <td>28.0</td>\n",
|
173 |
+
" <td>...</td>\n",
|
174 |
+
" <td>NaN</td>\n",
|
175 |
+
" <td>NaN</td>\n",
|
176 |
+
" <td>75.3</td>\n",
|
177 |
+
" <td>NaN</td>\n",
|
178 |
+
" <td>NaN</td>\n",
|
179 |
+
" <td>NaN</td>\n",
|
180 |
+
" <td>NaN</td>\n",
|
181 |
+
" <td>NaN</td>\n",
|
182 |
+
" <td>NaN</td>\n",
|
183 |
+
" <td>75.3</td>\n",
|
184 |
+
" </tr>\n",
|
185 |
+
" <tr>\n",
|
186 |
+
" <th>...</th>\n",
|
187 |
+
" <td>...</td>\n",
|
188 |
+
" <td>...</td>\n",
|
189 |
+
" <td>...</td>\n",
|
190 |
+
" <td>...</td>\n",
|
191 |
+
" <td>...</td>\n",
|
192 |
+
" <td>...</td>\n",
|
193 |
+
" <td>...</td>\n",
|
194 |
+
" <td>...</td>\n",
|
195 |
+
" <td>...</td>\n",
|
196 |
+
" <td>...</td>\n",
|
197 |
+
" <td>...</td>\n",
|
198 |
+
" <td>...</td>\n",
|
199 |
+
" <td>...</td>\n",
|
200 |
+
" <td>...</td>\n",
|
201 |
+
" <td>...</td>\n",
|
202 |
+
" <td>...</td>\n",
|
203 |
+
" <td>...</td>\n",
|
204 |
+
" <td>...</td>\n",
|
205 |
+
" <td>...</td>\n",
|
206 |
+
" <td>...</td>\n",
|
207 |
+
" <td>...</td>\n",
|
208 |
+
" </tr>\n",
|
209 |
+
" <tr>\n",
|
210 |
+
" <th>2072149</th>\n",
|
211 |
+
" <td>2020-12-31 23:58:00</td>\n",
|
212 |
+
" <td>100.0</td>\n",
|
213 |
+
" <td>68.0</td>\n",
|
214 |
+
" <td>63.5</td>\n",
|
215 |
+
" <td>40.0</td>\n",
|
216 |
+
" <td>18884.834</td>\n",
|
217 |
+
" <td>64.4</td>\n",
|
218 |
+
" <td>0.06</td>\n",
|
219 |
+
" <td>2938.320000</td>\n",
|
220 |
+
" <td>23.4</td>\n",
|
221 |
+
" <td>...</td>\n",
|
222 |
+
" <td>71.0</td>\n",
|
223 |
+
" <td>23.145000</td>\n",
|
224 |
+
" <td>123.8</td>\n",
|
225 |
+
" <td>56.25</td>\n",
|
226 |
+
" <td>54.71</td>\n",
|
227 |
+
" <td>56.4</td>\n",
|
228 |
+
" <td>123.42</td>\n",
|
229 |
+
" <td>61.6</td>\n",
|
230 |
+
" <td>122.36</td>\n",
|
231 |
+
" <td>123.8</td>\n",
|
232 |
+
" </tr>\n",
|
233 |
+
" <tr>\n",
|
234 |
+
" <th>2072150</th>\n",
|
235 |
+
" <td>2020-12-31 23:58:00</td>\n",
|
236 |
+
" <td>100.0</td>\n",
|
237 |
+
" <td>68.0</td>\n",
|
238 |
+
" <td>63.5</td>\n",
|
239 |
+
" <td>40.0</td>\n",
|
240 |
+
" <td>18884.834</td>\n",
|
241 |
+
" <td>64.4</td>\n",
|
242 |
+
" <td>0.06</td>\n",
|
243 |
+
" <td>2938.320000</td>\n",
|
244 |
+
" <td>23.4</td>\n",
|
245 |
+
" <td>...</td>\n",
|
246 |
+
" <td>71.0</td>\n",
|
247 |
+
" <td>23.145000</td>\n",
|
248 |
+
" <td>123.8</td>\n",
|
249 |
+
" <td>56.25</td>\n",
|
250 |
+
" <td>54.71</td>\n",
|
251 |
+
" <td>56.4</td>\n",
|
252 |
+
" <td>123.42</td>\n",
|
253 |
+
" <td>61.6</td>\n",
|
254 |
+
" <td>122.36</td>\n",
|
255 |
+
" <td>123.8</td>\n",
|
256 |
+
" </tr>\n",
|
257 |
+
" <tr>\n",
|
258 |
+
" <th>2072151</th>\n",
|
259 |
+
" <td>2020-12-31 23:59:00</td>\n",
|
260 |
+
" <td>100.0</td>\n",
|
261 |
+
" <td>68.0</td>\n",
|
262 |
+
" <td>63.5</td>\n",
|
263 |
+
" <td>40.0</td>\n",
|
264 |
+
" <td>19345.508</td>\n",
|
265 |
+
" <td>64.3</td>\n",
|
266 |
+
" <td>0.06</td>\n",
|
267 |
+
" <td>3154.390000</td>\n",
|
268 |
+
" <td>23.4</td>\n",
|
269 |
+
" <td>...</td>\n",
|
270 |
+
" <td>71.0</td>\n",
|
271 |
+
" <td>23.145000</td>\n",
|
272 |
+
" <td>123.8</td>\n",
|
273 |
+
" <td>56.25</td>\n",
|
274 |
+
" <td>54.71</td>\n",
|
275 |
+
" <td>56.4</td>\n",
|
276 |
+
" <td>123.42</td>\n",
|
277 |
+
" <td>61.6</td>\n",
|
278 |
+
" <td>122.36</td>\n",
|
279 |
+
" <td>123.8</td>\n",
|
280 |
+
" </tr>\n",
|
281 |
+
" <tr>\n",
|
282 |
+
" <th>2072152</th>\n",
|
283 |
+
" <td>2020-12-31 23:59:00</td>\n",
|
284 |
+
" <td>100.0</td>\n",
|
285 |
+
" <td>68.0</td>\n",
|
286 |
+
" <td>63.5</td>\n",
|
287 |
+
" <td>40.0</td>\n",
|
288 |
+
" <td>19345.508</td>\n",
|
289 |
+
" <td>64.3</td>\n",
|
290 |
+
" <td>0.06</td>\n",
|
291 |
+
" <td>3154.390000</td>\n",
|
292 |
+
" <td>23.4</td>\n",
|
293 |
+
" <td>...</td>\n",
|
294 |
+
" <td>71.0</td>\n",
|
295 |
+
" <td>23.145000</td>\n",
|
296 |
+
" <td>123.8</td>\n",
|
297 |
+
" <td>56.25</td>\n",
|
298 |
+
" <td>54.71</td>\n",
|
299 |
+
" <td>56.4</td>\n",
|
300 |
+
" <td>123.42</td>\n",
|
301 |
+
" <td>61.6</td>\n",
|
302 |
+
" <td>122.36</td>\n",
|
303 |
+
" <td>123.8</td>\n",
|
304 |
+
" </tr>\n",
|
305 |
+
" <tr>\n",
|
306 |
+
" <th>2072153</th>\n",
|
307 |
+
" <td>2021-01-01 00:00:00</td>\n",
|
308 |
+
" <td>100.0</td>\n",
|
309 |
+
" <td>68.0</td>\n",
|
310 |
+
" <td>63.5</td>\n",
|
311 |
+
" <td>40.0</td>\n",
|
312 |
+
" <td>18650.232</td>\n",
|
313 |
+
" <td>64.1</td>\n",
|
314 |
+
" <td>0.06</td>\n",
|
315 |
+
" <td>3076.270000</td>\n",
|
316 |
+
" <td>22.9</td>\n",
|
317 |
+
" <td>...</td>\n",
|
318 |
+
" <td>71.0</td>\n",
|
319 |
+
" <td>23.788947</td>\n",
|
320 |
+
" <td>123.8</td>\n",
|
321 |
+
" <td>56.25</td>\n",
|
322 |
+
" <td>54.71</td>\n",
|
323 |
+
" <td>56.4</td>\n",
|
324 |
+
" <td>123.42</td>\n",
|
325 |
+
" <td>61.6</td>\n",
|
326 |
+
" <td>122.36</td>\n",
|
327 |
+
" <td>123.8</td>\n",
|
328 |
+
" </tr>\n",
|
329 |
+
" </tbody>\n",
|
330 |
+
"</table>\n",
|
331 |
+
"<p>2072154 rows × 29 columns</p>\n",
|
332 |
+
"</div>"
|
333 |
+
],
|
334 |
+
"text/plain": [
|
335 |
+
" date zone_017_hw_valve rtu_004_sat_sp_tn \\\n",
|
336 |
+
"0 2018-01-01 00:00:00 100.0 69.0 \n",
|
337 |
+
"1 2018-01-01 00:01:00 100.0 69.0 \n",
|
338 |
+
"2 2018-01-01 00:02:00 100.0 69.0 \n",
|
339 |
+
"3 2018-01-01 00:03:00 100.0 69.0 \n",
|
340 |
+
"4 2018-01-01 00:04:00 100.0 69.0 \n",
|
341 |
+
"... ... ... ... \n",
|
342 |
+
"2072149 2020-12-31 23:58:00 100.0 68.0 \n",
|
343 |
+
"2072150 2020-12-31 23:58:00 100.0 68.0 \n",
|
344 |
+
"2072151 2020-12-31 23:59:00 100.0 68.0 \n",
|
345 |
+
"2072152 2020-12-31 23:59:00 100.0 68.0 \n",
|
346 |
+
"2072153 2021-01-01 00:00:00 100.0 68.0 \n",
|
347 |
+
"\n",
|
348 |
+
" zone_017_temp zone_017_fan_spd rtu_004_fltrd_sa_flow_tn \\\n",
|
349 |
+
"0 66.7 20.0 9265.604 \n",
|
350 |
+
"1 66.7 20.0 9265.604 \n",
|
351 |
+
"2 66.7 20.0 9708.240 \n",
|
352 |
+
"3 66.7 20.0 9611.638 \n",
|
353 |
+
"4 66.7 20.0 9215.110 \n",
|
354 |
+
"... ... ... ... \n",
|
355 |
+
"2072149 63.5 40.0 18884.834 \n",
|
356 |
+
"2072150 63.5 40.0 18884.834 \n",
|
357 |
+
"2072151 63.5 40.0 19345.508 \n",
|
358 |
+
"2072152 63.5 40.0 19345.508 \n",
|
359 |
+
"2072153 63.5 40.0 18650.232 \n",
|
360 |
+
"\n",
|
361 |
+
" rtu_004_sa_temp rtu_004_pa_static_stpt_tn rtu_004_oa_flow_tn \\\n",
|
362 |
+
"0 66.1 0.06 0.000000 \n",
|
363 |
+
"1 66.0 0.06 6572.099162 \n",
|
364 |
+
"2 66.1 0.06 7628.832542 \n",
|
365 |
+
"3 66.1 0.06 7710.294617 \n",
|
366 |
+
"4 66.0 0.06 7139.184090 \n",
|
367 |
+
"... ... ... ... \n",
|
368 |
+
"2072149 64.4 0.06 2938.320000 \n",
|
369 |
+
"2072150 64.4 0.06 2938.320000 \n",
|
370 |
+
"2072151 64.3 0.06 3154.390000 \n",
|
371 |
+
"2072152 64.3 0.06 3154.390000 \n",
|
372 |
+
"2072153 64.1 0.06 3076.270000 \n",
|
373 |
+
"\n",
|
374 |
+
" rtu_004_oadmpr_pct ... zone_017_heating_sp hvac_S hp_hws_temp \\\n",
|
375 |
+
"0 28.0 ... NaN NaN 75.3 \n",
|
376 |
+
"1 28.0 ... NaN NaN 75.3 \n",
|
377 |
+
"2 28.0 ... NaN NaN 75.3 \n",
|
378 |
+
"3 28.0 ... NaN NaN 75.3 \n",
|
379 |
+
"4 28.0 ... NaN NaN 75.3 \n",
|
380 |
+
"... ... ... ... ... ... \n",
|
381 |
+
"2072149 23.4 ... 71.0 23.145000 123.8 \n",
|
382 |
+
"2072150 23.4 ... 71.0 23.145000 123.8 \n",
|
383 |
+
"2072151 23.4 ... 71.0 23.145000 123.8 \n",
|
384 |
+
"2072152 23.4 ... 71.0 23.145000 123.8 \n",
|
385 |
+
"2072153 22.9 ... 71.0 23.788947 123.8 \n",
|
386 |
+
"\n",
|
387 |
+
" aru_001_cwr_temp aru_001_cws_fr_gpm aru_001_cws_temp \\\n",
|
388 |
+
"0 NaN NaN NaN \n",
|
389 |
+
"1 NaN NaN NaN \n",
|
390 |
+
"2 NaN NaN NaN \n",
|
391 |
+
"3 NaN NaN NaN \n",
|
392 |
+
"4 NaN NaN NaN \n",
|
393 |
+
"... ... ... ... \n",
|
394 |
+
"2072149 56.25 54.71 56.4 \n",
|
395 |
+
"2072150 56.25 54.71 56.4 \n",
|
396 |
+
"2072151 56.25 54.71 56.4 \n",
|
397 |
+
"2072152 56.25 54.71 56.4 \n",
|
398 |
+
"2072153 56.25 54.71 56.4 \n",
|
399 |
+
"\n",
|
400 |
+
" aru_001_hwr_temp aru_001_hws_fr_gpm aru_001_hws_temp hp_hws_temp \n",
|
401 |
+
"0 NaN NaN NaN 75.3 \n",
|
402 |
+
"1 NaN NaN NaN 75.3 \n",
|
403 |
+
"2 NaN NaN NaN 75.3 \n",
|
404 |
+
"3 NaN NaN NaN 75.3 \n",
|
405 |
+
"4 NaN NaN NaN 75.3 \n",
|
406 |
+
"... ... ... ... ... \n",
|
407 |
+
"2072149 123.42 61.6 122.36 123.8 \n",
|
408 |
+
"2072150 123.42 61.6 122.36 123.8 \n",
|
409 |
+
"2072151 123.42 61.6 122.36 123.8 \n",
|
410 |
+
"2072152 123.42 61.6 122.36 123.8 \n",
|
411 |
+
"2072153 123.42 61.6 122.36 123.8 \n",
|
412 |
+
"\n",
|
413 |
+
"[2072154 rows x 29 columns]"
|
414 |
+
]
|
415 |
+
},
|
416 |
+
"execution_count": 2,
|
417 |
+
"metadata": {},
|
418 |
+
"output_type": "execute_result"
|
419 |
+
}
|
420 |
+
],
|
421 |
+
"source": [
|
422 |
+
"merged = pd.read_csv(r'data/long_merge.csv')\n",
|
423 |
+
"\n",
|
424 |
+
"zone = \"17\"\n",
|
425 |
+
"\n",
|
426 |
+
"if zone in [\"36\", \"37\", \"38\", \"39\", \"40\", \"41\", \"42\", \"64\", \"65\", \"66\", \"67\", \"68\", \"69\", \"70\"]:\n",
|
427 |
+
" rtu = \"rtu_001\"\n",
|
428 |
+
" wing = \"hvac_N\"\n",
|
429 |
+
"elif zone in [\"18\", \"25\", \"26\", \"45\", \"48\", \"55\", \"56\", \"61\"]:\n",
|
430 |
+
" rtu = \"rtu_003\"\n",
|
431 |
+
" wing = \"hvac_S\"\n",
|
432 |
+
"elif zone in [\"16\", \"17\", \"21\", \"22\", \"23\", \"24\", \"46\", \"47\", \"51\", \"52\", \"53\", \"54\"]:\n",
|
433 |
+
" rtu = \"rtu_004\"\n",
|
434 |
+
" wing = \"hvac_S\"\n",
|
435 |
+
"else:\n",
|
436 |
+
" rtu = \"rtu_002\"\n",
|
437 |
+
" wing = \"hvac_N\"\n",
|
438 |
+
"#merged is the dataframe\n",
|
439 |
+
"sorted = merged[[\"date\"]+[col for col in merged.columns if zone in col or rtu in col or wing in col]+[\"hp_hws_temp\", \"aru_001_cwr_temp\" , \"aru_001_cws_fr_gpm\" ,\"aru_001_cws_temp\",\"aru_001_hwr_temp\" ,\"aru_001_hws_fr_gpm\" ,\"aru_001_hws_temp\",\"hp_hws_temp\"]]\n",
|
440 |
+
"sorted"
|
441 |
+
]
|
442 |
+
},
|
443 |
+
{
|
444 |
+
"cell_type": "code",
|
445 |
+
"execution_count": null,
|
446 |
+
"metadata": {},
|
447 |
+
"outputs": [],
|
448 |
+
"source": []
|
449 |
+
}
|
450 |
+
],
|
451 |
+
"metadata": {
|
452 |
+
"kernelspec": {
|
453 |
+
"display_name": "base",
|
454 |
+
"language": "python",
|
455 |
+
"name": "python3"
|
456 |
+
},
|
457 |
+
"language_info": {
|
458 |
+
"codemirror_mode": {
|
459 |
+
"name": "ipython",
|
460 |
+
"version": 3
|
461 |
+
},
|
462 |
+
"file_extension": ".py",
|
463 |
+
"mimetype": "text/x-python",
|
464 |
+
"name": "python",
|
465 |
+
"nbconvert_exporter": "python",
|
466 |
+
"pygments_lexer": "ipython3",
|
467 |
+
"version": "3.11.8"
|
468 |
+
}
|
469 |
+
},
|
470 |
+
"nbformat": 4,
|
471 |
+
"nbformat_minor": 2
|
472 |
+
}
|