Model/model_data/recommendations/FloorRecommendations.py
2023-06-23 16:21:08 +01:00

19 lines
637 B
Python

from model_data.BaseUtility import BaseUtility
from model_data.Property import Property
from model_data.analysis.UvalueEstimations import UvalueEstimations
class FloorRecommendations(BaseUtility):
def __init__(self, property_instance: Property, uvalue_estimates: UvalueEstimations):
self.property = property_instance
self.uvalue_estimates = uvalue_estimates
# For audit purposes, when estimating u values we'll store it
self.estimated_u_value = None
# Will contains a list of recommended measures
self.recommendations = []
def recommend(self):
if self.property.floor