From 50f4b4571ee51c7bfca5030e0013267db0bdb8ae Mon Sep 17 00:00:00 2001 From: Derrick Oswald Date: Thu, 23 Nov 2017 10:13:45 +0100 Subject: [PATCH] NE-258 glm Files with interval of 5sec instead 300 (5min interval) --- .../ch/ninecode/ms/MediumVoltageGLMGenerator.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/GridLAB-D/src/main/scala/ch/ninecode/ms/MediumVoltageGLMGenerator.scala b/GridLAB-D/src/main/scala/ch/ninecode/ms/MediumVoltageGLMGenerator.scala index b29a71f88..7e2e19370 100644 --- a/GridLAB-D/src/main/scala/ch/ninecode/ms/MediumVoltageGLMGenerator.scala +++ b/GridLAB-D/src/main/scala/ch/ninecode/ms/MediumVoltageGLMGenerator.scala @@ -41,7 +41,7 @@ case class MediumVoltageGLMGenerator ( " name \"" + edge.id + "_current_recorder\";\n" + " parent \"" + edge.id + "\";\n" + " property " + (if (one_phase) "current_in_A.real,current_in_A.imag" else "current_in_A.real,current_in_A.imag,current_in_B.real,current_in_B.imag,current_in_C.real,current_in_C.imag") + ";\n" + - " interval 5;\n" + + " interval 300;\n" + " file \"output_data/" + edge.id + "_current.csv\";\n" + " };\n" } @@ -105,7 +105,7 @@ case class MediumVoltageGLMGenerator ( " name \"" + trafo + "_current_recorder\";\n" + " parent \"" + node.id + "\";\n" + " property " + ( if (one_phase) "measured_current_A.real,measured_current_A.imag" else "measured_current_A.real,measured_current_A.imag,measured_current_B.real,measured_current_B.imag,measured_current_C.real,measured_current_C.imag") + ";\n" + - " interval 5;\n" + + " interval 300;\n" + " file \"output_data/" + trafo + "_current.csv\";\n" + " };\n" + "\n" + @@ -114,7 +114,7 @@ case class MediumVoltageGLMGenerator ( " name \"" + trafo + "_power_recorder\";\n" + " parent \"" + node.id + "\";\n" + " property " + ( if (one_phase) "measured_power_A.real,measured_power_A.imag" else "measured_power_A.real,measured_power_A.imag,measured_power_B.real,measured_power_B.imag,measured_power_C.real,measured_power_C.imag") + ";\n" + - " interval 5;\n" + + " interval 300;\n" + " file \"output_data/" + trafo + "_power.csv\";\n" + " };\n" } @@ -132,7 +132,7 @@ case class MediumVoltageGLMGenerator ( " name \"" + name + "_current_recorder\";\n" + " parent \"" + name + "\";\n" + " property " + (if (one_phase) "current_out_A.real,current_out_A.imag" else "current_out_A.real,current_out_A.imag,current_out_B.real,current_out_B.imag,current_out_C.real,current_out_C.imag") + ";\n" + - " interval 5;\n" + + " interval 300;\n" + " file \"output_data/" + name + "_current.csv\";\n" + " };\n" else @@ -182,7 +182,7 @@ case class MediumVoltageGLMGenerator ( " name \"" + trafo + "_voltage_recorder\";\n" + " parent \"" + node.id + "\";\n" + " property " + ( if (one_phase) "voltage_A.real,voltage_A.imag" else "voltage_A.real,voltage_A.imag,voltage_B.real,voltage_B.imag,voltage_C.real,voltage_C.imag") + ";\n" + - " interval 5;\n" + + " interval 300;\n" + " file \"output_data/" + trafo + "_voltage.csv\";\n" + " };\n" }