Skip to content
Snippets Groups Projects
Commit c3741521 authored by Bichen Li's avatar Bichen Li
Browse files

- Add a new function to compare the result from Modelica and NEPLAN

- Fix some bugs
parent ad4d24e7
No related branches found
No related tags found
No related merge requests found
...@@ -169,7 +169,7 @@ def read_timeseries_NEPLAN_loadflow(file_name, timeseries_names = None, is_regex ...@@ -169,7 +169,7 @@ def read_timeseries_NEPLAN_loadflow(file_name, timeseries_names = None, is_regex
seq = [] seq = []
value = [] value = []
i = 0 i = 0
namelist = ['V', 'Vangel', 'P', 'Q', 'I', 'Iangle'] namelist = ['Vpp', 'Vangle', 'P', 'Q', 'I', 'Iangle']
timeseries = [] timeseries = []
isfloat = re.compile(r'^[-+]?[0-9]+\.[0-9]+$') isfloat = re.compile(r'^[-+]?[0-9]+\.[0-9]+$')
for line in str_tmp.readlines(): for line in str_tmp.readlines():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment