def check_duplicate_schedule_type_limit_identifiers( self, raise_exception=True): """Check that there are no duplicate ScheduleTypeLimit identifiers in the model. """ return check_duplicate_identifiers(self.schedule_type_limits, raise_exception, 'ScheduleTypeLimit')
def check_duplicate_view_identifiers(self, raise_exception=True, detailed=False): """Check that there are no duplicate View identifiers in the model. Args: raise_exception: Boolean to note whether a ValueError should be raised if duplicate identifiers are found. (Default: True). detailed: Boolean for whether the returned object is a detailed list of dicts with error info or a string with a message. (Default: False). Returns: A string with the message or a list with a dictionary if detailed is True. """ return check_duplicate_identifiers( self.views, raise_exception, 'View', detailed, '010004', 'Radiance', error_type='Duplicate View Identifier')
def check_duplicate_hvac_identifiers(self, raise_exception=True): """Check that there are no duplicate HVAC identifiers in the model.""" return check_duplicate_identifiers(self.hvacs, raise_exception, 'HVAC')
def check_duplicate_program_type_identifiers(self, raise_exception=True): """Check that there are no duplicate ProgramType identifiers in the model.""" return check_duplicate_identifiers(self.program_types, raise_exception, 'ProgramType')
def check_duplicate_construction_set_identifiers(self, raise_exception=True): """Check that there are no duplicate ConstructionSet identifiers in the model.""" return check_duplicate_identifiers(self.construction_sets, raise_exception, 'ConstructionSet')
def check_duplicate_view_identifiers(self, raise_exception=True): """Check that there are no duplicate View identifiers in the model.""" return check_duplicate_identifiers(self.views, raise_exception, 'View')
def check_duplicate_sensor_grid_identifiers(self, raise_exception=True): """Check that there are no duplicate SensorGrid identifiers in the model.""" return check_duplicate_identifiers(self.sensor_grids, raise_exception, 'SensorGrid')
def check_duplicate_modifier_set_identifiers(self, raise_exception=True): """Check that there are no duplicate ModifierSet identifiers in the model.""" return check_duplicate_identifiers(self.modifier_sets, raise_exception, 'ModifierSet')
def check_duplicate_modifier_identifiers(self, raise_exception=True): """Check that there are no duplicate Modifier identifiers in the model.""" return check_duplicate_identifiers(self.modifiers, raise_exception, 'Radiance Modifier')
def check_duplicate_schedule_identifiers(self, raise_exception=True): """Check that there are no duplicate Schedule identifiers in the model.""" return check_duplicate_identifiers(self.schedules, raise_exception, 'Schedule')
def check_duplicate_material_identifiers(self, raise_exception=True): """Check that there are no duplicate Material identifiers in the model.""" return check_duplicate_identifiers(self.materials, raise_exception, 'Energy Material')