Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
D
Data Processing
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
Container Registry
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ACS
P
Public
VILLASframework
Data Processing
Commits
1cd070f7
Commit
1cd070f7
authored
Nov 30, 2018
by
Jan Dinkelbach
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jzh-validation'
parents
4319ca53
b14bbc44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
examples/compareresults/compare_neplan_dpsim_CIGRE-MV-NoTap.py
...les/compareresults/compare_neplan_dpsim_CIGRE-MV-NoTap.py
+5
-4
No files found.
examples/compareresults/compare_neplan_dpsim_
WSCC9bus
.py
→
examples/compareresults/compare_neplan_dpsim_
CIGRE-MV-NoTap
.py
View file @
1cd070f7
...
...
@@ -3,7 +3,7 @@ from villas.dataprocessing.timeseries import *
import
villas.dataprocessing.validationtools
as
validationtools
# reference rtf data directory
file
=
r"..\..\..\reference-results\Neplan\ReferenceGrids\
WSCC-09_RX
.rlf"
file
=
r"..\..\..\reference-results\Neplan\ReferenceGrids\
CIGRE_MV_NoTap
.rlf"
# Read in NEPLAN data
...
...
@@ -15,9 +15,9 @@ print('************************ Test for read in all variable end **************
print
(
'
\n
'
)
# Read in CIM powerflow data
path
=
'..
\\
..
\\
..
\\
..
\\
dpsim_jzh_pfinteg
\\
dpsim
\\
build
\\
Dependencies
\\
fpotencia
\\
src
\\
test
\\
Logs
\\
'
logName
=
'
WSCC-09_
Neplan'
;
print
(
'************************ reading dpsim power flow data start ****************'
)
path
=
"D:
\\
HiWi_ACS
\\
dpsim_jzh_pfinteg
\\
dpsim
\\
build
\\
Dependencies
\\
fpotencia
\\
src
\\
test
\\
Logs
\\
"
logName
=
'
CIGRE-MV-NoTap-
Neplan'
;
dataType
=
'.csv'
;
logFilename
=
path
+
logName
+
dataType
;
ts_dpsim
=
read_timeseries_csv
(
logFilename
)
...
...
@@ -25,6 +25,7 @@ for ts,values in ts_dpsim.items():
ts_abs
=
values
.
abs
(
ts
+
'.Vpp'
)
ts_phase
=
values
.
phase
(
ts
+
'.Vangle'
)
print
(
ts_abs
.
name
+
': '
+
str
(
ts_abs
.
values
)
+
'
\n
'
+
ts_phase
.
name
+
' :'
+
str
(
ts_phase
.
values
))
print
(
'************************ reading dpsim power flow data end ****************'
)
# compare CIM-pf data with NEPLAN
net_name
=
'WSCC-9bus'
...
...
Write
Preview
Markdown
is supported
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