Beispiel #1
0
    def get_config_parameters(cls):
        #Called by UI.

        buildingTypeList = ('Bank Branch', 'Bank or Financial Institution',
                            'Barracks', 'Courthouse', 'Distribution Center',
                            'Hospital (General Medical and Surgical)', 'Hotel',
                            'House of Worship', 'K-12 School',
                            'Medical Office', 'Non-Refrigerated Warehouse',
                            'Office', 'Refrigerated Warehouse',
                            'Residence Hall/Dormitory', 'Retail Store',
                            'Senior Care Community',
                            'Supermarket/Grocery Store',
                            'Wholesale Club/Supercenter')

        return {
            "building_sq_ft":
            ConfigDescriptor(float, "Square footage", value_min=5000),
            "building_year_constructed":
            ConfigDescriptor(int,
                             "Construction Year",
                             value_min=1800,
                             value_max=2014),
            "building_name":
            ConfigDescriptor(str, "Building Name", optional=True),
            "building_function":
            ConfigDescriptor(str,
                             "Building Function",
                             value_list=buildingTypeList),
            "building_zipcode":
            ConfigDescriptor(str, "Building Zipcode")
        }
Beispiel #2
0
    def get_config_parameters(cls):
        #Called by UI
        return {
                    "building_sq_ft": ConfigDescriptor(float, "Square footage", value_min=200),
                    "building_year_constructed": ConfigDescriptor(int, "Consruction Year", value_min=1800, value_max=2014),
                    "building_name": ConfigDescriptor(str, "Building Name", optional=True)

                }
Beispiel #3
0
    def get_config_parameters(cls):
        # Called by UI
        values = ['apple', 'banana', 'grapes', 'pear']

        return {
            "building_name":
            ConfigDescriptor(str, "Building Name", optional=True),
            "a_value_from_a_list":
            ConfigDescriptor(str, "Fruit", optional=True, value_list=values)
        }
Beispiel #4
0
 def get_config_parameters(cls):
     """
     Generate required configuration
     parameters with description for user
     :return:
     """
     dgr_sym = u'\N{DEGREE SIGN}'
     return {
         'a3_sensitivity':
         ConfigDescriptor(
             str,
             'Application Configuration: value can be default or custom. '
             'Setting to custom allows one to enter customized '
             'values for Threshold parameters',
             value_default="default"),
         'a0_no_required_data':
         ConfigDescriptor(
             int,
             'Number of required data measurements to perform diagnostic',
             value_default=10),
         'a1_data_window':
         ConfigDescriptor(
             int,
             'Minimum elapsed time for analysis (minutes).  A default value of 0 will produce hourly results',
             value_default=0),
         'a2_local_tz':
         ConfigDescriptor(
             int,
             "Integer corresponding to local time zone: [1: 'US/Pacific', 2: 'US/Mountain', 3: 'US/Central', 4: 'US/Eastern']",
             value_default=1),
         'b0_stpt_deviation_thr':
         ConfigDescriptor(
             float,
             "Threshold: 'Duct Static Pressure Set Point Control Loop Dx' - '"
             "the allowable percent deviation from the set point for the duct static pressure",
             value_default=20.0),
         'b1_zn_high_damper_thr':
         ConfigDescriptor(float, (
             "Threshold: 'Low Duct Static Pressure Dx'- zone high damper threshold (%)"
         ),
                          value_default=90.0),
         'b2_zn_low_damper_thr':
         ConfigDescriptor(float, (
             "Threshold: 'Low Duct Static Pressure Dx' - zone low damper threshold (%)"
         ),
                          value_default=25.0),
         'b3_hdzn_damper_thr':
         ConfigDescriptor(
             float,
             "Threshold: 'High Duct Static Pressure Dx' - zone damper threshold (%)",
             value_default=30.0),
         'b4_stcpr_reset_thr':
         ConfigDescriptor(
             float,
             "Threshold: 'No Static Pressure Reset Dx' - the required difference between the minimum and the maximum duct static pressure set point for detection of a duct static pressure set point reset (in. w.g.)",
             value_default=0.25)
     }
Beispiel #5
0
 def get_config_parameters(cls):
     #Called by UI
     return {
         "building_name": ConfigDescriptor(str,
                                           "Building Name",
                                           optional=True)
     }
Beispiel #6
0
 def get_config_parameters(cls):
     #Called by UI
     return {
         'building_name':
         ConfigDescriptor(str, "Building Name", optional=True),
         'pre_start':
         ConfigDescriptor(str,
                          'Pre-Rx start date (yyyy-mm-dd) (including)'),
         'pre_end':
         ConfigDescriptor(str, 'Pre-Rx end date (yyyy-mm-dd) (excluding)'),
         'post_start':
         ConfigDescriptor(str,
                          'Post-Rx start date (yyyy-mm-dd) (including)'),
         'post_end':
         ConfigDescriptor(str, 'Post-Rx end date (yyyy-mm-dd) (excluding)'),
     }
 def get_config_parameters(cls):
     '''
     Generate required configuration
     parameters with description for user
     '''
     dgr_sym = u'\N{DEGREE SIGN}'
     return {
         'sample_rate':
             ConfigDescriptor(str,
                              'Sample rate for occupancy schedule detection (min)',
                              value_default='60Min'),
         'local_tz':
             ConfigDescriptor(int,
                              "Integer corresponding to local timezone: "
                              "[1: 'US/Pacific', 2: 'US/Mountain', 3: 'US/Central', 4: 'US/Eastern']",
                              value_default=1)
     }
 def get_config_parameters(cls):
     '''
     Generate required configuration
     parameters with description for user
     '''
     dgr_sym = u'\N{DEGREE SIGN}'
     return {
         'minimum_data_count':
         ConfigDescriptor(int,
                          'Minimum number of observations for analysis',
                          value_default=5),
         'local_tz':
         ConfigDescriptor(
             int, "Integer corresponding to local timezone: "
             "[1: 'US/Pacific', 2: 'US/Mountain', 3: 'US/Central', 4: 'US/Eastern']",
             value_default=1),
         'db':
         ConfigDescriptor(float, "Temperature Deadband", value_default=0.3)
     }
 def get_config_parameters(cls):
     # Called by UI
     # load_query = self.inp.get_query_sets('load', group_by='day')
     return {
         "building_name":
         ConfigDescriptor(str, "Building Name", optional=True),
         "baseline_startdate":
         ConfigDescriptor(str,
                          "Baseline Start Date (YYYY-MM-DD)",
                          optional=False),
         "baseline_stopdate":
         ConfigDescriptor(str,
                          "Baseline End Date (YYYY-MM-DD)",
                          optional=False),
         "savings_startdate":
         ConfigDescriptor(str,
                          "Savings Start Date (YYYY-MM-DD)",
                          optional=False),
         "savings_stopdate":
         ConfigDescriptor(str,
                          "Savings End Date (YYYY-MM-DD)",
                          optional=False)
     }
Beispiel #10
0
 def get_config_parameters(cls):
     """
     Generate required configuration parameters with description for user.
     :return:
     """
     dgr_sym = u'\N{DEGREE SIGN}'
     return {
         'minimum_data_count':
         ConfigDescriptor(int,
                          'Minimum number of observations for analysis',
                          value_default=5),
         'sensitivity':
         ConfigDescriptor(
             int, 'Sensitivity to detect a temperature setpoint change: '
             'values can be 0 (low), 1 (normal), 2 (high)',
             value_default=1),
         'local_tz':
         ConfigDescriptor(
             int, "Integer corresponding to local timezone: "
             "[1: 'US/Pacific', 2: 'US/Mountain', 3: 'US/Central', 4: 'US/Eastern']",
             value_default=1),
         'db':
         ConfigDescriptor(float, "Temperature Deadband", value_default=0.3)
     }
Beispiel #11
0
    def get_config_parameters(cls):
        # Called by UI

        return {
            "building_name":
            ConfigDescriptor(str, "Building Name", optional=True),
            "building_area":
            ConfigDescriptor(float, "Building Area"),
            "electricity_cost":
            ConfigDescriptor(float, "Electricity Cost"),
            "operating_hours":
            ConfigDescriptor(str,
                             "Operating Schedule: 'begin, end' (e.g. 8,17)'"),
            "operating_days":
            ConfigDescriptor(
                str,
                "List the weekdays when building is operated: \n (1 = Monday, 7 = Sunday), separated by commas"
            ),
            "holidays":
            ConfigDescriptor(
                str,
                "List the holidays (YYYY-MM-DD) in the dataset, separated by commas.",
                optional=True),
        }
 def get_config_parameters(cls):
     """
     Generate required configuration
     parameters with description for user
     """
     return {
         'a0_no_required_data':
         ConfigDescriptor(
             int,
             'Number of required data measurements to perform diagnostic',
             value_default=10),
         'a1_data_window':
         ConfigDescriptor(
             int, 'Minimum elapsed time for analysis (minutes). '
             'The default value of 0 will produce hourly results',
             value_default=0),
         'a2_local_tz':
         ConfigDescriptor(
             int,
             "Integer corresponding to local time zone: [1: 'US/Pacific', 2: 'US/Mountain', 3: 'US/Central', 4: 'US/Eastern']",
             value_default=1),
         'a3_sensitivity':
         ConfigDescriptor(
             str,
             'Sensitivity: values can be all (produces a result for low, normal, and high), '
             'low, normal, high, or custom. Setting sensitivity to custom allows you to customize your '
             'all threshold values',
             value_default="all"),
         # 'warm_up_time':
         # ConfigDescriptor(int,
         #                 'When the system starts this much '
         #                 'time will be allowed to elapse before adding '
         #                 'using data for analysis (minutes)',
         #                 value_default=30),
         'b0_stpt_deviation_thr':
         ConfigDescriptor(float, 'Allowable deviation from set points '
                          'before a fault message is generated '
                          '(%)',
                          value_default=10.0),
         'b1_rht_on_thr':
         ConfigDescriptor(
             float,
             'Minimum reheat command for zone reheat to be considered ON (%)',
             value_default=10.0),
         'b2_reheat_valve_thr':
         ConfigDescriptor(
             float,
             "'Low Supply-air Temperature Dx' – average zone reheat valve command threshold",
             value_default=50.0),
         'b3_percent_reheat_thr':
         ConfigDescriptor(float, (
             'Threshold for average percent of zones where terminal box reheat is ON (%)'
         ),
                          value_default=25.0),
         'b4_sat_high_damper_thr':
         ConfigDescriptor(
             float,
             "'High Supply-air Temperature Dx' - threshold for determining when zone dampers are commanded to value higher than optimum [high zone damper threshold] (%)",
             value_default=80),
         'b5_percent_damper_thr':
         ConfigDescriptor(
             float,
             "'High Supply-air Temperature Dx' - threshold for determining when the average percent of zones dampers are commanded to value higher than optimum (%)",
             value_default=50.0),
         'b6_sat_reset_thr':
         ConfigDescriptor(
             float,
             "'No Supply Temperature Reset Dx' - the required difference between the minimum and the maximum supply-air temperature set point for detection of a supply-air temperature set point reset ({drg}F)"
             .format(drg=DGR_SYM),
             value_default=3.0)
     }
    def get_config_parameters(cls):
        """
        Generate required configuration
        parameters with description for user
        """
        dgr_sym = u'\N{DEGREE SIGN}'
        config_dict = [
            ('a0_sensitivity',
             ConfigDescriptor(
                 str,
                 'Application Configuration: value can be default or custom. '
                 'Setting to custom allows one to enter customized '
                 'values for Threshold parameters',
                 value_default="default")),
            ('a1_local_tz',
             ConfigDescriptor(
                 int,
                 "Integer corresponding to local timezone: [1: 'US/Pacific', 2: 'US/Mountain', 3: 'US/Central', 4: 'US/Eastern']",
                 value_default=1)),
            ('a2_unocc_time_thr',
             ConfigDescriptor(
                 float,
                 'Threshold for acceptable unoccupied run-time percentage for AHU supply fan (%)',
                 value_default=30.0)),
            ('a3_unocc_stcpr_thr',
             ConfigDescriptor(
                 float,
                 'Threshold for the AHU average static pressure during unoccupied periods (in. w.g.)',
                 value_default=0.2)),
            ('b0_monday_sch',
             ConfigDescriptor(str,
                              'Monday occupancy schedule for AHU',
                              value_default=['5:30', '18:30'])),
            ('b1_tuesday_sch',
             ConfigDescriptor(str,
                              'Tuesday occupancy schedule for AHU',
                              value_default=['5:30', '18:30'])),
            ('b2_wednesday_sch',
             ConfigDescriptor(str,
                              'Wednesday occupancy schedule for AHU',
                              value_default=['5:30', '18:30'])),
            ('b3_thursday_sch',
             ConfigDescriptor(str,
                              'Thursday occupancy schedule for AHU',
                              value_default=['5:30', '18:30'])),
            ('b4_friday_sch',
             ConfigDescriptor(str,
                              'Friday occupancy schedule for AHU',
                              value_default=['5:30', '18:30'])),
            ('b5_saturday_sch',
             ConfigDescriptor(
                 str,
                 'Saturday occupancy schedule for AHU (default: unoccupied)',
                 value_default=['0:00', '0:00'])),
            ('b6_sunday_sch',
             ConfigDescriptor(
                 str,
                 'Sunday occupancy schedule for AHU (default: unoccupied)',
                 value_default=['0:00', '0:00']))
        ]

        config = collections.OrderedDict(config_dict)

        return config
    def get_config_parameters(cls):
        """
        Generate required configuration
        parameters with description for user.
        :return:
        """
        dgr_sym = u'\N{DEGREE SIGN}'
        return {
            'a0_no_required_data':
            ConfigDescriptor(int,
                            'Number of required data measurements to perform diagnostic', value_default=30),
            'a1_data_window':
            ConfigDescriptor(int,
                             'Minimum elapsed time for analysis (minutes)',
                             value_default=180),
            'a2_local_tz':
            ConfigDescriptor(int,
                             "Integer corresponding to local time zone: [1: 'US/Pacific', 2: 'US/Mountain', 3: 'US/Central', 4: 'US/Eastern']",
                              value_default=1),
            'a3_sensitivity':
            ConfigDescriptor(int,
                             'Sensitivity: values can be 0 (low), 1 (normal), 2 (high), 3 (custom). '
                             'Setting sensitivity to 3 (custom) '
                             'allows you to enter your own values for all threshold values',
                              value_default=1),
            #'warm_up_time':
            #ConfigDescriptor(int,
            #                 'When the system starts this much '
            #                 'time will be allowed to elapse before adding '
            #                 'using data for analysis (minutes)',
            #                 value_default=30),

            'b0_min_hwst_threshold': ConfigDescriptor(float, 'Hot-water supply temperature low limit ({drg}F)'.format(drg=dgr_sym),
                                                   value_default=125.0),
            'b1_max_hwst_threshold': ConfigDescriptor(float, 'Hot-water supply temperature high limit ({drg}F)'.format(drg=dgr_sym),
                                                   value_default=190.0),
            'b2_min_hwrt_threshold': ConfigDescriptor(float, 'Hot-water return temperature low limit  ({drg}F)'.format(drg=dgr_sym),
                                                   value_default=115.0),
            'b3_max_hwrt_threshold': ConfigDescriptor(float, 'Hot-water return temperature high limit  ({drg}F)'.format(drg=dgr_sym),
                                                   value_default=180.0),
            'b4_desired_delta_t':
            ConfigDescriptor(float,
                             "'HW loop Low Delta-T Dx' - desired difference between the hot water supply and return temperatures ({drg}F)".format(drg=dgr_sym),
                             value_default=20.0),
            'b5_delta_t_threshold':
            ConfigDescriptor(float,
                             "'HW loop Low Delta-T Dx' - threshold for detection of low delta-T for hot water distribution systems ({drg}F)".format(drg=dgr_sym),
                             value_default=10.0),
            'b6_hwst_reset_threshold':
            ConfigDescriptor(float,
                             "'HW loop Supply Temperature Reset Dx' - the required difference between the minimum and the maximum hot-water supply temperature set point for detection of a hot-water supply temperature set point reset ({drg}F)".format(drg=dgr_sym),
                             value_default=10.0),
            'b7_hw_st_threshold':
            ConfigDescriptor(float,
                             "'HW loop High Supply Temperature Dx' - threshold for the average hot water supply temperature ({drg}F)".format(drg=dgr_sym),
                             value_default=140.0),

            'b8_hw_pump_vfd_threshold':
            ConfigDescriptor(float,
                             "'HW loop High Supply Temperature Dx' - threshold for the average pump(s) speed command (%)",
                             value_default=60.0),

            'c0_min_dp_threshold':
            ConfigDescriptor(float,
                             'Hot-water loop differential pressure low limit (psi)',
                             value_default=2.5),
            'c1_max_dp_threshold':
            ConfigDescriptor(float,
                             'Hot-water loop differential pressure high limit (psi)',
                             value_default=50.0),
            'c2_dp_reset_threshold':
            ConfigDescriptor(float,
                             "'HW loop Differential Pressure Reset Dx' - the required difference between the minimum and the maximum hot-water loop differential pressure set point for detection of a hot-water loop differential pressure set point reset (psi)",
                             value_default=5.0),
            'c3_dp_pump_threshold':
            ConfigDescriptor(float,
                             "'HW loop High Differential Pressure Dx' - Pump threshold to determine if the loop differential pressure is too high (%)",
                             value_default=65.0),

            'c4_setpoint_allowable_deviation':
            ConfigDescriptor(float,
                             "'HW Differential Pressure Control Loop Dx' and 'HW Supply Temperature Control Loop Dx' - the allowable percent deviation from the set point for the hot-water supply temperature and loop differential pressure (%)",
                             value_default=10.0)
            }
Beispiel #15
0
 def get_config_parameters(cls):
     '''Generate required configuration
     parameters with description for user
     '''
     dgr_sym = u'\N{DEGREE SIGN}'
     return {
         'data_window':
         ConfigDescriptor(int, 'Minimum Elapsed time for '
                          'analysis (minutes)',
                          value_default=180),
         'min_dp_threshold':
         ConfigDescriptor(float, 'Hot water loop minimum '
                          'operational differential '
                          'pressure (psi)',
                          value_default=2.5),
         'no_required_data':
         ConfigDescriptor(int, 'Number of required data measurements to '
                          'perform diagnostic',
                          value_default=30),
         'max_dp_threshold':
         ConfigDescriptor(float, 'Hot water loop maximum '
                          'operational differential '
                          'pressure (psi)',
                          value_default=50.0),
         'warm_up_time':
         ConfigDescriptor(int, 'When the system starts this much '
                          'time will be allowed to elapse before adding '
                          'using data for analysis (minutes)',
                          value_default=30),
         'setpoint_allowable_deviation':
         ConfigDescriptor(float, 'Percent allowable deviation from set '
                          'points (HWS and loop DP (%)',
                          value_default=10.0),
         'dp_pump_threshold':
         ConfigDescriptor(float,
                          'Pump threshold to determine if the loop DP '
                          'is too high (%)',
                          value_default=45.0),
         'dp_reset_threshold':
         ConfigDescriptor(float, 'HW loop DP threshold to detect DP reset '
                          '(psi)',
                          value_default=5.0),
         'hwst_reset_threshold':
         ConfigDescriptor(
             float,
             'HW supply temperature threshold to detect '
             'HW supply temperature reset ({drg}F)'.format(drg=dgr_sym),
             value_default=10.0),
         'hw_st_threshold':
         ConfigDescriptor(float,
                          'HW supply temperature threshold to detect '
                          'if the HW supply temperature is too '
                          'high ({drg}F)'.format(drg=dgr_sym),
                          value_default=120.0),
         'hw_pump_vfd_threshold':
         ConfigDescriptor(float,
                          'HW loop pump VFD command threshold used to '
                          'determine if the HW supply temperature is '
                          'too high (%)',
                          value_default=25.0),
         'min_hwst_threshold':
         ConfigDescriptor(float,
                          'Minimum allowable operational HW '
                          'supply temperature ({drg}F)'.format(drg=dgr_sym),
                          value_default=125.0),
         'max_hwst_threshold':
         ConfigDescriptor(
             float,
             'Maximum allowable operational '
             'HW supply temperature ({drg}F)'.format(drg=dgr_sym),
             value_default=190.0),
         'min_hwrt_threshold':
         ConfigDescriptor(
             float,
             'Minimum allowable operational '
             'HW return temperature ({drg}F)'.format(drg=dgr_sym),
             value_default=115.0),
         'max_hwrt_threshold':
         ConfigDescriptor(
             float,
             'Maximum allowable operational '
             'HW return temperature ({drg}F)'.format(drg=dgr_sym),
             value_default=180.0),
         'desired_delta_t':
         ConfigDescriptor(
             float,
             'Desired delta-T (difference between HWS '
             'and HWR temperatures ({drg}F)'.format(drg=dgr_sym),
             value_default=20.0),
         'delta_t_threshold':
         ConfigDescriptor(float,
                          'Band around desired delta-T where '
                          'where delat-T is considered '
                          'OK ({drg}F)'.format(drg=dgr_sym),
                          value_default=10.0)
     }