You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Delete the text explanations below these headers and replace them with information about your PR.
2
+
Please first consult the [developer guide](https://weis.readthedocs.io/en/latest/how_to_contribute_code.html) to make sure your PR follows all code, testing, and documentation conventions.
3
+
4
+
## Purpose
5
+
Explain the goal of this pull request. If it addresses an existing issue be sure to link to it. Describe the big picture of your changes here, perhaps using a bullet list if multiple changes are done to accomplish a single goal. If it accomplishes multiple goals, it may be best to create separate PR's for each.
6
+
7
+
## Type of change
8
+
What types of change is it?
9
+
_Select the appropriate type(s) that describe this PR_
10
+
11
+
-[ ] Bugfix (non-breaking change which fixes an issue)
12
+
-[ ] New feature (non-breaking change which adds functionality)
13
+
-[ ] Breaking change (non-backwards-compatible fix or feature)
14
+
-[ ] Code style update (formatting, renaming)
15
+
-[ ] Refactoring (no functional changes, no API changes)
16
+
-[ ] Documentation update
17
+
-[ ] Maintenance update
18
+
-[ ] Other (please describe)
19
+
20
+
## Testing
21
+
Explain the steps needed to test the new code to verify that it does indeed address the issue and produce the expected behavior.
22
+
23
+
## Checklist
24
+
_Put an `x` in the boxes that apply._
25
+
26
+
-[ ] I have run existing tests which pass locally with my changes
27
+
-[ ] I have added new tests or examples that prove my fix is effective or that my feature works
Copy file name to clipboardExpand all lines: README.md
+48-7
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,9 @@ RAFT v1.0.0 includes the capabilities described above, and further development i
7
7
8
8
## Getting Started
9
9
10
-
New users of RAFT as a standalone model are recommended to begin by looking at the input file and script provided in the examples folder, and seeking further information from the [RAFT documentation](https://openraft.readthedocs.io/en/latest/). For use as part of the WEIS toolset, information will be provided once this capability is completed in the [WEIS documentation](https://weis.readthedocs.io/en/latest/).
10
+
New users of RAFT as a standalone model are recommended to begin by looking at the input file and script provided in the examples folder, and seeking further information from the [RAFT documentation](https://openraft.readthedocs.io/en/latest/). For use as part of the WEIS toolset, information will be provided once this capability is completed in the [WEIS documentation](https://weis.readthedocs.io/en/latest/). For now, the following will help get started with running RAFT as a standalone model.
11
11
12
-
13
-
### Prerequisites
12
+
RAFT uses a number of prerequisites, or other python package dependencies, to run its calculations. The most notable ones are listed below:
14
13
15
14
- Python 3
16
15
- NumPy
@@ -19,13 +18,55 @@ New users of RAFT as a standalone model are recommended to begin by looking at t
19
18
- YAML
20
19
- MoorPy (available at https://github.com/NREL/MoorPy)
21
20
- pyHams (available at https://github.com/WISDEM/pyHAMS)
22
-
- CCBlade and WISDEM* (available at https://github.com/WISDEM/WISDEM)
21
+
- CCBlade or WISDEM* (https://github.com/WISDEM/CCBlade or https://github.com/WISDEM/WISDEM)
22
+
23
+
\* CCBlade is a module of WISDEM, but can be used separately. RAFT only requires CCBlade (and some additional related functions) out of the larger WISDEM code. New users can install either CCBlade or WISDEM, but for highest efficiency, we recommend installing CCBlade, without the entire WISDEM installation.
24
+
25
+
To install all required python packages to run RAFT, follow the steps below.
26
+
27
+
1. Install most of the required python packages to run RAFT from the "requirements" yaml.
** If you are running into errors with installing CCBlade, make sure there is not a file called "_bem.cp39-win_amd64.pyd" inside of CCBlade/ccblade. Deleting this file will allow the above commands to run.
57
+
58
+
59
+
This new raft-env should now be compatible to run RAFT standalone. Dependencies like CCBlade and MoorPy are still under development, which is why for now, it will be easier to install them in their editable forms.
60
+
61
+
The other main dependency, PyHAMS, is included within the raft-env.yaml file and is installed in Step 1.
62
+
63
+
Another point to note is that ```python setup.py develop``` has become outdated, and ```pip install -e .``` is preferred.
64
+
65
+
If you need to remove any virtual environment for any reason, you can run
23
66
24
-
\* RAFT uses CCBlade and currently requires additional related functions from the larger WISDEM code. We recommend installing WISDEM for the time being.
Download/clone and install this RAFT repository as well as that of [MoorPy](https://github.com/NREL/MoorPy), [pyHAMS](https://github.com/WISDEM/pyHAMS), and [WISDEM](https://github.com/WISDEM/WISDEM). To install RAFT in development mode, go to its directory and run ```python setup.py develop``` or ```pip install -e .``` from the command line.
0 commit comments