feat: Adds initial room pressure calculations.

This commit is contained in:
2025-03-01 01:02:03 -05:00
parent af24ef3971
commit 5630820575
3 changed files with 155 additions and 6 deletions

View File

@@ -87,10 +87,10 @@ public enum RoomPressure {
public struct DuctSize: Codable, Equatable, Sendable {
public let diameter: Double
public let diameter: Int
public let velocity: Double
public init(diameter: Double, velocity: Double) {
public init(diameter: Int, velocity: Double) {
self.diameter = diameter
self.velocity = velocity
}
@@ -99,11 +99,11 @@ public enum RoomPressure {
public struct GrilleSize: Codable, Equatable, Sendable {
public let width: Double
public let height: Double
public let width: Int
public let height: Int
public let area: Double
public init(width: Double, height: Double, area: Double) {
public init(width: Int, height: Int, area: Double) {
self.width = width
self.height = height
self.area = area