Skip to content

Commit

Permalink
changing error message to warning and rewording #4695
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerket committed Aug 19, 2015
1 parent b5d65e9 commit 9de9ed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EnergyPlus/WaterThermalTanks.cc
Expand Up @@ -3703,8 +3703,8 @@ namespace WaterThermalTanks {
} // EquipmentTypeNum
if ( TankNotLowestPriority && FoundTankInList ) {
ShowSevereError( cCurrentModuleObject + " = " + HPWH.Name + ':' );
ShowContinueError( "Heat pump water heaters must have lower priorities than all other equipment types in a ZoneHVAC:EquipmentList." );
ErrorsFound = true;
ShowContinueError( "Heat pump water heaters should be simulated first, before other space conditioning equipment." );
ShowContinueError( "Poor temperature control may result if the Heating/Cooling sequence number is not 1 in the ZoneHVAC:EquipmentList." );
}
break;
} // ZoneEquipConfigNum .LE. NumOfZoneEquipLists
Expand Down

4 comments on commit 9de9ed7

@nmerket
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not quite sure how I'd write a unit test for this, @mbadams5?

@mbadams5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nmerket You can't easily search the error file yet, but you can query the sqlite output for these string outputs. Look at OutputProcessor.unit.cc for examples of this. I can try to give a more concrete example later.

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4695_hpwh_equip_seq_num (nmerket) - i386-Windows-7-VisualStudio-12: OK (1797 of 1797 tests passed)

Build Badge Test Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4695_hpwh_equip_seq_num (nmerket) - Win64-Windows-7-VisualStudio-12: OK (1797 of 1797 tests passed)

Build Badge Test Badge

Please sign in to comment.