Skip to content

Commit

Permalink
Update main.glm
Browse files Browse the repository at this point in the history
  • Loading branch information
dchassin committed Jun 24, 2023
1 parent 07cc3ea commit b4e5c15
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion main.glm
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
#print TODO: create your model in this file
#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 N;
}

#output "IEEE-123-voltage-profile.png" -t profile -l 10

0 comments on commit b4e5c15

Please sign in to comment.