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 Simulation and Optimization
DPsim
DPsim
Commits
d41839d2
Commit
d41839d2
authored
Mar 24, 2020
by
Markus Mirz
Browse files
remove obsolete inverter test
parent
47ba8841
Changes
2
Hide whitespace changes
Inline
Side-by-side
models/Tests/CMakeLists.txt
View file @
d41839d2
...
...
@@ -5,7 +5,6 @@ if(WITH_TESTS)
FIRFilter.cpp
Exciter.cpp
TurbineGovernor.cpp
DP_Ph1_Inverter_Test.cpp
)
endif
()
...
...
models/Tests/DP_Ph1_Inverter_Test.cpp
deleted
100644 → 0
View file @
47ba8841
/* Copyright 2017-2020 Institute for Automation of Complex Power Systems,
* EONERC, RWTH Aachen University
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*********************************************************************************/
#include
<cps/DP/DP_Ph1_Inverter.h>
using
namespace
CPS
;
using
namespace
CPS
::
DP
;
int
main
(
int
argc
,
char
*
argv
[])
{
String
simName
=
"Inverter_test"
;
Logger
::
setLogDir
(
"logs/"
+
simName
);
auto
inv
=
Ph1
::
Inverter
::
make
(
"inv"
,
Logger
::
Level
::
debug
);
inv
->
setParameters
(
std
::
vector
<
CPS
::
Int
>
{
2
,
2
,
2
,
2
,
4
,
4
,
4
,
4
},
std
::
vector
<
CPS
::
Int
>
{
-
3
,
-
1
,
1
,
3
,
-
5
,
-
1
,
1
,
5
},
360
,
0.87
,
0
);
//inv->initialize(50, );
inv
->
calculatePhasors
();
}
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