Component List for building definition elements

Building

Base component for the definition of a building. The building is made up of a set of spaces (Space component).

Parameters

The following figure shows the building's coordinate system:

Building coordinate system

Example:


...

building = osm.components.Building("building",project)
param = {
    "file_met": "met"
    "azimuth": 90,
    "albedo": 0.4
}
building.set_parameters(param)

functions

The Building component include the following functions:

show3D_shadows

Space_type

Component used to define the type of space. This component will be referenced by all spaces that are of the same type. This component defines the internal loads and some of the functional characteristics of the space.

Parameters

Assuming that the variation of occupancy, lighting and other loads has been defined in a "Year_schedule" component, named "schedule" with values between 0 and 1, the following example would capture that variation.

Example:


...

office_space = osm.components.Space_type("office_space",project)
param = {
        "input_variables": ["f = schedule.values"]
        "people_density": "0.1*f",
        "light_density": "10*f",
        "other_gains_density": "4.2*f",
        "other_gains_radiant_fraction": 0.6,
        "infiltration": "0.5"
}
office_space.set_parameters(param)

Variables

After the simulation we will have the following variables of this component:

Space

Component used to define each of the building's spaces. The spaces of a building are each of the volumes of the building where we can find a different temperatures. The spaces will be referenced by the different surfaces that comprise them.

Parameters

Example:


...

space_1 = osm.components.Space("space_1",project)
param = {
        "building": "building",
        "space_type": "office_space",
        "floor_area": 30,
        "volume": 90
}
space_1.set_parameters(param)

Variables

After the simulation we will have the following variables of this component:

Exterior_surface

Component to define the exterior surfaces of the building: vertical or inclined walls and horizontal or inclined roofs.

Parameters

The following figures show the surface coordinate system versus the building coordinate system for rectangular or polygonal surfaces.

Rectangular surface coordinate system

Polygon surface coordinate system

Example:


...

north_wall = osm.components.Exterior_surface("north_wall",project)
param = {
        "ref_point": [8,0,-6],
        "width": 8,
        "height": 2.7,
        "azimuth": 180,
        "altitude": 0,
        "construction": "Multilayer_wall",
        "space": "space_1"
}
north_wall.set_parameters(param)

Variables

After the simulation we will have the following variables of this component, all variables ending in 0 refer to the outer surface and those ending in 1 to the inner surface:

Interior_surface

Component to define the interior surfaces of the building: vertical or inclined interior walls and slabs between floors.

Parameters

See figures of the coordinate systems in the "Exterior_surface" component.

Example:


...

interior_wall = osm.components.Interior_surface("interior_wall",project)
param = {
        "ref_point": [8,0,-3],
        "width": 8,
        "height": 2.7,
        "azimuth": 0,
        "altitude": 0,
        "construction": "Multilayer_wall",
        "spaces": ["space_0", "space_1"]
}
interior_wall.set_parameters(param)

Variables

After the simulation we will have the following variables of this component, all variables ending in 0 refer "0" surface and those ending in 1 to the "1" surface:

Underground_surface

Component define the surfaces in contact with the ground. Floors or vertical undergorund enclosures.

Parameters

See figures of the coordinate systems in the "Exterior_surface" component.

Example:


...

floor = osm.components.Underground_surface("floor",project)
param = {
        "shape": "POLYGON",
        "ref_point": [0,0,0],
        "x_polygon": [0,8,8,0],
        "y_polygon": [0,0,6,6],
        "azimuth": 0,
        "altitude": -90,
        "construction": "Multilayer wall",
        "space": "space_1"
}
floor.set_parameters(param)

Variables

After the simulation we will have the following variables of this component, all variables ending in 0 refer to the underground surface and those ending in 1 to the interior surface:

Virtual_surface

Virtual surfaces are used to define gaps between two spaces. Spaces in OpenSimula must be completely enclosed by surfaces for the radiant exchange calculation to work correctly.

Parameters

See figures of the coordinate systems in the "Exterior_surface" component.

Example:


...

interior_hole = osm.components.Virtual_surface("interior_hole",project)
param = {
            "ref_point": [8,0,-3],
            "width": 8,
            "height": 2.7,
            "azimuth": 0,
            "altitude": 0,
            "spaces": ["space_0","space_1"]
}
interior_hole.set_parameters(param)

Opening

Component for defining openings in exterior surfaces, e.g. windows or doors. These elements must be rectangular.

Parameters

The following figure show geometrical definition of the opening in the surface coordinate system.

Opening gemetrical definition

Example:


...

south_window = osm.components.Opening("south_window",project)
param = {
        "surface": "south_wall"
        "ref_point": [2,1],
        "width": 3,
        "height": 1.3,
        "opening_type": "double_glazed_window"
}
south_window.set_parameters(param)

Variables

After the simulation we will have the following variables of this component, all variables ending in 0 refer to the outer surface and those ending in 1 to the inner surface:

Shadow_surface

Component for defining shading surfaces external to the building.

Parameters

Example:


...

overhang = osm.components.Shadow_surface("overhang")
param = {
            "building": "Building",
            "ref_point": [0,-1,2.7],
            "width": 8,
            "height": 1,
            "azimuth": 0,
            "altitude": 90
        },
overhang.set_parameters(param)

Building shadows example