2020-06-09 14:07:47 -04:00
|
|
|
"""
|
|
|
|
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
|
|
|
|
"""
|
2020-05-18 13:25:08 -04:00
|
|
|
from physics.physics_feeders.helpers.us_to_library_types import UsToLibraryTypes
|
2020-06-16 10:34:17 -04:00
|
|
|
from physics.physics_feeders.us_base_physics_parameters import UsBasePhysicsParameters
|
2020-05-18 13:25:08 -04:00
|
|
|
|
|
|
|
|
|
|
|
class UsPhysicsParameters(UsBasePhysicsParameters):
|
2020-06-11 15:45:11 -04:00
|
|
|
"""
|
|
|
|
UsPhysicsParameters class
|
|
|
|
"""
|
2020-06-04 12:47:48 -04:00
|
|
|
def __init__(self, city, base_path):
|
2020-05-18 13:25:08 -04:00
|
|
|
self._city = city
|
2020-06-03 16:56:17 -04:00
|
|
|
self._climate_zone = UsToLibraryTypes.city_to_climate_zone(city.name)
|
2020-06-04 12:47:48 -04:00
|
|
|
super().__init__(self._climate_zone, self._city.city_objects, lambda function: function, base_path)
|