-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathone_meter.glm
More file actions
executable file
·374 lines (339 loc) · 7.08 KB
/
one_meter.glm
File metadata and controls
executable file
·374 lines (339 loc) · 7.08 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
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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
#set double_format=%+.12lg
#set profiler=1
#set randomseed=10
#set relax_naming_rules=1
//#set savefile=test.xml
#set minimum_timestep=1
#set warn=0
clock {
timezone PST+8PDT;
starttime '2013-07-01 00:00:00';
stoptime '2013-07-02 00:00:00';
}
module climate;
module market;
module powerflow {
solver_method FBS;
NR_iteration_limit 100;
}
module residential {
implicit_enduses NONE;
}
module tape;
module generators;
#include "water_and_setpoint_schedule_v5.glm"
#include "appliance_schedules.glm"
object climate {
name "RegionalWeather";
tmyfile "WA-Seattle.tmy2";
interpolate QUADRATIC;
};
class player {
double value;
}
object player {
name PHASE_A;
file "phase_A.player";
loop 1;
}
object player {
name PHASE_B;
file "phase_B.player";
loop 1;
}
object player {
name PHASE_C;
file "phase_C.player";
loop 1;
}
object player {
name VOLTAGE;
file "voltage.player";
loop 1;
}
object transformer_configuration {
name substation_config;
connect_type WYE_WYE;
install_type PADMOUNT;
power_rating 450;
powerA_rating 150 kVA;
powerB_rating 150;
powerC_rating 150;
primary_voltage 133000;
secondary_voltage 7200;
impedance +0.015+0.0675j;
}
object transformer_configuration {
name default_transformer_A;
connect_type SINGLE_PHASE_CENTER_TAPPED;
install_type PADMOUNT;
power_rating 15;
powerA_rating 15 kVA;
primary_voltage 7200;
secondary_voltage 120;
impedance +0.015+0.0675j;
}
object transformer_configuration {
name default_transformer_B;
connect_type SINGLE_PHASE_CENTER_TAPPED;
install_type PADMOUNT;
power_rating 15;
powerB_rating 15;
primary_voltage 7200;
secondary_voltage 120;
impedance +0.015+0.0675j;
}
object transformer_configuration {
name default_transformer_C;
connect_type SINGLE_PHASE_CENTER_TAPPED;
install_type PADMOUNT;
power_rating 15;
powerC_rating 15;
primary_voltage 7200;
secondary_voltage 120;
impedance +0.015+0.0675j;
}
object triplex_line_conductor {
name Name_1_0_AA_triplex;
resistance 0.57;
geometric_mean_radius 0.011;
}
object triplex_line_configuration {
name TLCFG;
conductor_1 Name_1_0_AA_triplex;
conductor_2 Name_1_0_AA_triplex;
conductor_N Name_1_0_AA_triplex;
insulation_thickness 0.08;
diameter 0.368;
}
object substation {
name network_node;
phases ABCN;
nominal_voltage 133000;
positive_sequence_voltage VOLTAGE.value; // 133000;
bustype SWING;
base_power 12MVA;
power_convergence_value 100VA;
}
object meter {
name F1_transformer_meter;
phases ABCN;
nominal_voltage 7200;
}
object transformer {
name F1_Transformer1;
groupid F1_Network_Trans;
phases ABCN;
from network_node;
to F1_transformer_meter;
configuration substation_config;
}
object load {
name unresp_load;
nominal_voltage 7200;
phases ABCN;
parent F1_transformer_meter;
base_power_A PHASE_A.value*1.0;
base_power_B PHASE_B.value*1.0;
base_power_C PHASE_C.value*1.0;
power_pf_A 0.9;
power_pf_B 0.9;
power_pf_C 0.9;
power_fraction_A 1.0;
power_fraction_B 1.0;
power_fraction_C 1.0;
current_fraction_A 0.0;
current_fraction_B 0.0;
current_fraction_C 0.0;
impedance_fraction_A 0.0;
impedance_fraction_B 0.0;
impedance_fraction_C 0.0;
};
object triplex_meter {
name F1_triplex_node_A;
phases SA;
nominal_voltage 120;
}
object triplex_meter {
name F1_triplex_node_B;
phases SB;
nominal_voltage 120;
}
object triplex_meter {
name F1_triplex_node_C;
phases SC;
nominal_voltage 120;
}
object transformer {
name F1_center_tap_transformer_A;
phases SA;
from F1_transformer_meter;
to F1_triplex_node_A;
configuration default_transformer_A;
}
object transformer {
name F1_center_tap_transformer_B;
phases SB;
from F1_transformer_meter;
to F1_triplex_node_B;
configuration default_transformer_B;
}
object transformer {
name F1_center_tap_transformer_C;
phases SC;
from F1_transformer_meter;
to F1_triplex_node_C;
configuration default_transformer_C;
}
object triplex_meter {
name F1_tpm_flatrate_B0;
groupid F1_flatrate_meter;
phases SB;
nominal_voltage 120;
}
object triplex_line {
groupid F1_Triplex_Line;
phases SB;
from F1_triplex_node_B;
to F1_tpm_flatrate_B0;
length 100 ft;
configuration TLCFG;
}
object triplex_meter {
name F1_tpm_rt_B0;
groupid F1_rt_meter;
parent F1_tpm_flatrate_B0;
phases SB;
nominal_voltage 120;
}
object house {
name F1_house_B0;
parent F1_tpm_rt_B0;
schedule_skew 577;
Rroof 17.618;
Rwall 6.872;
Rfloor 4.818;
Rdoors 3;
Rwindows 1.315;
airchange_per_hour 1.288;
hvac_power_factor 0.97;
cooling_system_type ELECTRIC;
heating_system_type GAS;
fan_type ONE_SPEED;
hvac_breaker_rating 200;
total_thermal_mass_per_floor_area 4.311;
motor_efficiency AVERAGE;
motor_model BASIC;
cooling_COP 2.502;
floor_area 637.886;
number_of_doors 1;
air_temperature 68.886;
mass_temperature 68.886;
heating_setpoint heating5*1.043+1.41;
object ZIPload {
schedule_skew 577;
heat_fraction 0.889;
base_power LIGHTS*1.7284;
power_pf 0;
power_fraction 0;
current_pf 0;
current_fraction 0;
impedance_pf 1;
impedance_fraction 1;
};
object ZIPload {
schedule_skew 577;
heat_fraction 0.732;
base_power CLOTHESWASHER*0.9135;
power_pf 0.97;
power_fraction 1;
current_pf 0.97;
current_fraction 0;
impedance_pf 0.97;
impedance_fraction 0;
};
object ZIPload {
schedule_skew 577;
heat_fraction 0.853;
base_power REFRIGERATOR*0.8837;
power_pf 0.97;
power_fraction 1;
current_pf 0.97;
current_fraction 0;
impedance_pf 0.97;
impedance_fraction 0;
};
object ZIPload {
schedule_skew 577;
heat_fraction 0.875;
base_power DRYER*0.5453;
power_pf 0.9;
power_fraction 0.1;
current_pf 0.9;
current_fraction 0.1;
impedance_pf 1;
impedance_fraction 0.8;
};
object ZIPload {
schedule_skew 577;
heat_fraction 0.76;
base_power RANGE*0.6705;
power_pf 0;
power_fraction 0;
current_pf 0;
current_fraction 0;
impedance_pf 1;
impedance_fraction 1;
};
object ZIPload {
schedule_skew 577;
heat_fraction 0.951;
base_power MICROWAVE*0.7977;
power_pf 0.97;
power_fraction 1;
current_pf 0.97;
current_fraction 0;
impedance_pf 0.97;
impedance_fraction 0;
};
}
object triplex_meter {
name solar_F1_tpm_rt_B0;
parent F1_tpm_rt_B0;
phases BS;
nominal_voltage 120;
groupid inverter_meter;
object inverter {
name inv_F1_house_B0;
phases BS;
inverter_type FOUR_QUADRANT;
power_factor 1;
use_multipoint_efficiency TRUE;
inverter_manufacturer XANTREX;
maximum_dc_power 6500;
four_quadrant_control_mode CONSTANT_PF;
generator_status ONLINE;
rated_power 6500;
inverter_efficiency 0.90;
object solar {
name sol_inv_F1_house_B0;
generator_mode SUPPLY_DRIVEN;
generator_status ONLINE;
panel_type SINGLE_CRYSTAL_SILICON;
orientation FIXED_AXIS;
rated_power 7500;
};
};
}
object recorder {
parent F1_tpm_rt_B0;
property measured_voltage_1.real,measured_voltage_1.imag,measured_current_1.real,measured_current_1.imag,measured_power.real,measured_power.imag;
interval 1.0;
file TPM_B0.csv;
}
object recorder {
parent F1_transformer_meter;
property measured_voltage_A,measured_power_A,measured_voltage_B,measured_power_B,measured_voltage_C,measured_power_C;
interval 1.0;
file Transformer.csv;
}