From 64d8627d4a51b3b758db623b83f6b5fbe99d1333 Mon Sep 17 00:00:00 2001 From: mostaphaRoudsari Date: Thu, 31 Oct 2024 15:34:17 -0400 Subject: [PATCH] feat(writer): switch from version 4.80002 to version 5.00001 BREAKING CHANGE: The templates are replaced by the ones from version 5.0. The exported files will not be compatible with IDA ICE 4.8 anymore. --- honeybee_idaice/templates/ahu.idc | 110 ++-- honeybee_idaice/templates/ahu.idm | 17 +- honeybee_idaice/templates/building.idm | 566 ++++++++++++++++-- .../templates/electrical system.idm | 6 + honeybee_idaice/templates/plant.idc | 55 -- honeybee_idaice/templates/plant.idm | 185 ++---- honeybee_idaice/templates/room.idm | 16 +- honeybee_idaice/writer.py | 17 +- 8 files changed, 650 insertions(+), 322 deletions(-) create mode 100644 honeybee_idaice/templates/electrical system.idm delete mode 100644 honeybee_idaice/templates/plant.idc diff --git a/honeybee_idaice/templates/ahu.idc b/honeybee_idaice/templates/ahu.idc index fe46bb6..a63c629 100644 --- a/honeybee_idaice/templates/ahu.idc +++ b/honeybee_idaice/templates/ahu.idc @@ -1,12 +1,16 @@ -;IDA 4.80002 Form UTF-8 -(DOCUMENT-HEADER :TYPE SCHEMA :TITLE "CE Standard Air Handling Unit" :PAGE-WIDTH 177.5 :PAGE-HEIGHT 119) -(CONNECTION-LINE :AT ((580 73) (688 73) (688 72)) :LINE-STYLE :DOT :FIRST-LINK ("Sched_AHU" (1.0 0.531) OUTSIGNALLINK) :LAST-LINK (:SELF 2.91 "Air_Ctrl") :DIR :RIGHT :ARROW (19 8)) -(TEXT-OBJECT :VALUE (:DICT (ICE AHU CONST-TEMP-C)) :FONT (:SWISS :ARIAL 11 0) :AT ((40 80) (94 111)) :STYLE LABEL) -(CONNECTION-LINE :AT ((563 258) (606 258)) :LINE-COLOR #S(RGB RED 224 GREEN 224 BLUE 224) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("cc" (1 0.458) AIRFLOWOUT) :LAST-LINK ("sf" (0 0.458) FANIN) :EDGE 1) -(CONNECTION-LINE :AT ((445 258) (509 258)) :LINE-COLOR #S(RGB RED 224 GREEN 224 BLUE 224) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("hc" (1 0.458) AIRFLOWOUT) :LAST-LINK ("cc" (0 0.458) AIRFLOWIN) :EDGE 1) -(CONNECTION-LINE :AT ((165 311) (192 311)) :LINE-COLOR #S(RGB RED 224 GREEN 224 BLUE 224) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("AirExhaustRef" (0.948 0.5) LINK) :LAST-LINK ("rf" (0 0.458) FANOUT) :DIR :RIGHT :ARROW (19 8 8) :EDGE 1) -(CONNECTION-LINE :AT ((158 258) (229 258) (293 258)) :LINE-COLOR #S(RGB RED 224 GREEN 224 BLUE 224) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("AirSupplyRef" (0.938 0.5) LINK) :LAST-LINK ("hx" (0 0.081) SUPIN) :DIR :RIGHT :ARROW (19 8 8) :EDGE 1) -(CONNECTION-LINE :AT ((658 258) (688 258)) :LINE-COLOR #S(RGB RED 224 GREEN 224 BLUE 224) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("sf" (1 0.458) FANOUT) :LAST-LINK (:SELF 2.34 "Air_Sup") :EDGE 1) +;IDA 5.00001 Form UTF-8 +(DOCUMENT-HEADER :TYPE SCHEMA :TITLE "CE Standard Air Handling Unit" :PAGE-WIDTH 177.5 :PAGE-HEIGHT 129) +(TEXT-OBJECT :VALUE (:DICT (ICE AHU HEAT_SUP)) :AT ((344 48) (479 68))) +(TEXT-OBJECT :VALUE (:DICT (ICE AHU COOL_SUP)) :AT ((344 12) (479 32))) +(FIELD :AT ((496 48) (690 68)) :SLOT (HEAT_SUP VALUE)) +(FIELD :AT ((496 12) (690 32)) :SLOT (COOL_SUP VALUE)) +(CONNECTION-LINE :AT ((582 116) (690 116) (690 115)) :LINE-STYLE :DOT :FIRST-LINK ("Sched_AHU" (1.0 0.531) OUTSIGNALLINK) :LAST-LINK (:SELF 2.91 "Air_Ctrl") :DIR :RIGHT :ARROW (19 8)) +(TEXT-OBJECT :VALUE (:DICT (ICE AHU CONST-TEMP-C)) :FONT (:SWISS :ARIAL 11 0) :AT ((42 123) (96 154)) :STYLE LABEL) +(CONNECTION-LINE :AT ((565 301) (608 301)) :LINE-COLOR (:CALL AIRLINK-COLOR [@ 1] [@ 2]) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("cc" (1 0.458) AIRFLOWOUT) :LAST-LINK ("sf" (0 0.458) FANIN) :EDGE 1) +(CONNECTION-LINE :AT ((447 301) (511 301)) :LINE-COLOR (:CALL AIRLINK-COLOR [@ 1] [@ 2]) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("hc" (1 0.458) AIRFLOWOUT) :LAST-LINK ("cc" (0 0.458) AIRFLOWIN) :EDGE 1) +(CONNECTION-LINE :AT ((167 354) (194 354)) :LINE-COLOR (:CALL AIRLINK-COLOR [@ 1] [@ 2]) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("AirExhaustRef" (0.948 0.5) LINK) :LAST-LINK ("rf" (0 0.458) FANOUT) :DIR :RIGHT :ARROW (19 8 8) :EDGE 1) +(CONNECTION-LINE :AT ((160 301) (231 301) (295 301)) :LINE-COLOR (:CALL AIRLINK-COLOR [@ 1] [@ 2]) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("AirSupplyRef" (0.938 0.5) LINK) :LAST-LINK ("hx" (0 0.081) SUPIN) :DIR :RIGHT :ARROW (19 8 8) :EDGE 1) +(CONNECTION-LINE :AT ((660 301) (690 301)) :LINE-COLOR (:CALL AIRLINK-COLOR [@ 1] [@ 2]) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("sf" (1 0.458) FANOUT) :LAST-LINK (:SELF 2.34 "Air_Sup") :EDGE 1) (TEXT-OBJECT :VALUE (GERMAN "Lüftungsgerät mit unbegrenzter Kapazität (als Vorgabe). Zulufttemperatur ist entweder (1) Konstant, (2) nach Zeitplan (3) in Abhängigkeit von der Außentemperatur. Komponenten enthalten weitere veränderbare Parameter." ENGLISH "AHU with (by default) unlimited capacity. Supply air temperature setpoint is either (a) constant, (b) according to a time schedule or (c) a function of outside air temperature. @@ -16,48 +20,48 @@ Lisäparametrit voidaan asettaa avaamalla IV-koneen komponentteja." FRENCH "CTA Les paramètres additionnels peuvent être établis en ouvrant les composants de la CTA." SWEDISH "LB med (som standard) obegränsad kapacitet. Tilluftstemperaturens börvärde är antingen (a) konstant, (b) enligt ett tidsschema eller (c) beroende på utomhustemperaturen. -Ytterligare inställningar kan göras genom att öppna komponenterna i LB." SPANISH "UTA con (por defecto) capacidad ilimitada. El punto de consigna de la temperatura del aire de suministro es (a) constante, (b) según un horario(c) una función de la temperatura del aire exterior. +Ytterligare inställningar kan göras genom att öppna komponenterna i LB." SPANISH "UMA con capacidad ilimitada (por omisión). El valor de consigna de la temperatura del aire de suministro es (a) constante, (b) según un horario o (c) en función de la temperatura del aire exterior. -Los parámetros adicionales pueden ser establecidos abriendo los componentes de la UTA .") :AT ((12 384) (330 456)) :STYLE NOTE :LINE-GROUND #S(RGB RED 255 GREEN 255 BLUE 233) :OUTLINED-P T :MARKUP HTML :PADDING 5) -(CONNECTION-LINE :AT ((343 311) (688 311)) :LINE-COLOR #S(RGB RED 224 GREEN 224 BLUE 224) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("hx" (1 0.906) EXHIN) :LAST-LINK (:SELF 2.176 "Air_Rtn") :EDGE 1) -(CONNECTION-LINE :AT ((344 258) (370 258) (393 258)) :LINE-COLOR #S(RGB RED 224 GREEN 224 BLUE 224) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("hx" (1 0.078) SUPOUT) :LAST-LINK ("hc" (0 0.458) AIRFLOWIN) :EDGE 1) -(CONNECTION-LINE :AT ((166 95) (181 95) (181 138) (221 138)) :LINE-STYLE :DOT :FIRST-LINK ("SupConst" (1 0.5) LINK) :LAST-LINK ("SupSwitch" (0.0 0.125) (INSIGNALLINK 1)) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((148 129) (166 129) (166 154) (220 154)) :LINE-STYLE :DOT :FIRST-LINK ("SupSchedule" (1.0 0.531) OUTSIGNALLINK) :LAST-LINK ("SupSwitch" (0 0.525) (INSIGNALLINK 2)) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((150 167) (184 167) (184 167) (221 167)) :LINE-STYLE :DOT :FIRST-LINK ("SupSetpoint" (1 0.576) OUTSIGNALLINK) :LAST-LINK ("SupSwitch" (0.0 0.85) (INSIGNALLINK 3)) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((70 173) (70 167) (100 167)) :FIRST-LINK ("TAmbRef" (0.5 0.0) LINK) :LAST-LINK ("SupSetpoint" (0 0.576) INSIGNALLINK) :DIR :RIGHT :ARROW (19 8 8)) -(TEXT-OBJECT :VALUE (ENGLISH "Standard air handling unit" FINNISH "Vakio IV-kone" GERMAN "Standard-Lüftungsgerät" FRENCH "Unité de traitement d’air" SWEDISH "Standard luftbehandlingsaggregat" SPANISH "Unidad de tratamiento de aire estándar") :TEXT-COLOR :DEFAULT :FONT (:SWISS :ARIAL 16 1) :AT ((16 12) (379 32)) :STYLE SECTION) -(EQUATION-FRAME :AT ((352 440)) :R (13.5 14) :ICON "lib:emeter.ids" :SLOT ("EmeterHeat") :NAME "EmeterHeat" :PADDING 3 :DATA :CEO) -(EQUATION-FRAME :AT ((386 440)) :R (13.5 14) :ICON "lib:emeter.ids" :SLOT ("EmeterCool") :NAME "EmeterCool" :PADDING 3 :DATA :CEO) -(LINK-FRAME :AT ((79 248) (163 268)) :STYLE HYPERLINK :SLOT (:SYSTEM CLIMATE AIRSUPPLY) :NAME "AirSupplyRef" :LABEL "AirSupply" :ICON CLIMATE-PIXMAP :DATA REFERENCE) -(CONNECTION-LINE :AT ((296 76) (308 76) (308 114) (241 114) (241 134)) :LINE-STYLE :DOT :FIRST-LINK (AIR-SUPPLY-STRATEGY (1 0.5) LINK) :LAST-LINK ("SupSwitch" (0.5 0.01) SELECTORLINK) :DIR :RIGHT :ARROW (19 8 8)) -(LINK-FRAME :AT ((38 173) (102 201)) :STYLE HYPERLINK :SLOT (:SYSTEM CLIMATE :VARIABLES TAIR2) :NAME "TAmbRef" :LABEL "TAir2" :SIDE :TOP :ICON CLIMATE-PIXMAP :DATA REFERENCE) -(CONNECTION-LINE :AT ((428 73) (481 73) (481 207) (388 207) (271 207) (271 276) (293 276)) :LINE-STYLE :DOT :FIRST-LINK ("Sched_Vvx" 2.47 OUTSIGNALLINK) :LAST-LINK ("hx" (0 0.359) CONTROL) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((262 153) (294 153) (294 220) (550 220) (550 236)) :LINE-STYLE :DOT :FIRST-LINK ("SupSwitch" (1 0.5) OUTSIGNALLINK) :LAST-LINK ("cc" (0.792 0.0) TEMPSETPOINT)) -(CONNECTION-LINE :AT ((262 153) (294 153) (294 220) (329 220) (433 220) (433 237)) :LINE-STYLE :DOT :FIRST-LINK ("SupSwitch" (1 0.5) OUTSIGNALLINK) :LAST-LINK ("hc" (0.792 0.025) TEMPSETPOINT)) -(CONNECTION-LINE :AT ((262 153) (294 153) (294 220) (317 220) (317 251)) :LINE-STYLE :DOT :FIRST-LINK ("SupSwitch" (1 0.5) OUTSIGNALLINK) :LAST-LINK ("hx" (0.479 0) TEMPSETPOINT)) -(CONNECTION-LINE :AT ((580 73) (675 73) (675 330) (258 330) (258 272) (201 272) (201 289)) :LINE-STYLE :DOT :FIRST-LINK ("Sched_AHU" (1.0 0.531) OUTSIGNALLINK) :LAST-LINK ("rf" (0.146 0.0) FANCONTROL) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((580 73) (649 73) (649 236)) :LINE-STYLE :DOT :FIRST-LINK ("Sched_AHU" (1.0 0.531) OUTSIGNALLINK) :LAST-LINK ("sf" (0.854 0.0) FANCONTROL) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((544 283) (544 323) (544 323) (544 368)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("cc" (0.667 0.983) LIQFLOWOUT) :LAST-LINK (:SELF 1.786 "AHU_Rtn_Cold")) -(CONNECTION-LINE :AT ((519 283) (519 317) (519 317) (519 368)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("cc" (0.15 0.983) LIQFLOWIN) :LAST-LINK (:SELF 1.749 "AHU_Sup_Cold")) -(CONNECTION-LINE :AT ((427 283) (427 282) (427 282) (427 323) (427 368)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("hc" (0.667 0.979) LIQFLOWOUT) :LAST-LINK (:SELF 1.61 "AHU_Rtn_Hot")) -(CONNECTION-LINE :AT ((402 283) (402 319) (402 319) (402 368)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("hc" (0.146 0.979) LIQFLOWIN) :LAST-LINK (:SELF 1.574 "AHU_Sup_Hot")) -(CONNECTION-LINE :AT ((244 311) (244 311) (293 311) (293 311)) :LINE-COLOR #S(RGB RED 224 GREEN 224 BLUE 224) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("rf" (1 0.458) FANIN) :LAST-LINK ("hx" (0 0.9) EXHOUT) :EDGE 1) -(LINK-FRAME :AT ((74 301) (170 321)) :STYLE HYPERLINK :SLOT (:SYSTEM CLIMATE AIREXHAUST) :NAME "AirExhaustRef" :LABEL "AirExhaust" :ICON CLIMATE-PIXMAP :DATA REFERENCE) -(EQUATION-FRAME :AT ((241 76)) :R (50 12) :ICON "sys:constant.ids" :SLOT (AIR-SUPPLY-STRATEGY) :TITLE "=(:$ :DICT (ICE AHU ASS-CAPTION))" :NAME AIR-SUPPLY-STRATEGY :DATA SOURCE-CONSTANT) -(EQUATION-FRAME :AT ((128 95)) :R (34 10) :ICON "sys:constant.ids" :SLOT ("SupConst") :NAME "SupConst" :DATA SOURCE-CONSTANT) -(SELF-FRAME :AT ((352 206)) :R (336 162) :SLOT (:SELF) :DATA MACRO-OBJECT) -(FRAME-BOX :VALUE (:DICT (ICE AHU AIR-SUP-SETPT)) :AT ((34 56) (314 201)) :STYLE SECTION) -(EQUATION-FRAME :AT ((124 128)) :R (24 16) :ICON "lib:schedule.ids" :SLOT ("SupSchedule") :NAME "SupSchedule") -(EQUATION-FRAME :AT ((125 165)) :R (24 15.5) :ICON "lib:PLINSEGM.ids" :SLOT ("SupSetpoint") :NAME "SupSetpoint" :DATA :EO :HELP-STRING (:DICT (ICE AHU SUPSETPOINT))) -(EQUATION-FRAME :AT ((241 153)) :R (20 20) :ICON "lib:nswitch.ids" :SLOT ("SupSwitch") :NAME "SupSwitch" :DATA :CEO) -(EQUATION-FRAME :AT ((404 72)) :R (24 16) :ICON "lib:schedule.ids" :SLOT ("Sched_Vvx") :TITLE "=(:$ :DICT (ICE AHU HE-S-CAPTION))" :NAME "Sched_Vvx" :DATA SCHEDULE :HELP-STRING (:DICT (ICE EO SCHEDULE))) -(EQUATION-FRAME :AT ((556 72)) :R (24 16) :ICON "lib:schedule.ids" :SLOT ("Sched_AHU") :TITLE "=(:$ :DICT (ICE AHU FAN-S-CAPTION))" :NAME "Sched_AHU" :DATA SCHEDULE :HELP-STRING (:DICT (ICE EO SCHEDULE))) -(EQUATION-FRAME :AT ((386 404)) :R (13.5 14) :ICON "lib:emeter.ids" :SLOT ("EmeterFans") :NAME "EmeterFans" :PADDING 3 :DATA :CEO) -(EQUATION-FRAME :AT ((352 404)) :R (13.5 14) :ICON "lib:emeter2.ids" :SLOT ("EmeterRecycle") :NAME "EmeterRecycle" :PADDING 3 :DATA :CEO) -(EQUATION-FRAME :AT ((318 285)) :R (24 32) :SLOT ("hx") :NAME "hx" :DATA :EO :HELP-STRING (:DICT (ICE AHU HX))) -(EQUATION-FRAME :AT ((419 260)) :R (24 24) :ICON "lib:HCSIMCTR.ids" :SLOT ("hc") :NAME "hc" :DATA :EO :HELP-STRING (:DICT (ICE AHU HC))) -(EQUATION-FRAME :AT ((536 260)) :R (24 24) :ICON "lib:CCSIMCTR.ids" :SLOT ("cc") :NAME "cc" :DATA :EO :HELP-STRING (:DICT (ICE AHU CC))) -(EQUATION-FRAME :AT ((632 260)) :R (24 24) :ICON "lib:CEFAN.ids" :SLOT ("sf") :NAME "sf" :DATA :EO :HELP-STRING (:DICT (ICE AHU SF))) -(EQUATION-FRAME :AT ((218 313)) :R (24 24) :ICON "lib:CEFAN.ids" :SYMMETRY (180.0) :SLOT ("rf") :NAME "rf" :DATA :EO :HELP-STRING (:DICT (ICE AHU RF))) -(FRAME-BOX :VALUE (:DICT (GENERAL RESULTS)) :AT ((404 384) (687 456)) :STYLE SECTION :LINE-COLOR #S(RGB RED 33 GREEN 33 BLUE 192)) -(LIST-FIELD :AT ((408 392) (678 448)) :SLOT (:RESULTS) :TEXT-COLOR #S(RGB RED 0 GREEN 0 BLUE 0)) +Pueden configurarse parámetros adicionales abriendo los componentes de la UMA.") :AT ((14 427) (332 499)) :STYLE NOTE :LINE-GROUND #S(RGB RED 255 GREEN 255 BLUE 233) :OUTLINED-P T :MARKUP HTML :PADDING 5) +(CONNECTION-LINE :AT ((345 354) (690 354)) :LINE-COLOR (:CALL AIRLINK-COLOR [@ 1] [@ 2]) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("hx" (1 0.906) EXHIN) :LAST-LINK (:SELF 2.176 "Air_Rtn") :EDGE 1) +(CONNECTION-LINE :AT ((346 301) (372 301) (395 301)) :LINE-COLOR (:CALL AIRLINK-COLOR [@ 1] [@ 2]) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("hx" (1 0.078) SUPOUT) :LAST-LINK ("hc" (0 0.458) AIRFLOWIN) :EDGE 1) +(CONNECTION-LINE :AT ((168 138) (183 138) (183 181) (223 181)) :LINE-STYLE :DOT :FIRST-LINK ("SupConst" (1 0.5) LINK) :LAST-LINK ("SupSwitch" (0.0 0.125) (INSIGNALLINK 1)) :DIR :RIGHT :ARROW (19 8 8)) +(CONNECTION-LINE :AT ((150 172) (168 172) (168 197) (222 197)) :LINE-STYLE :DOT :FIRST-LINK ("SupSchedule" (1.0 0.531) OUTSIGNALLINK) :LAST-LINK ("SupSwitch" (0 0.525) (INSIGNALLINK 2)) :DIR :RIGHT :ARROW (19 8 8)) +(CONNECTION-LINE :AT ((152 210) (186 210) (223 210)) :LINE-STYLE :DOT :FIRST-LINK ("SupSetpoint" (1 0.576) OUTSIGNALLINK) :LAST-LINK ("SupSwitch" (0.0 0.85) (INSIGNALLINK 3)) :DIR :RIGHT :ARROW (19 8 8)) +(CONNECTION-LINE :AT ((72 216) (72 210) (102 210)) :FIRST-LINK ("TAmbRef" (0.5 0.0) LINK) :LAST-LINK ("SupSetpoint" (0 0.576) INSIGNALLINK) :DIR :RIGHT :ARROW (19 8 8)) +(TEXT-OBJECT :VALUE (:DICT (ICE AHU STANDARD-AHU)) :TEXT-COLOR :DEFAULT :FONT (:SWISS :ARIAL 16 1) :AT ((16 12) (379 32)) :STYLE SECTION) +(EQUATION-FRAME :AT ((354 483)) :R (13.5 14) :ICON "lib:emeter.ids" :SLOT ("EmeterHeat") :NAME "EmeterHeat" :PADDING 3 :DATA :CEO :D (:DICT (ICE DESCRIPTIONS EMETER))) +(EQUATION-FRAME :AT ((388 483)) :R (13.5 14) :ICON "lib:emeter.ids" :SLOT ("EmeterCool") :NAME "EmeterCool" :PADDING 3 :DATA :CEO :D (:DICT (ICE DESCRIPTIONS EMETER))) +(LINK-FRAME :AT ((81 291) (165 311)) :STYLE HYPERLINK :SLOT (:SYSTEM CLIMATE AIRSUPPLY) :NAME "AirSupplyRef" :LABEL (:DICT (*LABELS* SUP_AIR)) :ICON CLIMATE-PIXMAP :DATA REFERENCE) +(CONNECTION-LINE :AT ((298 119) (310 119) (310 157) (243 157) (243 177)) :LINE-STYLE :DOT :FIRST-LINK (AIR-SUPPLY-STRATEGY (1 0.5) LINK) :LAST-LINK ("SupSwitch" (0.5 0.01) SELECTORLINK) :DIR :RIGHT :ARROW (19 8 8)) +(LINK-FRAME :AT ((40 216) (104 244)) :STYLE HYPERLINK :SLOT (:SYSTEM CLIMATE :VARIABLES TAIR2) :NAME "TAmbRef" :LABEL (:DICT (*LABELS* TAIR_2)) :SIDE :TOP :ICON CLIMATE-PIXMAP :DATA REFERENCE) +(CONNECTION-LINE :AT ((430 116) (483 116) (483 250) (390 250) (273 250) (273 319) (295 319)) :LINE-STYLE :DOT :FIRST-LINK ("Sched_Vvx" 2.47 OUTSIGNALLINK) :LAST-LINK ("hx" (0 0.359) CONTROL) :DIR :RIGHT :ARROW (19 8 8)) +(CONNECTION-LINE :AT ((264 196) (296 196) (296 263) (552 263) (552 279)) :LINE-STYLE :DOT :FIRST-LINK ("SupSwitch" (1 0.5) OUTSIGNALLINK) :LAST-LINK ("cc" (0.792 0.0) TEMPSETPOINT)) +(CONNECTION-LINE :AT ((264 196) (296 196) (296 263) (331 263) (435 263) (435 280)) :LINE-STYLE :DOT :FIRST-LINK ("SupSwitch" (1 0.5) OUTSIGNALLINK) :LAST-LINK ("hc" (0.792 0.025) TEMPSETPOINT)) +(CONNECTION-LINE :AT ((264 196) (296 196) (296 263) (319 263) (319 294)) :LINE-STYLE :DOT :FIRST-LINK ("SupSwitch" (1 0.5) OUTSIGNALLINK) :LAST-LINK ("hx" (0.479 0) TEMPSETPOINT)) +(CONNECTION-LINE :AT ((582 116) (677 116) (677 373) (260 373) (260 315) (203 315) (203 332)) :LINE-STYLE :DOT :FIRST-LINK ("Sched_AHU" (1.0 0.531) OUTSIGNALLINK) :LAST-LINK ("rf" (0.146 0.0) FANCONTROL) :DIR :RIGHT :ARROW (19 8 8)) +(CONNECTION-LINE :AT ((582 116) (651 116) (651 279)) :LINE-STYLE :DOT :FIRST-LINK ("Sched_AHU" (1.0 0.531) OUTSIGNALLINK) :LAST-LINK ("sf" (0.854 0.0) FANCONTROL) :DIR :RIGHT :ARROW (19 8 8)) +(CONNECTION-LINE :AT ((546 326) (546 366) (546 411)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("cc" (0.667 0.983) LIQFLOWOUT) :LAST-LINK (:SELF 1.786 "AHU_Rtn_Cold")) +(CONNECTION-LINE :AT ((521 326) (521 360) (521 411)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("cc" (0.15 0.983) LIQFLOWIN) :LAST-LINK (:SELF 1.749 "AHU_Sup_Cold")) +(CONNECTION-LINE :AT ((429 326) (429 325) (429 366) (429 411)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("hc" (0.667 0.979) LIQFLOWOUT) :LAST-LINK (:SELF 1.61 "AHU_Rtn_Hot")) +(CONNECTION-LINE :AT ((404 326) (404 362) (404 411)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("hc" (0.146 0.979) LIQFLOWIN) :LAST-LINK (:SELF 1.574 "AHU_Sup_Hot")) +(CONNECTION-LINE :AT ((246 354) (295 354)) :LINE-COLOR (:CALL AIRLINK-COLOR [@ 1] [@ 2]) :LINE-GROUND #S(RGB RED 128 GREEN 128 BLUE 128) :LINE-STYLE 2 :FIRST-LINK ("rf" (1 0.458) FANIN) :LAST-LINK ("hx" (0 0.9) EXHOUT) :EDGE 1) +(LINK-FRAME :AT ((76 344) (172 364)) :STYLE HYPERLINK :SLOT (:SYSTEM CLIMATE AIREXHAUST) :NAME "AirExhaustRef" :LABEL (:DICT (*LABELS* EXH_AIR)) :ICON CLIMATE-PIXMAP :DATA REFERENCE) +(EQUATION-FRAME :AT ((243 119)) :R (50 12) :ICON "sys:constant.ids" :SLOT (AIR-SUPPLY-STRATEGY) :TITLE "=(:$ :DICT (ICE AHU ASS-CAPTION))" :NAME AIR-SUPPLY-STRATEGY :DATA SOURCE-CONSTANT) +(EQUATION-FRAME :AT ((130 138)) :R (34 10) :ICON "sys:constant.ids" :SLOT ("SupConst") :NAME "SupConst" :DATA SOURCE-CONSTANT) +(SELF-FRAME :AT ((354 249)) :R (336 162) :SLOT (:SELF) :DATA MACRO-OBJECT) +(FRAME-BOX :VALUE (:DICT (ICE AHU AIR-SUP-SETPT)) :AT ((36 99) (316 244)) :STYLE SECTION) +(EQUATION-FRAME :AT ((126 171)) :R (24 16) :ICON "lib:schedule.ids" :SLOT ("SupSchedule") :NAME "SupSchedule") +(EQUATION-FRAME :AT ((127 208)) :R (24 15.5) :ICON "lib:PLINSEGM.ids" :SLOT ("SupSetpoint") :NAME "SupSetpoint" :DATA :EO :HELP-STRING (:DICT (ICE AHU SUPSETPOINT))) +(EQUATION-FRAME :AT ((243 196)) :R (20 20) :ICON "lib:nswitch.ids" :SLOT ("SupSwitch") :NAME "SupSwitch" :DATA :CEO) +(EQUATION-FRAME :AT ((406 115)) :R (24 16) :ICON "lib:schedule.ids" :SLOT ("Sched_Vvx") :TITLE "=(:$ :DICT (ICE AHU HE-S-CAPTION))" :NAME "Sched_Vvx" :DATA SCHEDULE :D (:DICT (ICE DESCRIPTIONS SCHEDULE))) +(EQUATION-FRAME :AT ((558 115)) :R (24 16) :ICON "lib:schedule.ids" :SLOT ("Sched_AHU") :TITLE "=(:$ :DICT (ICE AHU FAN-S-CAPTION))" :NAME "Sched_AHU" :DATA SCHEDULE :D (:DICT (ICE DESCRIPTIONS SCHEDULE))) +(EQUATION-FRAME :AT ((388 447)) :R (13.5 14) :ICON "lib:emeter.ids" :SLOT ("EmeterFans") :NAME "EmeterFans" :PADDING 3 :DATA :CEO :D (:DICT (ICE DESCRIPTIONS EMETER))) +(EQUATION-FRAME :AT ((354 447)) :R (13.5 14) :ICON "lib:emeter2.ids" :SLOT ("EmeterRecycle") :NAME "EmeterRecycle" :PADDING 3 :DATA :CEO) +(EQUATION-FRAME :AT ((320 328)) :R (24 32) :ICON "lib:hxsimctr.ids" :SLOT ("hx") :NAME "hx" :DATA :EO :HELP-STRING (:DICT (ICE AHU HX))) +(EQUATION-FRAME :AT ((421 303)) :R (24 24) :ICON "lib:HCSIMCTR.ids" :SLOT ("hc") :NAME "hc" :DATA :EO :HELP-STRING (:DICT (ICE AHU HC))) +(EQUATION-FRAME :AT ((538 303)) :R (24 24) :ICON "lib:CCSIMCTR.ids" :SLOT ("cc") :NAME "cc" :DATA :EO :HELP-STRING (:DICT (ICE AHU CC))) +(EQUATION-FRAME :AT ((634 303)) :R (24 24) :ICON "lib:CEFAN.ids" :SLOT ("sf") :NAME "sf" :DATA :EO :HELP-STRING (:DICT (ICE AHU SF))) +(EQUATION-FRAME :AT ((220 356)) :R (24 24) :ICON "lib:CEFAN.ids" :SYMMETRY (180.0) :SLOT ("rf") :NAME "rf" :DATA :EO :HELP-STRING (:DICT (ICE AHU RF))) +(FRAME-BOX :VALUE (:DICT (GENERAL RESULTS)) :AT ((406 427) (689 499)) :STYLE SECTION :LINE-COLOR #S(RGB RED 33 GREEN 33 BLUE 192)) +(LIST-FIELD :AT ((410 435) (680 491)) :SLOT (:RESULTS) :TEXT-COLOR #S(RGB RED 0 GREEN 0 BLUE 0)) diff --git a/honeybee_idaice/templates/ahu.idm b/honeybee_idaice/templates/ahu.idm index 345d24b..a436552 100644 --- a/honeybee_idaice/templates/ahu.idm +++ b/honeybee_idaice/templates/ahu.idm @@ -1,5 +1,5 @@ -;IDA 4.80002 Data UTF-8 -(DOCUMENT-HEADER :TYPE AHU :APP (ICE :VER 4.802)) +;IDA 5.00001 Data UTF-8 +(DOCUMENT-HEADER :TYPE AHU :APP (ICE :VER 5.00001)) ((SCHEDULE-DATA :N "AirSupSchedule" :T SCHEDULE-DATA :QT GENERIC) (SCHEDULE-RULE :N "default" :VALUE 16.0)) (:IREF :N "Air_Sup") @@ -10,6 +10,7 @@ (:IREF :N "AHU_Sup_Hot") (:IREF :N "Air_Ctrl" :T OUT :F 32) ((:EO :N "hx" :T HXSIMCTR) + (:PAR :N ETA :V 0.6) (:VAR :N PSUP :B (-1 SUPIN 0)) (:VAR :N MEXH :B (-2 EXHIN 1)) (:VAR :N TSUPIN :B (-1 SUPIN 2) :L AHU_TEMPERATURES :AS TAIR) @@ -69,8 +70,8 @@ (:PAR :N N_IN :V 2) (:PAR :N MULT :DIM (2)) (:VAR :N OUTPOWERW :L AHU-ENERGY :AS Q_FANS) - (:VAR :N PRICENO :B 0.0) - (:VAR :N INPOWER :DIM (2) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "sf" QSUP) (2 1 "rf" QSUP))) :L AHU-ENERGY-DETAILS :AS #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 . "sf.QSUP") (2 . "rf.QSUP"))))) + (:VAR :N INPOWER :DIM (2) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "sf" QSUP) (2 1 "rf" QSUP))) :L AHU-ENERGY-DETAILS :AS #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 . "sf.QSUP") (2 . "rf.QSUP")))) + (:VAR :N ALT_FACT :B 0.0)) ((:CEO :N "EmeterRecycle" :T EMETER2) (:PAR :N N_IN :V 1) (:PAR :N MULT :DIM (1)) @@ -93,14 +94,14 @@ (:PAR :N N_IN :V 1) (:PAR :N MULT :DIM (1)) (:VAR :N OUTPOWERW :L AHU-ENERGY :AS Q_HEAT) - (:VAR :N PRICENO :B 0.0) - (:VAR :N INPOWER :DIM (1) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "hc" QHEAT))) :L AHU-ENERGY-DETAILS :AS #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 . "hc.QHEAT"))))) + (:VAR :N INPOWER :DIM (1) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "hc" QHEAT))) :L AHU-ENERGY-DETAILS :AS #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 . "hc.QHEAT")))) + (:VAR :N ALT_FACT :B 0.0)) ((:CEO :N "EmeterCool" :T EMETER) (:PAR :N N_IN :V 1) (:PAR :N MULT :DIM (1)) (:VAR :N OUTPOWERW :L AHU-ENERGY :AS Q_COOL) - (:VAR :N PRICENO :B 0.0) - (:VAR :N INPOWER :DIM (1) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "cc" QCOOL))) :L AHU-ENERGY-DETAILS :AS #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 . "cc.QCOOL"))))) + (:VAR :N INPOWER :DIM (1) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "cc" QCOOL))) :L AHU-ENERGY-DETAILS :AS #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 . "cc.QCOOL")))) + (:VAR :N ALT_FACT :B 0.0)) (CONNECTIONS ("AirSupplyRef" ((:BUILDING CLIMATE) AIRSUPPLY)) ("AirExhaustRef" ((:BUILDING CLIMATE) AIREXHAUST)) diff --git a/honeybee_idaice/templates/building.idm b/honeybee_idaice/templates/building.idm index bacf6b8..c11e667 100644 --- a/honeybee_idaice/templates/building.idm +++ b/honeybee_idaice/templates/building.idm @@ -1,4 +1,4 @@ -((LOCATION :N "Kalmar" :T LOCATION :D "Data from ASHRAE Fundamentals 2013") +((LOCATION :N "Kalmar" :T LOCATION :D "Data from ASHRAE Fundamentals 2013") (:PAR :N COUNTRY :V "Sweden") (:PAR :N CITY :V "Kalmar") (:PAR :N LATITUDE :V 56.73) @@ -74,6 +74,125 @@ (:PAR :N HEAT-COND :V 0.22) (:PAR :N DENSITY :V 970) (:PAR :N SPECIFIC-HEAT :V 1090)) +((DB-RESOURCE :N "Purchased electricity" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V ELECTRIC) + (:PAR :N CONTRACT-RATE-FROM :V "Exported electricity")) +((DB-RESOURCE :N "Exported electricity" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V ELECTRIC) + (:RES :N RATE-SCHEDULE :V 0.05) + (:PAR :N CONTRACT-RATE-FROM :V "Purchased electricity")) +((DB-RESOURCE :N "Traded electricity" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V ELECTRIC) + (:RES :N RATE-SCHEDULE :V 0.075) + (:PAR :N CONTRACT-RATE-FROM :V "Purchased electricity")) +((DB-RESOURCE :N "Purchased fuel" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V FUEL) + (:PAR :N CONTRACT-RATE-FROM :V "Exported fuel")) +((DB-RESOURCE :N "Exported fuel" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V FUEL) + (:RES :N RATE-SCHEDULE :V 0.04) + (:PAR :N CONTRACT-RATE-FROM :V "Purchased fuel")) +((DB-RESOURCE :N "Traded fuel" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V FUEL) + (:RES :N RATE-SCHEDULE :V 0.06) + (:PAR :N CONTRACT-RATE-FROM :V "Purchased fuel")) +((DB-RESOURCE :N "Purchased district heat" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V DISTRICT-HEAT) + (:PAR :N CONTRACT-RATE-FROM :V "Exported district heat")) +((DB-RESOURCE :N "Exported district heat" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V DISTRICT-HEAT) + (:RES :N RATE-SCHEDULE :V 0.035) + (:PAR :N CONTRACT-RATE-FROM :V "Purchased district heat")) +((DB-RESOURCE :N "Traded district heat" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V DISTRICT-HEAT) + (:RES :N RATE-SCHEDULE :V 0.05) + (:PAR :N CONTRACT-RATE-FROM :V "Purchased district heat")) +((DB-RESOURCE :N "Purchased district cooling" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V DISTRICT-COLD) + (:PAR :N CONTRACT-RATE-FROM :V "Exported district cooling")) +((DB-RESOURCE :N "Exported district cooling" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V DISTRICT-COLD) + (:RES :N RATE-SCHEDULE :V 0.035) + (:PAR :N CONTRACT-RATE-FROM :V "Purchased district cooling")) +((DB-RESOURCE :N "Traded district cooling" :T CONTRACT-RATE-PLAN) + (:PAR :N CARRIER :V DISTRICT-COLD) + (:RES :N RATE-SCHEDULE :V 0.05) + (:PAR :N CONTRACT-RATE-FROM :V "Purchased district cooling")) +((DB-RESOURCE :N "Environment Factors (default)" :T ENVIRONMENT-FACTORS) + (:RES :N PROD-FACTORS :DIM (3) :V #(NIL NIL NIL))) +((DB-RESOURCE :N "Gaseous fossil fuel (ISO 52000-1)" :T ENVIRONMENT-FACTORS) + (:RES :N PROD-FACTORS :DIM (3) :V #(1.1 1.1 220))) +((DB-RESOURCE :N "Grid electricity (ISO 52000-1)" :T ENVIRONMENT-FACTORS) + (:RES :N PROD-FACTORS :DIM (3) :V #(2.5 2.3 420))) +((DB-RESOURCE :N "District heating based on natural gas boiler (ISO 52000-1)" :T ENVIRONMENT-FACTORS) + (:RES :N PROD-FACTORS :DIM (3) :V #(1.3 1.3 260))) +((DB-RESOURCE :N "District cooling (ISO 52000-1)" :T ENVIRONMENT-FACTORS) + (:RES :N PROD-FACTORS :DIM (3) :V #(1.3 1.3 260))) +((DB-RESOURCE :N "Electricity from PV (ISO 52000-1)" :T ENVIRONMENT-FACTORS) + (:RES :N PROD-FACTORS :DIM (3) :V #(1.0 0.0 0))) +((DB-RESOURCE :N "Electricity from wind (ISO 52000-1)" :T ENVIRONMENT-FACTORS) + (:RES :N PROD-FACTORS :DIM (3) :V #(1.0 0.0 0))) +((DB-RESOURCE :N "Environment heat (ISO 52000-1)" :T ENVIRONMENT-FACTORS) + (:RES :N PROD-FACTORS :DIM (3) :V #(1.0 0.0 0))) +((DB-RESOURCE :N "Environment cooling (ISO 52000-1)" :T ENVIRONMENT-FACTORS) + (:RES :N PROD-FACTORS :DIM (3) :V #(1.0 0.0 0))) +((DB-RESOURCE :N "Generic_Inverter" :T PV_M\i\c\r\oI\n\v :D " " :MF " ") + (:PAR :N |Pacr| :V 300) + (:PAR :N |Pdcr| :V 320) + (:PAR :N |n_mppt| :V 1) + (:PAR :N |Vdcmin| :V 16) + (:PAR :N |Vdcmax| :V 60) + (:PAR :N |VdcMPPmin| :V 29) + (:PAR :N |VdcMPPmax| :V 48) + (:PAR :N |ImaxIn| :V 11.5) + (:PAR :N |Impptmax| :V 10.8) + (:PAR :N |P_s0| :V 1) + (:PAR :N |Pnight| :V 5.0E-4) + (:PAR :N |nVltgDim| :V 3) + (:PAR :N |VltgVect| :DIM (3) :V #(29 37 48)) + (:PAR :N |nPLRDim| :V 8) + (:PAR :N PLRV\e\c\t :DIM (8) :V #(1 15 30 60 90 150 225 300)) + (:PAR :N |etaPRL| :DIM (3 8) :V #2A((0 94.69 95.83 96.37 96.65 96.84 96.62 96.08) (0 94.47 95.67 96.25 96.57 96.8 96.62 96.2) (0 94.83 95.63 96.27 96.41 96.67 96.69 96.44))) + (:PAR :N |InvArea| :V 0.24) + (:PAR :N |HTcoef_Nat| :V 10) + (:PAR :N |InvCp| :V 2000) + (:PAR :N |InvMass| :V 1.98) + (:PAR :N |eta_max| :V 0.967) + (:PAR :N |eta_EURO| :V 0.964) + (:PAR :N |eta_CEC| :V 0.965)) +((DB-RESOURCE :N "Si-mono" :T PV_C\e\l\lT\e\c\h :D "Monocrystalline Silicon") + (:PAR :N |R_sh_exp| :V 5.5) + (:PAR :N |T_cRef| :V 298.15) + (:PAR :N |GTref| :V 1000) + (:PAR :N |Egap| :V 1.12)) +((DB-RESOURCE :N "Generic_Panel_AC" :T PV_PANEL_AC :MF " " :S "N/A") + (:RES :N MODEL :V "Generic_Panel") + (:RES :N INVERTER :V "Generic_Inverter")) +((DB-RESOURCE :N "Generic_Panel" :T PV_AC_PANEL :D " " :MF " " :S "N/A") + (:PAR :N |VdcMaxModule| :V 1000) + (:RES :N |CellTech| :V "Si-mono") + (:PAR :N |HWDsizes| :V #(1.64 0.992 0.04)) + (:PAR :N |massModule| :V 18.5) + (:PAR :N |I_sc_ref| :V 10.04) + (:PAR :N |V_oc_ref| :V 40.1) + (:PAR :N |I_mp_ref| :V 9.51) + (:PAR :N |V_mp_ref| :V 32.6) + (:PAR :N |alpha_sc| :V 0.006) + (:PAR :N |beta_oc| :V -0.136) + (:PAR :N |subModRows| :V 1) + (:PAR :N |subModCols| :V 3) + (:PAR :N |subMCellRows| :V 10) + (:PAR :N |subMCellCols| :V 2) + (:PAR :N |a_ref| :V 1.56) + (:PAR :N |I_l_ref| :V 10.05) + (:PAR :N |I_o_ref| :V 0.07) + (:PAR :N |R_s_ref| :V 0.27) + (:PAR :N |R_sh_ref| :V 300) + (:PAR :N |nPsubM_inRow| :V 1) + (:PAR :N |nPsubM_inCol| :V 1) + (:PAR :N |Transparency| :V #(0 0)) + (:PAR :N HW_L\i\g\h\tE\x\p :V #(1.64 0.992)) + (:PAR :N |HW_cell| :V #(0.156 0.156))) ((MATERIAL :N "Air in 30 mm vert. air gap" :T MATERIAL :D "Air in vertical gap, 30 mm, non-metallic surfaces, Tmean=10 Deg-C, Tdiff= 5.6 Deg-C, source: ASHRAE HF") (:PAR :N HEAT-COND :V 0.17) (:PAR :N DENSITY :V 1.2) @@ -98,13 +217,23 @@ ((WALL-LAYER :N "layer-5" :T WALL-LAYER :D NIL :INDEX 4) (:RES :N MATERIAL :V "Gypsum") (:PAR :N THICKNESS :V 0.026))) -((WALLDEF :N "Concrete floor 250mm" :T WALLDEF :D "Coating, concrete 250" :X EXTERNAL-SLAB) +((WALLDEF :N "Concrete floor 250mm" :T WALLDEF :X GROUND-SLAB) ((WALL-LAYER :N "layer-1" :T WALL-LAYER :D NIL :INDEX 0) (:RES :N MATERIAL :V "Floor coating") (:PAR :N THICKNESS :V 0.005)) ((WALL-LAYER :N "layer-2" :T WALL-LAYER :D NIL :INDEX 1) (:RES :N MATERIAL :V "Concrete") (:PAR :N THICKNESS :V 0.25))) +((WALLDEF :N "Concrete floor 250 with ground insulation" :T WALLDEF :X GROUND-SLAB) + ((WALL-LAYER :N "layer-1" :T WALL-LAYER :D NIL :INDEX 0) + (:RES :N MATERIAL :V "Floor coating") + (:PAR :N THICKNESS :V 0.005)) + ((WALL-LAYER :N "layer-2" :T WALL-LAYER :D NIL :INDEX 1) + (:RES :N MATERIAL :V "Concrete") + (:PAR :N THICKNESS :V 0.25)) + ((WALL-LAYER :N "isolation" :T WALL-LAYER :INDEX 2) + (:RES :N MATERIAL :V STD-GROUND-INSULATION) + (:PAR :N THICKNESS :V 0.1))) ((WALLDEF :N "Concrete joist roof" :T WALLDEF :D "Insulation 200, Concrete 150" :X ROOF) ((WALL-LAYER :N "layer-1" :T WALL-LAYER :INDEX 0) (:RES :N MATERIAL :V "Light insulation") @@ -112,13 +241,16 @@ ((WALL-LAYER :N "layer-2" :T WALL-LAYER :D "layer-2" :INDEX 1) (:RES :N MATERIAL :V "Concrete") (:PAR :N THICKNESS :V 0.15))) -((WALLDEF :N "Rendered concrete wall 200" :T WALLDEF :D "Render, concrete 200" :X EXTERNAL-WALL) +((WALLDEF :N "Rendered concrete wall 200 with ground insulation" :T WALLDEF :X GROUND-WALL) ((WALL-LAYER :N "layer-1" :T WALL-LAYER :D NIL :INDEX 0) (:RES :N MATERIAL :V "Render") (:PAR :N THICKNESS :V 0.01)) ((WALL-LAYER :N "layer-2" :T WALL-LAYER :D NIL :INDEX 1) (:RES :N MATERIAL :V "Concrete") - (:PAR :N THICKNESS :V 0.2))) + (:PAR :N THICKNESS :V 0.2)) + ((WALL-LAYER :N "isolation" :T WALL-LAYER :INDEX 2) + (:RES :N MATERIAL :V STD-GROUND-INSULATION) + (:PAR :N THICKNESS :V 0.1))) ((WALLDEF :N "Entrance door" :T WALLDEF :X DOOR) ((WALL-LAYER :N "layer" :T WALL-LAYER :INDEX 0) (:RES :N MATERIAL :V "Wood") @@ -149,10 +281,6 @@ ((WALL-LAYER :N "layer" :T WALL-LAYER :D "layer" :INDEX 0) (:RES :N MATERIAL :V "Wood") (:PAR :N THICKNESS :V 0.04))) -((WALLDEF :N "Ground without insulation" :T WALLDEF :X GROUND) - ((WALL-LAYER :N "ground" :T WALL-LAYER :INDEX 1) - (:RES :N MATERIAL :V STD-SOIL) - (:PAR :N THICKNESS :V 1.0))) ((GLASS_CONSTRUCTION :N "3 pane glazing, clear, 4-12-4-12-4" :T GLASS_CONSTRUCTION) (:PAR :N G :V 0.68) (:PAR :N T :V 0.6) @@ -177,9 +305,9 @@ (:PAR :N TAU :V 0.83) (:PAR :N RHO_F :V 0.08) (:PAR :N RHO_B :V 0.08) - (:PAR :N TAU_V :V 0.89) - (:PAR :N RHO_VF :V 0.07) - (:PAR :N RHO_VB :V 0.07) + (:PAR :N TAU_V :V 0.9) + (:PAR :N RHO_VF :V 0.08) + (:PAR :N RHO_VB :V 0.08) (:PAR :N DIS_TAU :V 0.0) (:PAR :N DIS_RHO_F :V 0.0) (:PAR :N DIS_RHO_B :V 0.0) @@ -192,15 +320,45 @@ (:PAR :N TAU :V 0.58) (:PAR :N RHO_F :V 0.3) (:PAR :N RHO_B :V 0.24) - (:PAR :N TAU_V :V 0.8) - (:PAR :N RHO_VF :V 0.07) - (:PAR :N RHO_VB :V 0.07) + (:PAR :N TAU_V :V 0.82) + (:PAR :N RHO_VF :V 0.08) + (:PAR :N RHO_VB :V 0.04) (:PAR :N DIS_TAU :V 0.0) (:PAR :N DIS_RHO_F :V 0.0) (:PAR :N DIS_RHO_B :V 0.0) (:PAR :N TAU_LW :V 0.0) (:PAR :N EPS_F :V 0.05) (:PAR :N EPS_B :V 0.84)) +((DB-RESOURCE :N "E1_glass-EN14501" :T GLASS-PANE) + (:PAR :N THICKNESS :V 4) + (:PAR :N LAMBDA :V 1.0) + (:PAR :N TAU :V 0.75) + (:PAR :N RHO_F :V 0.12) + (:PAR :N RHO_B :V 0.14) + (:PAR :N TAU_V :V 0.89) + (:PAR :N RHO_VF :V 0.07) + (:PAR :N RHO_VB :V 0.06) + (:PAR :N DIS_TAU :V 0.0) + (:PAR :N DIS_RHO_F :V 0.0) + (:PAR :N DIS_RHO_B :V 0.0) + (:PAR :N TAU_LW :V 0.0) + (:PAR :N EPS_F :V 0.84) + (:PAR :N EPS_B :V 0.08)) +((DB-RESOURCE :N "E2_glass-EN14501" :T GLASS-PANE) + (:PAR :N THICKNESS :V 4) + (:PAR :N LAMBDA :V 1.0) + (:PAR :N TAU :V 0.9) + (:PAR :N RHO_F :V 0.08) + (:PAR :N RHO_B :V 0.08) + (:PAR :N TAU_V :V 0.9) + (:PAR :N RHO_VF :V 0.08) + (:PAR :N RHO_VB :V 0.08) + (:PAR :N DIS_TAU :V 0.0) + (:PAR :N DIS_RHO_F :V 0.0) + (:PAR :N DIS_RHO_B :V 0.0) + (:PAR :N TAU_LW :V 0.0) + (:PAR :N EPS_F :V 0.84) + (:PAR :N EPS_B :V 0.84)) ((DB-RESOURCE :N "Argon - EN673 (WIN7)" :T GAS) (:PAR :N MOLAR-MASS :V 39.948) (:PAR :N A-LAMBDA :V 0.002668) @@ -209,6 +367,14 @@ (:PAR :N B-MU :V 6.339E-8) (:PAR :N A-CP :V 519.0) (:PAR :N B-CP :V 0.0)) +((DB-RESOURCE :N "Air (10%) / Argon (90%) Mix (WIN7)" :T GAS) + (:PAR :N MOLAR-MASS :V 38.8502) + (:PAR :N A-LAMBDA :V 0.002332) + (:PAR :N B-LAMBDA :V 5.3926E-5) + (:PAR :N A-MU :V 3.8E-6) + (:PAR :N B-MU :V 6.3097E-8) + (:PAR :N A-CP :V 557.782) + (:PAR :N B-CP :V 9.1898E-4)) ((DB-RESOURCE :N "Air - EN673 (WIN7)" :T GAS) (:PAR :N MOLAR-MASS :V 28.97) (:PAR :N A-LAMBDA :V 0.002284) @@ -223,9 +389,9 @@ (:PAR :N TAU :V 0.32) (:PAR :N RHO_F :V 0.28) (:PAR :N RHO_B :V 0.42) - (:PAR :N TAU_V :V 0.7) - (:PAR :N RHO_VF :V 0.07) - (:PAR :N RHO_VB :V 0.07) + (:PAR :N TAU_V :V 0.47) + (:PAR :N RHO_VF :V 0.41) + (:PAR :N RHO_VB :V 0.35) (:PAR :N DIS_TAU :V 0.0) (:PAR :N DIS_RHO_F :V 0.0) (:PAR :N DIS_RHO_B :V 0.0) @@ -255,26 +421,44 @@ (:PAR :N G :V 0.59) (:PAR :N T :V 0.493) (:PAR :N T_V :V 0.716) - (:PAR :N U :V 1.238) + (:PAR :N U :V 1.262) ((WALL-LAYER :N "pane-1" :T PANE-LAYER :D NIL :INDEX 1) (:RES :N PANE :V "Clear_glass-EN14501")) ((WALL-LAYER :N "cavity" :T CAVITY-LAYER :D NIL :INDEX 2) - (:RES :N MATERIAL :V "Argon - EN673 (WIN7)") + (:RES :N MATERIAL :V "Air (10%) / Argon (90%) Mix (WIN7)") (:PAR :N THICKNESS :V 16)) ((WALL-LAYER :N "pane-2" :T PANE-LAYER :D NIL :INDEX 3) (:RES :N PANE :V "Energy_glass-EN14501"))) ((DB-RESOURCE :N "Glazing-D_EN14501" :T WINDEF) - (:PAR :N G :V 0.335) + (:PAR :N G :V 0.336) (:PAR :N T :V 0.275) (:PAR :N T_V :V 0.626) - (:PAR :N U :V 1.209) + (:PAR :N U :V 1.233) ((WALL-LAYER :N "pane-1" :T PANE-LAYER :D NIL :INDEX 1) (:RES :N PANE :V "Solar_glass-EN14501")) ((WALL-LAYER :N "cavity" :T CAVITY-LAYER :D NIL :INDEX 2) - (:RES :N MATERIAL :V "Argon - EN673 (WIN7)") + (:RES :N MATERIAL :V "Air (10%) / Argon (90%) Mix (WIN7)") (:PAR :N THICKNESS :V 16)) ((WALL-LAYER :N "pane-2" :T PANE-LAYER :D NIL :INDEX 3) (:RES :N PANE :V "Clear_glass-EN14501"))) +((DB-RESOURCE :N "Glazing-E_EN14501" :T WINDEF) + (:PAR :N G :V 0.613) + (:PAR :N T :V 0.526) + (:PAR :N T_V :V 0.722) + (:PAR :N U :V 0.737) + ((WALL-LAYER :N "pane-1" :T PANE-LAYER :D NIL :INDEX 1) + (:RES :N PANE :V "E1_glass-EN14501")) + ((WALL-LAYER :N "cavity-1" :T CAVITY-LAYER :D NIL :INDEX 2) + (:RES :N MATERIAL :V "Air (10%) / Argon (90%) Mix (WIN7)") + (:PAR :N THICKNESS :V 14)) + ((WALL-LAYER :N "pane-2" :T PANE-LAYER :D NIL :INDEX 3) + (:RES :N PANE :V "E2_glass-EN14501")) + ((WALL-LAYER :N "cavity-2" :T CAVITY-LAYER :D NIL :INDEX 4) + (:RES :N MATERIAL :V "Air (10%) / Argon (90%) Mix (WIN7)") + (:PAR :N THICKNESS :V 14)) + ((WALL-LAYER :N "pane-3" :T PANE-LAYER :D NIL :INDEX 5) + (:RES :N PANE :V "E1_glass-EN14501") + (:PAR :N FLIP :V :TRUE))) ((DB-RESOURCE :N "Single Clear (WIN7)" :T WINDEF) (:PAR :N G :V 0.868) (:PAR :N T :V 0.834) @@ -406,53 +590,236 @@ (:PAR :N CAV_VENT_AIR :V 2.0) (:PAR :N CAV_VENT_SUP :V 2.0)) (:TRES :N WINDOWS :V WINDOW)) +(:PAR :N UID :V "811318b8-99e3-4b5b-ab3a-279ea692e030") (:RES :N LOCATION :V "Kalmar") (:RES :N CLIMATE-DEF :V :DEFAULT) ((ENERGY-METER :N "Lighting, facility" :T EL-METER) + (:PAR :N TRADER :V "Facility") (:PAR :N COLOR :V #S(RGB RED 240 GREEN 240 BLUE 0))) ((ENERGY-METER :N "Lighting, tenant" :T EL-METER) - (:PAR :N METER-ROLE :V TENANT) + (:PAR :N TRADER :V "Tenant") + (:PAR :N METER-ROLE :V USED) (:PAR :N COLOR :V #S(RGB RED 160 GREEN 160 BLUE 0))) ((ENERGY-METER :N "Equipment, facility" :T EL-METER) + (:PAR :N TRADER :V "Facility") (:PAR :N COLOR :V #S(RGB RED 0 GREEN 192 BLUE 0))) ((ENERGY-METER :N "Equipment, tenant" :T EL-METER) - (:PAR :N METER-ROLE :V TENANT) + (:PAR :N TRADER :V "Tenant") + (:PAR :N METER-ROLE :V USED) (:PAR :N COLOR :V #S(RGB RED 0 GREEN 160 BLUE 0))) ((ENERGY-METER :N "Electric cooling" :T EL-METER) + (:PAR :N TRADER :V "Facility") (:PAR :N COLOR :V #S(RGB RED 9 GREEN 217 BLUE 227))) ((ENERGY-METER :N "Fuel cooling" :T FUEL-METER) + (:PAR :N TRADER :V "Facility") (:PAR :N COLOR :V #S(RGB RED 129 GREEN 157 BLUE 254))) -((ENERGY-METER :N "District cooling" :T DISTRICT-METER) +((ENERGY-METER :N "District cooling" :T DISTRICT-COLD-METER) + (:PAR :N TRADER :V "Facility") (:PAR :N COLOR :V #S(RGB RED 0 GREEN 176 BLUE 240))) ((ENERGY-METER :N "HVAC aux" :T EL-METER) + (:PAR :N TRADER :V "Facility") (:PAR :N COLOR :V #S(RGB RED 0 GREEN 240 BLUE 240))) ((ENERGY-METER :N "Electric heating" :T EL-METER) + (:PAR :N TRADER :V "Facility") (:PAR :N COLOR :V #S(RGB RED 245 GREEN 134 BLUE 10))) ((ENERGY-METER :N "Fuel heating" :T FUEL-METER) + (:PAR :N TRADER :V "Facility") (:PAR :N COLOR :V #S(RGB RED 251 GREEN 4 BLUE 79))) -((ENERGY-METER :N "District heating" :T DISTRICT-METER) +((ENERGY-METER :N "District heating" :T DISTRICT-HEAT-METER) + (:PAR :N TRADER :V "Facility") (:PAR :N COLOR :V #S(RGB RED 255 GREEN 0 BLUE 0))) ((ENERGY-METER :N "Heating, tenant" :T EL-METER) - (:PAR :N METER-ROLE :V TENANT) + (:PAR :N TRADER :V "Tenant") + (:PAR :N METER-ROLE :V USED) (:PAR :N COLOR :V #S(RGB RED 255 GREEN 0 BLUE 0))) -((ENERGY-METER :N "Domestic hot water" :T FUEL-METER) +((ENERGY-METER :N "Electric DHW heating" :T EL-METER) + (:PAR :N TRADER :V "Facility") (:PAR :N COLOR :V #S(RGB RED 240 GREEN 0 BLUE 240))) -((ENERGY-METER :N "PV production" :T EL-METER) +((ENERGY-METER :N "Fuel DHW heating" :T FUEL-METER) + (:PAR :N TRADER :V "Facility") + (:PAR :N COLOR :V #S(RGB RED 180 GREEN 0 BLUE 240))) +((ENERGY-METER :N "District DHW heating" :T DISTRICT-HEAT-METER) + (:PAR :N TRADER :V "Facility") + (:PAR :N COLOR :V #S(RGB RED 240 GREEN 0 BLUE 180))) +((ENERGY-METER :N "Produced by PV" :T EL-METER) + (:RES :N PROD-FACTORS :F 0 :V "Electricity from PV (ISO 52000-1)") + (:PAR :N TRADER :V "Facility") (:PAR :N METER-ROLE :V PRODUCED) - (:PAR :N COLOR :V #S(RGB RED 255 GREEN 155 BLUE 100))) -((ENERGY-METER :N "Wind turbine production" :T EL-METER) + (:PAR :N COLOR :V #S(RGB RED 255 GREEN 200 BLUE 100))) +((ENERGY-METER :N "Produced by wind turbines" :T EL-METER) + (:RES :N PROD-FACTORS :F 0 :V "Electricity from wind (ISO 52000-1)") + (:PAR :N TRADER :V "Facility") (:PAR :N METER-ROLE :V PRODUCED) (:PAR :N COLOR :V #S(RGB RED 100 GREEN 180 BLUE 255))) ((ENERGY-METER :N "CHP electricity" :T EL-METER) - (:PAR :N METER-ROLE :V PRODUCED) + (:PAR :N TRADER :V "Facility") + (:PAR :N METER-ROLE :V GENERATED) (:PAR :N COLOR :V #S(RGB RED 0 GREEN 255 BLUE 125))) +((ENERGY-METER :N "Electric battery" :T EL-METER) + (:PAR :N TRADER :V "Facility") + (:PAR :N METER-ROLE :V STORAGE) + (:PAR :N COLOR :V #S(RGB RED 220 GREEN 220 BLUE 220))) +((ENERGY-METER :N "Used for generation" :T EL-METER) + (:PAR :N TRADER :V "Facility") + (:PAR :N METER-ROLE :V USED-FOR-GENERATION) + (:PAR :N COLOR :V #S(RGB RED 240 GREEN 240 BLUE 240))) +((ENERGY-METER :N "Used for generation fuel" :T FUEL-METER) + (:PAR :N TRADER :V "Facility") + (:PAR :N METER-ROLE :V USED-FOR-GENERATION) + (:PAR :N COLOR :V #S(RGB RED 210 GREEN 210 BLUE 210))) +((ENERGY-METER :N "Used for generation district" :T DISTRICT-HEAT-METER) + (:PAR :N TRADER :V "Facility") + (:PAR :N METER-ROLE :V USED-FOR-GENERATION) + (:PAR :N COLOR :V #S(RGB RED 200 GREEN 200 BLUE 200))) +((ENERGY-METER :N "Electricity delivered from utility" :T EL-METER) + (:RES :N PROD-FACTORS :F 0 :V "Grid electricity (ISO 52000-1)") + (:PAR :N TRADER :V "Utility") + (:PAR :N METER-ROLE :V UTILITY-DELIVERED) + (:PAR :N COLOR :V #S(RGB RED 46 GREEN 196 BLUE 35))) +((ENERGY-METER :N "Electricity exported to utility" :T EL-METER) + (:RES :N PROD-FACTORS :F 64) + (:PAR :N CALC-FACTS :F 0 :V "Electricity delivered from utility") + (:PAR :N TRADER :V "Utility") + (:PAR :N METER-ROLE :V UTILITY-EXPORT) + (:PAR :N COLOR :V #S(RGB RED 5 GREEN 32 BLUE 119))) +((ENERGY-METER :N "Fuel delivered from utility" :T FUEL-METER) + (:RES :N PROD-FACTORS :F 0 :V "Gaseous fossil fuel (ISO 52000-1)") + (:PAR :N TRADER :V "Utility") + (:PAR :N METER-ROLE :V UTILITY-DELIVERED) + (:PAR :N COLOR :V #S(RGB RED 28 GREEN 119 BLUE 146))) +((ENERGY-METER :N "Fuel exported to utility" :T FUEL-METER) + (:RES :N PROD-FACTORS :F 64) + (:PAR :N CALC-FACTS :F 0 :V "Fuel delivered from utility") + (:PAR :N TRADER :V "Utility") + (:PAR :N METER-ROLE :V UTILITY-EXPORT) + (:PAR :N COLOR :V #S(RGB RED 147 GREEN 191 BLUE 28))) +((ENERGY-METER :N "District heat delivered from utility" :T DISTRICT-HEAT-METER) + (:RES :N PROD-FACTORS :F 0 :V "District heating based on natural gas boiler (ISO 52000-1)") + (:PAR :N TRADER :V "Utility") + (:PAR :N METER-ROLE :V UTILITY-DELIVERED) + (:PAR :N COLOR :V #S(RGB RED 198 GREEN 94 BLUE 49))) +((ENERGY-METER :N "District heat exported to utility" :T DISTRICT-HEAT-METER) + (:RES :N PROD-FACTORS :F 64) + (:PAR :N CALC-FACTS :F 0 :V "District heat delivered from utility") + (:PAR :N TRADER :V "Utility") + (:PAR :N METER-ROLE :V UTILITY-EXPORT) + (:PAR :N COLOR :V #S(RGB RED 249 GREEN 202 BLUE 73))) +((ENERGY-METER :N "District cooling delivered from utility" :T DISTRICT-COLD-METER) + (:RES :N PROD-FACTORS :F 0 :V "District cooling (ISO 52000-1)") + (:PAR :N TRADER :V "Utility") + (:PAR :N METER-ROLE :V UTILITY-DELIVERED) + (:PAR :N COLOR :V #S(RGB RED 26 GREEN 86 BLUE 164))) +((ENERGY-METER :N "District cooling exported to utility" :T DISTRICT-COLD-METER) + (:RES :N PROD-FACTORS :F 64) + (:PAR :N CALC-FACTS :F 0 :V "District cooling delivered from utility") + (:PAR :N TRADER :V "Utility") + (:PAR :N METER-ROLE :V UTILITY-EXPORT) + (:PAR :N COLOR :V #S(RGB RED 33 GREEN 216 BLUE 236))) +((ENERGY-METER :N "Heat from environment" :T UNTRADEABLE-HEAT-METER) + (:RES :N PROD-FACTORS :F 0 :V "Environment heat (ISO 52000-1)") + (:PAR :N TRADER :V "Facility") + (:PAR :N METER-ROLE :V ENVIRONMENT) + (:PAR :N COLOR :V #S(RGB RED 33 GREEN 206 BLUE 210))) +((ENERGY-METER :N "Cooling from environment" :T UNTRADEABLE-COLD-METER) + (:RES :N PROD-FACTORS :F 0 :V "Environment cooling (ISO 52000-1)") + (:PAR :N TRADER :V "Facility") + (:PAR :N METER-ROLE :V ENVIRONMENT) + (:PAR :N COLOR :V #S(RGB RED 33 GREEN 186 BLUE 200))) +((SITE-OBJECT :N SITE) + (:PAR :N SITE-AREA :V #(-100.0 -80.0 150.0 100.0))) ((SIMULATION_DATA :N SIMULATION_DATA) ((SIMULATION_PHASE :N STARTUP-PHASE) - (:PAR :N FROM-TIME :V 3848774400) - (:PAR :N TO-TIME :V 3849984000)) + (:PAR :N FROM-TIME :V 3911846400) + (:PAR :N TO-TIME :V 3913056000)) ((SIMULATION_PHASE :N CALCULATION-PHASE) - (:PAR :N FROM-TIME :V 3849984000) - (:PAR :N TO-TIME :V 3881520000))) + (:PAR :N FROM-TIME :V 3913056000) + (:PAR :N TO-TIME :V 3944678400))) +((ENERGY-INFO :N ENERGY-INFO) + ((AGGREGATE :N "Purchased by facility (el)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V ELECTRIC) + (:PAR :N FROM :V "Utility") + (:PAR :N TO :V "Facility") + (:PAR :N COLOR :V #S(RGB RED 0 GREEN 255 BLUE 0))) + ((AGGREGATE :N "Exported by facility (el)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V ELECTRIC) + (:PAR :N FROM :V "Facility") + (:PAR :N TO :V "Utility") + (:PAR :N COLOR :V #S(RGB RED 0 GREEN 128 BLUE 64))) + ((AGGREGATE :N "Purchased by facility (fuel)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V FUEL) + (:PAR :N FROM :V "Utility") + (:PAR :N TO :V "Facility") + (:PAR :N COLOR :V #S(RGB RED 255 GREEN 128 BLUE 0))) + ((AGGREGATE :N "Exported by facility (fuel)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V FUEL) + (:PAR :N FROM :V "Facility") + (:PAR :N TO :V "Utility") + (:PAR :N COLOR :V #S(RGB RED 128 GREEN 64 BLUE 0))) + ((AGGREGATE :N "Purchased by facility (dc)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V DISTRICT-COLD) + (:PAR :N FROM :V "Utility") + (:PAR :N TO :V "Facility") + (:PAR :N COLOR :V #S(RGB RED 0 GREEN 255 BLUE 255))) + ((AGGREGATE :N "Exported by facility (dc)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V DISTRICT-COLD) + (:PAR :N FROM :V "Facility") + (:PAR :N TO :V "Utility") + (:PAR :N COLOR :V #S(RGB RED 0 GREEN 64 BLUE 128))) + ((AGGREGATE :N "Purchased by facility (dh)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V DISTRICT-HEAT) + (:PAR :N FROM :V "Utility") + (:PAR :N TO :V "Facility") + (:PAR :N COLOR :V #S(RGB RED 255 GREEN 0 BLUE 0))) + ((AGGREGATE :N "Exported by facility (dh)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V DISTRICT-HEAT) + (:PAR :N FROM :V "Facility") + (:PAR :N TO :V "Utility") + (:PAR :N COLOR :V #S(RGB RED 128 GREEN 0 BLUE 0))) + ((AGGREGATE :N "Purchased by tenant (el)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V ELECTRIC) + (:PAR :N FROM :V "Utility") + (:PAR :N TO :V "Tenant") + (:PAR :N COLOR :V #S(RGB RED 66 GREEN 189 BLUE 115))) + ((AGGREGATE :N "Exported by tenant (el)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V ELECTRIC) + (:PAR :N FROM :V "Tenant") + (:PAR :N TO :V "Utility") + (:PAR :N COLOR :V #S(RGB RED 14 GREEN 114 BLUE 99))) + ((AGGREGATE :N "Purchased by tenant (fuel)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V FUEL) + (:PAR :N FROM :V "Utility") + (:PAR :N TO :V "Tenant") + (:PAR :N COLOR :V #S(RGB RED 223 GREEN 166 BLUE 32))) + ((AGGREGATE :N "Exported by tenant (fuel)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V FUEL) + (:PAR :N FROM :V "Tenant") + (:PAR :N TO :V "Utility") + (:PAR :N COLOR :V #S(RGB RED 114 GREEN 99 BLUE 14))) + ((AGGREGATE :N "Purchased by tenant (dc)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V DISTRICT-COLD) + (:PAR :N FROM :V "Utility") + (:PAR :N TO :V "Tenant") + (:PAR :N COLOR :V #S(RGB RED 17 GREEN 227 BLUE 238))) + ((AGGREGATE :N "Exported by tenant (dc)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V DISTRICT-COLD) + (:PAR :N FROM :V "Tenant") + (:PAR :N TO :V "Utility") + (:PAR :N COLOR :V #S(RGB RED 7 GREEN 16 BLUE 120))) + ((AGGREGATE :N "Purchased by tenant (dh)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V DISTRICT-HEAT) + (:PAR :N FROM :V "Utility") + (:PAR :N TO :V "Tenant") + (:PAR :N COLOR :V #S(RGB RED 232 GREEN 86 BLUE 23))) + ((AGGREGATE :N "Exported by tenant (dh)" :T ENERGY-CONTRACT) + (:PAR :N CARRIER :V DISTRICT-HEAT) + (:PAR :N FROM :V "Tenant") + (:PAR :N TO :V "Utility") + (:PAR :N COLOR :V #S(RGB RED 174 GREEN 0 BLUE 0))) + (AGGREGATE :N "Facility" :T TRADER) + ((AGGREGATE :N "Tenant" :T TRADER) + (:PAR :N TRADER-TYPE :V OUTSIDE)) + ((AGGREGATE :N "Utility" :T TRADER) + (:PAR :N TRADER-TYPE :V UTILITY))) ((AGGREGATE :N DEFAULTS) (:RES :N ZONES :V STD-ZONE) (:ORES :N EXTERNAL_WALLS :V "Rendered l/w concrete wall 250") @@ -460,23 +827,40 @@ (:ORES :N ROOF :V "Concrete joist roof") (:ORES :N EXTERNAL_FLOORS :V "Concrete floor 250mm") (:ORES :N INTERNAL_FLOORS :V "Concrete floor 150mm") - (:ORES :N GROUND_WALLS :V "Rendered concrete wall 200") - (:ORES :N GROUND_FLOORS :V "Concrete floor 250mm") + (:ORES :N GROUND_WALLS :V "Rendered concrete wall 200 with ground insulation") + (:ORES :N GROUND_FLOORS :V "Concrete floor 250 with ground insulation") (:ORES :N GLAZING :V "3 pane glazing, clear, 4-12-4-12-4") + ((AGGREGATE :N RATE-PLANS) + (:PAR :N DISTRICT-HEAT-PURCHASED-RATE-PLAN :V "Purchased district heat") + (:PAR :N DISTRICT-HEAT-EXPORTED-RATE-PLAN :V "Exported district heat") + (:PAR :N DISTRICT-HEAT-TRADED-RATE-PLAN :V "Traded district heat") + (:PAR :N DISTRICT-COLD-PURCHASED-RATE-PLAN :V "Purchased district cooling") + (:PAR :N DISTRICT-COLD-EXPORTED-RATE-PLAN :V "Exported district cooling") + (:PAR :N DISTRICT-COLD-TRADED-RATE-PLAN :V "Traded district cooling") + (:PAR :N FUEL-PURCHASED-RATE-PLAN :V "Purchased fuel") + (:PAR :N FUEL-EXPORTED-RATE-PLAN :V "Exported fuel") + (:PAR :N FUEL-TRADED-RATE-PLAN :V "Traded fuel") + (:PAR :N ELECTRIC-PURCHASED-RATE-PLAN :V "Purchased electricity") + (:PAR :N ELECTRIC-EXPORTED-RATE-PLAN :V "Exported electricity") + (:PAR :N ELECTRIC-TRADED-RATE-PLAN :V "Traded electricity")) ((AGGREGATE :N METERS) (:PAR :N HEATING :V #("Electric heating" "Fuel heating" "District heating")) (:PAR :N COOLING :V #("Electric cooling" "Fuel cooling" "District cooling")) - (:PAR :N DOMESTIC-HOT-WATER :V #(:UNDEFINED "Domestic hot water" :UNDEFINED)) + (:PAR :N DOMESTIC-HOT-WATER :V #("Electric DHW heating" "Fuel DHW heating" "District DHW heating")) (:PAR :N FANS :V #("HVAC aux")) (:PAR :N PUMPS :V #("HVAC aux")) (:PAR :N HUMIDIFICATION :V #("HVAC aux")) (:PAR :N HVAC-OTHER :V #("HVAC aux")) (:PAR :N EQUIPMENT :V #("Equipment, tenant" :UNDEFINED :UNDEFINED)) (:PAR :N LIGHT :V #("Lighting, facility")) - (:PAR :N PV :V #("PV production")) - (:PAR :N WIND-TURBINE :V #("Wind turbine production")) - (:PAR :N CHP :V #("CHP electricity")))) -((AH-MACRO :N AHU :T AHU :ETM 0 :STM 3894139314) + (:PAR :N PV :V #("Produced by PV")) + (:PAR :N WIND-TURBINE :V #("Produced by wind turbines")) + (:PAR :N CHP-GENERATION :V #("CHP electricity")) + (:PAR :N ELECTRICAL-BATTERY :V #("Electric battery")) + (:PAR :N USED-FOR-GENERATION :V #("Used for generation" "Used for generation fuel" "Used for generation district")) + (:PAR :N ENVIRONMENT-HEAT :V #(NIL NIL NIL NOT-METERED)) + (:PAR :N ENVIRONMENT-COLD :V #(NIL NIL NIL NOT-METERED)))) +((AH-MACRO :N AHU :T AHU :ETM 0 :STM 3939157616) (:IREF :N "Air_Sup") (:IREF :N "Air_Rtn") (:IREF :N "AHU_Sup_Cold") @@ -484,7 +868,7 @@ (:IREF :N "AHU_Rtn_Hot") (:IREF :N "AHU_Sup_Hot") (:IREF :N "Air_Ctrl" :T OUT :F 32)) -((PRIM-MACRO :N PLANT :T PLANT :ETM 0 :STM 3894139314) +((PRIM-MACRO :N PLANT :T ESBO-PLANT :ETM 0 :STM 3939157615) (:IREF :N "AHU_sup_cold") (:IREF :N "AHU_rtn_cold") (:IREF :N "AHU_sup_hot") @@ -493,25 +877,93 @@ (:IREF :N "Zone_rtn_hot") (:IREF :N "Zone_sup_cold") (:IREF :N "Zone_rtn_cold") - (:IREF :N "DHW_ctl" :T IN :F 208)) + (:IREF :N "DHW_ctl") + (:IREF :N "AHU_sup_rec") + (:IREF :N "AHU_rtn_rec")) +((EL-MACRO :N "Electrical system" :T EL-SYSTEM :ETM 0 :STM 3939157615)) ((SOURCE-FILE :DOCUMENT-PATH "clim:Kalmar.prn" :SF "clim:Kalmar.prn" :N CLIMATE-FILE) (:VAR :N TAIR :V 6.92)) +((SOURCE-OBJECT :N GROUND) + (:RES :N OUTSIDE_WALLS :V UNINSULATED-GROUND) + (:RES :N UNDER_FLOOR :V UNINSULATED-GROUND) + (:PAR :N A_F :V 10.365) + (:PAR :N A_W :V 0.0) + (:PAR :N UA_F :V 2.8347) + (:PAR :N UA_W :V 0.0)) ((AGGREGATE :N PROJDATA) - (:PAR :N RESP_ENG :V "Ladybug Tools") - (:PAR :N DESCR :V "This model is auto-generated from an HBJSON file. At this point, the translator only translates the geometry information.Use the Pollination discourse forum if you have any questions or comments: https://discourse.pollination.cloud/")) -((AGGREGATE :N THREE-D-MODEL :T THREE-D-PLAN)) + (:PAR :N RESP_ENG :V "Mostapha Roudsari")) +((AGGREGATE :N LCA-MATERIALS) + ((AGGREGATE :N "Floor coating" :T LCA-MATERIAL) + (:PAR :N HEAT-COND :V 0.18) + (:PAR :N DENSITY :V 1100) + (:PAR :N SPECIFIC-HEAT :V 920) + (:PAR :N TOTAL-AREA :V 10.0) + (:PAR :N TOTAL-VOLUME :V 0.05) + (:PAR :N TOTAL-MASS :V 55.0)) + ((AGGREGATE :N "L/W concrete" :T LCA-MATERIAL) + (:PAR :N HEAT-COND :V 0.15) + (:PAR :N DENSITY :V 500) + (:PAR :N SPECIFIC-HEAT :V 1050) + (:PAR :N TOTAL-AREA :V 32.3) + (:PAR :N TOTAL-VOLUME :V 8.075) + (:PAR :N TOTAL-MASS :V 4037.5)) + ((AGGREGATE :N "Concrete" :T LCA-MATERIAL) + (:PAR :N HEAT-COND :V 1.7) + (:PAR :N DENSITY :V 2300) + (:PAR :N SPECIFIC-HEAT :V 880) + (:PAR :N TOTAL-AREA :V 20.0) + (:PAR :N TOTAL-VOLUME :V 4.0) + (:PAR :N TOTAL-MASS :V 9200.0)) + ((AGGREGATE :N "Render" :T LCA-MATERIAL) + (:PAR :N HEAT-COND :V 0.8) + (:PAR :N DENSITY :V 1800) + (:PAR :N SPECIFIC-HEAT :V 790) + (:PAR :N TOTAL-AREA :V 64.6) + (:PAR :N TOTAL-VOLUME :V 0.646) + (:PAR :N TOTAL-MASS :V 1162.8)) + ((AGGREGATE :N "Gypsum" :T LCA-MATERIAL) + (:PAR :N HEAT-COND :V 0.22) + (:PAR :N DENSITY :V 970) + (:PAR :N SPECIFIC-HEAT :V 1090) + (:PAR :N TOTAL-AREA :V 0) + (:PAR :N TOTAL-VOLUME :V 0) + (:PAR :N TOTAL-MASS :V 0)) + ((AGGREGATE :N "Air in 30 mm vert. air gap" :T LCA-MATERIAL) + (:PAR :N HEAT-COND :V 0.17) + (:PAR :N DENSITY :V 1.2) + (:PAR :N SPECIFIC-HEAT :V 1006) + (:PAR :N TOTAL-AREA :V 0) + (:PAR :N TOTAL-VOLUME :V 0) + (:PAR :N TOTAL-MASS :V 0)) + ((AGGREGATE :N "Light insulation" :T LCA-MATERIAL) + (:PAR :N HEAT-COND :V 0.036) + (:PAR :N DENSITY :V 20) + (:PAR :N SPECIFIC-HEAT :V 750) + (:PAR :N TOTAL-AREA :V 10.0) + (:PAR :N TOTAL-VOLUME :V 2.0) + (:PAR :N TOTAL-MASS :V 40.0)) + ((AGGREGATE :N "Wood" :T LCA-MATERIAL) + (:PAR :N HEAT-COND :V 0.14) + (:PAR :N DENSITY :V 500) + (:PAR :N SPECIFIC-HEAT :V 2300) + (:PAR :N TOTAL-AREA :V 0) + (:PAR :N TOTAL-VOLUME :V 0) + (:PAR :N TOTAL-MASS :V 0)) + ((AGGREGATE :N "Aluminium" :T LCA-MATERIAL) + (:PAR :N HEAT-COND :V 218) + (:PAR :N DENSITY :V 2700) + (:PAR :N SPECIFIC-HEAT :V 900) + (:PAR :N TOTAL-AREA :V 0) + (:PAR :N TOTAL-VOLUME :V 0) + (:PAR :N TOTAL-MASS :V 0))) +((:CEO :N CLIMATE :T ENVIRONMENT) + (:PAR :N PATM :S (:SYSTEM T 2 SYSPARS PATM)) + (:VAR :N XAIR :B :IV :S (1 T 2 * [SYSPARS CO2_AMBIENT] 1.52))) +(AGGREGATE :N THREE-D-MODEL :T THREE-D-PLAN) (CONNECTIONS - ((PLANT "Zone_rtn_cold") ((:LIB WATPLUG) OUTLET) 2 0 NIL) - ((PLANT "Zone_sup_cold") ((:LIB WATPLUG) INLET) 2 0 NIL) - ((PLANT "Zone_rtn_hot") ((:LIB WATPLUG) OUTLET) 2 0 NIL) - ((PLANT "Zone_sup_hot") ((:LIB WATPLUG) INLET) 2 0 NIL) - ((PLANT "AHU_rtn_hot") ((:LIB WATPLUG) OUTLET) 2 0 NIL) - ((PLANT "AHU_sup_hot") ((:LIB WATPLUG) INLET) 2 0 NIL) - ((PLANT "AHU_rtn_cold") ((:LIB WATPLUG) OUTLET) 2 0 NIL) - ((PLANT "AHU_sup_cold") ((:LIB WATPLUG) INLET) 2 0 NIL) ((AHU "AHU_Sup_Hot") ((:LIB WATPLUG) OUTLET) 2 0 NIL) ((AHU "AHU_Rtn_Hot") ((:LIB WATPLUG) INLET) 2 0 NIL) ((AHU "AHU_Rtn_Cold") ((:LIB WATPLUG) INLET) 2 0 NIL) ((AHU "AHU_Sup_Cold") ((:LIB WATPLUG) OUTLET) 2 0 NIL) ((AHU "Air_Rtn") ((:LIB AIRPLUG) OUTLET) 2 0 NIL) - ((AHU "Air_Sup") ((:LIB AIRPLUG) INLET) 2 2 NIL)) + ((AHU "Air_Sup") ((:LIB AIRPLUG) INLET) 2 0 NIL)) diff --git a/honeybee_idaice/templates/electrical system.idm b/honeybee_idaice/templates/electrical system.idm new file mode 100644 index 0000000..d3063ff --- /dev/null +++ b/honeybee_idaice/templates/electrical system.idm @@ -0,0 +1,6 @@ +;IDA 5.00001 Data UTF-8 +(DOCUMENT-HEADER :TYPE EL-SYSTEM :APP (ICE :VER 5.00001)) +((AGGREGATE :N KEYPAR :T BASE-ELSYS) + (AGGREGATE :N WIND :T ESBO-NO-WIND) + (AGGREGATE :N PV :T ESBO-NO-PV) + (AGGREGATE :N BATTERY :T ESBO-NO-BATTERY)) diff --git a/honeybee_idaice/templates/plant.idc b/honeybee_idaice/templates/plant.idc deleted file mode 100644 index 89372ce..0000000 --- a/honeybee_idaice/templates/plant.idc +++ /dev/null @@ -1,55 +0,0 @@ -;IDA 4.80002 Form UTF-8 -(DOCUMENT-HEADER :TYPE SCHEMA :PAGE-WIDTH 156 :PAGE-HEIGHT 112) -(CONNECTION-LINE :AT ((449 428) (449 437) (498 437) (498 422) (528 422)) :FIRST-LINK ("EmeterCentChil" (0.464 1.0) OUTCONSUMLINK) :LAST-LINK ("ChilPw_Avg" (0.0 0.5) (|u| 2)) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((413 429) (413 437) (498 437) (498 422) (528 422)) :FIRST-LINK ("EmeterLocalChil" (0.464 1) OUTCONSUMLINK) :LAST-LINK ("ChilPw_Avg" (0.0 0.5) (|u| 1)) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((413 365) (413 353) (499 353) (499 371) (528 371)) :FIRST-LINK ("EmeterLocalBoil" (0.464 0.036) OUTCONSUMLINK) :LAST-LINK ("BoilPw_Avg" (0.0 0.536) (|u| 2)) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((448 363) (448 353) (499 353) (499 371) (528 371)) :FIRST-LINK ("EmeterCentBoil" (0.429 0) OUTCONSUMLINK) :LAST-LINK ("BoilPw_Avg" (0.0 0.536) (|u| 1)) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((552 422) (566 422)) :FIRST-LINK ("ChilPw_avg" (1 0.5) |uMean|) :LAST-LINK ("ChilPw_Snap" (0 0.5) (|u| 1)) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((552 370) (566 370)) :FIRST-LINK ("BoilPw_Avg" (1 0.5) |uMean|) :LAST-LINK ("BoilPw_Snap" (0 0.5) (|u| 1)) :DIR :RIGHT :ARROW (19 8 8)) -(EQUATION-FRAME :AT ((542 422)) :R (14.25 14.25) :ICON "lib:slidingaverage.ids" :SLOT ("ChilPw_Avg") :NAME "ChilPw_Avg" :DATA MODEL) -(EQUATION-FRAME :AT ((586 422)) :R (14.25 14.25) :ICON "lib:snapminmax.ids" :SLOT ("ChilPw_Snap") :NAME "ChilPw_Snap" :DATA MODEL) -(EQUATION-FRAME :AT ((542 370)) :R (14.25 14.25) :ICON "lib:slidingaverage.ids" :SLOT ("BoilPw_Avg") :NAME "BoilPw_Avg" :DATA MODEL) -(EQUATION-FRAME :AT ((586 370)) :R (14.25 14.25) :ICON "lib:snapminmax.ids" :SLOT ("BoilPw_Snap") :NAME "BoilPw_Snap" :DATA MODEL) -(TEXT-OBJECT :VALUE "DHW control" :AT ((239 49) (285 87)) :STYLE NOTE) -(CONNECTION-LINE :AT ((234 44) (234 176) (251 176)) :LINE-STYLE :DOT :FIRST-LINK (:SELF (0.369 0.0) "DHW_ctl") :LAST-LINK ("boil" (0 0.214) DOMWATCONTROL) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((406 219) (406 188) (449 188)) :FIRST-LINK ("TAmbRef1" (0.5 0.107) LINK) :LAST-LINK ("chil" (0 0.429) TCONDENS) :DIR :RIGHT :ARROW (19 8 8)) -(LINK-FRAME :AT ((376 216) (436 244)) :STYLE HYPERLINK :SLOT ("TAmbRef1") :NAME "TAmbRef1" :SIDE :TOP :LABEL "TAir2" :ICON CLIMATE-PIXMAP :DATA REFERENCE) -(CONNECTION-LINE :AT ((208 241) (332 241) (332 173) (308 173)) :LINE-STYLE :DOT :FIRST-LINK ("Plantctr_Sched" (1.0 0.531) OUTSIGNALLINK) :LAST-LINK ("boil" (1.0 0.161) PUMPCONTROL) :DIR :RIGHT :ARROW (19 8 8)) -(TEXT-OBJECT :VALUE (GERMAN "Wärme- und Kälteerzeuger mit sehr hoher Kapazität. Heißwasservlorlauftemperatur ist abhängig von der Außentemperatur, Kaltwasser ist konstant. -Wärme- und Kälteerzeuger enthalten weitere Parameter." ENGLISH "Plant model with (by default) very large capacity. Supply hot water setpoint is a function of outside air temp. Chilled water temperatures to zones and AHU are constant. -Open boiler and chiller to set parameters." FINNISH "Rajoittamaton tehon (oletus) lämmöntuoton malli. Lämmityksen menoveden lämpötilan asetusarvo riippuu ulkoilman lämpötilasta. Jäähdytetyn veden lämpötilat vyöhykkeisiin ja IV-koneeseen ovat vakioita. -Avaa primäärijärjestelmä syöttääksesi parametrit." FRENCH "Modèle de centrale à très grande capacité (par défaut). La valeur de consigne de la température d’eau chaude est une fonction de la température extérieure. Températures d’eau froide vers les zones et la CTA sont constantes. -Ouvrir la chaudière et la machine frigorifique pour fixer les paramètres." SWEDISH "Energicentral med stor kapacitet. Börvärdet för framledningstemperaturen beror av utomhustemperaturen. Köldbärarens temperatur till zoner respektive LB är konstant. -Öppna värmepanna respektive kylmaskin för att ställa in egenskaper." SPANISH "Modelo de planta central con (por defecto) una capacidad muy grande. Punto de consigna del agua caliente de suministro está en función de la temp. del aire exterior. Las temperaturas del agua refrigerada hacia las zonas y las UTAs son constantes. -Abrir la caldera y la enfriadora para establecer los parámetros.") :AT ((20 360) (320 428)) :STYLE NOTE :LINE-GROUND #S(RGB RED 255 GREEN 255 BLUE 233) :OUTLINED-P T :MARKUP HTML :PADDING 5) -(CONNECTION-LINE :AT ((164 169) (178 169) (178 138)) :FIRST-LINK ("OffSet" (1.0 0.531) OUTSIGNALLINK) :LAST-LINK ("ADDER" (0.25 1) (INSIGNALLINK 1)) :DIR :RIGHT :ARROW (19 8 8)) -(TEXT-OBJECT :VALUE (ENGLISH "Standard Plant" FINNISH "Oletus lämmön- ja jäädytyksentuotto" GERMAN "Wärme- und Kälteerzeuger" FRENCH "Centrale standard" SWEDISH "Standardanläggning" SPANISH "Planta central estándar") :TEXT-COLOR :DEFAULT :FONT (:SWISS :ARIAL 16 1) :AT ((16 12) (379 32)) :STYLE SECTION) -(CONNECTION-LINE :AT ((457 103) (493 103) (493 164)) :LINE-STYLE :DOT :FIRST-LINK ("Sched_Plant" (1.0 0.531) OUTSIGNALLINK) :LAST-LINK ("chil" 3.268 PUMPCONTROL) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((65 153) (65 116) (81 116)) :FIRST-LINK ("TAmbRef" (0.483 0.179) LINK) :LAST-LINK ("Setp_Boil" (0 0.563) INSIGNALLINK) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((134 116) (148 116) (166 116)) :FIRST-LINK ("Setp_Boil" (1.0 0.563) OUTSIGNALLINK) :LAST-LINK ("ADDER" (0 0.5) (INSIGNALLINK 2)) :DIR :RIGHT :ARROW (19 8 8)) -(FRAME-BOX :VALUE (ENGLISH "Setpoint for supply hot water" GERMAN "Sollwert für Heißwasser" FINNISH "Lämmityksen menoveden lämpötilan asetusarvo" FRENCH "Valeur de consigne pour l’eau chaude fournie" SWEDISH "Börvärde för värmesystemets framledningstemperatur" SPANISH "Valores de consigna para el agua caliente de suministro") :AT ((36 60) (224 208)) :STYLE SECTION) -(CONNECTION-LINE :AT ((213 116) (320 116) (320 185) (305 185)) :FIRST-LINK ("ADDER" (1 0.5) OUTSIGNALLINK) :LAST-LINK ("boil" (1 0.375) (TEMPSETP 1)) :DIR :RIGHT :ARROW (19 8 8)) -(CONNECTION-LINE :AT ((213 116) (328 116) (328 185) (305 185)) :FIRST-LINK ("ADDER" (1 0.5) OUTSIGNALLINK) :LAST-LINK ("boil" (1 0.375) (TEMPSETP 2)) :DIR :RIGHT :ARROW (19 8 8)) -(LINK-FRAME :AT ((36 148) (96 176)) :STYLE HYPERLINK :SLOT (:BUILDING CLIMATE TAIR2) :NAME "TAmbRef" :SIDE :TOP :LABEL "TAir2" :ICON CLIMATE-PIXMAP :DATA REFERENCE) -(CONNECTION-LINE :AT ((308 202) (351 202) (351 287) (595 287)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("boil" (1.0 0.679) (INLET 2)) :LAST-LINK (:SELF 2.191 "Zone_rtn_hot")) -(CONNECTION-LINE :AT ((310 197) (371 197) (371 250) (595 250)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("boil" (1 0.589) (OUTLET 2)) :LAST-LINK (:SELF 2.312 "Zone_sup_hot")) -(CONNECTION-LINE :AT ((310 197) (348 197) (348 44)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("boil" (1 0.589) (OUTLET 1)) :LAST-LINK (:SELF (0.573 0.0) "AHU_sup_hot")) -(CONNECTION-LINE :AT ((308 202) (337 202) (337 44)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("boil" (1.0 0.679) (INLET 1)) :LAST-LINK (:SELF 3.446 "AHU_rtn_hot")) -(CONNECTION-LINE :AT ((508 176) (532 176) (532 44)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("chil" (1.0 0.214) OUTLET1) :LAST-LINK (:SELF (0.891 0.0) "AHU_sup_cold")) -(CONNECTION-LINE :AT ((508 186) (545 186) (545 44)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("chil" (1.0 0.393) INLET1) :LAST-LINK (:SELF 3.09 "AHU_rtn_cold")) -(CONNECTION-LINE :AT ((508 204) (508 205) (549 205) (595 205)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("chil" (1.0 0.714) OUTLET2) :LAST-LINK (:SELF 2.463 "Zone_sup_cold")) -(CONNECTION-LINE :AT ((509 212) (558 212) (596 212)) :LINE-COLOR (:CALL PMT-COLOR [@ 1] [@ 2]) :LINE-STYLE 3 :FIRST-LINK ("chil" (1 0.857) INLET2) :LAST-LINK (:SELF (0.995 0.56) "Zone_rtn_cold")) -(EQUATION-FRAME :AT ((374 414)) :R (14 14) :ICON "lib:emeter.ids" :SLOT ("EmeterWater") :NAME "EmeterWater" :DATA :CEO :D "Calculates the total power consumption and the cost of energy per hour for a number of monitored input power signals. A signal may be multiplied by a factor (mult), signifying multiple consumers.") -(EQUATION-FRAME :AT ((374 378)) :R (14 14) :ICON "lib:emeter.ids" :SLOT ("EmeterPump") :NAME "EmeterPump" :DATA :CEO :D "Calculates the total power consumption and the cost of energy per hour for a number of monitored input power signals. A signal may be multiplied by a factor (mult), signifying multiple consumers.") -(EQUATION-FRAME :AT ((450 414)) :R (14 14) :ICON "lib:emeter.ids" :SLOT ("EmeterCentChil") :NAME "EmeterCentChil" :DATA :CEO :D "Calculates the total power consumption and the cost of energy per hour for a number of monitored input power signals. A signal may be multiplied by a factor (mult), signifying multiple consumers.") -(EQUATION-FRAME :AT ((450 378)) :R (14 14) :ICON "lib:emeter.ids" :SLOT ("EmeterCentBoil") :NAME "EmeterCentBoil" :DATA :CEO :D "Calculates the total power consumption and the cost of energy per hour for a number of monitored input power signals. A signal may be multiplied by a factor (mult), signifying multiple consumers.") -(EQUATION-FRAME :AT ((414 414)) :R (14 14) :ICON "lib:emeter.ids" :SLOT ("EmeterLocalChil") :NAME "EmeterLocalChil" :DATA :CEO :D "Calculates the total power consumption and the cost of energy per hour for a number of monitored input power signals. A signal may be multiplied by a factor (mult), signifying multiple consumers.") -(EQUATION-FRAME :AT ((414 378)) :R (14 14) :ICON "lib:emeter.ids" :SLOT ("EmeterLocalBoil") :NAME "EmeterLocalBoil" :DATA :CEO :D "Calculates the total power consumption and the cost of energy per hour for a number of monitored input power signals. A signal may be multiplied by a factor (mult), signifying multiple consumers.") -(EQUATION-FRAME :AT ((192 116)) :R (20 20) :ICON "lib:adder.ids" :SLOT ("ADDER") :NAME "ADDER" :DATA :EO :D "Adds n input signals. Sends sum to multiple output links.") -(EQUATION-FRAME :AT ((144 168)) :R (24 16) :ICON "lib:schedule.ids" :SLOT ("OffSet") :TITLE "Setback schedule" :NAME "OffSet" :DATA SCHEDULE :HELP-STRING (ENGLISH "Schedule for boiler setpoint offset" FINNISH "Aikataulu lämmöntuoton asetusarvon muutokselle" GERMAN "Zeitplan für Differenz in Heizkesselsollwert" FRENCH "Horaire pour le décalage de la valeur de consigne de la chaudière" SWEDISH "Tidsschema för parallellförflyttning av värmepannans börvärde" SPANISH "Horario para el desfase del punto de consigna de la caldera")) -(EQUATION-FRAME :AT ((184 240)) :R (24 16) :ICON "lib:schedule.ids" :SLOT ("Plantctr_Sched") :TITLE "Boiler operation" :NAME "Plantctr_Sched" :DATA SCHEDULE :HELP-STRING (ENGLISH "Schedule for boiler operation" FINNISH "Aikataulu lämmöntuotolle" GERMAN "Zeitplan für Betrieb Heizkesselsollwert" FRENCH "Horaire d’exploitation de la chaudière" SWEDISH "Tidsschema för värmepannans drift" SPANISH "Horario de funcionamiento de la caldera")) -(EQUATION-FRAME :AT ((437 102)) :R (24 16) :ICON "lib:schedule.ids" :SLOT ("Sched_Plant") :TITLE "Chiller operation" :NAME "Sched_Plant" :DATA SCHEDULE :HELP-STRING (ENGLISH "Algorithmic schedule object for IDA ICE; leap years and DST are handled" FINNISH "Algoritminen objekti aikataululle IDA Indoor Climate and Energy-sovelluksessa. Karkausvuosi ja kesäaika otetaan huomioon." GERMAN "Dies ist ein algorithmischer Zeitplan für IDA ICE. Schaltjahre und Sommerzeit werden berücksichtigt." NORWEGIAN "Dette er algoritmeobjekt for urstyring i IDA Klima og Energi. Det tas hensyn til skuddår og sommertid" FRENCH "Objet horaire algorithmique pour IDA ICE. Les années bissextiles et l’heure d’été y sont gérées." SWEDISH "Algoritmiskt tidsschema; skottår och sommartid hanteras" SPANISH "Objeto horario algorítmico para IDA ICE ; anos bisiestos y el horario de verano son gestionados")) -(EQUATION-FRAME :AT ((110 114)) :R (24 16) :ICON "lib:PLINSEGM.ids" :SLOT ("Setp_Boil") :NAME "Setp_Boil" :DATA :EO :HELP-STRING (ENGLISH "Supply temperature setpoint" FINNISH "IV-kon. menoveden lämpötila" GERMAN "Sollwert für Zulufttemperatur" NORWEGIAN "Børverdi for turtemperatur" FRENCH "Valeur de consigne de la température fournie" SWEDISH "Börvärde för framledningstemperatur" SPANISH "Punto de consigna de la temperatura de suministro")) -(EQUATION-FRAME :AT ((480 192)) :R (28 28) :ICON "lib:simchil.ids" :SLOT ("chil") :NAME "chil" :DATA :EO :HELP-STRING (ENGLISH "A simplified chiller and water pump model with ideal control." FINNISH "Yksinkertaistettu malli jäähdytyskoneelle ja vesipiiri ideaalisäädöllä" GERMAN "Vereinfachtes Modell für Kältemaschine und Pumpenkreis mit idealer Regelung." NORWEGIAN "Forenklet modell av kjølemaskin og pumpekrets med ideell regulering" FRENCH "Un modèle simplifié de machine frigorifique et pompe à eau avec réglage idéal." SWEDISH "Förenklad kylmaskin och pump med idealiserad styrning" SPANISH "Un modelo simplificado de enfriadora y bomba de agua con control ideal.")) -(EQUATION-FRAME :AT ((280 192)) :R (28 28) :ICON "lib:simboil.ids" :SLOT ("boil") :NAME "boil" :DATA :EO :HELP-STRING (ENGLISH "Simple boiler with pump circuit" FINNISH "Yksinkertaistettu malli lämmöntuotolle ja vesipiirille" GERMAN "Vereinfachtes Modell für Heizkessel und Heizkreis" NORWEGIAN "Enkel modell for kjel med pumpekrets" FRENCH "Chaudière simple avec circuit de pompe" SWEDISH "Enkel värmepanna med pump" SPANISH "Caldera simple con circuito de bombeo")) -(SELF-FRAME :AT ((310 194)) :R (289 150.0) :SLOT (:SELF) :DATA MACRO-OBJECT) diff --git a/honeybee_idaice/templates/plant.idm b/honeybee_idaice/templates/plant.idm index 0a28dd8..a434620 100644 --- a/honeybee_idaice/templates/plant.idm +++ b/honeybee_idaice/templates/plant.idm @@ -1,5 +1,5 @@ -;IDA 4.80002 Data UTF-8 -(DOCUMENT-HEADER :TYPE PLANT :APP (ICE :VER 4.802)) +;IDA 5.00001 Data UTF-8 +(DOCUMENT-HEADER :TYPE ESBO-PLANT :APP (ICE :VER 5.00001)) (:IREF :N "AHU_sup_cold") (:IREF :N "AHU_rtn_cold") (:IREF :N "AHU_sup_hot") @@ -8,139 +8,48 @@ (:IREF :N "Zone_rtn_hot") (:IREF :N "Zone_sup_cold") (:IREF :N "Zone_rtn_cold") -(:IREF :N "DHW_ctl" :T IN :F 208) -((:EO :N "boil" :T SIMBOIL :D "") - (:PAR :N NTERM :V 2) - (:PAR :N ETAPUMP :V 0.5) - (:PAR :N QIDLE :S (:BUILDING T 2 OTHER-LOSSES BOIL-IDLE)) - (:PAR :N QDOMLOSS :S (:BUILDING T 2 * [OTHER-LOSSES HOT-CIRCUIT] [TOTAL-FLOOR-AREA])) - (:PAR :N PSETMAX :V 30000) - (:PAR :N MASS :V 10.0) - (:PAR :N DOMWATF :S (:BUILDING T 2 OTHER-LOSSES HOT-WATER-TOTAL)) - (:VAR :N PUMPON :B (-1 PUMPCONTROL 0)) - (:VAR :N TDOMWATIN :B :IV) - (:VAR :N DOMWATSCH :B (-1 DOMWATCONTROL 0)) - (:VAR :N QSUP :D (& ICE PLANT PRIM-HEAT)) - (:VAR :N PPUMP :D (& ICE PLANT PUMP-HEAT)) - (:VAR :N QDOMWAT :L PLANT_POWER) - (:VAR :N TOUT :DIM (2) :L PLANT_TEMPERATURES :AS BOIL_TOUT) - (:VAR :N M_OUT :DIM (2) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 -2 (OUTLET 1) 1) (2 -2 (OUTLET 2) 1)))) - (:VAR :N M_IN :DIM (2) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 -2 (INLET 1) 1) (2 -2 (INLET 2) 1)))) - (:VAR :N TOUTREQ :DIM (2) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 -1 (TEMPSETP 1) 0) (2 -1 (TEMPSETP 2) 0)))) - (:VAR :N TIN :DIM (2) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 -2 (INLET 1) 2) (2 -2 (INLET 2) 2))) :L #S(MS-SPARSE DEFAULT-VALUE PLANT_TEMPERATURES DIMENSION 1 VALUE NIL) :AS BOIL_TIN) - (:VAR :N TOUTAS :DIM (2)) - (:VAR :N Q :DIM (2) :L #S(MS-SPARSE DEFAULT-VALUE PLANT_POWER DIMENSION 1 VALUE NIL) :AS BOIL_Q)) -((:EO :N "chil" :T SIMCHIL :D "") - (:PAR :N ETAPUMP :V 0.5) - (:PAR :N QIDLE :S (:BUILDING T 2 OTHER-LOSSES CHIL-IDLE)) - (:PAR :N PSETMAX :V 30000) - (:PAR :N MASS :V 10.0) - (:VAR :N TOUT1 :L PLANT_TEMPERATURES :AS CHIL_TOUT1) - (:VAR :N TOUT2 :L PLANT_TEMPERATURES :AS CHIL_TOUT2) - (:VAR :N MOUT1 :B (-2 OUTLET1 1)) - (:VAR :N MOUT2 :B (-2 OUTLET2 1)) - (:VAR :N MIN1 :B (-2 INLET1 1)) - (:VAR :N MIN2 :B (-2 INLET2 1)) - (:VAR :N TIN1 :B (-2 INLET1 2) :L PLANT_TEMPERATURES :AS CHIL_TIN1) - (:VAR :N TIN2 :B (-2 INLET2 2) :L PLANT_TEMPERATURES :AS CHIL_TIN2) - (:VAR :N TOUTREQ1 :IV 5.0 :B :IV) - (:VAR :N TOUTREQ2 :B :IV :S (:BUILDING T 2 SYSPARS TCOIL)) - (:VAR :N TCOND :B (-1 TCONDENS 0)) - (:VAR :N PUMPON :B (-1 PUMPCONTROL 0)) - (:VAR :N QSUP :D (& ICE PLANT PRIM-COOL)) - (:VAR :N PPUMP :D (& ICE PLANT PUMP-COOL)) - (:VAR :N Q1 :L PLANT_POWER :AS CHIL_Q1) - (:VAR :N Q2 :L PLANT_POWER :AS CHIL_Q2)) -((:CEO :N "Setp_Boil" :T PLINSEGM-TEMP :D (& ICE PLANT CTRL-HEAT)) - (:PAR :N NPOINT :V 4) - (:PAR :N INCOORD :D (& ENVIRONMENT TAMB) :DIM (4) :V #(-30.0 -26.0 20.0 30.0)) - (:PAR :N OUTCOORD :D (& ICE PLANT THEATSUP) :DIM (4) :V #(70.0 70.0 20.0 20.0)) - (:VAR :N OUTSIGNAL :D (& ICE PLANT THEATSUP)) - (:VAR :N INSIGNAL :D (& ENVIRONMENT TAMB) :B (-1 INSIGNALLINK 0))) -((SCHEDULE :N "Sched_Plant" :T SCHEDULE) - (:RES :N SCHEDULE-DATA :FT (:QT FACTOR) :V ALWAYS_ON) - (:RES :N SCHEDULE-TYPE :V FACTOR-SCHEDULE)) -((SCHEDULE :N "Plantctr_sched" :T SCHEDULE) - (:RES :N SCHEDULE-DATA :FT (:QT FACTOR) :V ALWAYS_ON) - (:RES :N SCHEDULE-TYPE :V FACTOR-SCHEDULE)) -((SCHEDULE :N "OffSet" :T SCHEDULE) - (:RES :N SCHEDULE-DATA :FT (:QT TEMP :Y-MIN 0 :Y-MAX 10 :Y-STEP 1 :Y-GRID 1 ALWAYS_OFF NO-SETBACK) :V ALWAYS_OFF) - (:RES :N SCHEDULE-TYPE :V DEFAULT-SETBACK-SCHEDULE)) -((:EO :N "ADDER" :T ADDER) - (:VAR :N INSIGNAL :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((2 -1 (INSIGNALLINK 2) 0) (1 -1 (INSIGNALLINK 1) 0))))) -((:CEO :N "EmeterLocalBoil" :T EMETER) - (:PAR :N N_IN :V 1) - (:PAR :N MULT :DIM (1)) - (:VAR :N PRICENO :B 0.0) - (:VAR :N INPOWER :DIM (1) :IV #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE NIL) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "boil" Q 2)))) - (:VAR :N MONPOWER :IV #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE NIL)) - (:VAR :N MONPRICE :IV #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE NIL))) -((:CEO :N "EmeterLocalChil" :T EMETER) - (:PAR :N N_IN :V 1) - (:PAR :N MULT :DIM (1)) - (:VAR :N PRICENO :B 0.0) - (:VAR :N INPOWER :DIM (1) :IV #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE NIL) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "chil" Q2))))) -((:CEO :N "EmeterCentBoil" :T EMETER) - (:PAR :N N_IN :V 1) - (:PAR :N MULT :DIM (1)) - (:VAR :N PRICENO :B 0.0) - (:VAR :N INPOWER :DIM (1) :IV #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE NIL) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "boil" Q 1))))) -((:CEO :N "EmeterCentChil" :T EMETER) - (:PAR :N N_IN :V 1) - (:PAR :N MULT :DIM (1)) - (:VAR :N PRICENO :B 0.0) - (:VAR :N INPOWER :DIM (1) :IV #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE NIL) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "chil" Q1))))) -((:CEO :N "EmeterPump" :T EMETER) - (:PAR :N N_IN :V 2) - (:PAR :N MULT :DIM (2)) - (:VAR :N PRICENO :B 0.0) - (:VAR :N INPOWER :DIM (2) :IV #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE NIL) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "chil" PPUMP) (2 1 "boil" PPUMP))))) -((:CEO :N "EmeterWater" :T EMETER) - (:PAR :N N_IN :V 1) - (:PAR :N MULT :DIM (1)) - (:VAR :N PRICENO :B 0.0) - (:VAR :N INPOWER :DIM (1) :IV #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE NIL) :B #S(MS-SPARSE DEFAULT-VALUE NIL DIMENSION 1 VALUE ((1 1 "boil" QDOMWAT))))) -((REFERENCE :N "TAmbRef" :T REFERENCE) - (CONNECTOR :N LINK :T T :F 2 :V ((:BUILDING CLIMATE TAIR2)))) -((REFERENCE :N "TAmbRef1" :T REFERENCE) - (CONNECTOR :N LINK :T T :F 2 :V ((:BUILDING CLIMATE TAIR2)))) -((MODEL :N "BoilPw_Snap" :T |SnapMinMax|) - (:PAR :N |n| :V 1) - (:VAR :N |u_var| :B #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE ((1 -1 (|u| 1) 0))))) -((MODEL :N "BoilPw_Avg" :T |SlidingAverage|) - (:PAR :N |nIn| :V 2) - (:VAR :N |u_var| :DIM (2) :B #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE ((1 -1 (|u| 1) 0) (2 -1 (|u| 2) 0)))) - (:PAR :N |w| :DIM (2)) - (:PAR :N |interval| :S (:SYSTEM T 2 * [SYSPARS SLIDE_LEN] 60))) -((MODEL :N "ChilPw_Snap" :T |SnapMinMax|) - (:PAR :N |n| :V 1) - (:VAR :N |u_var| :B #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE ((1 -1 (|u| 1) 0))))) -((MODEL :N "ChilPw_Avg" :T |SlidingAverage|) - (:PAR :N |nIn| :V 2) - (:VAR :N |u_var| :DIM (2) :B #S(MS-SPARSE DEFAULT-VALUE 0.0 DIMENSION 1 VALUE ((1 -1 (|u| 1) 0) (2 -1 (|u| 2) 0)))) - (:PAR :N |w| :DIM (2)) - (:PAR :N |interval| :S (:SYSTEM T 2 * [SYSPARS SLIDE_LEN] 60))) -(CONNECTIONS - (("ChilPw_Avg" (|u| 2)) ("EmeterCentChil" OUTCONSUMLINK) 0 0 NIL) - (("ChilPw_Avg" (|u| 1)) ("EmeterLocalChil" OUTCONSUMLINK) 0 0 NIL) - (("ChilPw_Snap" (|u| 1)) ("ChilPw_Avg" |uMean|) 0 2 NIL) - (("BoilPw_Avg" (|u| 2)) ("EmeterLocalBoil" OUTCONSUMLINK) 0 0 NIL) - (("BoilPw_Avg" (|u| 1)) ("EmeterCentBoil" OUTCONSUMLINK) 0 0 NIL) - (("BoilPw_Snap" (|u| 1)) ("BoilPw_Avg" |uMean|) 0 2 NIL) - (("ADDER" (INSIGNALLINK 2)) ("Setp_Boil" OUTSIGNALLINK) 0 0 NIL) - (("ADDER" (INSIGNALLINK 1)) ("OffSet" OUTSIGNALLINK) 0 0 NIL) - (("Setp_Boil" INSIGNALLINK) ("TAmbRef" LINK) 0 0 NIL) - (("chil" PUMPCONTROL) ("Sched_Plant" OUTSIGNALLINK) 0 0 NIL) - (("chil" TCONDENS) ("TAmbRef1" LINK) 0 2 NIL) - (("chil" OUTLET2) "Zone_sup_cold" 0 0 NIL) - (("chil" INLET2) "Zone_rtn_cold" 0 0 NIL) - (("chil" OUTLET1) "AHU_sup_cold" 0 0 NIL) - (("chil" INLET1) "AHU_rtn_cold" 0 0 NIL) - (("boil" DOMWATCONTROL) "DHW_ctl" 0 0 NIL) - (("boil" PUMPCONTROL) ("Plantctr_sched" OUTSIGNALLINK) 0 0 NIL) - (("boil" (TEMPSETP 2)) ("ADDER" OUTSIGNALLINK) 0 0 NIL) - (("boil" (TEMPSETP 1)) ("ADDER" OUTSIGNALLINK) 0 0 NIL) - (("boil" (OUTLET 2)) "Zone_sup_hot" 0 0 NIL) - (("boil" (OUTLET 1)) "AHU_sup_hot" 0 0 NIL) - (("boil" (INLET 2)) "Zone_rtn_hot" 0 0 NIL) - (("boil" (INLET 1)) "AHU_rtn_hot" 0 0 NIL)) +(:IREF :N "DHW_ctl") +(:IREF :N "AHU_sup_rec") +(:IREF :N "AHU_rtn_rec") +((AGGREGATE :N SYSPARS) + (:PAR :N FREE-SOURCE-DT :V 5) + (:PAR :N FREE-SOURCE-BRINE-TANK-DT :V 5) + (:PAR :N FREE-SOURCE-PUMP-ETA :V 0.8) + (:PAR :N BRINE-FLUID-TYPE :V |Ethylene_Glycol|) + (:PAR :N BRINE-FREEZING-POINT :V -25) + (:PAR :N BRINE-MANIFOLD-TO-TANK-DP :V 30) + (:PAR :N SOLTERM-FLUID-TYPE :V |Ethylene_Glycol|) + (:PAR :N SOLTERM-FREEZING-POINT :V -25) + (:PAR :N SOLTERM-DESIGN-DP :V 10) + (:PAR :N COOLER-DESIGN-DT :V 8) + (:PAR :N HEATER-DESIGN-DT :V 35) + (:PAR :N TCOIL :V 15) + (:PAR :N IHEAT-RAD :V 0.4) + (:PAR :N IHEAT-EMISS :V 1.0) + (:PAR :N ICOOL-EMISS :V 1.0) + (:PAR :N CIRC-PUMP-ETA :V 0.8) + ((AGGREGATE :N EL-METER :T GENERATOR-EFFICIENCIES) + (:PAR :N COOLING_COP :V 3)) + ((AGGREGATE :N FUEL-METER :T GENERATOR-EFFICIENCIES) + (:PAR :N HEATING_COP :V 0.9) + (:PAR :N DOMWAT_COP :V 0.9)) + (AGGREGATE :N DISTRICT-METER :T GENERATOR-EFFICIENCIES)) +((AGGREGATE :N DEFAULTS) + (:PAR :N DEF-COOL :T ENUMERATION :V ELECTRIC :KV (ELECTRIC FUEL DISTRICT) :S (:DEFAULT NIL 2)) + (:PAR :N DEF-HEAT :T ENUMERATION :V DISTRICT :KV (ELECTRIC FUEL DISTRICT) :S (:DEFAULT NIL 2))) +((AGGREGATE :N CENTRAL-SYSTEM) + (AGGREGATE :N SOLAR :T ESBO-VOID-UNIT :F 0 :X (BASE-HEAT TOP-HEAT HOT-TANK SOLAR)) + (AGGREGATE :N TOP-HEAT :T ESBO-VOID-UNIT :F 0 :X (BASE-HEAT TOP-HEAT HOT-TANK SOLAR)) + (AGGREGATE :N BASE-HEAT :T ESBO-ICE-BOILER :X (BASE-HEAT TOP-HEAT HOT-TANK SOLAR)) + (AGGREGATE :N HOT-TANK :T ESBO-VOID-UNIT :F 0 :X (BASE-HEAT TOP-HEAT HOT-TANK SOLAR)) + (AGGREGATE :N COLD-TANK :T ESBO-VOID-UNIT :F 0 :X (COOLING COLD-TANK)) + (AGGREGATE :N COOLING :T ESBO-ICE-CHILLER :X (COOLING COLD-TANK)) + (AGGREGATE :N GROUND-HEAT-EXCHANGE :T ESBO-NO-GROUND-HEAT) + (AGGREGATE :N AMBIENT-HEAT-EXCHANGE :T ESBO-NO-AMBIENT-HEAT) + (AGGREGATE :N EXTRA-CIRCUIT :T ESBO-NO-EXTRA-CIRCUIT)) +((AGGREGATE :N DISTRIBUTION) + ((AGGREGATE :N HEAT :T ESBO-HEAT-DISTR) + (:PAR :N T-SUP-AMB-HIGH :V 70.0) + (:PAR :N T-SUP-AMB-MID :V 45.0)) + (AGGREGATE :N COLD :T ESBO-COLD-DISTR)) +(:PAR :N STORED-LOG :T T :F 1280 :X HIDDEN :V NIL :KV LIST :S (:DEFAULT NIL 2)) diff --git a/honeybee_idaice/templates/room.idm b/honeybee_idaice/templates/room.idm index fb70a5c..293506a 100644 --- a/honeybee_idaice/templates/room.idm +++ b/honeybee_idaice/templates/room.idm @@ -1,10 +1,12 @@ -;IDA 4.80002 Data UTF-8 -(DOCUMENT-HEADER :TYPE ZONE :APP (ICE :VER 4.802)) +;IDA 5.00001 Data UTF-8 +(DOCUMENT-HEADER :TYPE ZONE :APP (ICE :VER 5.00001)) ((SETPOINT_COLLECTION :N LOCAL_SETPOINTS) (:PAR :N MIN_VENT_AIR :V 0.3) (:PAR :N MAX_VENT_AIR :V 7) (:PAR :N THERMOSTAT_MIN :V 21) (:PAR :N THERMOSTAT_MAX :V 25) + (:PAR :N MIN_VENT_SUP :V 0.3) + (:PAR :N MAX_VENT_SUP :V 7) (:PAR :N DESIGN_MIN :V 19 :S (:DEFAULT NIL 2)) (:PAR :N DESIGN_MAX :V 30 :S (:DEFAULT NIL 2)) (:PAR :N MIN_HUMIDITY :V 20) @@ -16,11 +18,13 @@ ((AGGREGATE :N CENTRAL-AHU) (:PAR :N CAV_VENT_AIR :V 2.0) (:PAR :N CAV_VENT_SUP :V 2.0)) +((AGGREGATE :N AIR) + (:PAR :N FLOW-ELEMENTS :V :FALSE)) ((EQUIPMENT :N "Equipment" :T EQUIPMENT) - (:PAR :N EMITTED_SENSIBLE_POWER :V 150.0) - (:RES :N SCHEDULE_0-1 :V ALWAYS_ON)) -((MASS :N "Furniture" :T FURNITURE) - (:PAR :N AREA :V 2.0)) + (:PAR :N EMITTED_SENSIBLE_POWER :V 150) + (:PAR :N NUMBER_OF :V 1) + (:PAR :N POSITION :V #(1.25 1.5 0))) +(MASS :N "Furniture" :T FURNITURE) ((HC-UNIT :N "Ideal cooler" :T IDEAL-COOLER) (:PAR :N PMAX :V 2000)) ((HC-UNIT :N "Ideal heater" :T IDEAL-HEATER) diff --git a/honeybee_idaice/writer.py b/honeybee_idaice/writer.py index 99a033b..82f337e 100644 --- a/honeybee_idaice/writer.py +++ b/honeybee_idaice/writer.py @@ -419,6 +419,7 @@ def model_to_idm( single file. """ # check for the presence of rooms + VERSION = '5.00001' if not model.rooms: raise ValueError( 'The model must have at least have one room to translate to IDM.') @@ -464,14 +465,18 @@ def model_to_idm( # create building file that includes building bodies and a reference to the rooms with bldg_file.open('w', encoding='utf-8') as bldg: - header = ';IDA 4.80002 Data UTF-8\n' \ - '(DOCUMENT-HEADER :TYPE BUILDING :N "{}" :MS 4 :CK ' \ + header = f';IDA {VERSION} Data UTF-8\n' \ + f'(DOCUMENT-HEADER :TYPE BUILDING :N "{bldg_name}" :MS 6 :CK ' \ '((RECENT (WINDEF . "Double Clear Air (WIN7)"))) ' \ - ':PARENT ICE :APP (ICE :VER 4.802))\n'.format(bldg_name) + f':PARENT ICE :APP (ICE :VER {VERSION}))\n' bldg.write(header) # add template values bldg_template = templates_folder.joinpath('building.idm') - for line in bldg_template.open('r', encoding='utf-8'): + for count, line in enumerate(bldg_template.open('r', encoding='utf-8')): + # this is to remove the random bug that adds new character  at + # the start of the line + if count == 0 and line[0] != '(': + line = line[1:] bldg.write(line) # create a building sections/bodies for the building @@ -491,7 +496,9 @@ def model_to_idm( bldg.write(f'\n;[end of {bldg_name}.idm]\n') # copy all the template files - templates = ['plant.idm', 'ahu.idc', 'ahu.idm', 'plant.idc'] + templates = [ + 'plant.idm', 'ahu.idc', 'ahu.idm', 'electrical system.idm' + ] for template in templates: template_file = templates_folder.joinpath(template) target_file = bldg_folder.joinpath(template)