Skip to content

Commit

Permalink
Fixed SAX parser complaint.
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonHD committed Sep 28, 2023
1 parent 4971d9b commit e152f21
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions javasrc/org/hd/d/TRVmodel/hg/ShowComputations.java
Original file line number Diff line number Diff line change
Expand Up @@ -375,18 +375,8 @@ public static String generateHTMLSagTable() throws IOException
temperatures201X);
final double equilibriumTemperatureMin[] = new double[1];
final ScenarioResult result201X = scenario201X.runScenario(detached, true, equilibriumTemperatureMin);
//// final double heatNoSetback201X = result201X.demand().noSetback().heatDemand();
//// final double heatWithSetback201X = result201X.demand().withSetback().heatDemand();
// // Overall home heat demand is not affected by archetype or room setback layout, so only show once.
// final double heatDelta201X = 100*((heatWithSetback201X/heatNoSetback201X)-1);
//// if(!detached && abab)
//// { result.append(String.format("<td rowspan=\"2\" style=\"text-align:right\">%.1f%%</td>", heatDelta201X)); }
// // Heat-pump power demand delta.
// final double powerNoSetback201X = result201X.demand().noSetback().heatPumpElectricity();
// final double powerWithSetback201X = result201X.demand().withSetback().heatPumpElectricity();
// final double powerDelta201X = 100*((powerWithSetback201X/powerNoSetback201X)-1);
final double sag = HGTRVHPMModel.NORMAL_ROOM_TEMPERATURE_C - equilibriumTemperatureMin[0];
result.append(String.format("<td style=\"text-align:right\">%.1f&deg;C</td>", sag));
result.append(String.format("<td style=\"text-align:right\">%.1fK</td>", sag));
}
result.append("</tr>\n");
}
Expand Down

0 comments on commit e152f21

Please sign in to comment.