diff --git a/pollination/alias/inputs/comfort.py b/pollination/alias/inputs/comfort.py index f9f7bf2..8a35476 100644 --- a/pollination/alias/inputs/comfort.py +++ b/pollination/alias/inputs/comfort.py @@ -29,9 +29,11 @@ name='wind_speed', description='A single number for meteorological wind speed in m/s or an hourly ' 'data collection of wind speeds that align with the input run period. ' - 'This will be used for all indoor comfort evaluation. Note that the ' - 'EPW wind speed will be used for any outdoor sensors. (Default: 0.5).', - default='0.5', + 'This will be used for all outdoor comfort evaluation. Note that all ' + 'sensors on the indoors will always use a wind speed of 0.5 m/s, ' + 'which is the lowest acceptable value for the UTCI model. If ' + 'unspecified, the EPW wind speed will be used for all outdoor sensors.', + default='None', platform=['grasshopper'], handler=[ IOAliasHandler( diff --git a/pollination/alias/inputs/schedule.py b/pollination/alias/inputs/schedule.py index 7324c5a..896ee12 100644 --- a/pollination/alias/inputs/schedule.py +++ b/pollination/alias/inputs/schedule.py @@ -22,3 +22,27 @@ ] ) ] + + +"""Alias for inputs that expect a schedule as a .csv file from a data collection.""" +comfort_schedule_csv_input = [ + InputAlias.any( + name='schedule', + description='A schedule to specify the relevant times during which comfort ' + 'should be evaluated. This must either be a Ladybug Hourly Data ' + 'Collection that aligns with the input run_period or the path to a ' + 'CSV file with a number of rows equal to the length of the run_period. ' + 'If unspecified, it will be assumed that all times are relevant for ' + 'outdoor sensors and the energy model occupancy schedules will be ' + 'used for indoor sensors.', + optional=True, + platform=['grasshopper'], + handler=[ + IOAliasHandler( + language='python', + module='pollination_handlers.inputs.schedule', + function='data_to_csv' + ) + ] + ) +]