From 9969c2c89f6e3c188139802393be15d6a7397531 Mon Sep 17 00:00:00 2001 From: Mikkel Pedersen Date: Mon, 11 Nov 2024 12:21:21 +0100 Subject: [PATCH] fix(daylight): Add alias for BREEAM --- pollination/alias/outputs/daylight.py | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/pollination/alias/outputs/daylight.py b/pollination/alias/outputs/daylight.py index 30ee6ad..dbbd6f7 100644 --- a/pollination/alias/outputs/daylight.py +++ b/pollination/alias/outputs/daylight.py @@ -702,3 +702,37 @@ ] ) ] + + +"""BREEAM 4b summary output.""" +breeam_summary = [ + OutputAlias.any( + name='summary', + description='JSON file with summary.', + platform=['grasshopper'], + handler=[ + IOAliasHandler( + language='python', + module='pollination_handlers.outputs.daylight', + function='read_json_summary_list' + ) + ] + ) +] + + +"""BREEAM 4b program summary output.""" +breeam_program_summary = [ + OutputAlias.any( + name='program_summary', + description='JSON file with program summary.', + platform=['grasshopper'], + handler=[ + IOAliasHandler( + language='python', + module='pollination_handlers.outputs.daylight', + function='read_json_summary_list' + ) + ] + ) +]