Skip to content

Commit

Permalink
fix probablistic weather (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJones687 authored Mar 21, 2024
1 parent 9aece1c commit f461cf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/configuration.R
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ configuration <- function(config) {
}

if (config$weather_type == "probabilistic") {
config$number_of_time_steps <- round(config$number_of_time_steps / config$number_of_years)
if (config$number_of_time_steps > config$weather_size) {
config$failure <- weather_size_probabilitic_error
return(config)
Expand Down

0 comments on commit f461cf2

Please sign in to comment.