-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmain.glm
More file actions
74 lines (70 loc) · 1.56 KB
/
main.glm
File metadata and controls
74 lines (70 loc) · 1.56 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
#ifmissing "123.glm"
#model get IEEE/123
#endif
#include "123.glm"
// Task 1 - Add a diesel generation to Node 8 (1 cyl, 2 stroke, speed 360 rpm, torque 680 N)
module generators;
object diesel_dg
{
parent node_8;
Gen_mode CONSTANTPQ;
Gen_status ONLINE;
Gen_type SYNCHRONOUS;
pf 1.0;
cylinders 1;
stroke 2;
speed 360 1/min;
torque 680;
}
// Task 2 - Add 4kW 100 sf solar panel on load 10 (tilt 45, efficiency 0.135, south facing, fixed)
#ifmissing "CA-Chino_Airport.glm"
#weather get CA-Chino_Airport
#endif
#input "CA-Chino_Airport.tmy3"
clock
{
timezone America/Los_Angeles;
starttime "2020-07-01 12:00:00 PDT";
stoptime "2020-07-01 12:00:00 PDT";
}
object meter
{
name meter_10;
parent load_10;
phases AN;
nominal_voltage 2401.7711;
object inverter
{
name inv_10;
phases AN;
rated_power 25 kVA;
object solar
{
name solar_10;
parent inv_10;
rated_power 4.0 kVA;
area 100 sf;
tilt_angle 45.0 deg;
efficiency 13.5%;
orientation_azimuth 180;
};
};
}
// Task 3 - Wind turbine on load 28
object meter {
name meter_28;
parent load_28;
phases ABCN;
nominal_voltage 2401.7711;
object windturb_dg
{
parent meter_28;
phases ABCN;
Gen_status ONLINE;
Gen_type INDUCTION;
Gen_mode CONSTANTP;
Turbine_Model GENERIC_IND_SMALL;
Rated_VA 100 kVA;
};
}
#output "IEEE-123-voltage-profile.png" -t profile -l 10