Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 3.54 KB

DigitalTwins.md

File metadata and controls

47 lines (35 loc) · 3.54 KB

Digital Twin Description

This document outlines the FOSWEC digital twin implementations with the intent of giving a look into the operation of the code behind the models.

Interaction

There are currently three ways to interact with the digital twin code:

  • The first is to run the model through a dashboard running in real-time on Speedgoat hardware here.
  • The second is to download and run locally a non-realtime version of the Digital Twin located here.
  • The third is to download and run locally a realtime version of the Digital Twin located here with Speedgoat hardware.

Model types

Fundamentally there are two Digital Twin models of the FOSWEC to choose from:

  • The first is based on the open source code WEC-Sim.
  • The second is a system identification model based on experimental data collected from the actual FOSWEC device during a test campaign at OSU detailed here. Further information from this test campaign can be found in the paper located here.

Model overview

Each version of the Digital Twin includes the plant model and a control model. The plant model is intended to be fixed, however the control model is meant to be experimented with. There is a default control model to get started with but it is possible for this model to be replaced with a custom control model by the user.

Wave types

Currently there are provisions for running regular and irregular wave conditions. Irregular waves have a JONSWAP spectrum input.

Control Model

Two version of control model are given, namely a default model and a starter model. Either the default or starter model can be modified for the users application.

Inputs and outputs

The control model has the following inputs and outputs available to the user:

  • Inputs: Flap position relative to the platform for both bow and aft flaps
  • Outputs: Current command to be sent to the motor drive for both bow and aft flaps

Additionally, input control parameters can be specified by the user. For example, the default control has damping for each flap as control parameters.

Default control model

The default control model implements basic velocity proportional damping.

Starter control model

This is a minimum starting model with a default set of inports and outports as busses that serves as a starting point for control algorithm implementation.

WEC-Sim model

The WEC-Sim model uses a simplified geometry and WAMIT output to provide a time domain model of the FOSWEC. The simulation is set up to replicate the test conditions experienced during testing at the O.H. Hinsdale Wave Research Laboratory. This includes matching the water depth and mooring, which was a taut system.

System identification model

The system identification model is based off of experimental test data collected by the FOSWEC at the O.H. Hinsdale Wave Research Laboratory. System identification techniques from MATLAB were used to establish a multiple input multiple output (MIMO) admittance model of the system. Input is the motor torque and output is motor position.

Wave input is created by taking wave characteristics and using the results from WAMIT to create an excitaion force input for the model.