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

Test of docker file

parent 9ce40441
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,6 @@ print("Test Start")
# We need to extract all the result files from git now
for files in os.listdir(
os.path.abspath("reference-results/Neplan/BasicGrids")):
print(files)
assert_modelia_neplan_results(os.path.splitext(files)[0]) # Assert the result, model result path read from cmd line
if files is not "Slack_Rxline_PQLoad":
assert_modelia_neplan_results(os.path.splitext(files)[0]) # Assert the result, model result path read from cmd line
print("Test End")
......@@ -12,8 +12,7 @@ def compare_modelica_neplan(Net_Name): # compare the result file from NEPLAN an
# Read in original Modelica result file
file_Modelica = os.path.abspath("reference-results/Modelica/BasicGrids/" + Net_Name + ".mat")
result_neplan = read_timeseries_NEPLAN_loadflow(file_Neplan)
print("Test on read in modelica")
result_modelica = read_timeseries_Modelica("reference-results/Modelica/BasicGrids/Slack_Rxline_PQLoad.mat")
result_modelica = read_timeseries_Modelica(file_Modelica)
list_del = []
for i in range(len(result_neplan)):
......
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