Commit 895d63ad authored by Bichen Li's avatar Bichen Li

Test of docker file

parent 9ce40441
Pipeline #48609 canceled with stage
......@@ -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)
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)):
......
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