FAModel arrays can be visualized in 2D or 3D from the project class. The plotting tools are designed to be flexible and can plot varied levels of detail depending on what information is provided.
Plots of an array can be as complex or simple as the user wants, with the required inputs depending on what needs to be visualized.
The following table describes the required inputs for each optional use of the 2D and 3D plotting features. See the ontology YAMLs in this folder to understand how to format this input information in an ontology file. The name of the ontology file matches the name of the driver file that will run the visualization. To see all of these options together, check out the ontology YAML entitled 'OntologySample200m.yaml' in the Inputs sub-folder of the examples folder. The python script 'example_driver.py' shows plots for all of these options together, as well as other functionality in FAModel.
| Options | Min. Required Information | Ontology Sections to Include |
|---|---|---|
| Platform locations (2D only) |
Platform x,y coordinates Platform entity type (i.e. 'FOWT') |
Array data table Platforms |
| Mooring lines | Platform x,y coordinates Platform entity type (i.e. 'FOWT') Platform fairlead radius Platform fairlead depth Mooring line span |
Array data table Platforms mooring_systems AND/OR array_mooring table mooring_line_configs mooring_line_types |
| Anchors | Platform x,y coordinates Platform entity type (i.e. 'FOWT') Platform fairlead radius Platform fairlead depth Mooring line span |
Array data table Platforms mooring_systems AND/OR array_mooring_table mooring_line_configs mooring_line_types anchor_types |
| Cables | Platform x,y coordinates Platform entity type (i.e. 'FOWT') Cable attachments Dynamic cable span Dynamic cable properties Static cable properties (if applicable) |
Array data table Platforms dynamic_cable_configs **cable_types array_cables table AND/OR cables **cable_appendages |
| Bathymetry | MoorDyn bathymetry file site -> bathymetry | |
| Lease boundaries | Lease coordinates | site -> boundaries |
| Substations/ Various platform types |
Platform x,y coordinates Platform entity type (i.e. 'Substation') |
Array data table Platforms |
| Platform shape | Platform x,y coordinates Platform entity type RAFT platform description water depth |
Array data table Platforms (with full RAFT description) Site->general->water depth |
| Turbine shape | Platform x,y coordinates Platform entity type RAFT platform description RAFT turbine description water depth |
Array data table Platforms (with full RAFT description) Topsides (with full turbine RAFT description) Site->general->water depth |