@@ -519,18 +519,6 @@ void GetShadowingInput(EnergyPlusData &state)
519
519
state.dataSysVars->shadingMethod = ShadingMethod::PolygonClipping;
520
520
}
521
521
522
- if ((state.dataSysVars->shadingMethod == DataSystemVariables::ShadingMethod::PixelCounting) &&
523
- state.dataSolarShading->anyScheduledShadingSurface) {
524
- ShowSevereError(state, "The Shading Calculation Method of choice is \"PixelCounting\"; ");
525
- ShowContinueError(state, "and there is at least one shading surface of type ");
526
- ShowContinueError(state, "Shading:Site:Detailed, Shading:Building:Detailed, or Shading:Zone:Detailed, ");
527
- ShowContinueError(state, "that has an active transmittance schedule value greater than zero or may vary.");
528
- ShowContinueError(state, "With \"PixelCounting\" Shading Calculation Method, the shading surfaces will be treated as ");
529
- ShowContinueError(state, "completely opaque (transmittance = 0) during the shading calculation, ");
530
- ShowContinueError(state, "which may result in inaccurate or unexpected results.");
531
- ShowContinueError(state, "It is suggested switching to another Shading Calculation Method, such as \"PolygonClipping\".");
532
- }
533
-
534
522
aNum++;
535
523
if (NumAlphas >= aNum) {
536
524
if (Util::SameString(state.dataIPShortCut->cAlphaArgs(aNum), "Periodic")) {
@@ -738,6 +726,18 @@ void processShadowingInput(EnergyPlusData &state)
738
726
{
739
727
// all shadow input processing that needed zones and surfaces to already be read into data (part of fix for Defect #10299)
740
728
729
+ if ((state.dataSysVars->shadingMethod == DataSystemVariables::ShadingMethod::PixelCounting) &&
730
+ state.dataSolarShading->anyScheduledShadingSurface) {
731
+ ShowSevereError(state, "The Shading Calculation Method of choice is \"PixelCounting\"; ");
732
+ ShowContinueError(state, "and there is at least one shading surface of type ");
733
+ ShowContinueError(state, "Shading:Site:Detailed, Shading:Building:Detailed, or Shading:Zone:Detailed, ");
734
+ ShowContinueError(state, "that has an active transmittance schedule value greater than zero or may vary.");
735
+ ShowContinueError(state, "With \"PixelCounting\" Shading Calculation Method, the shading surfaces will be treated as ");
736
+ ShowContinueError(state, "completely opaque (transmittance = 0) during the shading calculation, ");
737
+ ShowContinueError(state, "which may result in inaccurate or unexpected results.");
738
+ ShowContinueError(state, "It is suggested switching to another Shading Calculation Method, such as \"PolygonClipping\".");
739
+ }
740
+
741
741
if (state.dataSysVars->shadingMethod == DataSystemVariables::ShadingMethod::Imported) {
742
742
int ExtShadingSchedNum;
743
743
for (int SurfNum = 1; SurfNum <= state.dataSurface->TotSurfaces; ++SurfNum) {
0 commit comments