feat: Adds equivalent rectangular duct conversion.

This commit is contained in:
2025-12-19 12:49:50 -05:00
parent 0aabd612b2
commit b3502fc79b
5 changed files with 115 additions and 4 deletions

View File

@@ -4,3 +4,9 @@ import ManualDCore
extension ComponentPressureLosses {
var totalLosses: Double { values.reduce(0) { $0 + $1 } }
}
extension Array where Element == EffectiveLengthGroup {
var totalEffectiveLength: Int {
reduce(0) { $0 + $1.effectiveLength }
}
}