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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | 3 | Number of sides of the polygon |
| Modelica.Units.SI.Length | a | 3 | Polygon apothem |
| Modelica.Units.SI.Length | l | 2*a*tan(Modelica.Constants.pi/n) | Polygon side length |
| Modelica.Units.SI.Area | A | l*gF.hZone | Surface area corresponding to one polygon side |
| Modelica.Units.SI.Area | Afloor | a*n*l/2 | Floor and ceiling surface areas |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Components.Zone | gF | ||
| Buildings.Components.OuterWall | wall | ||
| Buildings.Components.BoundaryWall | floor | ||
| Buildings.Components.OuterWall | roof | ||
| Buildings.Components.Window | win | ||
| BoundaryConditions.SimInfoManager | sim |
Contents
| Name | Description |
|---|---|
| Medium | Medium model |
Revisions
-
May 22, 2022, by Filip Jorissen:
Fixed Modelica specification compatibility issue. See #1254 -
March 10, 2017 by Filip Jorissen:
First implementation.