2020-05-18 13:25:08 -04:00
|
|
|
from physics.physics_feeders.us_base_physics_parameters import UsBasePhysicsParameters
|
|
|
|
from physics.physics_feeders.helpers.us_to_library_types import UsToLibraryTypes
|
|
|
|
|
|
|
|
|
|
|
|
class UsPhysicsParameters(UsBasePhysicsParameters):
|
|
|
|
def __init__(self, city):
|
|
|
|
self._city = city
|
2020-06-03 16:56:17 -04:00
|
|
|
self._climate_zone = UsToLibraryTypes.city_to_climate_zone(city.name)
|
2020-05-19 12:18:15 -04:00
|
|
|
super().__init__(self._climate_zone, self._city.city_objects, lambda function: function)
|
2020-05-18 13:25:08 -04:00
|
|
|
|