Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
Data Processing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ACS
P
Public
VILLASframework
Data Processing
Commits
ec73916a
Commit
ec73916a
authored
Oct 26, 2018
by
Markus Mirz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove deprecated dpsim module
parent
e754bd3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
31 deletions
+0
-31
dataprocessing/dpsim.py
dataprocessing/dpsim.py
+0
-31
No files found.
dataprocessing/dpsim.py
deleted
100644 → 0
View file @
e754bd3c
from
dataprocessing.readtools
import
*
from
dataprocessing.timeseries
import
*
from
dataprocessing.plottools
import
*
def
get_node_voltage_phasors
(
dpsim_timeseries_list
):
"""Calculate voltage phasors of all nodes
:param dpsim_timeseries_list: timeseries list retrieved from dpsim results
:return:
"""
voltage_phasor_list
=
{}
for
name
,
ts
in
dpsim_timeseries_list
.
items
():
ts_abs
=
ts
.
abs
(
ts
.
name
+
'_abs'
)
ts_phase
=
ts
.
phase
(
ts
.
name
+
'_phase'
)
ts_phasor
=
{}
ts_phasor
[
'abs'
]
=
ts_abs
ts_phasor
[
'phase'
]
=
ts_phase
voltage_phasor_list
[
ts
.
name
]
=
ts_phasor
return
voltage_phasor_list
def
get_node_emt_voltages
(
timeseries_list
,
freq
):
"""Calculate EMT results of all nodes
:param timeseries_list: timeseries list retrieved from dpsim results
:return:
"""
voltages_list
=
{}
for
name
,
ts
in
timeseries_list
.
items
():
ts_emt
=
ts
.
frequency_shift
(
ts
.
name
,
freq
)
voltages_list
[
ts
.
name
]
=
ts_emt
return
voltages_list
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