Commit b989e705 authored by Jan Dinkelbach's avatar Jan Dinkelbach
Browse files

update setup

parent 6161a224
[submodule "dependencies/cimpy"]
path = dependencies/cimpy
url = git@git.rwth-aachen.de:acs/core/cim/cimpy.git
# State Estimation Algorithm
The algorithm is implemented in Python and derived from Marco Pau's original version.
This project uses CIMpy to read CIM data into Python objects: https://git.rwth-aachen.de/acs/core/cim/cimpy
\ No newline at end of file
This project uses CIMpy to read CIM data into Python objects: https://git.rwth-aachen.de/acs/core/cim/cimpy
## Installation
Install package requirements
```
pip install -r requirements.txt
```
Install state estimation package in development mode with (being in the directory of the repository)
```
python setup.py develop
```
Besides, install cimpy package in development mode with
```
cd dependencies/cimpy
python setup.py develop
```
## Getting started
To get started you find executable examples under [examples/quickstart](examples/quickstart)
\ No newline at end of file
Subproject commit 194523ba0b01f4c5d31ca70befcb37d25ac1dd30
import logging
from acs.state_estimation import network
from acs.state_estimation import nv_powerflow
from acs.state_estimation import results
import cimpy
logging.basicConfig(filename='CIGRE.log', level=logging.INFO, filemode='w')
cim_xml_path = r".\examples\quickstart\sample_data"
cim_xml_files=[cim_xml_path + r"\Rootnet_FULL_NE_06J16h_DI.xml",
cim_xml_path + r"\Rootnet_FULL_NE_06J16h_EQ.xml",
cim_xml_path + r"\Rootnet_FULL_NE_06J16h_SV.xml",
cim_xml_path + r"\Rootnet_FULL_NE_06J16h_TP.xml"]
#read cim files and create new network.Systen object
res=cimpy.cimread(cim_xml_files)
system = network.System()
base_apparent_power = 25 #MW
system.load_cim_data(res, base_apparent_power)
#Execute power flow analysis
results_pf, num_iter_cim = nv_powerflow.solve(system)
#print node voltages
print("results_pf.voltages: ")
for node in results_pf.nodes:
print('{}={}'.format(node.topology_node.uuid, node.voltage))
print("\n\n\n")
\ No newline at end of file
time, N0.imag, N0.real, N1.imag, N1.real, N10.imag, N10.real, N11.imag, N11.real, N12.imag, N12.real, N13.imag, N13.real, N14.imag, N14.real, N2.imag, N2.real, N3.imag, N3.real, N4.imag, N4.real, N5.imag, N5.real, N6.imag, N6.real, N7.imag, N7.real, N8.imag, N8.real, N9.imag, N9.real
0.000000e+00, -0.000000, 110000.000000, -2338.005911, 19068.906200, -3186.741134, 17484.673147, -3189.599750, 17479.948637, -1972.428810, 19286.876241, -1980.137842, 19185.762940, -1984.595002, 19127.602227, -2637.676770, 18525.935135, -3098.883180, 17665.820097, -3126.522949, 17621.486791, -3145.513720, 17591.051973, -3167.885980, 17555.032026, -3162.641226, 17530.519787, -3160.266213, 17536.974657, -3169.768928, 17514.387290
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cim="http://iec.ch/TC57/2012/CIM-schema-cim16#" xmlns:md="http://iec.ch/TC57/61970-552/ModelDescription/1#" xmlns:entsoe="http://entsoe.eu/Secretariat/ProfileExtension/2#" xmlns:neplan="http://www.neplan.ch#">
<md:FullModel rdf:about="urn:uuid:7183508b-1775-43f5-8359-3c06c7b75c31">
<md:Model.created>2018-11-06T16:34:52</md:Model.created>
<neplan:Model.createdBy>NEPLAN by Busarello + Cott + Partner AG, Switzerland</neplan:Model.createdBy>
<md:Model.scenarioTime>2018-11-06T16:34:50</md:Model.scenarioTime>
<md:Model.version>7</md:Model.version>
<md:Model.DependentOn rdf:resource="urn:uuid:25276efc-54c7-450a-87d6-6f58ae3470a9"/>
<md:Model.DependentOn rdf:resource="urn:uuid:f2ff6631-14b2-42d2-8fdb-a2edc910aefe"/>
<md:Model.description>NEPLAN</md:Model.description>
<md:Model.modelingAuthoritySet>FULL</md:Model.modelingAuthoritySet>
<md:Model.profile>http://iec.ch/TC57/61970-456/StateVariables/3</md:Model.profile>
</md:FullModel>
<cim:SvVoltage rdf:ID="N0_5B20">
<cim:SvVoltage.v>110.000000</cim:SvVoltage.v>
<cim:SvVoltage.angle>-0e+000</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N0"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N1_5B20">
<cim:SvVoltage.v>19.211701</cim:SvVoltage.v>
<cim:SvVoltage.angle>-6.990050</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N1"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N12_5B20">
<cim:SvVoltage.v>19.387472</cim:SvVoltage.v>
<cim:SvVoltage.angle>-5.839220</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N12"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N3_5B20">
<cim:SvVoltage.v>17.935559</cim:SvVoltage.v>
<cim:SvVoltage.angle>-9.949420</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N3"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N5_5B20">
<cim:SvVoltage.v>17.870069</cim:SvVoltage.v>
<cim:SvVoltage.angle>-10.138100</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N5"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N4_5B20">
<cim:SvVoltage.v>17.896702</cim:SvVoltage.v>
<cim:SvVoltage.angle>-10.061100</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N4"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N10_5B20">
<cim:SvVoltage.v>17.772707</cim:SvVoltage.v>
<cim:SvVoltage.angle>-10.329300</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N10"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N9_5B20">
<cim:SvVoltage.v>17.798910</cim:SvVoltage.v>
<cim:SvVoltage.angle>-10.258400</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N9"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N8_5B20">
<cim:SvVoltage.v>17.819449</cim:SvVoltage.v>
<cim:SvVoltage.angle>-10.215400</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N8"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N7_5B20">
<cim:SvVoltage.v>17.813518</cim:SvVoltage.v>
<cim:SvVoltage.angle>-10.226600</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N7"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N6_5B20">
<cim:SvVoltage.v>17.838572</cim:SvVoltage.v>
<cim:SvVoltage.angle>-10.229200</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N6"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N14_5B20">
<cim:SvVoltage.v>19.230283</cim:SvVoltage.v>
<cim:SvVoltage.angle>-5.923560</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N14"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N13_5B20">
<cim:SvVoltage.v>19.287676</cim:SvVoltage.v>
<cim:SvVoltage.angle>-5.892560</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N13"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N11_5B20">
<cim:SvVoltage.v>17.768572</cim:SvVoltage.v>
<cim:SvVoltage.angle>-10.341100</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N11"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N2_5B20">
<cim:SvVoltage.v>18.712766</cim:SvVoltage.v>
<cim:SvVoltage.angle>-8.103170</cim:SvVoltage.angle>
<cim:SvVoltage.TopologicalNode rdf:resource="#N2"/>
</cim:SvVoltage>
<cim:SvPowerFlow rdf:ID="LOAD-I-7-sv">
<cim:SvPowerFlow.p>0.076500</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.047410</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-337"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-H-8-sv">
<cim:SvPowerFlow.p>0.586850</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.147078</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-340"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-H-12-sv">
<cim:SvPowerFlow.p>14.994000</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>3.044662</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-301"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-I-3-sv">
<cim:SvPowerFlow.p>0.225250</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.139597</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-1229744389"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-H-10-sv">
<cim:SvPowerFlow.p>0.475300</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.119121</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-1229744397"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-I-13-sv">
<cim:SvPowerFlow.p>0.034000</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.021071</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-304"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-H-14-sv">
<cim:SvPowerFlow.p>0.208550</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.052268</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-1229744413"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-I-12-sv">
<cim:SvPowerFlow.p>5.016000</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>1.648679</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-1229744405"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-I-14-sv">
<cim:SvPowerFlow.p>0.331500</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.205445</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-1229744416"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-H-1-sv">
<cim:SvPowerFlow.p>14.994000</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>3.044662</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-310"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-H-3-sv">
<cim:SvPowerFlow.p>0.276450</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.069285</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-1229744381"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-H-4-sv">
<cim:SvPowerFlow.p>0.431650</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.108182</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-319"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-H-5-sv">
<cim:SvPowerFlow.p>0.727500</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.182329</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-322"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-H-11-sv">
<cim:SvPowerFlow.p>0.329800</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.082656</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-325"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-I-1-sv">
<cim:SvPowerFlow.p>4.845000</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>1.592474</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-1229744368"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-I-10-sv">
<cim:SvPowerFlow.p>0.068000</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.042143</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-328"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-I-9-sv">
<cim:SvPowerFlow.p>0.573750</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.355578</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-331"/>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="LOAD-H-6-sv">
<cim:SvPowerFlow.p>0.548050</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.137354</cim:SvPowerFlow.q>
<cim:SvPowerFlow.Terminal rdf:resource="#E-334"/>
</cim:SvPowerFlow>
</rdf:RDF>
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cim="http://iec.ch/TC57/2012/CIM-schema-cim16#" xmlns:md="http://iec.ch/TC57/61970-552/ModelDescription/1#" xmlns:entsoe="http://entsoe.eu/Secretariat/ProfileExtension/2#" xmlns:neplan="http://www.neplan.ch#">
<md:FullModel rdf:about="urn:uuid:f2ff6631-14b2-42d2-8fdb-a2edc910aefe">
<md:Model.created>2018-11-06T16:34:52</md:Model.created>
<neplan:Model.createdBy>NEPLAN by Busarello + Cott + Partner AG, Switzerland</neplan:Model.createdBy>
<md:Model.scenarioTime>2018-11-06T16:34:50</md:Model.scenarioTime>
<md:Model.version>7</md:Model.version>
<md:Model.DependentOn rdf:resource="urn:uuid:25276efc-54c7-450a-87d6-6f58ae3470a9"/>
<md:Model.description>NEPLAN</md:Model.description>
<md:Model.modelingAuthoritySet>FULL</md:Model.modelingAuthoritySet>
<md:Model.profile>http://iec.ch/TC57/61970-456/Topology/3</md:Model.profile>
</md:FullModel>
<cim:NameType rdf:ID="_180dea0a-f4a7-4fec-90f4-fbb189409882">
<cim:NameType.name>description</cim:NameType.name>
</cim:NameType>
<cim:TopologicalNode rdf:ID="N0">
<cim:IdentifiedObject.name>N0</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_fd4aebc6-81ee-42dd-bea2-e3368f769175"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_53a66d62-e48c-4548-bdb0-8d46f596c259"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N1">
<cim:IdentifiedObject.name>N1</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_03323680-017d-4c30-a373-a08268295f28"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N12">
<cim:IdentifiedObject.name>N12</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_ab3a1be0-9b79-4c06-aac2-c29795af7995"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N3">
<cim:IdentifiedObject.name>N3</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_bc60cb48-b173-4a4e-98b3-229aad123c85"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N5">
<cim:IdentifiedObject.name>N5</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_c9026ac7-114f-42db-ad42-c62d5f6dd04e"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N4">
<cim:IdentifiedObject.name>N4</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_e7ebb930-c627-436a-8a78-a081d8fd14b6"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N10">
<cim:IdentifiedObject.name>N10</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_1cc203b2-5def-4787-a39e-bcdaa8704b70"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N9">
<cim:IdentifiedObject.name>N9</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_c939c4a6-6b54-4aab-b12b-02056c76145f"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N8">
<cim:IdentifiedObject.name>N8</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_fba380fd-6b70-46df-97f1-f0f2d6fd027d"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N7">
<cim:IdentifiedObject.name>N7</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_bad2e7c9-5aa8-4017-af2c-5ef5dcf65cf9"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N6">
<cim:IdentifiedObject.name>N6</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_6c34a5cf-b0b5-4164-93b0-6c994651fbd4"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N14">
<cim:IdentifiedObject.name>N14</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_5595a431-985c-4a41-9f8c-7384e248bf95"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N13">
<cim:IdentifiedObject.name>N13</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_98ddf6d7-8d31-48bb-8043-6ebe119bb478"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N11">
<cim:IdentifiedObject.name>N11</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_fe5cecb0-1840-413b-b06e-da542c486491"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N2">
<cim:IdentifiedObject.name>N2</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_0a92d9bb-71b6-4256-aa94-54fde8700496"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_633b35b8-fa46-49b0-877c-d7b58e03c961"/>
</cim:TopologicalNode>
<cim:Terminal rdf:about="#E-132">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N4"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-133">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N5"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-137">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N3"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-138">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N4"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-147">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N11"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-148">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N10"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-157">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N10"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-158">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N9"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-162">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N3"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-163">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N8"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-172">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N8"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-173">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N9"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-177">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N8"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-178">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N7"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-182">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N5"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-183">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N6"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-187">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N12"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-188">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N13"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-192">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N13"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-193">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N14"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-214">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N1"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-215">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N2"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-219">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N2"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-220">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N3"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229744452">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N0"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229744455">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N1"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229744476">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N0"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229744473">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N12"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-337">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N7"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-340">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N8"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-301">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N12"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229744389">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N3"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229744397">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N10"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-304">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N13"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229744413">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N14"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229744405">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N12"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229744416">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N14"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-310">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N1"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229744381">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N3"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-319">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N4"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-322">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N5"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-325">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N11"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229744368">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N1"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-328">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N10"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-331">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N9"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-334">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N6"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-298">
<cim:Terminal.connected>true</cim:Terminal.connected>
<cim:Terminal.TopologicalNode rdf:resource="#N0"/>
</cim:Terminal>
</rdf:RDF>
......@@ -6,7 +6,7 @@ import cimpy
logging.basicConfig(filename='CIGRE.log', level=logging.INFO, filemode='w')
cim_xml_path = r"..\..\..\cim-grid-data\CIGRE_MV\CIGRE_MV_no_tapchanger_With_LoadFlow_Results"
cim_xml_path = r".\examples\quickstart\sample_data"
cim_xml_files=[cim_xml_path + r"\Rootnet_FULL_NE_06J16h_DI.xml",
cim_xml_path + r"\Rootnet_FULL_NE_06J16h_EQ.xml",
cim_xml_path + r"\Rootnet_FULL_NE_06J16h_SV.xml",
......@@ -28,7 +28,7 @@ for node in results_pf.nodes:
print("\n\n\n")
# Show numerical comparison
loadflow_results_path = r"..\..\..\reference-results\DPsim\StaticPhasor"
loadflow_results_path = r".\examples\quickstart\sample_data"
loadflow_results_file = loadflow_results_path + r"\CIGRE-MV-NoTap.csv"
results_dpsim = results.Results(system)
......
......@@ -5,12 +5,11 @@ import matplotlib.pyplot as plt
import cimpy
from acs.state_estimation import network
from acs.state_estimation import measurement
from acs.state_estimation import
from acs.state_estimation import results
logging.basicConfig(filename='CIGRE.log', level=logging.INFO, filemode='w')
cim_xml_path = r"..\..\..\cim-grid-data\CIGRE_MV\CIGRE_MV_no_tapchanger_With_LoadFlow_Results"
cim_xml_path = r".\examples\quickstart\sample_data"
cim_xml_files=[cim_xml_path + r"\Rootnet_FULL_NE_06J16h_DI.xml",
cim_xml_path + r"\Rootnet_FULL_NE_06J16h_EQ.xml",
cim_xml_path + r"\Rootnet_FULL_NE_06J16h_SV.xml",
......@@ -23,7 +22,7 @@ base_apparent_power = 25 #MW
system.load_cim_data(res, base_apparent_power)
#read Input-Ergebnisdatei and store it in a results.Results object
loadflow_results_path = r"..\..\..\reference-results\DPsim\StaticPhasor"
loadflow_results_path = r".\examples\quickstart\sample_data"
loadflow_results_file = loadflow_results_path + r"\CIGRE-MV-NoTap.csv"
powerflow_results = results.Results(system)
powerflow_results.read_data_dpsim(loadflow_results_file)
......
villas-dataprocessing>=0.2
\ No newline at end of file
......@@ -3,13 +3,13 @@
from setuptools import setup
setup(name='acs-state-estimation',
version='0.1',
version='0.2',
description='State Estimation',
author='Marco Pau, Markus Mirz, Jan Dinkelbach',
author_email='acs-software@eonerc.rwth-aachen.de',
packages =