Tools to automatically setup the code-minimum Baseline values for Passive House models.
Project description
PH-Baseliner:
Tools to automatically setup the code-minimum 'Baseline' values for Passive House models.
Usage:
The most basic usage is a to edit the values of an existing PHPP file to match a desired code-minimum configuration.
>>> # --- Connect to an instance of Excel with your PHPP file open.
>>> import xlwings as xw
>>> from PHX.xl import xl_app
>>> from PHX.PHPP import phpp_app
>>> xl = xl_app.XLConnection(xl_framework=xw)
>>> _phpp_conn = phpp_app.PHPPConnection(xl)
>>>
>>> # --- Load the Code baseline model you would like to follow.
>>> import pathlib
>>> from ph_baseliner.codes.model import BaselineCode
>>> baseline_code_file_path = pathlib.Path(".", "ph_baseliner", "codes", "2020_ECCCNY.json")
>>> _baseline_code = BaselineCode.parse_file(baseline_code_file_path)
>>>
>>> # --- Set the PHPP values as desired in the various Worksheets
>>> from ph_baseliner.codes.options import ClimateZones
>>> from ph_baseliner.phpp.areas import set_baseline_envelope_constructions
>>> set_baseline_envelope_constructions(_phpp_conn, _baseline_code, ClimateZones.CZ4)
Note: The baseliner will change the values of the PHPP file, and so you should be sure to make a backup copy before using this tool.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file PH-Baseliner-1.3.2.tar.gz.
File metadata
- Download URL: PH-Baseliner-1.3.2.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0936722b2fcde7fc8d45cbfaae129d538f658c1189df1951d69d2dd0128e799f
|
|
| MD5 |
e934a25b180b2e9074a4dbd4e90c0596
|
|
| BLAKE2b-256 |
b5330de6a1d68605efcf32cd918dbe1916dd9e4caea6b21b82220665adb4ec15
|
File details
Details for the file PH_Baseliner-1.3.2-py2.py3-none-any.whl.
File metadata
- Download URL: PH_Baseliner-1.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5caed6394a3aa9d5de81bcc9b85fae131b25bc77f113aa102b16726f4883520f
|
|
| MD5 |
d4a9cbb16a37d7c75922faff522aca7c
|
|
| BLAKE2b-256 |
1721e3a37207ceea97ae0424271c7f25f1d98c7867e3c579450e46cac5af6105
|