-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestions for docs #171
Comments
Another thing to add to the comment above is that since the expected configs may provide defaults, it is too easy for user to give bad values but get a good-looking result. I just came across this with "mooring_system_design": {"mooring_type": ["SemiTaut"]} # <-- This is incorrect Since this value is checked by a series of if-statements looking for a specific string, this fell back to the default: if self.mooring_type == "SemiTaut":
...
elif self.mooring_type == "TLP":
...
else:
# Despite "semitaut" being an element in the list, the code goes here to Catenary because it's not checking for a list Another user error that would cause the same issue is using lower case for these options. In my opinion, this is too subtle for default behavior. A suggested fix is to check the input types based on the descriptions in the |
I read through the documentation for the first time, and it's really great. It flows nicely, and I was able to read straight from the beginning through the examples very easily. A few things stood out that might make the onboarding process a little more clear, and I've included those notes below.
expected_config
gives you a blank dictionary with the required units for each field. However, the project_manager page says the blank dictionary has the Python data type rather than the units. I'm not sure if this is intentional, but this difference stood out.configs
in the examples should be~/examples/configs
(see here)Just a separate heads up: the Numpy version is unbound on the upper end. I got Numpy v1.26 probably because OpenMDAO requires Numpy<2. Since the OpenMDAO version is also unbound, if they change then ORBIT may get Numpy v2. This probably isn't a problem for the near term, but just wanted to call it out in case it wasn't on your radar.
The text was updated successfully, but these errors were encountered: