modelScalingComponents

Extends from Modelica.Icons.Example.

Information

This model may be used to check how computation time scales with n, the number of components in a zone.

In this model the zone floor area has the shape of a polygon with n sides. Each side has a wall, there is a single window in the roof. For rising numbers of n, the computation time can be compared.

Parameters

TypeNameDefaultDescription
Integern3Number of sides of the polygon
Modelica.Units.SI.Lengtha3Polygon apothem
Modelica.Units.SI.Lengthl2*a*tan(Modelica.Constants.pi/n)Polygon side length
Modelica.Units.SI.AreaAl*gF.hZoneSurface area corresponding to one polygon side
Modelica.Units.SI.AreaAfloora*n*l/2Floor and ceiling surface areas

Components

TypeNameDefaultDescription
Buildings.Components.ZonegF
Buildings.Components.OuterWallwall
Buildings.Components.BoundaryWallfloor
Buildings.Components.OuterWallroof
Buildings.Components.Windowwin
BoundaryConditions.SimInfoManagersim

Contents

NameDescription
MediumMedium model

Revisions

  • May 22, 2022, by Filip Jorissen:
    Fixed Modelica specification compatibility issue. See #1254
  • March 10, 2017 by Filip Jorissen:
    First implementation.