Skip to content

[BUG] Elevation import does not work with rampTime = 0 #916

@jtgrasb

Description

@jtgrasb

Note: italicized text below is include as an example and should be updated before submission. If you feel any section is not applicable to your request, please replace with 'N/A' rather than delete a section.

Describe the bug
The elevation import method for the waveClass gives the following error when the rampTime equals zero.

image

WEC-Sim file(s)
Seems to be related to the way the elevation file is read in within the waveClass

To Reproduce
Steps to reproduce the behavior:

  1. Go to RM3 example
  2. Change waves to elevation import and rampTime to 0.
  3. Run wecSim.

Expected behavior
WEC-Sim run without error.

Workstation Information (this section MUST BE completed):

  • OS: Windows 10
  • MATLAB 2021b
  • WEC-Sim v5.0

Additional context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions