feature devcontainer

This commit is contained in:
Jun-te Kim 2026-01-16 14:17:46 +00:00
parent 4d7e2ed793
commit 593196d2c0
2 changed files with 9 additions and 12 deletions

View file

@ -14,4 +14,4 @@ openpyxl==3.1.2
pytz
uvicorn[standard]
sqlmodel
ipykernel

View file

@ -14,16 +14,12 @@ from collections import defaultdict
# PORTFOLIO_ID = 206
# SCENARIOS = [389]
PORTFOLIO_ID = 435 # Peabody
PORTFOLIO_ID = 449 # Peabody
SCENARIOS = [
908,
909,
910,
922
]
scenario_names = {
908: "EPC C - no solid floor, ashp 3.0",
909: "EPC C - no solid floor, no EWI or IWI, ashp 3.0",
910: "EPC B - no solid floor, no EWI, ashp 3.0"
922: "EPC C",
}
@ -232,12 +228,13 @@ for scenario_id in SCENARIOS:
df["uprn"] = df["uprn"].astype(str)
# Create excel to store to
filename = ("/Users/khalimconn-kowlessar/Documents/hestia/Customers/Peabody/Nov 2025 Consulting "
f"Project/Final SAL/{scenario_names[scenario_id]} - 20250113 final.xlsx")
filename = (f"{scenario_names[scenario_id]}-clarion.xlsx")
with pd.ExcelWriter(filename) as writer:
df.to_excel(writer, sheet_name="properties", index=False)
#( Junte) don't need anything below this
# asset_list = pd.DataFrame(asset_list)
# asset_list = asset_list.rename(
# columns={
@ -293,7 +290,7 @@ asset_list = asset_list.merge(
# For exporting
df.to_excel(
"/Users/khalimconn-kowlessar/Documents/hestia/Customers/Lincs Rural/EPC C -without floors proposed measures - "
"EPC C -without floors proposed measures - "
"with ID.xlsx",
index=False
)
@ -381,7 +378,7 @@ for _, row in asset_list.iterrows():
# Store output
asset_list.to_excel(
"/Users/khalimconn-kowlessar/Documents/hestia/sfr/Spring JV/20250624_portfolio_retrofit_packages.xlsx",
"fabric_clarian_packages.xlsx",
index=False
)