Chapter 6 - Digital twin in design and control optimization of marine renewable energy and offshore wind energy systems