-
Notifications
You must be signed in to change notification settings - Fork 0
/
in_super_house.glm
328 lines (288 loc) · 6.5 KB
/
in_super_house.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
clock {
timezone EST5;
starttime '2012-01-01 12:00:00';
stoptime '2013-01-01 15:00:00';
};
#include "inc_super_schedules.glm";
#include "inc_hot_water_demand1.glm"
#set minimum_timestep=3600;
#set profiler=1;
#set relax_naming_rules=1;
module generators;
module tape;
module residential {
implicit_enduses REFRIGERATOR;
};
module powerflow {
solver_method FBS;
NR_iteration_limit 50;
};
module climate;
module residential;
object climate {
name Climate;
interpolate QUADRATIC;
tmyfile inc_climate.tmy2;
};
object recorder {
interval 3600;
property heating_demand, cooling_demand, heating_setpoint, air_temperature, outdoor_temperature;
file out_super_house.csv;
parent house0;
};
object recorder {
interval 3600;
property measured_real_energy;
file out_super_house_triplex_meter.csv;
parent R4-25-00-1_tm_1;
};
object recorder {
interval 3600;
property actual_load, waterheater_power;
file out_super_house_waterheater.csv;
parent waterHeater_house0;
};
object recorder {
interval 3600;
property charge_rate;
file out_super_house_EV.csv;
parent ev_house0;
};
object recorder {
interval 3600;
property base_power;
file out_load_fridge.csv;
parent fridge_house0;
};
object recorder {
interval 3600;
property base_power;
file out_load_clotheswasher.csv;
parent clotheswasher_house0;
};
object recorder {
interval 3600;
property base_power;
file out_load_dryer.csv;
parent dryer_house0;
};
object recorder {
interval 3600;
property base_power;
file out_load_freezer.csv;
parent freezer_house0;
};
object recorder {
interval 3600;
property base_power;
file out_load_responsive.csv;
parent responsiveLoad_house0;
};
object triplex_meter {
voltage_2 -60-103.92j;
phases BS;
voltage_1 -60-103.92j;
name R4-25-00-1_tm_1;
meter_power_consumption 2+11j;
//power_market Market_1;
monthly_fee 10.00;
nominal_voltage 120;
//bill_mode HOURLY;
bill_day 1;
voltage_N 0;
};
object ZIPload {
parent house0;
schedule_skew 261.011840107;
name fridge_house0;
power_fraction 0.400000;
current_fraction 0.400000;
base_power fridge_power*1.00;
current_pf 1.000;
power_pf 1.000;
heatgain_fraction 0.900;
impedance_fraction 0.200000;
impedance_pf 1.000;
};
object ZIPload {
parent house0;
name clotheswasher_house0;
power_fraction 0.400000;
current_fraction 0.400000;
base_power clotheswasher*1.00;
current_pf 1.000;
power_pf 1.000;
heatgain_fraction 0.900;
impedance_fraction 0.200000;
impedance_pf 1.000;
};
object ZIPload {
parent house0;
name dryer_house0;
power_fraction 0.400000;
current_fraction 0.400000;
base_power dryer*1.00;
current_pf 1.000;
power_pf 1.000;
heatgain_fraction 0.900;
impedance_fraction 0.200000;
impedance_pf 1.000;
};
object ZIPload {
parent house0;
name freezer_house0;
power_fraction 0.400000;
current_fraction 0.400000;
base_power freezer*1.00;
current_pf 1.000;
power_pf 1.000;
heatgain_fraction 0.900;
impedance_fraction 0.200000;
impedance_pf 1.000;
};
object ZIPload {
parent house0;
schedule_skew 324.569774629;
name responsiveLoad_house0;
power_fraction 0.400000;
current_fraction 0.400000;
base_power responsive_loads*1.61227185521;
current_pf 1.000;
power_pf 1.000;
heatgain_fraction 0.900;
impedance_fraction 0.200000;
impedance_pf 1.000;
};
object waterheater {
schedule_skew -1057.71751704;
tank_volume 50;
name waterHeater_house0;
parent house0;
heating_element_capacity 4.5 kW;
thermostat_deadband 7.8;
location INSIDE;
water_demand weekday_hotwater*1.00;
tank_setpoint 132.7;
tank_UA 3.7;
temperature 132;
};
object evcharger_det {
variation_trip_std_dev 100.0;
parent house0;
arrival_at_home 1800;
duration_at_work 9 h;
duration_at_home 14 h;
variation_std_dev 100.0;
maximum_charge_rate 1700;
variation_trip_mean 300.0;
charging_efficiency 0.90;
work_charging_available false;
travel_distance 15.0;
mileage_classification 33.0;
variation_mean 300.0;
arrival_at_work 900;
mileage_efficiency 3.846;
name ev_house0;
};
object inverter {
name solarInverter_house0;
parent R4-25-00-1_tm_1;
generator_status ONLINE;
inverter_type PWM;
generator_mode CONSTANT_PF;
};
object solar {
generator_mode SUPPLY_DRIVEN;
name solar_house0;
parent solarInverter_house0;
area 1417.07548494 sf;
generator_status ONLINE;
efficiency 0.13;
panel_type SINGLE_CRYSTAL_SILICON;
};
object inverter {
discharge_off_threshold 7454 kW;
phases BS;
four_quadrant_control_mode LOAD_FOLLOWING;
name batteryInverter_house0;
parent R4-25-00-1_tm_1;
generator_mode CONSTANT_PQ;
generator_status ONLINE;
inverter_type FOUR_QUADRANT;
sense_object R4-25-00-1_tm_1;
max_charge_rate 220 kW;
charge_off_threshold 6148 kW;
discharge_lockout_time 60;
rated_power 220 kW;
charge_lockout_time 60;
max_discharge_rate 220 kW;
inverter_efficiency 0.9;
discharge_on_threshold 7915 kW;
charge_on_threshold 5123 kW;
};
object battery {
battery_state FULL;
name battery_house0;
parent batteryInverter_house0;
round_trip_efficiency 0.85;
generator_status ONLINE;
state_of_charge 1.0;
battery_type LI_ION;
generator_mode SUPPLY_DRIVEN;
battery_capacity 7 kWh;
use_internal_battery_model TRUE;
};
//object refrigerator{
// parent house0;
// name fridge0;
// size +23.9374 cf;
// rated_capacity +816.743 Btu/h;
// temperature +38.1227 degF;
// setpoint +38.3484 degF;
// deadband +2.4032 degF;
// daily_door_opening 30;
// power fridge_power*1.00;
//
//};
//object clotheswasher{
//
//};
//object passive_controller {
// period 900;
// old_first_tier_price 0.124300;
// second_tier_price 0.139973;
// sub_elasticity_first_third -0.0145;
// parent responsiveLoad_house0;
// third_tier_hours 6;
// critical_day cppDays.value;
// third_tier_price 0.699867;
// second_tier_hours 12;
// sub_elasticity_first_second -0.0099;
// linearize_elasticity true;
// old_second_tier_price 0.124300;
// daily_elasticity daily_elasticity_wotech*0.1305;
// state_property multiplier;
// first_tier_hours 12;
// observation_property past_market.clearing_price;
// first_tier_price 0.069987;
// name responsiveLoad_controller_house0;
// price_offset 0.01;
// two_tier_cpp true;
// observation_object Market_1;
// control_mode ELASTICITY_MODEL;
// old_third_tier_price 0.124300;
//};
//object passive_controller {
// name waterHeater_controller_house0;
// parent waterHeater_house0;
// period 900;
// comfort_level 0.82;
// distribution_type NORMAL;
// expectation_object Market_1;
// observation_object Market_1;
// state_property override;
// control_mode PROBABILITY_OFF;
// expectation_property my_avg;
// observation_property past_market.clearing_price;
// stdev_observation_property my_std;
//};