city_retrofit/physics/physics_feeders/us_physics_parameters.py

12 lines
528 B
Python
Raw Normal View History

from physics.physics_feeders.us_base_physics_parameters import UsBasePhysicsParameters
from physics.physics_feeders.helpers.pluto_to_function import PlutoToFunction as Pf
from physics.physics_feeders.helpers.us_to_library_types import UsToLibraryTypes
class UsPhysicsParameters(UsBasePhysicsParameters):
def __init__(self, city):
self._city = city
self._climate_zone = UsToLibraryTypes.city_to_climate_zone(city.city_name)
super().__init__(self._climate_zone, self._city.city_objects, Pf.building_type_to_nrel)