Skip to content

Issue with ESP sampling for Vulcanian scenario #3

@EllyTennant

Description

@EllyTennant

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions