Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
Data Processing
Commits
1ce8d543
Commit
1ce8d543
authored
Jun 04, 2018
by
Jan Dinkelbach
Browse files
restructuring examples scripts
parent
6a8eb75a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Assert_Results.py
→
examples/assertresults/
Assert_Results.py
View file @
1ce8d543
import
re
import
os
import
sys
from
dataprocessing.Validationtools
import
*
from
dataprocessing.readtools
import
*
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"
)):
# Assert the result, model result path read from cmd line
assert_modelia_neplan_results
(
os
.
path
.
splitext
(
files
)[
0
],
os
.
path
.
abspath
(
"reference-results/Modelica/BasicGrids/"
+
os
.
path
.
splitext
(
files
)[
0
]
+
".mat"
),
os
.
path
.
abspath
(
"reference-results/Neplan/BasicGrids/"
+
os
.
path
.
splitext
(
files
)[
0
]
+
".rlf"
))
print
(
"Test End"
)
import
re
import
os
import
sys
from
dataprocessing.Validationtools
import
*
from
dataprocessing.readtools
import
*
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"
)):
# Assert the result, model result path read from cmd line
assert_modelia_neplan_results
(
os
.
path
.
splitext
(
files
)[
0
],
os
.
path
.
abspath
(
"reference-results/Modelica/BasicGrids/"
+
os
.
path
.
splitext
(
files
)[
0
]
+
".mat"
),
os
.
path
.
abspath
(
"reference-results/Neplan/BasicGrids/"
+
os
.
path
.
splitext
(
files
)[
0
]
+
".rlf"
))
print
(
"Test End"
)
examples/DPsim/cim_ieee_9_bus.py
→
examples/
readinresults/
DPsim/cim_ieee_9_bus.py
View file @
1ce8d543
File moved
examples/DPsim/examples_plot.py
→
examples/
readinresults/
DPsim/examples_plot.py
View file @
1ce8d543
File moved
examples/Modelica/read_modelica_examples.py
→
examples/
readinresults/
Modelica/read_modelica_examples.py
View file @
1ce8d543
File moved
examples/NEPLAN/read_NEPLAN_example.py
→
examples/
readinresults/
NEPLAN/read_NEPLAN_example.py
View file @
1ce8d543
File moved
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment