From 032bc6d0adeb370f108454e1d50d06be7e99f0e1 Mon Sep 17 00:00:00 2001 From: markus Date: Tue, 20 Oct 2020 14:43:45 +0200 Subject: [PATCH] add window parameters as Room attributes --- cara/models.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cara/models.py b/cara/models.py index ca632f6a..be49e9de 100644 --- a/cara/models.py +++ b/cara/models.py @@ -10,6 +10,12 @@ from dataclasses import dataclass class Room: volume: int + # The height of the window in the room (assumes one window) + window_height: float + + # The length of the opening-gap when the window is open + opening_length: float + @dataclass(frozen=True) class Ventilation: