Skip to content

HPWH incorrect handling of large draws #531

@chipbarnaby

Description

@chipbarnaby

HPWH::runOneStep() reports output temp as 0 when the draw during the step exceeds the tank volume.

This situation can be duplicated with the attached files.

Procedure --

  1. Put breakpoint(s) in HPWH.cc function HPWH::updateTankTemps() at line 2883 if (drawVolume_L > tankVolume_L)
  2. Run BK.cse file in a debug build. There are a number of small energy balance errors, please ignore (to be pursued later). This simulation is set up with 60 substeps per hour so each CSE subhour has a single HPWH call.
  3. The large draw case occurs a few times during the annual simulation and should hit the breakpoint.
  4. Analyze and fix.

BK.zip

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions