Commit cee284ae authored by Markus Mirz's avatar Markus Mirz

bugfix for Modelica read-in

parent c90ceac4
......@@ -14,8 +14,8 @@ def read_timeseries_Modelica(filename, timeseries_names=None):
if not isinstance(timeseries_names, list):
timeseries = TimeSeries(timeseries_names, sim(timeseries_names).times(), sim(timeseries_names).values())
else:
timeseries = []
for name in timeseries_names:
timeseries = []
timeseries.append(TimeSeries(name, sim(name).times(), sim(name).values()))
return timeseries
......
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