Skip to content

Add segmented BOM for TEA#72

Merged
kbonney merged 6 commits intosandialabs:mainfrom
kbonney:tea-updates
Mar 24, 2026
Merged

Add segmented BOM for TEA#72
kbonney merged 6 commits intosandialabs:mainfrom
kbonney:tea-updates

Conversation

@kbonney
Copy link
Copy Markdown
Collaborator

@kbonney kbonney commented Mar 10, 2026

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.

@kbonney kbonney merged commit de09516 into sandialabs:main Mar 24, 2026
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant