Skip to content

Review implementation of convolution integral in radiation problem #585

@johannes-spinneken

Description

@johannes-spinneken

RunTime

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.

Is your feature request related to a problem? Please describe.
We compared the execution time of the convolution vs. the state-space implementation within the radiation problem. The attached image shows the comparison. For context, we ran WECSim on a Speedgoat Real-Time system using Simulink Real-Time (compiled C code generated from Simulink). While we would expect some difference between the convolution and state-space approaches, the execution time difference observed was larger than we expected. In the attached image, Baseline refers to a Baseline Speedgoat system, and Performance relates to a Performance Speedgoat system. The convolution time window was 20s.

Describe the solution you'd like
Review the implementation of the convolution implementation. Can the execution time of the convolution operation be improved to be closer to that of the state-space implementation?

Describe alternatives you've considered
We can run the state-space radiation implementation to meet our performance targets (e.g. computing a time step in <0.001s on our real-time target), but this requires additional steps (formulation of the state-space system) which may introduce inaccuracies in the radiation problem.

Personal project context
Running WECSim in real-time for the FOSWEC device, such that it can be used for HIL work.

Additional context
N/A

Metadata

Metadata

Assignees

Labels

Featurenew feature request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions