Project Defaults¶
Functions that return deep copies of pre-configured default templates for projects and building components.
defaults
¶
Module for project default templates/values.
get_default_project_template
¶
Return a deep copy of the default :class:~comcheck_api.types.core_types.ComBuilding template.
The template is pre-populated with sensible defaults for location (Boulder, CO), envelope, lighting, HVAC, and other required sections.
Returns:
| Type | Description |
|---|---|
|
A new |
Source code in comcheck_api/defaults.py
get_default_building_area_template
¶
Return a deep copy of the default :class:~comcheck_api.types.core_types.WholeBldgUse template.
Defaults to an Automotive Facility with 1 000 sq ft floor area and
interior lighting space initialized. Each call gets a fresh unique key
and a unique areaDescription (UUID suffix appended) so multiple areas
can be added to a project without colliding on either field.
Returns:
| Type | Description |
|---|---|
|
A new |
Source code in comcheck_api/defaults.py
get_default_roof_template
¶
Return a deep copy of the default :class:~comcheck_api.types.core_types.Roof template.
Defaults to an above-deck roof with 6 000 sq ft gross area and R-37 continuous insulation.
Returns:
| Type | Description |
|---|---|
|
A new |
Source code in comcheck_api/defaults.py
get_default_ag_wall_template
¶
Return a deep copy of the default :class:~comcheck_api.types.core_types.AgWall template.
Defaults to a metal-frame 24-inch above-grade wall with 4 800 sq ft gross area, R-20 cavity / R-10 continuous insulation.
Returns:
| Type | Description |
|---|---|
|
A new |
Source code in comcheck_api/defaults.py
get_default_floor_template
¶
Return a deep copy of the default :class:~comcheck_api.types.core_types.Floor template.
Defaults to a heated slab-on-grade floor with 320 sq ft gross area and R-15 continuous insulation.
Returns:
| Type | Description |
|---|---|
|
A new |
Source code in comcheck_api/defaults.py
get_default_bg_wall_template
¶
Return a deep copy of the default :class:~comcheck_api.types.core_types.BgWall template.
Defaults to a concrete below-grade wall with 3 000 sq ft gross area, R-20 cavity / R-10 continuous insulation, and wood furring.
Returns:
| Type | Description |
|---|---|
|
A new |
Source code in comcheck_api/defaults.py
get_default_skylight_template
¶
Return a deep copy of the default :class:~comcheck_api.types.core_types.Skylight template.
Defaults to a no-curb, double-pane low-E skylight with 100 sq ft gross area.
Returns:
| Type | Description |
|---|---|
|
A new |
Source code in comcheck_api/defaults.py
get_default_window_template
¶
Return a deep copy of the default :class:~comcheck_api.types.core_types.Window template.
Defaults to a triple-pane, non-operable, metal-frame window with 300 sq ft gross area and NFRC performance data.
Returns:
| Type | Description |
|---|---|
|
A new |
Source code in comcheck_api/defaults.py
get_default_door_template
¶
Return a deep copy of the default :class:~comcheck_api.types.core_types.Door template.
Defaults to a swinging, insulated metal entrance door with 23 sq ft gross area.
Returns:
| Type | Description |
|---|---|
|
A new |
Source code in comcheck_api/defaults.py
get_default_thermal_bridge_template
¶
Return a deep copy of the default :class:~comcheck_api.types.core_types.ThermalBridge template.
Defaults to a prescriptive linear floor-to-wall intersection thermal bridge with a psi factor of 0.177 and 100 ft length.
Returns:
| Type | Description |
|---|---|
|
A new |
Source code in comcheck_api/defaults.py
get_default_interior_space_template
¶
Return a deep copy of the default interior lighting space template.
In the COMcheck API schema, an interior lighting space is represented by
the :class:~comcheck_api.types.core_types.ActivityUse model, aliased as
:class:~comcheck_api.types.common_types.InteriorSpace. This corresponds
to what the COMcheck web app calls an Interior Lighting Space.
The key field is set to "__unset__" — pass the template directly to
:func:~comcheck_api.project_operations.project_interior_lighting_operations.add_interior_space_to_project,
which sets the key to the parent building area automatically.
Returns:
| Type | Description |
|---|---|
|
A new :class: |
Source code in comcheck_api/defaults.py
get_default_fixture_template
¶
Return a deep copy of the default :class:~comcheck_api.types.core_types.Fixture template.
Defaults to an LED fixture at 32 W, quantity 1, with no lighting controls.
Returns:
| Type | Description |
|---|---|
|
A new |
Source code in comcheck_api/defaults.py
get_default_exterior_area_template
¶
Return a deep copy of the default exterior lighting area template.
In the COMcheck API schema, an exterior lighting area is represented by
the :class:~comcheck_api.types.core_types.ExteriorUse model, aliased as
:class:~comcheck_api.types.common_types.ExteriorArea. This corresponds
to what the COMcheck web app calls an Exterior Lighting Area.
Defaults to a parking-area exterior lighting area with 1 000 sq ft quantity
and an empty :class:~comcheck_api.types.core_types.ExteriorLightingSpace.
Returns:
| Type | Description |
|---|---|
|
A new :class: |
Source code in comcheck_api/defaults.py
get_default_fixture_schedule_template
¶
Return a default fixture schedule template with a unique key.
.. warning::
Not yet implemented — raises :exc:NotImplementedError.