feat: Initial commit
This commit is contained in:
18
Sources/Models/Core/HouseLoad.swift
Normal file
18
Sources/Models/Core/HouseLoad.swift
Normal file
@@ -0,0 +1,18 @@
|
||||
public struct HouseLoad: Codable, Equatable, Sendable {
|
||||
|
||||
public let coolingTotal: Int
|
||||
public let coolingSensible: Int
|
||||
public let heating: Int
|
||||
|
||||
public var coolingLatent: Int { coolingTotal - coolingSensible }
|
||||
|
||||
public init(
|
||||
coolingTotal: Int,
|
||||
coolingSensible: Int,
|
||||
heating: Int
|
||||
) {
|
||||
self.coolingTotal = coolingTotal
|
||||
self.coolingSensible = coolingSensible
|
||||
self.heating = heating
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user