Itiscommonlydesiredtomodelabuildingintemperaturelevelcontrolfromenergyratecontrol. ThistutorialdemonstrateschangingtheTRNSYSRestaurantExamplefromenergyratecontrolto temperaturelevelcontrol.Therearefourimportantstepstoimplementtemperaturelevelcontrol: turningofftheinternalheatingandcoolinginType56,definingtheinputs,definingtheoutputs,and connectingthepropermechanicalcomponentsintheSimulationStudio.Thistutorialwillguide througheachofthesteps. OpentheRestaurant.tpfexampleprojectintheSimulationStudiofromtheTRNSYSExamples directory.RightclickontheType56componentandclickEditBuilding.Atthispointitis recommendedthattheprojectandbuildingaresavedasdifferentnames(FileSaveas).Inthe TRNBuildManagerwindow,openthezone,DINING.OpentheHeatingbutton,andclicktheoff buttonasshowninFigure1.ThisactionremovestheTRNBUILDinternalheatingsettingforthezone. Theinternalcoolingforthezoneisalreadyoff,buttheinternalcoolingandheatingfortheotherzone, KITCHEN,needstobeturnedoff.
Figure1:HeatingforDiningRoomZone
Figure2:HeatingforKitchenZone
Figure3:CoolingforKitchenZone
Figure4:KitchenZoneVentilationPriortoDefiningInput
ClickontheInputbuttonratherthantheSchedulebutton(Figure5).
Figure5:DefiningVentilationasanInputintoType56
Anewinputmaybecreatedbyusingthedropdownmenuandclickingonnew(Figure6).
Figure6:CreatingaNewInputforVentilation
DefinethenewinputasM_DOT_KITCHinthepopupwindowandpresstheOKbutton(Figure7).
Figure7:NamingtheNewInputforVentilation
Figure8:UsingaMultipliertoConvertInputMassFlowRate
PresstheOKbuttontogobacktotheVentilationTypeManagerforthekitchenzone.The TemperatureofAirFlowandtheRelativeHumidityofAirFlowalsoneedtobedefinedasinputs.Using
Figure9:InputsfortheKitchenZoneVentilation
Figure10:NewVentilationTypeButton
Namethenewtype,DININGandclicktheNewbutton(Figure11).
Figure11:NamingaNewVentilationTypeforDiningRoomZone
Figure12:InputsforDiningRoomZoneVentilation
Figure13:TheProjectWindowwiththeOutputsButton
DoubleclickontheexistingsetofoutputsfortheDINING,KITCHEN,andSTORAGEzones(Figure14).
Figure14:TheOutputWindow
Manyofthepossibleoutputsareincluded,butitisdesiredtoaddtherelativehumidityoutput, RELHUM.AddtheRELHUM(Figure15),clickOK,andclickOKagainintheOutputswindow.
Figure15:AddingtheRelativeHumidityOutput
Figure16:UpdatingtheType56VariableList
Theprojectisnowreadytoobtainthemechanicalcomponentsfortemperaturelevelcontrol.The usermaychoosetohaveboththediningroomandkitchenzonesonthesamemechanicalequipment oronseparatemechanicalequipmentasshowninFigure17.Inthecaseofthisexample,thereisa Type112bfan,aType92auxiliarycoolingunit,aType121bfurnace,andaType108thermostatforeach ofthetwoconditionedzones.Grabthecomponentsfromtheproformawindowtreeontherightside oftheSimulationStudioanddragthemintotheSimulationStudioProject. TheType108thermostatswillmonitorthezonetemperatures,soconnecttheType56outputs, TAIR_KITCHENandTAIR_DINING,totherespectiveType108inputmonitoringtemperature.The outputsofType108,Controlsignalfor1ststageheating,Controlsignalfor1ststagecooling,and Conditioningsignal,shouldbeconnectedasaninputtotheControlfunctionoftheType121bfurnace, Tyep92auxiliarycoolingunit,andType112bfan,respectively.TheblackdottedlinesinFigure17 representthecontrolsignalconnectionsfortheType108thermostat.
Figure17:AddingMechanicalComponentsintheSimulationStudio
Figure18:ConnectiontoNewInputsinType56