Skip to content

Commit

Permalink
fix(recipe): Bump dependency and add alias for output
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Apr 27, 2023
1 parent 92e41c4 commit aa9463c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions pollination/leed_daylight_option_one/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
from pollination.alias.inputs.radiancepar import rad_par_annual_input
from pollination.alias.inputs.grid import grid_filter_input, \
min_sensor_count_input, cpu_count
from pollination.alias.outputs.daylight import leed_one_credit_summary_results, \
leed_one_ase_hours_above_results, daylight_autonomy_results, \
leed_one_hourly_pct_above_results, leed_one_shade_transmittance_results


@dataclass
Expand Down Expand Up @@ -122,7 +125,8 @@ def leed_daylight_option_one(
credit_summary = Outputs.file(
description='JSON file containing the number of LEED credits achieved and '
'sDA and ASE for the whole space combined.',
source='leed_summary/summary.json'
source='leed_summary/summary.json',
alias=leed_one_credit_summary_results
)

space_summary = Outputs.file(
Expand All @@ -133,7 +137,8 @@ def leed_daylight_option_one(
dynamic_schedule = Outputs.file(
description='JSON file containing the dynamic schedule of shade '
'transmittance values for each hour.',
source='leed_summary/states_schedule.json'
source='leed_summary/states_schedule.json',
alias=leed_one_shade_transmittance_results
)

dynamic_schedule_err = Outputs.file(
Expand All @@ -145,17 +150,20 @@ def leed_daylight_option_one(
daylight_autonomy = Outputs.folder(
description='Daylight Autonomy results with the shade transmittance '
'following the 2% rule.',
source='leed_summary/results/da'
source='leed_summary/results/da',
alias=daylight_autonomy_results
)

ase_hours_above = Outputs.folder(
description='The number of hours where the direct illuminance is 1000 lux '
'or higher.',
source='leed_summary/results/ase_hours_above'
source='leed_summary/results/ase_hours_above',
alias=leed_one_ase_hours_above_results
)

hourly_percentage_above = Outputs.folder(
description='The hourly percentage of floor area where the direct illuminance '
'is 1000 lux or higher.',
source='leed_summary/datacollections/ase_percentage_above'
source='leed_summary/datacollections/ase_percentage_above',
alias=leed_one_hourly_pct_above_results
)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pollination-two-phase-daylight-coefficient==1.0.20
pollination-two-phase-daylight-coefficient==1.0.25

0 comments on commit aa9463c

Please sign in to comment.