diff --git a/ssc/common.cpp b/ssc/common.cpp index 62ef5eec8..8ee22a47a 100644 --- a/ssc/common.cpp +++ b/ssc/common.cpp @@ -1110,7 +1110,7 @@ bool adjustment_factors::setup(int nsteps, int analysis_period) //nsteps is set m_factors[nsteps * a + i] *= (1.0 - p[a*nsteps + i]/100.0); //convert from percentages to factors } } - else if ((n % 8760 == 0) && n != (size_t)(nsteps * analysis_period)) // give a helpful error for timestep mismatch + else if ((n % 8760 == 0 || n % 2920 == 0) && n != (size_t)(nsteps * analysis_period)) // give a helpful error for timestep mismatch { m_error = util::format("Availability losses must be the same timestep as the weather file, if they are not daily/weekly/monthly."); }