Skip to main content

ConStrain is a data-driven knowledge-integrated framework that automatically verifies that building system controls function as intended.

Project description

Control Strainer (ConStrain): A Data-driven Control Verification Framework (formally known as ANIMATE)

Unit tests status: Tests

Background and Motivation

Advances in building control have shown significant potential for improving building energy performance and decarbonization. Studies show that designs utilizing optimized controls that are properly tuned could cut commercial building energy consumption by approximately 29% - equivalent to 4-5 Quads, or 4-5% of the energy consumed in the United States. Driven by the significant control-related energy-saving potential, commercial building energy codes (such as ASHRAE 90.1) have progressed with many control-related addenda. For example, from the publication of 90.1-2004 to 90.1-2016 (four code cycles), 30% of the new requirements are related to building control (with most of them focused on HVAC system control).

However, one of the challenges to realizing those savings is the correct implementation of such advanced control strategies and regularly verifying their actual operational performance. A field study found that only 50% of systems observed have their control system correctly configured to meet the energy codes requirement, and control-related compliance verification is typically not included in the commissioning (Cx) scope. The current control verification is often manually conducted, which is time-consuming, ad-hoc, incomplete, and error-prone.

What is ConStrain?

ConStrain is a data-driven knowledge-integrated framework that automatically verifies that controls function as intended. The figure below shows an overview of ConStrain and how it can be used. ConStrain was born out of the need of automating the verification of time-series data describing the behavior of building components, especially the control functions.

ConStrain is designed around three key features: building control knowledge integration, analytics, and automation. The framework includes three major components: a control verification algorithm library (rule-based, procedure-based, and AI-based), an automated preparation process and verification case generation, a standardized performance evaluation and reporting process.

While the development of ConStrain was motivated by use cases with building energy modeling (BEM), it is now evolved for more application scenarios towards real building control verification.

Overview of ConStrain

Who shall be interested in this framework?

  • Cx agent – reduce effort and cost, while increasing rigor.
  • Building operator – implement Continuous Commissioning (CCx) to avoid performance drift.
  • Authority having jurisdiction (AHJ) – achieve better compliance rates for control provisions in code.
  • Mechanical engineer/energy modeler – ensure that chosen systems and their controls will comply with code.
  • Energy code/control guideline developer – identify ambiguity in code languages.
  • BEM software developer – identify control related issues in simulation engine.

Current Version of ConStrain?

The current version of ConStrain includes the framework implementation, a preliminary development and implementation of the verification library (based on ASHRAE 90.1-2016 control related requirement), and the test cases of verification algorithms using prototype building models. The current list of implemented verification algorithms includes supply air temperature control, economizer high limit, integrated economizer control, zone temperature control (dead band), zone temperature control (setback), hot water temperature reset, chilled water temperature reset, etc.

A newly released API helps users to use ConStrain more easily. An API workflow demo is provided at demo/api_demo and test/api/test_workflow.py

See the Publications section for more information and example of uses of the framework.

Get Started

Publications

Referencing

If you wish to cite ConStrain in academic work please use: Lei, X., Lerond, J., Jung, Y. J., & Chen, Y. (2024). ConStrain (Version 0.5.0) [Computer software]. https://github.com/pnnl/ConStrain

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

constrain-0.5.0.tar.gz (104.4 kB view details)

Uploaded Source

Built Distribution

constrain-0.5.0-py3-none-any.whl (153.1 kB view details)

Uploaded Python 3

File details

Details for the file constrain-0.5.0.tar.gz.

File metadata

  • Download URL: constrain-0.5.0.tar.gz
  • Upload date:
  • Size: 104.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for constrain-0.5.0.tar.gz
Algorithm Hash digest
SHA256 2101d2c774f9e59bc835ea22b45fd59c44d18c43a9bf54659023669c2705e35d
MD5 3a6b1bb55fa36d1f0e6d5a7ef5db783e
BLAKE2b-256 d9628381b23b1d0b22256e975ea8e20ed5ca5f03b9a6b8a61cbbd80042b3721e

See more details on using hashes here.

File details

Details for the file constrain-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: constrain-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 153.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for constrain-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa3f5da77452bd5570b67948fb3769b1b9caa9740d1448822bd70bd742d37e3e
MD5 d920f1e5d52db7290db9b195b4a4c69c
BLAKE2b-256 642b2488f416e97b449e48a23457c28fc9f72bce51404cc1bfaef13c8a86cead

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page