forked from arras-energy/gridlabd-models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
residential_waterheater.glm
68 lines (57 loc) · 1.34 KB
/
residential_waterheater.glm
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
////////////////////////////////////////////////////////
// BEGIN
////////////////////////////////////////////////////////
// filename... -
// workdir.... ..\VS2005 (the tape files .glt should be kept there until the tape module is updated)
// command.... --warn --verbose --test
// created.... Fri Feb 16 09:08:39 2007
// user....... d3j168
// classes.... 4
// objects.... 5
clock {
timestamp '2000-01-01 0:00:00';
timezone PST+8PDT;
}
////////////////////////////////////////////////////////
// modules
module tape;
module climate;
module residential;
////////////////////////////////////////////////////////
object climate {
tmyfile CA-Los_angeles.tmy2;
}
object house:1 {
floor_area random.normal(1500,300) sf;
heating_setpoint 70.0 degF;
cooling_setpoint 76.0 degF;
thermostat_deadband 1.0 degF;
}
object waterheater:5 {
parent house:1;
tank_setpoint 135.0 degF;
thermostat_deadband 10 degF;
}
object player{
parent waterheater:5;
property water_demand;
file hotwaterDemand.glt;
loop 100;
}
object recorder{
parent waterheater:5;
property temperature;
file kgrecorder.txt;
interval 0;
limit 10000;
}
object recorder{
parent house:1;
property air_temperature;
file kgrecorder-htemp.txt;
interval 0;
limit 10000;
}
////////////////////////////////////////////////////////
// END
////////////////////////////////////////////////////////