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
5f05189b
Commit
5f05189b
authored
Jul 12, 2018
by
Bichen Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some comments to the code
parent
4f262493
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
dataprocessing/validationtools.py
dataprocessing/validationtools.py
+5
-0
No files found.
dataprocessing/validationtools.py
View file @
5f05189b
...
...
@@ -48,6 +48,11 @@ def convert_neplan_to_modelica_timeseries(neplan_timeseries):
return
neplan_timeseries
def
convert_simulink_to_modelica_timeseries
(
simseri
):
"""
Convert the steady-state results timeseries from simulink to modelica timeseries
:param simseri: simulate timeseries, generated by the result file from simulink
:return: a result timeseries
"""
res
=
[]
for
check
in
range
(
len
(
simseri
)):
if
'U AB:'
in
simseri
[
check
].
name
:
...
...
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