LBL logo

Buildings.Rooms.Examples.FFD.BaseClasses

Package with base classes for Buildings.Rooms.Examples.FFD

Information

This package contains base classes that are used to construct the models in Buildings.Rooms.Examples.FFD.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
PartialRoom Partial model for a room

Buildings.Rooms.Examples.FFD.BaseClasses.PartialRoom

Partial model for a room

Buildings.Rooms.Examples.FFD.BaseClasses.PartialRoom

Information

The partial model describes a room with only interior walls.

Parameters

TypeNameDefaultDescription
IntegernConExtWin0Number of constructions with a window
IntegernConBou0Number of surface that are connected to constructions that are modeled inside the room
IntegernSurBou0Number of surface that are connected to the room air volume
IntegernConExt0Number of exterior constructions withour a window
IntegernConPar0Number of partition constructions

Modelica definition

partial model PartialRoom "Partial model for a room" package MediumA = Buildings.Media.Air ( T_default=283.15) "Medium model"; parameter Integer nConExtWin=0 "Number of constructions with a window"; parameter Integer nConBou=0 "Number of surface that are connected to constructions that are modeled inside the room"; parameter Integer nSurBou=0 "Number of surface that are connected to the room air volume"; parameter Integer nConExt=0 "Number of exterior constructions withour a window"; parameter Integer nConPar=0 "Number of partition constructions"; Buildings.Rooms.CFD roo( redeclare package Medium = MediumA, nConBou=nConBou, nSurBou=nSurBou, nConExt=nConExt, sensorName={"Occupied zone air temperature","Velocity"}, useCFD=true, nConPar=nConPar, nConExtWin=nConExtWin, AFlo=1*1, hRoo=1, linearizeRadiation=true, samplePeriod=60, cfdFilNam="modelica://Buildings/Resources/Data/Rooms/FFD/OnlyWall.ffd", massDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial, lat=0.00022318989969804) "Room model"; Modelica.Blocks.Sources.Constant qConGai_flow(k=0) "Convective heat gain"; Modelica.Blocks.Sources.Constant qRadGai_flow(k=0) "Radiative heat gain"; Modelica.Blocks.Routing.Multiplex3 multiplex3_1; Modelica.Blocks.Sources.Constant qLatGai_flow(k=0) "Latent heat gain"; Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat( filNam="modelica://Buildings/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos", TDryBul= 293.15); equation connect(qRadGai_flow.y, multiplex3_1.u1[1]); connect(qConGai_flow.y, multiplex3_1.u2[1]); connect(qLatGai_flow.y, multiplex3_1.u3[1]); connect(multiplex3_1.y, roo.qGai_flow); connect(weaDat.weaBus, roo.weaBus); end PartialRoom;

Automatically generated Mon May 4 10:25:59 2015.