Commit 79c89b7e authored by Markus Mirz's avatar Markus Mirz
Browse files

remove Component from decoupling line

parent 097c8817
/** Signalling part of a decoupling transmission line /**
* * @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
* @file
* @author Georg Reinke <georg.reinke@rwth-aachen.de>
* @copyright 2017-2018, Institute for Automation of Complex Power Systems, EONERC
* *
* CPowerSystems * CPowerSystems
* *
...@@ -71,7 +68,7 @@ namespace Signal { ...@@ -71,7 +68,7 @@ namespace Signal {
void step(Real time, Int timeStepCount); void step(Real time, Int timeStepCount);
void postStep(); void postStep();
Task::List getTasks(); Task::List getTasks();
Component::List getLineComponents(); IdentifiedObject::List getLineComponents();
class PreStep : public Task { class PreStep : public Task {
public: public:
......
...@@ -66,7 +66,7 @@ namespace Signal { ...@@ -66,7 +66,7 @@ namespace Signal {
void step(Real time, Int timeStepCount); void step(Real time, Int timeStepCount);
void postStep(); void postStep();
Task::List getTasks(); Task::List getTasks();
Component::List getLineComponents(); IdentifiedObject::List getLineComponents();
class PreStep : public Task { class PreStep : public Task {
public: public:
......
...@@ -173,6 +173,6 @@ Task::List DecouplingLine::getTasks() { ...@@ -173,6 +173,6 @@ Task::List DecouplingLine::getTasks() {
return Task::List({std::make_shared<PreStep>(*this), std::make_shared<PostStep>(*this)}); return Task::List({std::make_shared<PreStep>(*this), std::make_shared<PostStep>(*this)});
} }
Component::List DecouplingLine::getLineComponents() { IdentifiedObject::List DecouplingLine::getLineComponents() {
return Component::List({mRes1, mRes2, mSrc1, mSrc2}); return IdentifiedObject::List({mRes1, mRes2, mSrc1, mSrc2});
} }
...@@ -140,6 +140,6 @@ Task::List DecouplingLineEMT::getTasks() { ...@@ -140,6 +140,6 @@ Task::List DecouplingLineEMT::getTasks() {
return Task::List({std::make_shared<PreStep>(*this), std::make_shared<PostStep>(*this)}); return Task::List({std::make_shared<PreStep>(*this), std::make_shared<PostStep>(*this)});
} }
Component::List DecouplingLineEMT::getLineComponents() { IdentifiedObject::List DecouplingLineEMT::getLineComponents() {
return Component::List({mRes1, mRes2, mSrc1, mSrc2}); return IdentifiedObject::List({mRes1, mRes2, mSrc1, mSrc2});
} }
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