hub/factories/physics_feeders/ca_physics_parameters.py
2021-01-05 15:20:44 -05:00

18 lines
680 B
Python

"""
CaPhysicsParameters import the construction and material information for Canada
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Pilar Monsalvete pilar_monsalvete@yahoo.es
"""
from factories.physics_feeders.nrel_interface import NrelInterface
class CaPhysicsParameters(NrelInterface):
"""
CaPhysicsParameters class
"""
def __init__(self, city, base_path):
self._city = city
# todo: define climate zones for Canada and substitute this default value by a function that selects the correct one
self._climate_zone = 'Summerland'
super().__init__(base_path, 'ca_constructions_reduced.xml', 'ca_archetypes_reduced.xml')