Skip to content

Commit

Permalink
NE-258 glm Files with interval of 5sec instead 300 (5min interval)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickoswald committed Nov 23, 2017
1 parent a6b50bd commit 50f4b45
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down Expand Up @@ -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" +
Expand All @@ -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"
}
Expand All @@ -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
Expand Down Expand Up @@ -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"
}
Expand Down

0 comments on commit 50f4b45

Please sign in to comment.