This repository was archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenum_types.py
More file actions
74 lines (58 loc) · 1.49 KB
/
enum_types.py
File metadata and controls
74 lines (58 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
from enum import Enum
class Direction(Enum):
N = "North"
E = "East"
W = "West"
S = "South"
def __str__(self):
return str(self.value)
class Distribution(Enum):
Normal = 'Normal'
Triangular = 'Triangular'
Uniform = 'Uniform'
def __str__(self):
return str(self.value)
class Frequency(Enum):
Annual = 'Annual'
Hourly = 'Hourly'
Monthly = 'Monthly'
class ParameterType(Enum):
# Building Operation
StartTime = "Start Time"
EndTime = "End Time"
# Envelope Properties
Permeability = "Permeability"
GValue = "g-value"
UValue = "u-value"
# Internal Mass
InternalMass = "InternalMass"
# Internal Heat Gains
Occupancy = "Occupancy"
WeeklyHours = "WeeklyHours"
LightHeatGain = "LightHeatGain"
EquipmentHeatGain = "EquipmentHeatGain"
# System Efficiency
BoilerEfficiency = "BoilerEfficiency"
HeatingCOP = 'HeatingCOP'
# Zone Conditions
HeatingSP = "HeatingSP"
HotWater = "HotWater"
def __str__(self):
return str(self.value)
def ParameterUnit(Enum):
UValue = "W/m\u00b2K"
HeatCapacity = 'kW/kg'
def __str__(self):
return str(self.value)
class SamplingScheme(Enum):
LHS = "Latin Hypercube Sampling"
Sobol = "Sobol Sampling"
MonteCarlo = "Monte Carlo Sampling"
class SurfaceType(Enum):
Ceiling = "Ceiling"
Floor = "Floor"
Roof = "Roof"
Wall = "Wall"
Window = "Window"
def __str__(self):
return str(self.value)