Skip to content
Snippets Groups Projects
Commit cee284ae authored by Markus Mirz's avatar Markus Mirz
Browse files

bugfix for Modelica read-in

parent c90ceac4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment