Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with ESP sampling for Vulcanian scenario #3

Open
EllyTennant opened this issue Dec 23, 2020 · 0 comments
Open

Issue with ESP sampling for Vulcanian scenario #3

EllyTennant opened this issue Dec 23, 2020 · 0 comments

Comments

@EllyTennant
Copy link

runProb.vulc is getting stuck during sampling (line 231)

 % Make sure that all wind profiles contained in wind_vec
            % are part of the considered season
            if length(unique(intersect(wind_vec_seas, wind_vec))) == length(unique(wind_vec))
                check_seas = 1;
            else
                continue
            end
        end 

This seems to happen when wind profiles are sampled towards the end of the wind profile dataset, when the repose interval is long enough such that a wind profile is needed that is outside of the wind population. The id of the wind profile is larger than the maximum number of wind profiles. This doesnt happen when a short repose interval is selected (less than the temporal resolution of the wind).

  • if check_seas is fixed to 1, the code runs.
  • If seasonality is set to 0 -> doesn't run
  • Attempted adding in lines to check if the sampled wind profile was too close to the final profile, and resampling if yes.
  • Both the input duration and repose should be in hours.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant