modelLinWindow

Extension of the window model to allow linearization

Extends from IDEAS.Buildings.Components.Window (Multipane window).

Information

This model extends the IDEAS.Building.Components.Window model and it adds two propsBusses. The propsBusses are used to transform the heat flows through the windows due to solar radiation into inputs (for linearization purposes) and into outputs (to pre-compute the inputs of the linearized model).

Parameters

TypeNameDefaultDescription
IntegerincOpt (from PartialSurface)4Tilt angle option from simInfoManager, or custom using inc
Modelica.Units.SI.Angleinc (from PartialSurface)sim.incOpts[incOpt]Custom inclination (tilt) angle of the wall, default wall
IntegeraziOpt (from PartialSurface)5Azimuth angle option from simInfoManager, or custom using azi
Modelica.Units.SI.Angleazi (from PartialSurface)sim.aziOpts[aziOpt]Custom azimuth angle of the wall, default south
Modelica.Units.SI.AreaA (from PartialSurface)Component surface area
RealnWin (from PartialSurface)1Use this factor to scale the component to nWin identical components
Realq50_internal (from PartialSurface)Surface air tightness
Modelica.Units.SI.Lengthhzone_a (from PartialSurface)
Modelica.Units.SI.LengthhAbs_floor_a (from PartialSurface)
Modelica.Units.SI.LengthHabs_surf (from PartialSurface)hAbs_floor_a + hRelSurfBot_a + (hVertical/2)Absolute height of the middle of the surface, can be used to check the heights after initialisation
Modelica.Units.SI.LengthhWin (from Window)max(0.1, sqrt(A))Window height, including frame
Realfrac (from Window)0.15Area fraction of the window frame
IDEAS.Buildings.Data.Frames.NonefraType (from Window)
IDEAS.Buildings.Data.WindPressureCoeff.Lowrise_Square_ExposedCp_table (from Window)
Advanced › Design power
Modelica.Units.SI.PowerQTra_design (from PartialSurface)Design heat losses at reference temperature of the boundary space
Dynamics › Initial condition
Modelica.Units.SI.TemperatureT_start (from PartialSurface)293.15Start temperature for each of the layers
Convection
BooleanlinIntCon_a (from PartialSurface)sim.linIntCon= true, if convective heat transfer should be linearised
Modelica.Units.SI.TemperatureDifferencedT_nominal_a (from PartialSurface)1Nominal temperature difference used for linearisation, negative temperatures indicate the solid is colder
BooleanlinExtCon (from Window)sim.linExtCon= true, if exterior convective heat transfer should be linearised (uses average wind speed)
Dynamics › Equations
Modelica.Fluid.Types.DynamicsenergyDynamics (from PartialSurface)Modelica.Fluid.Types.Dynamics.FixedInitialStatic (steady state) or transient (dynamic) thermal conduction model
IDEAS.Buildings.Components.Interfaces.WindowDynamicsTypewindowDynamicsType (from Window)IDEAS.Buildings.Components.Interfaces.WindowDynamicsType.TwoType of dynamics for glazing and frame: using zero, one combined or two states
RealfraC (from Window)fracRatio of frame and glazing thermal masses
Airflow › Airtightness
Booleanuse_custom_q50 (from PartialSurface)falsecheck to disable the default q50 computation and to assign a custom q50 value
Realcustom_q50 (from PartialSurface)2Surface air tightness
Vertical position (important if interZonalAirFlowType is TwoPorts)
Modelica.Units.SI.LengthhVertical (from PartialSurface)if IDEAS.Utilities.Math.Functions.isAngle(incInt, IDEAS.Types.Tilt.Floor) or IDEAS.Utilities.Math.Functions.isAngle(incInt, IDEAS.Types.Tilt.Ceiling) then 0 else hzone_aVertical surface height, height of the surface projected to the vertical (e.g. 0 for floors and ceilings)
Modelica.Units.SI.LengthhRelSurfBot_a (from PartialSurface)if IDEAS.Utilities.Math.Functions.isAngle(incInt, IDEAS.Types.Tilt.Ceiling) then hzone_a else 0Height between the lowest point of the surface (bottom) and the floor level of the zone connected at propsBus_a (e.g. 0 for walls at floor level and floors.)
Radiation
BooleanlinExtRad (from Window)sim.linExtRadWin= true, if exterior radiative heat transfer should be linearised
Advanced › Icon
Booleancontrolled (from Window)shaType.controlled = true if shaType has a control input (see e.g. screen). Can be set to false manually to force removal of input icon.
Airflow › Wind Pressure
Real[:,:]coeffsCp (from Window)if incInt <= Modelica.Constants.pi/18 then Cp_table.Cp_Roof_0_10 elseif incInt <= Modelica.Constants.pi/6 then Cp_table.Cp_Roof_11_30 elseif inc <= Modelica.Constants.pi/4 then Cp_table.Cp_Roof_30_45 elseif IDEAS.Utilities.Math.Functions.isAngle(incInt, Modelica.Constants.pi) then Cp_table.Cp_Floor else Cp_table.Cp_WallCp at different angles of attack, default the correct table will be selected from Cp_table based on the surface tilt
Booleanuse_custom_Cs (from Window)falseif checked, Cs will be used in stead of the default related to the interzonal airflow type
Booleanuse_sim_Cs (from Window)sim.use_sim_Csif checked, the default Cs of each surface in the building is sim.Cs
RealCs (from Window)sim.CsWind speed modifier
Airflow › Wind
RealHabs (from Window)Absolute height at the middle of the window
Airflow › Operable window
Booleanuse_operable_window (from Window)false= true, to enable window control input when using sim.interZonalAirFlowType == IDEAS.BoundaryConditions.Types.InterZonalAirFlow.TwoPorts
Airflow › Trickle vent
Booleanuse_trickle_vent (from Window)false= true, to enable trickle vent
Modelica.Units.SI.MassFlowRatem_flow_nominal (from Window)0Nominal mass flow rate of trickle vent
Modelica.Units.SI.PressureDifferencedp_nominal (from Window)5Pressure drop at nominal mass flow rate of trickle vent
Booleanuse_trickle_vent_control (from Window)false=true, to enable trickle vent control input
Modelica.Units.SI.LengthhTrickleVent (from Window)hVertical + hRelSurfBot_avertical distance between the floor of the zone (top) and the trickle vent
Advanced › Frame
Modelica.Units.SI.LengthbriLen (from Window)2*hWin + 2*A/hWinThermal bridge length, if present
Linearisation
IntegerindexWindow1Index of this window

Connectors

TypeNameDefaultDescription
IDEAS.Buildings.Components.Interfaces.ZoneBuspropsBus_a (from PartialSurface)If inc = Floor, then propsbus_a should be connected to the zone above this floor. If inc = ceiling, then propsbus_a should be connected to the zone below this ceiling. If component is an outerWall, porpsBus_a should be connect to the zone.
Modelica.Blocks.Interfaces.RealInputCtrl (from Window)Control signal for screen between 0 and 1, 1 is fully closed
Modelica.Blocks.Interfaces.RealInputy_trickleVent (from Window)Control signal for trickle vent between 0 and 1, 1 is fully opened
Modelica.Blocks.Interfaces.RealInputy_window (from Window)Control signal for window opening between 0 and 1, i.e. 1 is fully opened

Components

TypeNameDefaultDescription
IDEAS.Buildings.Data.Interfaces.Glazingglazing (from Window)
IDEAS.BoundaryConditions.SimInfoManagersim (from PartialSurface)Simulation information manager for climate data
IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.InteriorConvectionintCon_a (from PartialSurface)Convective heat transfer correlation for port_a
IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.MultiLayerlayMul (from PartialSurface)Multilayer component for simulating walls, windows and other surfaces
Modelica.Units.SI.MassFlowRatemBA_flow_1 (from PartialSurface)crackOrOperableDoor.m1_flowFlow outwards relative to propsBus_a, part 1
Modelica.Units.SI.MassFlowRatemBA_flow_2 (from PartialSurface)-crackOrOperableDoor.m2_flowFlow outwards relative to propsBus_a, part 2
Q50_parameterToConnectorq50_zone (from PartialSurface)
IDEAS.Airflow.Multizone.CrackOrOperableDoorcrackOrOperableDoor (from PartialSurface)
Modelica.Blocks.Sources.RealExpressionAExp (from PartialSurface)Area expression
Modelica.Blocks.Routing.BooleanPassThroughuse_custom_q50PassThrough (from PartialSurface)
Modelica.Blocks.Routing.RealPassThroughv50PassThrough (from PartialSurface)
IDEAS.Buildings.Components.Shading.NoneshaType (from Window)
Modelica.Blocks.Math.GaingainDir (from Window)Gain for direct solar irradiation
Modelica.Blocks.Math.GaingainDif (from Window)Gain for diffuse solar irradiation
IDEAS.Airflow.Multizone.TrickleVenttrickleVent (from Window)Trickle vent. Height assumed at the top of the window but adaptable
IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.SwWindowResponsesolWin (from Window)
IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.InteriorConvectioniConFra (from Window)convective surface heat transimission on the interior side of the wall
Modelica.Thermal.HeatTransfer.Components.ThermalConductorlayFra (from Window)
BoundaryConditions.SolarIrradiation.RadSolDataradSolData (from Window)
Modelica.Blocks.Sources.RealExpressiony_window_trunc (from Window)Truncated control signal
Modelica.Units.SI.MassFlowRatemBA_flow_TrVent (from Window)trickleVent.m_flowFlow through trickle-vent outwards relative to propsBus_a

Revisions

  • August 21, 2018 by Damien Picard:
    Added documentation.