Skip to content

Add ERV mapping to baseline workflow - #35

Open
JieXiong9119 wants to merge 14 commits into
developfrom
add-erv-mapping-to-baseline
Open

JieXiong9119 wants to merge 14 commits into
developfrom
add-erv-mapping-to-baseline

Conversation

@JieXiong9119

Copy link
Copy Markdown
Contributor

Summary

Maps BuildingSync energy recovery ventilators (ERVs) onto L200 topology baselines using ComStock heat recovery. When a recovery record's VentilationType is Energy recovery ventilator, the baseline workflow overrides heat exchanger effectiveness with ComStock's ERV values.

Depends on buildingsync-measures-gem add-comstock-erv-preset, which adds the comstock_erv option to modify_existing_heat_recovery.

Changes

  • HvacTopologySelector: the recovery match now passes the record's VentilationType in measure_arguments as ventilation_type.
  • BaselineHvacPlanner:
    • When any recovery result is an ERV, adds a modify_existing_heat_recovery step (target_heat_exchanger_names: '*', effectiveness_metric: 'comstock_erv') right after the ComStock recovery step.
    • Mixed HRV and ERV records fall back to the template baseline, because ComStock recovery applies to the whole model. The fallback reason is: "Mixed heat and energy recovery ventilators are not supported; ComStock recovery is model-wide."
  • Recovery mapping cleanup (earlier on this branch):
    • Removed the validator measure.
    • An economizer-only delivery is now folded into its central delivery.
    • Recovery Integration is inferred when every linked delivery is central air.
  • README: documents the ERV override and the mixed HRV/ERV fallback.

Testing

  • Unit specs: 172 examples, 0 failures. New tests cover the ERV step, the mixed-type fallback, measure_arguments, and the step order for the Example_ASHRAE_L2_Report_l200_erv.xml fixture.
  • Integration, write and run an L200 baseline with ComStock recovery (Example_ASHRAE_L2_Report_l200_erv.xml):
    • The workflow and every step succeeded.
    • heat_exchangers_updated matched the number of created loops.
    • The final model (baseline/in.osm) has 45 exchangers with ComStock ERV values: sensible 0.675 and latent 0.549 at 100% heating flow.
    • The full spec has not been rerun since its model path was corrected. The corrected assertion was checked directly against the saved model.
  • Integration regression: 5 examples, 0 failures.
    • Both small-office topology baselines.
    • Example_ASHRAE_L2_Report.xml.
    • BuildingEQ-1.0.0.xml.
    • all_measures_applied_example.xml.
  • git diff --check is clean. RuboCop was not run.

Notes / follow-ups

  • The override applies to every heat exchanger in the model, so per-system HRV/ERV mixes are not supported yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant