Commit b9faf9dc authored by Bichen Li's avatar Bichen Li

Remove the unnecessary read-in for P and Q of component

parent 7201a3f3
......@@ -206,9 +206,6 @@ def read_timeseries_NEPLAN_loadflow1(file_name, timeseries_names = None, is_rege
timeseries[check + 1].values / 180 * cmath.pi) + cmath.rect(
value[10], value[11] / 180 * cmath.pi)
(timeseries[check].values, timeseries[check + 1].values) = cmath.polar(result)
#timeseries[check + 1].values = timeseries[check + 1].values / cmath.pi * 180
#timeseries[check - 1].values += value[9]
#timeseries[check - 2].values += value[8]
if check_pass:
for m in range(2, 4):
timeseries.append(TimeSeries(value[3] + '.' + namelist[m], 0, value[m + 8]))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment