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
Power System Automation and Monitoring
pyVolt
pyVolt
Commits
c318da85
Commit
c318da85
authored
Apr 28, 2019
by
martin.moraga
Browse files
delete deuplicated example
parent
1f6ed4e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/9bus_tests/cim_9bus_test.py
deleted
100644 → 0
View file @
1f6ed4e7
import
sys
import
logging
sys
.
path
.
append
(
"..\..\cimpy"
)
sys
.
path
.
append
(
".."
)
import
cimpy
from
acs.state_estimation.network
import
System
logging
.
basicConfig
(
level
=
logging
.
INFO
)
xml_files
=
[
r
"..\..\cim-grid-data\WSCC-09\WSCC-09_Neplan_EQ.xml"
,
r
"..\..\cim-grid-data\WSCC-09\WSCC-09_Neplan_SV.xml"
,
r
"..\..\cim-grid-data\WSCC-09\WSCC-09_Neplan_TP.xml"
]
res
=
cimpy
.
cimread
(
xml_files
)
cimpy
.
setNodes
(
res
)
cimpy
.
setPowerTransformerEnd
(
res
)
network
=
System
()
network
.
load_cim_data
(
res
)
print
(
"Vector bR:"
)
print
(
network
.
bR
)
print
()
print
(
"Vector bX:"
)
print
(
network
.
bX
)
print
()
print
(
"Vector P:"
)
print
(
network
.
P
)
print
()
print
(
"Vector Q:"
)
print
(
network
.
Q
)
print
()
\ No newline at end of file
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