Source code for cesarp.SIA2024.demand_generators.BuildingTypeProtocol

# coding=utf-8
#
# Copyright (c) 2023, Empa, Leonie Fierz, Aaron Bojarski, Ricardo Parreira da Silva, Sven Eggimann.
#
# This file is part of CESAR-P - Combined Energy Simulation And Retrofit written in Python
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Contact: https://www.empa.ch/web/s313
#
from enum import Enum
from typing import Callable, List, Dict


[docs]class BuildingTypeProtocol:
[docs] def synthesize_value_by_room_area(self, value_per_room_method: Callable[[str], float]) -> float: ...
[docs] def synthesize_profiles_yearly_by_room_area_for_bldg( self, profile_per_room_method: Callable[[str], List[float]], additional_factor_per_room_method: Callable[[str], float] = None, ) -> List[float]: ...
[docs] def get_room_types(self) -> List[str]: ...
[docs] def get_room_types_area_fraction(self) -> Dict[Enum, float]: ...