costs_workflow/costs/__main__.py

36 lines
1.4 KiB
Python
Raw Normal View History

"""
Costs Workflow
SPDX - License - Identifier: LGPL - 3.0 - or -later
2023-05-30 15:08:11 -04:00
Copyright © 2022 Project Author Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
Code contributor Oriol Gavalda Torrellas oriol.gavalda@concordia.ca
"""
from pathlib import Path
2023-06-01 14:07:41 -04:00
2023-05-30 14:42:49 -04:00
import pandas as pd
from energy_systems_sizing import EnergySystemsSizing
2023-06-01 14:07:41 -04:00
from hub.helpers.dictionaries import Dictionaries
2023-05-30 14:42:49 -04:00
from hub.imports.construction_factory import ConstructionFactory
from hub.imports.energy_systems_factory import EnergySystemsFactory
from hub.imports.geometry_factory import GeometryFactory
from hub.imports.usage_factory import UsageFactory
from hub.imports.weather_factory import WeatherFactory
from monthly_energy_balance_engine import MonthlyEnergyBalanceEngine
from sra_engine import SraEngine
2023-06-01 14:07:41 -04:00
from life_cycle_costs_old import LifeCycleCosts
# import constants
from costs import CLIMATE_REFERENCE_CITY, WEATHER_FILE, WEATHER_FORMAT, CONSTRUCTION_FORMAT, USAGE_FORMAT
from costs import ENERGY_SYSTEM_FORMAT, ATTIC_HEATED_CASE, BASEMENT_HEATED_CASE, RETROFITTING_SCENARIOS, NUMBER_OF_YEARS
from costs import CONSUMER_PRICE_INDEX, ELECTRICITY_PEAK_INDEX, ELECTRICITY_PRICE_INDEX, GAS_PRICE_INDEX, DISCOUNT_RATE
from costs import SKIN_RETROFIT, SYSTEM_RETROFIT_AND_PV, SKIN_RETROFIT_AND_SYSTEM_RETROFIT_AND_PV
from costs import RETROFITTING_YEAR_CONSTRUCTION
# import paths
from costs import file_path, tmp_folder, out_path
2023-05-30 14:42:49 -04:00