From b4e5c15e31c6890633c2bf30c26a856d05d5a848 Mon Sep 17 00:00:00 2001 From: "David P. Chassin" Date: Sat, 24 Jun 2023 10:57:40 -0700 Subject: [PATCH] Update main.glm --- main.glm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/main.glm b/main.glm index ca4dcb4..9a0d91f 100644 --- a/main.glm +++ b/main.glm @@ -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