You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (state.dataSysVars->shadingMethod == DataSystemVariables::ShadingMethod::Scheduled) {
847
+
ShowWarningError(
848
+
state,
849
+
EnergyPlus::format("ShadowCalculation specified \"Scheduled\" for the Shading Calculation Method but no schedule provided for {}.",
850
+
thisSurf.Name));
851
+
ShowContinueError(
852
+
state, "When \"Scheduled\" is selected for the Shading Calculation Method and no schedule is provided for a particular surface,");
853
+
ShowContinueError(
854
+
state, "EnergyPlus will assume that the surface is not shaded (i.e., values are set to 1.0). Use SurfaceProperty:LocalEnvironment to specify a schedule");
855
+
} else if (state.dataSysVars->shadingMethod == DataSystemVariables::ShadingMethod::Imported) {
856
+
ShowWarningError(
857
+
state,
858
+
EnergyPlus::format("ShadowCalculation specified \"Imported\" for the Shading Calculation Method but no schedule provided for {}.",
859
+
thisSurf.Name));
860
+
ShowContinueError(
861
+
state, "When \"Imported\" is selected for the Shading Calculation Method and no schedule is provided for a particular surface,");
862
+
ShowContinueError(
863
+
state, "EnergyPlus will assume that the surface is not shaded (i.e., values are set to 1.0). Use Schedule:File:Shading to specify a schedule");
864
+
}
865
+
ShowContinueError(state, "for sunlit fraction if this was not desired. Otherwise, this surface will not be shaded at all.");
866
+
} else if (numNotDef <= maxErrMessages) {
867
+
ShowWarningError(
868
+
state, EnergyPlus::format("No schedule was provided for {} either. See above error message for more details.", thisSurf.Name));
869
+
}
858
870
}
859
-
}
860
-
}
861
-
if (numNotDef > maxErrMessages) {
862
-
ShowContinueError(state, EnergyPlus::format("This message is only shown for the first {} occurrences of this issue.", maxErrMessages));
0 commit comments