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
78224a81
Commit
78224a81
authored
Nov 07, 2018
by
Markus Mirz
Browse files
restructuring
parent
e1217015
Changes
7
Hide whitespace changes
Inline
Side-by-side
acs-state-estimation/examples/__init__.py
0 → 100644
View file @
78224a81
acs-state-estimation/examples/cim_9bus_test.py
0 → 100644
View file @
78224a81
import
sys
sys
.
path
.
append
(
"..\..\cimpy"
)
import
cimpy
import
logging
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
(
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
acs-state-estimation/
test_
powerflow.py
→
acs-state-estimation/
examples/
powerflow
_test
.py
View file @
78224a81
File moved
acs-state-estimation/
M
eas_data.py
→
acs-state-estimation/
examples/py_95bus_m
eas_data.py
View file @
78224a81
File moved
acs-state-estimation/
N
etwork_data.py
→
acs-state-estimation/
examples/py_95bus_n
etwork_data.py
View file @
78224a81
File moved
acs-state-estimation/
Main
.py
→
acs-state-estimation/
examples/py_95bus_test
.py
View file @
78224a81
File moved
acs-state-estimation/network.py
View file @
78224a81
...
...
@@ -46,32 +46,3 @@ class System():
self
.
branch
.
append
(
Branch
(
value
.
primaryConnection
.
r
,
value
.
primaryConnection
.
x
,
startNode
,
endNode
))
else
:
continue
import
sys
sys
.
path
.
append
(
"..\..\cimpy"
)
import
cimpy
import
logging
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
(
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
()
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