|
| 1 | +This IO&M modeling framework was first set up by Rudy Alkarem. README by Ryan Davies |
| 2 | + |
| 3 | +# Description |
| 4 | + |
| 5 | + |
| 6 | +# Instructions for use |
| 7 | + |
| 8 | + |
| 9 | +# Misc. Notes |
| 10 | + |
| 11 | +Units of time are hours unless stated otherwise. |
| 12 | + |
| 13 | +Naming convention per Leah: The naming convention used generally for the yamls describes the array so ILIA is individual line individual anchor (SLSA would be shared line shared anchor) and I think 1P2C represents the mooring line type (1 polyester section, 2 chain sections - so likely describing a chain-poly-chain setup) grd is I think for gridded shape (he has some options where there are clusters of turbines instead of grid). |
| 14 | + |
| 15 | +The 01-05 steps were set up with a 3_ILIA_1P2C_grd_mini.yaml, which (I believe) is the same configuration as the Delmar_installation_staging_tool.xlsx, so it that can serve as a verification of this model. if we can't find that input configuration, then we can remake it with the instructions in the `Conceptual Desgin Tutorial.docx` file. |
| 16 | + |
| 17 | +For getting things running, I changed to ______, from `FADesign/scripts/concepts/ILIA/______`. |
| 18 | + |
| 19 | +# Copilot Explaination of the tool |
| 20 | +The tool in the `FAModel/famodel/installation` directory is a framework for modeling the installation times and logistics of offshore wind mooring systems. Here's a detailed explanation based on the provided context: |
| 21 | + |
| 22 | +### Purpose |
| 23 | +The tool is designed to: |
| 24 | +1. **Model Installation Times**: Simulate the time required for various stages of offshore wind mooring system installations, such as material transport, mobilization, and deployment. |
| 25 | +2. **Logistics Planning**: Account for logistical constraints like vessel availability, port operations, and environmental conditions. |
| 26 | +3. **Step-by-Step Guidance**: Provide numbered example scripts (`01_` to `05_`) that walk users through the process of using the tool. |
| 27 | + |
| 28 | +### Key Components |
| 29 | +1. **Example Files (`01_` to `05_`)**: |
| 30 | + - These files demonstrate the workflow of the tool: |
| 31 | + - 01_unload4installation.py: Unloads a project class from a `ConceptDesign` class. |
| 32 | + - 02_load4installation.py: Loads a project class and performs analysis and metrics. |
| 33 | + - 03_step1_materialItems.py: Creates material packages for installation. |
| 34 | + - 04_step2_actionItems.py: Generates action items for transport, mobilization, and installation. |
| 35 | + - 05_install_ex.py: Likely integrates all steps into a complete installation simulation. |
| 36 | + |
| 37 | +2. **Core Classes**: |
| 38 | + - `InstallManager`: Manages the overall installation process, including scheduling events, registering vessels and ports, and running simulations. |
| 39 | + - `Vessel`: Represents vessels used in the installation process, with methods for mobilization, transit, and state logging. |
| 40 | + - `Port`: Represents ports where staging and logistics operations occur. |
| 41 | + - `ActionItem` and `Action`: Define tasks and dependencies for installation activities. |
| 42 | + |
| 43 | +3. **Helper Functions**: |
| 44 | + - Found in install_helpers.py, these functions handle specific tasks like transporting materials, mobilizing vessels, and visualizing actions. |
| 45 | + |
| 46 | +4. **Configuration Files**: |
| 47 | + - YAML files (e.g., VolturnUS-S_example.yaml, `presetLogistics.yaml`) define input parameters for the simulations, such as mooring configurations and logistics setups. |
| 48 | + |
| 49 | +5. **Spreadsheet Tool**: |
| 50 | + - `Delmar_installation_staging_tool.xlsm` appears to be a verification or supplementary tool for the model. |
| 51 | + |
| 52 | +### Workflow |
| 53 | +The tool's workflow involves: |
| 54 | +1. **Loading Project Data**: Using the `ConceptDesign` or `Project` classes to load mooring system configurations. |
| 55 | +2. **Creating Material Packages**: Grouping components into packages for transport and installation. |
| 56 | +3. **Defining Actions**: Setting up tasks like mobilization, transport, and installation with dependencies. |
| 57 | +4. **Simulating Installation**: Running the `InstallManager` to simulate the entire process, considering vessel and port operations. |
| 58 | + |
| 59 | +### Notes from the README |
| 60 | +- **Naming Conventions**: YAML file names describe the mooring array type (e.g., `ILIA` for individual line individual anchor, `1P2C` for chain-poly-chain setups). |
| 61 | +- **Verification**: The `Delmar_installation_staging_tool.xlsm` can be used to verify the model's outputs. |
| 62 | +- **Dependencies**: The tool relies on modules from `fadesign` and famodel. |
| 63 | + |
| 64 | +### Next Steps |
| 65 | +1. **Review Example Files**: Start with 01_unload4installation.py and follow the sequence to understand the workflow. |
| 66 | +2. **Understand Core Classes**: Examine install_manager.py, vessel.py, and port.py to learn how the tool models logistics. |
| 67 | +3. **Run Simulations**: Use the example YAML files and scripts to test the tool. |
| 68 | +4. **Extend Functionality**: Based on your requirements, modify or add features to the tool. |
| 69 | + |
| 70 | +Let me know if you need help with specific files or tasks! |
| 71 | + |
| 72 | + |
| 73 | +# Dependencies to FAD tools |
| 74 | +File: `01_unload4installation.py` Dependencies: |
| 75 | +```python |
| 76 | +from fadesign.conceptual.conceptDesign import ConceptDesign |
| 77 | +``` |
| 78 | +File: `02_load4installation.py` Dependencies: |
| 79 | +```python |
| 80 | +from famodel.project import Project |
| 81 | +from fadesign.conceptual import metrics as mtr |
| 82 | +``` |
| 83 | +File: `03_step1materialItems` Dependencies: |
| 84 | +```python |
| 85 | +from famodel.project import Project |
| 86 | +``` |
| 87 | +File: `04_step2_actionItems.py` Dependencies: |
| 88 | +``` |
| 89 | +none |
| 90 | +``` |
| 91 | +File: `05_install_ex.py` Dependencies: |
| 92 | +``` |
| 93 | +none |
| 94 | +``` |
| 95 | +File: `action.py` Dependencies: |
| 96 | +``` |
| 97 | +none |
| 98 | +``` |
| 99 | +File: `install_helpers.py` Dependencies: |
| 100 | +``` |
| 101 | +none |
| 102 | +``` |
| 103 | +File: `install_manager.py` Dependencies: |
| 104 | +``` |
| 105 | +none |
| 106 | +``` |
| 107 | +File: `port.py` Dependencies: |
| 108 | +``` |
| 109 | +none |
| 110 | +``` |
| 111 | +File: `vessel.py` Dependencies: |
| 112 | +``` |
| 113 | +none |
| 114 | +``` |
0 commit comments