A comprehensive command-line tool for analyzing Indoor Environmental Quality (IEQ) and energy efficiency data in buildings. HVX provides an interactive workflow that guides you through data loading, standards selection, hierarchical analysis, and professional report generation.
- π― Interactive Workflow - Guided step-by-step analysis process
- π Hierarchical Analysis - Portfolio, building, level, and room-level insights
- π Standards Compliance - EN16798-1, BR18, Danish Guidelines, and more
- π Rich Visualizations - Extensible chart library with multiple chart types
- π Professional Reports - HTML and PDF reports with customizable templates
- π’ Multi-Building Support - Analyze entire building portfolios
- π Data Quality Metrics - Comprehensive data validation and quality scoring
- π― Smart Recommendations - AI-powered improvement suggestions
- π Extensible - JSON-first architecture for easy integration
# Clone repository
git clone https://github.com/bruadam/hvx.git
cd hvx
# Install
pip install -e .
# Start interactive IEQ analysis
hvx ieq start
# Or start with a specific data directory
hvx ieq start --directory data/samples/sample-extensive-data# Clone repository
git clone https://github.com/bruadam/hvx.git
cd hvx
# Install in development mode
pip install -e .
# Verify installation
hvx --version- Python 3.9+
- See setup.py for full dependencies
- CLI Overview - Complete command reference and workflows
- IEQ Commands - Indoor Environmental Quality analysis
- Interactive Workflow - Step-by-step analysis guide
- Quick Start Guide - Get started in 5 minutes
hvx ieq start # Start interactive IEQ analysis workflow
hvx ieq start --directory <path> # Start with specific data directory
hvx ieq start --auto # Run with default settings (non-interactive)
hvx ieq info # Show IEQ terminology and conceptshvx energy # Energy analysis commands (coming soon)hvx settings # Manage HVX settings and configurationsHVX provides a guided, step-by-step workflow for IEQ analysis:
# Start the interactive workflow
hvx ieq startThe workflow guides you through:
- Load Building Data - Point to your data directory containing building sensor data
- Select Building Type - Office, school, residential, healthcare, or mixed
- Choose Standards - Select compliance standards (EN16798-1, BR18, Danish Guidelines)
- Process Analytics - Automated hierarchical analysis at portfolio, building, level, and room levels
- Explore Results - Interactive exploration of analysis results and metrics
- Generate Reports - Create professional HTML/PDF reports using templates
- Export Data - Save analytics data in various formats (JSON, Excel, CSV, Markdown)
For automation or scripting:
# Run with defaults (no prompts)
hvx ieq start --directory data/my-buildings --auto
# Start from a specific directory
hvx ieq start --directory data/samples/sample-extensive-datadata/
βββ buildings/
βββ building-1/
β βββ climate/
β β βββ climate-data.csv
β βββ sensors/
β βββ room1.csv
β βββ room2.csv
βββ building-2/
βββ sensors/
βββ room1.csv
All CSV files require:
timestampcolumn in ISO 8601 format- Sensor columns:
temperature,co2,humidity,occupancy, etc.
timestamp,temperature,co2,humidity,occupancy
2024-01-01 00:00:00,20.5,450,55,0
2024-01-01 01:00:00,20.3,430,54,0
See Data Commands Documentation for detailed format requirements.
Directory Structure β Data Loader β Dataset (Pickle)
β
Analysis Engine
β
Hierarchical Results (JSON)
β
βββββββββββ΄ββββββββββ
Reports Dashboards
output/
βββ dataset.pkl # Loaded data
βββ dataset.json # Data summary
βββ analysis/ # Analysis results
β βββ portfolio.json
β βββ buildings/*.json
β βββ levels/*.json
β βββ rooms/*.json
βββ charts/ # Generated charts
βββ reports/ # PDF reports
HVX includes built-in support for multiple IEQ standards:
- EN16798-1 - European standard for indoor environmental parameters (Categories I-IV)
- BR18 - Danish Building Regulations 2018
- Danish Guidelines - Danish indoor climate guidelines
Standards are configured during the interactive workflow or can be customized in:
src/core/analytics/ieq/config/standards/- Standard definitions (EN16798-1, BR18, Danish Guidelines)config/report_templates/- Report templates (building_detailed.yaml, portfolio_summary.yaml)
See the interactive workflow documentation for configuration details.
# Run test workflow
./tests/test_hvx_workflow.sh
# Run specific tests
pytest tests/analytics/
βββ src/ # Source code
β βββ cli/ # CLI commands
β βββ core/ # Core analytics engine
β βββ models/ # Data models
β βββ services/ # Service layer
β βββ graphs/ # Chart library
β βββ reporting/ # Report templates
βββ config/ # Configuration files
βββ docs/ # Documentation
βββ tests/ # Test files
βββ output/ # Generated outputs
# Start interactive workflow
hvx ieq start --directory data/samples/sample-extensive-data
# The interactive workflow will guide you through:
# 1. Confirming data directory and loading buildings
# 2. Selecting building type (office, school, etc.)
# 3. Choosing applicable standards (EN16798-1, BR18, etc.)
# 4. Running hierarchical analysis
# 5. Exploring results
# 6. Generating reports
# 7. Exporting data# Run with defaults (non-interactive)
hvx ieq start --directory data/samples/sample-extensive-data --auto
# Results will be saved to:
# - output/analysis/ - Analysis results (JSON)
# - output/reports/ - Generated reports (HTML/PDF)# Show IEQ terminology and concepts
hvx ieq infoContributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Submit a pull request
GNU General Public License v3.0 - See LICENSE for details
- Documentation: docs/cli/
- Issues: GitHub Issues
- Quick Start: docs/QUICKSTART.md
Built for facility management and building performance analysis. Open source, transparent, and extensible.