94c593b651
re-structured weather.py file accordingly (now in weather_factory.helpers
18 lines
743 B
Python
18 lines
743 B
Python
"""
|
|
UsPhysicsParameters import the construction and material information for US
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
Copyright © 2020 Project Author Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
|
|
"""
|
|
from factories.physics.physics_feeders.helpers.us_to_library_types import UsToLibraryTypes
|
|
from factories.physics.physics_feeders.us_base_physics_parameters import UsBasePhysicsParameters
|
|
|
|
|
|
class UsPhysicsParameters(UsBasePhysicsParameters):
|
|
"""
|
|
UsPhysicsParameters class
|
|
"""
|
|
def __init__(self, city, base_path):
|
|
self._city = city
|
|
self._climate_zone = UsToLibraryTypes.city_to_climate_zone(city.name)
|
|
super().__init__(self._climate_zone, self._city.buildings, lambda function: function, base_path)
|