Skip to content

ASHRAE 140: Complete all 18 test cases (not just 8) #103

@anchapin

Description

@anchapin

Summary

Currently, the ASHRAE 140 validator only runs 8 cases (600, 610, 620, 630, 900, 910, 920, 930) but ASHRAE 140 specifies 18 test cases.

Missing Cases

Low Mass (600 series) - Missing:

  • Case 640: Thermostat setback (heating set to 10°C overnight 23:00-07:00)
  • Case 650: Night ventilation (fan ON 18:00-07:00, heating disabled)
  • Case 600FF: Free-floating (no HVAC, track temperatures)
  • Case 650FF: Free-floating with night ventilation

High Mass (900 series) - Missing:

  • Case 940: Thermostat setback (same as 640 but high mass)
  • Case 950: Night ventilation (same as 650 but high mass)
  • Case 900FF: Free-floating (no HVAC, high mass)
  • Case 950FF: Free-floating with night ventilation

Special Cases - Missing:

  • Case 960: Sunspace (2-zone building with inter-zone coupling)
  • Case 195: Solid conduction (no windows, no infiltration, no internal loads, bang-bang control)

Implementation Requirements

  1. Free-Floating Mode: Implement HVAC mode where heating/cooling is disabled and zone temperatures are tracked (not controlled)

  2. Thermostat Setback: Extend HvacSchedule to support time-based setpoint changes (already partially implemented in ashrae_140_cases.rs)

  3. Night Ventilation: Implement scheduled ventilation fan that runs during specific hours (already defined in NightVentilation struct)

  4. Multi-Zone Support: Case 960 requires 2-zone thermal model with inter-zone conductance through common wall

  5. Case 195: Special case with:

    • No windows
    • No infiltration (0 ACH)
    • No internal loads (0 W)
    • Bang-bang control (heating = cooling = 20°C)

Current Status

  • Case definitions exist in src/validation/ashrae_140_cases.rs
  • Validator only runs 8 cases in src/validation/ashrae_140_validator.rs

Files to Modify

  • src/validation/ashrae_140_validator.rs: Add missing cases to validation loop
  • src/sim/engine.rs: May need free-floating mode support
  • src/sim/schedule.rs: Verify thermostat setback works correctly
  • src/sim/ventilation.rs: Verify night ventilation calculation

References

  • ASHRAE 140-2023 standard
  • Case specifications in docs/ASHRAE140_MVP_ROADMAP.md
  • Case definitions in src/validation/ashrae_140_cases.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions