Capital cost
This commit is contained in:
parent
d3fc2802ff
commit
dc544eaadf
@ -105,7 +105,6 @@ class TestPeakLoadsWorkflow(TestCase):
|
||||
consumer_price_index = 0.1
|
||||
discount_rate = 2.5
|
||||
self._enrich_city(city, weather_file, weather_format, irradiance_format, construction_format, usage_format)
|
||||
# PeakLoads(city, outputs_path, weather_format, irradiance_format)
|
||||
municipality = "montreal"
|
||||
catalog = CostCatalogFactory('montreal_catalog').catalog
|
||||
content = catalog.entries()
|
||||
@ -126,9 +125,7 @@ class TestPeakLoadsWorkflow(TestCase):
|
||||
building_volume += internal_zone.volume
|
||||
|
||||
bulding_name, heating_load, cooling_load = PeakLoads(city, outputs_path, weather_format, irradiance_format)._results[0]
|
||||
print(bulding_name, heating_load, cooling_load)
|
||||
capital_costs_at_year_0 = CapitalCost.calculate_capital_cost(building_area, municipality, building_volume, total_opaque_area, total_transparent_area, content, heating_load, cooling_load, building.floor_area)
|
||||
print("capital_costs_at_year_0 ", capital_costs_at_year_0)
|
||||
# end_of_life_cost = 0.0
|
||||
# items = []
|
||||
# fuels = city.fuels
|
||||
@ -137,5 +134,4 @@ class TestPeakLoadsWorkflow(TestCase):
|
||||
# capital_costs_at_year_0, items, fuels, concepts).calculate_capital_costs
|
||||
|
||||
|
||||
# print(PeakLoads(city, outputs_path, weather_format, irradiance_format)._results[][1])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user