Packages
PHX is organized around a central in-memory model with importers that read source formats into that model and exporters that write it out to target formats.
model
The PHX model classes and structures. These objects are an intermediate representation of Passive House building data — geometry, constructions, windows, HVAC, DHW, renewables, certification settings, and more. Models are not written directly but are created by one of the importers below.
from_HBJSON
Creates a new PHX model from an existing HBJSON file produced by Honeybee-PH. This is the primary import path for most workflows.
from_WUFI_XML
Creates a new PHX model from an existing WUFI-Passive XML file, enabling round-trip editing of WUFI models.
from_PHPP
Creates a new PHX model from an existing PHPP Excel file.
to_WUFI_XML
Exports a PHX model as a WUFI-Passive XML file that can be opened directly in the WUFI-Passive application.
to_PHPP
Exports PHX model data to a PHPP Microsoft Excel spreadsheet using localized field mapping.
to_PPP
Exports a PHX model as a PPP file.
to_METr_JSON
Exports a PHX model as a METr JSON file for the next-generation WUFI platform.
PHPP
Manages the connection to a live PHPP Excel workbook — localization, sheet I/O, and the data model for PHPP rows and fields.
xl
Low-level Excel utilities (xlwings wrappers) used by the PHPP exporter.