Commit d41839d2 authored by Markus Mirz's avatar Markus Mirz
Browse files

remove obsolete inverter test

parent 47ba8841
...@@ -5,7 +5,6 @@ if(WITH_TESTS) ...@@ -5,7 +5,6 @@ if(WITH_TESTS)
FIRFilter.cpp FIRFilter.cpp
Exciter.cpp Exciter.cpp
TurbineGovernor.cpp TurbineGovernor.cpp
DP_Ph1_Inverter_Test.cpp
) )
endif() endif()
......
/* 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();
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment