Use this skill when troubleshooting OpenStudio or EnergyPlus energy models that fail to simulate, have geometry errors (intersecting surfaces, non-planar surfaces, story organization issues), need HVAC validation against Engineer of Record specifications, require LEED Appendix G baseline generation, or need systematic diagnostics for complex commercial building models. Handles model triage, geometry rebuild decisions, EOR specification mapping, and quality assurance for LEED compliance.
Systematic troubleshooting, validation, and repair workflows for OpenStudio and EnergyPlus energy models. Particularly useful for LEED projects, complex HVAC systems, and models with geometry errors.
Key Principle: All recommendations must be validated against authoritative sources before implementation.
Before providing ANY fix recommendations, validate your approach using these authoritative sources in priority order:
Check OpenStudio Documentation FIRST (Primary Source - MANDATORY for geometry and HVAC)
Search Unmet Hours Community (Secondary Source - Use with Caution)
site:unmethours.com [topic] openstudioReference EnergyPlus Documentation (Object-Level Details)
Before recommending any fix:
See validation-sources.md for detailed instructions on version-specific docs and contributor evaluation.
Six major patterns account for most model failures.
For detailed symptoms, root causes, and step-by-step fixes, see common-error-patterns.md
Pattern 1: Overlapping Building Stories
Pattern 2: Non-Planar Surfaces
Pattern 3: Unassigned Thermal Zones
Pattern 4: Missing HVAC Connections
Pattern 5: Surface Matching Failures
Pattern 6: Schedule Type Mismatches
Five systematic workflows for common scenarios.
For detailed step-by-step procedures, see diagnostic-workflows.md
When: Model fails to simulate or has unexpected behavior
Quick Steps:
Output: Prioritized list of blocking issues
Before providing fixes: Validate approach for each issue type using validation-sources.md
When: Considering whether to fix or rebuild geometry
Decision Criteria:
Time Estimates:
Before recommending: Validate geometry best practices with OpenStudio documentation
When: Starting new model or validating zone assignments
Key Steps:
Output: Validated mapping between spaces and EOR equipment
Before providing recommendations: Cross-reference EOR specs carefully, validate HVAC approach with OpenStudio docs
When: Ready to create ASHRAE 90.1 Appendix G baseline model
See leed-compliance-procedures.md for comprehensive procedures.
High-Level Steps:
Before baseline generation: Validate Appendix G requirements for project's ASHRAE 90.1 version and climate zone
When: Multiple simulation errors need methodical resolution
Key Steps:
Before providing fixes: For EACH error, validate solution approach using validation-sources.md
For comprehensive LEED procedures, see leed-compliance-procedures.md
Proposed Model Ready:
Baseline Transformation Rules (ASHRAE 90.1 Appendix G):
Rotation Analysis:
Percent Savings:
Before LEED work: Validate Appendix G requirements for project's specific ASHRAE 90.1 version
□ All spaces assigned to building stories with correct Z-coordinates
□ All spaces have thermal zones
□ All thermal zones have HVAC equipment or ideal loads
□ All surfaces properly matched (no red in 3D view)
□ No duplicate or overlapping geometry
□ Space types assigned
□ Construction sets assigned
□ Schedules defined and applied
□ Weather file matches project location
□ Simulation completed without severe errors
□ Unmet hours <300 (for LEED)
□ Energy consumption reasonable (compare EUI to benchmarks)
□ Equipment sizing reasonable
□ Monthly energy patterns make sense
□ End use breakdown logical
□ All equipment from EOR specs in model
□ Equipment types match exactly
□ Thermal zones match EOR space assignments
□ Plant loops correct for water-based systems
□ Terminal types match (VAV vs CV, reheat vs no reheat)
For detailed project context, see project-example-recreation-center.md
Key Project Details:
11_10_2025_ZoneEquipList.pdf)Special Considerations:
Before working on this project:
11_10_2025_ZoneEquipList.pdfExample_HVAC_Rebuild_Plan.mdUser: "My energy model won't simulate. Can you diagnose what's wrong?"
Response Pattern:
1. "I'll run a systematic diagnostic using Workflow 1 (Model Triage)"
2. [Check story organization, surfaces, zones, HVAC]
3. [Identify issues - e.g., "5 stories at Z=0, 8 intersecting surfaces"]
4. **VALIDATE**: Use WebFetch on OpenStudio 3.9 geometry documentation (PRIMARY)
5. [If needed] Search Unmet Hours for similar issues (SECONDARY - check contributor reputation)
6. Provide recommendations citing sources with version:
"According to OpenStudio 3.9 geometry documentation, Building Story objects must represent physical floor levels, not programmatic areas..."
7. Recommend fix or rebuild based on validated decision criteria
Key: ALWAYS check OpenStudio docs FIRST, especially for geometry issues
User: "Can you check if my model matches the mechanical engineer's specifications?"
Response Pattern:
1. "I'll use Workflow 3 (EOR Specification Mapping)"
2. Request documents: OSM file, EOR mechanical drawings/equipment schedule
3. Create equipment matrix from EOR specs
4. Export model zone assignments
5. Compare and flag discrepancies
6. **VALIDATE**: Check OpenStudio 3.9 HVAC documentation for proper modeling (PRIMARY)
7. [If needed] Search Unmet Hours for equipment-specific guidance (SECONDARY - prioritize NREL/Big Ladder answers)
8. Provide specific fix instructions for each discrepancy, citing sources:
"Per OpenStudio 3.9 HVAC systems documentation..."
Key: Check OpenStudio HVAC docs FIRST before recommending any HVAC changes
User: "I need to create my LEED baseline model."
Response Pattern:
1. "I'll guide you through LEED baseline generation (see leed-compliance-procedures.md)"
2. Run pre-simulation checklist on proposed model
3. **VALIDATE**: Check ASHRAE 90.1 version requirements for project
4. **VALIDATE**: WebFetch current Appendix G transformation rules
5. Guide through transformations (envelope, lighting, HVAC)
6. Create 4 rotations
7. Calculate percent savings
8. Verify unmet hours
9. Generate documentation
Key: Validate Appendix G requirements for specific project version and climate zone
User: "I'm getting errors about non-planar surfaces. How do I fix this?"
Response Pattern:
1. "I'll help resolve non-planar surface errors (Pattern 2)"
2. Identify specific surfaces from error file
3. **VALIDATE**: WebFetch OpenStudio 3.9 geometry editor documentation (PRIMARY - mandatory check)
4. [If additional context needed] Search Unmet Hours: "site:unmethours.com non-planar surface openstudio"
- Check contributor reputation (prefer NREL staff, Big Ladder Software)
- Verify answer is recent and compatible with OpenStudio 3.x
5. Provide fix strategy citing OpenStudio docs:
"Per OpenStudio 3.9 geometry documentation, non-planar surfaces should be deleted and recreated..."
[If using Unmet Hours] "This approach is validated by [contributor name] on Unmet Hours..."
6. Provide step-by-step fix instructions
7. Explain prevention strategies
Key: OpenStudio docs are PRIMARY source; use Unmet Hours only for additional context and only from trusted contributors
This skill works in combination with:
Location: scripts/analyze_energyplus_results.py
Automated tool to extract, calculate, and structure key metrics from EnergyPlus simulation outputs. Designed to distill E+ results for LLM interpretation and graphing tools, separating calculation work from interpretation.
Purpose:
Usage:
# Imperial units, JSON output
python scripts/analyze_energyplus_results.py \
--input-dir "path/to/run/" \
--units imperial \
--format json
# Metric units, Markdown summary
python scripts/analyze_energyplus_results.py \
--input-dir "path/to/run/" \
--units metric \
--format markdown \
--output summary.md
Input Sources (priority order):
eplusout.sql - SQLite database (most complete)results.json - OpenStudio Results measure (supplemental, optional)eplustbl.htm - HTML tables (fallback)Metrics Extracted:
Output Formats:
When to Use:
All supporting files use progressive disclosure to keep this skill concise:
Purpose: Generate lifecycle cost analysis summaries when comparing HVAC system alternatives (baseline vs. proposed systems)
Location: scripts/npv_analysis_email_generator.py
Documentation: docs/TOOL_NPV_Email_Generator.md
When to Use:
Typical Workflow:
Model multiple HVAC alternatives:
Extract annual energy costs from simulation results
Input costs into NPV spreadsheet:
Generate formatted summary:
python scripts/npv_analysis_email_generator.py "path/to/NPV_Analysis.xlsx" \
-o "path/to/Summary.xlsx" \
-p "Project Name - HVAC Alternatives"
Output:
Integration with Other Skills:
Example Use Cases:
For any diagnostic task:
Remember: The validation protocol is not optional. Always validate before recommending fixes.
This skill integrates with work-command-center session tracking:
Check Active Context:
node .claude/skills/work-command-center/tools/session-state.js status
Returns: Project name, project number, duration, and deliverables context
Log Activity Checkpoints:
node .claude/skills/work-command-center/tools/session-state.js checkpoint \
--activity "diagnosing-energy-models: Fixed 8 geometry errors, model ready for simulation"
Signal Completion (called by WCC after skill returns):
node .claude/skills/work-command-center/tools/session-state.js skill-complete \
--skill-name "diagnosing-energy-models" \
--summary "Diagnosed and repaired geometry errors. Model validates successfully." \
--outcome "success"
Benefits:
Last Updated: 2025-11-20 Version: 2.1 (Added EnergyPlus Results Analyzer tool) Aligned with: OpenStudio 3.9, EnergyPlus 24.2 Primary Use Cases: Recreation center projects, LEED v4 projects, complex HVAC troubleshooting
When diagnosing-energy-models work is complete or paused:
node .claude/skills/work-command-center/tools/add-skill-next-steps.js \
--skill "diagnosing-energy-models" \
--content "## Priority Tasks
1. Fix geometry errors in energy model
2. Validate HVAC system against EOR specs
3. Generate LEED Appendix G baseline model"
See: .claude/skills/work-command-center/skill-next-steps-convention.md