Skip to content

Commit

Permalink
unused
Browse files Browse the repository at this point in the history
  • Loading branch information
rraustad committed Sep 1, 2024
1 parent 1b19783 commit 5ddf16b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/EnergyPlus/WindowManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,6 @@ namespace Window {
GlWidth = surf.Width;
NumVertDividers = frdiv.VertDividers;
NumHorDividers = frdiv.HorDividers;
int BaseSurfNum = surf.BaseSurf;
state.dataSurface->SurfWinFrameConductance(SurfNum) = frdiv.FrameConductance;
state.dataSurface->SurfWinFrameSolAbsorp(SurfNum) = frdiv.FrameSolAbsorp;
state.dataSurface->SurfWinFrameVisAbsorp(SurfNum) = frdiv.FrameVisAbsorp;
Expand Down Expand Up @@ -2088,7 +2087,6 @@ namespace Window {
int ZoneNumAdj; // An interzone surface's adjacent zone number
int TotLay; // Total number of layers in a construction
// (sum of solid layers and gap layers)
int TotGlassLay; // Total number of glass layers in a construction
int LayPtr; // Material number for a layer
WinShadingType ShadeFlag; // Flag indicating whether shade or blind is on, and shade/blind position
// REAL(r64) :: tsky ! Sky temperature [K]
Expand Down Expand Up @@ -2137,7 +2135,6 @@ namespace Window {
CalcComplexWindowThermal(
state, SurfNum, temp, HextConvCoeff, SurfInsideTemp, SurfOutsideTemp, SurfOutsideEmiss, DataBSDFWindow::Condition::Invalid);

TotGlassLay = state.dataConstruction->Construct(ConstrNum).TotGlassLayers;
wm->ngllayer = state.dataConstruction->Construct(ConstrNum).TotSolidLayers; // Simon: This is necessary to keep for frame calculations
// Simon: need to transfer surface temperatures because of frames calculation

Expand Down Expand Up @@ -2228,7 +2225,7 @@ namespace Window {
}
// end new TC code

TotGlassLay = state.dataConstruction->Construct(ConstrNum).TotGlassLayers;
int TotGlassLay = state.dataConstruction->Construct(ConstrNum).TotGlassLayers;
wm->ngllayer = TotGlassLay;
wm->nglface = 2 * wm->ngllayer;
ShadeFlag = state.dataSurface->SurfWinShadingFlag(SurfNum);
Expand Down

0 comments on commit 5ddf16b

Please sign in to comment.