Skip to content

Commit

Permalink
75127368_DCFSEC
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigusse committed Oct 20, 2014
1 parent c71ba48 commit 7a4a0ee
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/EnergyPlus/OutputReportPredefined.cc
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,7 @@ namespace OutputReportPredefined {

// for DX Cooling Coil ASHRAE 127-12 Report
pdstDXCoolCoil2 = newPreDefSubTable( pdrEquip, "DX Cooling Coil ASHRAE 127 Standard Ratings Report" );

pdchDXCoolCoilType = newPreDefColumn( pdstDXCoolCoil2, "DX Cooling Coil Type" );
//pdchDXCoolCoilTestClass = newPreDefColumn( pdstDXCoolCoil, "Application Class" );
pdchDXCoolCoilNetCapSIA = newPreDefColumn( pdstDXCoolCoil2, "Rated Net Cooling Capacity Test A [W]" );
Expand Down
7 changes: 3 additions & 4 deletions src/EnergyPlus/StandardRatings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2226,8 +2226,8 @@ namespace StandardRatings {
static std::string CompNameNew;

// Formats
static gio::Fmt const Format_101( "('! <DX Cooling Coil ASHRAE 127 Standard Rating Information>, Component Type, Component Name, Class, ','Rated Net Cooling Capacity Test A {W}, ','Rated Total Electric Power Test A {W}, ','Rated Net Cooling Capacity Test B {W}, ','Rated Total Electric Power Test B {W}, ','Rated Net Cooling Capacity Test C {W}, ','Rated Total Electric Power Test C {W}, ','Rated Net Cooling Capacity Test D {W}, ','Rated Total Electric Power Test D {W} ')" );
static gio::Fmt const Format_102( "(' DX Cooling Coil ASHRAE 127 Standard Rating Information, ',A,', ',A,', ',A,', ',A,', ',A,', ',A,', ',A,', ',A,', ',A,', ',A,', ',A)" );
static gio::Fmt const Format_101( "('! <DX Cooling Coil ASHRAE 127 Standard Ratings Information>, Component Type, Component Name, Standard 127 Classification, ','Rated Net Cooling Capacity Test A {W}, ','Rated Total Electric Power Test A {W}, ','Rated Net Cooling Capacity Test B {W}, ','Rated Total Electric Power Test B {W}, ','Rated Net Cooling Capacity Test C {W}, ','Rated Total Electric Power Test C {W}, ','Rated Net Cooling Capacity Test D {W}, ','Rated Total Electric Power Test D {W} ')" );
static gio::Fmt const Format_102( "(' DX Cooling Coil ASHRAE 127 Standard Ratings Information, ',A,', ',A,', ',A,', ',A,', ',A,', ',A,', ',A,', ',A,', ',A,', ',A,', ',A)" );


{ auto const SELECT_CASE_var( CompTypeNum );
Expand All @@ -2237,13 +2237,12 @@ namespace StandardRatings {
gio::write( OutputFileInits, Format_101 );
MyCoolOneTimeFlag = false;
}

for ( ClassNum = 1; ClassNum <= 4; ++ClassNum ) {
Num = ( ClassNum - 1 ) * 4;
ClassName = "Class " + RoundSigDigits(ClassNum);
CompNameNew = CompName + "(" + ClassName + ")";
gio::write( OutputFileInits, Format_102 ) << CompType << CompName << ClassName << RoundSigDigits( NetCoolingCapRated( Num + 1 ), 1 ) << RoundSigDigits( TotElectricPowerRated( Num + 1 ), 1 ) << RoundSigDigits( NetCoolingCapRated( Num + 2 ), 1 ) << RoundSigDigits( TotElectricPowerRated( Num + 2 ), 1 ) << RoundSigDigits( NetCoolingCapRated( Num + 3 ), 1 ) << RoundSigDigits( TotElectricPowerRated( Num + 3 ), 1 ) << RoundSigDigits( NetCoolingCapRated( Num + 4 ), 1 ) << RoundSigDigits( TotElectricPowerRated( Num + 4 ), 1 );
PreDefTableEntry( pdchDXCoolCoilType, CompName, CompType );
//PreDefTableEntry( pdchDXCoolCoilType, CompName, CompType );
PreDefTableEntry( pdchDXCoolCoilType, CompNameNew, CompType );
PreDefTableEntry( pdchDXCoolCoilNetCapSIA, CompNameNew, RoundSigDigits( NetCoolingCapRated( Num + 1 ), 1 ) );
PreDefTableEntry( pdchDXCoolCoilElecPowerA, CompNameNew, RoundSigDigits( TotElectricPowerRated( Num + 1 ), 1 ) );
Expand Down
Binary file modified testfiles/ExampleFiles.xls
Binary file not shown.
1 change: 1 addition & 0 deletions testfiles/emall.list
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ LgOffVAVusingBasement USA_IL_Chicago-OHare.Intl.AP.725300_TMY3
1ZoneUncontrolledFourAlgorithms USA_CO_Golden-NREL.724666_TMY3
1ZoneUncontrolledResLayers USA_CO_Golden-NREL.724666_TMY3
1ZoneWith14ControlledHeat-CoolPanels USA_CO_Golden-NREL.724666_TMY3
2ZoneDataCenterHVAC_wEconomizer USA_IL_Chicago-OHare.Intl.AP.725300_TMY3
4ZoneWithShading_Simple_1
4ZoneWithShading_Simple_2
5Zone_Transformer USA_IL_Chicago-OHare.Intl.AP.725300_TMY3
Expand Down

2 comments on commit 7a4a0ee

@nrel-bot
Copy link

Choose a reason for hiding this comment

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

75127368_DCFSEC (Nigusse) - x86_64-Linux-Ubuntu-14.04-gcc-4.8: OK (954 of 964 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.

75127368_DCFSEC (Nigusse) - x86_64-Linux-Ubuntu-14.04-cppcheck-1.61: OK (0 of 0 tests passed)

Build Badge

Please sign in to comment.