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.
Metadata
Release files for PH-Baseliner 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PH-Baseliner-1.3.2.tar.gz | 25.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PH_Baseliner-1.3.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 55.9 kB
Release files / PH-Baseliner-1.3.2.tar.gz
| Download URL | PH-Baseliner-1.3.2.tar.gz |
|---|---|
| Size | 25.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0936722b2fcde7fc8d45cbfaae129d538f658c1189df1951d69d2dd0128e799f
|
|
BLAKE2b-256 checksum How to use checksums |
b5330de6a1d68605efcf32cd918dbe1916dd9e4caea6b21b82220665adb4ec15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.14
|
Release files / PH_Baseliner-1.3.2-py2.py3-none-any.whl
| Download URL | PH_Baseliner-1.3.2-py2.py3-none-any.whl |
|---|---|
| Size | 30.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5caed6394a3aa9d5de81bcc9b85fae131b25bc77f113aa102b16726f4883520f
|
|
BLAKE2b-256 checksum How to use checksums |
1721e3a37207ceea97ae0424271c7f25f1d98c7867e3c579450e46cac5af6105
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.14
|