Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Segmented BOM for TEA: Adds BillOfMaterials.generate_segmented(), which computes a chord-wise and span-wise segmented bill of materials partitioned by user-defined blade regions. Outputs include per-segment area, weight, width, mold dimensional data, and bond-line lengths suitable for Technology Economic Analysis (TEA) workflows.
TEA export on Blade: Adds Blade.export_bom_tea(), a convenience method that runs the segmented BOM and assembles and exports the result to Excel in a format ready for downstream cost modeling.
Graphics utilities: Adds blade geometry plotting functions to graphics.py.
Bug fix: Corrects a unit mismatch in BillOfMaterials.generate() where shear web layer weights (stored in grams) were added to dryweight (in kg) without the g_to_kg conversion factor, causing total blade mass to be inflated.
Reference blade data: Adds YAML definitions for the IEA-15 MW (modified) and IEA-22-280-RWT reference turbines under examples/example_data/.
Tests: Adds test_bom.py covering BillOfMaterials.generate() and generate_segmented().
Tests and documentation
Tests are added for new functionality
Acknowledgement
By contributing to this software project, I acknowledge that I have reviewed the software quality assurance guidelines and that my contributions are submitted under the Revised BSD License.