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
79c89b7e
Commit
79c89b7e
authored
Mar 14, 2020
by
Markus Mirz
Browse files
remove Component from decoupling line
parent
097c8817
Changes
4
Hide whitespace changes
Inline
Side-by-side
Dependencies/libcps/Include/cps/Signal/DecouplingLine.h
View file @
79c89b7e
/** Signalling part of a decoupling transmission line
*
* @file
* @author Georg Reinke <georg.reinke@rwth-aachen.de>
* @copyright 2017-2018, Institute for Automation of Complex Power Systems, EONERC
/**
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*
* CPowerSystems
*
...
...
@@ -71,7 +68,7 @@ namespace Signal {
void
step
(
Real
time
,
Int
timeStepCount
);
void
postStep
();
Task
::
List
getTasks
();
Componen
t
::
List
getLineComponents
();
IdentifiedObjec
t
::
List
getLineComponents
();
class
PreStep
:
public
Task
{
public:
...
...
Dependencies/libcps/Include/cps/Signal/DecouplingLineEMT.h
View file @
79c89b7e
...
...
@@ -66,7 +66,7 @@ namespace Signal {
void
step
(
Real
time
,
Int
timeStepCount
);
void
postStep
();
Task
::
List
getTasks
();
Componen
t
::
List
getLineComponents
();
IdentifiedObjec
t
::
List
getLineComponents
();
class
PreStep
:
public
Task
{
public:
...
...
Dependencies/libcps/Source/Signal/DecouplingLine.cpp
View file @
79c89b7e
...
...
@@ -173,6 +173,6 @@ Task::List DecouplingLine::getTasks() {
return
Task
::
List
({
std
::
make_shared
<
PreStep
>
(
*
this
),
std
::
make_shared
<
PostStep
>
(
*
this
)});
}
Componen
t
::
List
DecouplingLine
::
getLineComponents
()
{
return
Componen
t
::
List
({
mRes1
,
mRes2
,
mSrc1
,
mSrc2
});
IdentifiedObjec
t
::
List
DecouplingLine
::
getLineComponents
()
{
return
IdentifiedObjec
t
::
List
({
mRes1
,
mRes2
,
mSrc1
,
mSrc2
});
}
Dependencies/libcps/Source/Signal/DecouplingLineEMT.cpp
View file @
79c89b7e
...
...
@@ -140,6 +140,6 @@ Task::List DecouplingLineEMT::getTasks() {
return
Task
::
List
({
std
::
make_shared
<
PreStep
>
(
*
this
),
std
::
make_shared
<
PostStep
>
(
*
this
)});
}
Componen
t
::
List
DecouplingLineEMT
::
getLineComponents
()
{
return
Componen
t
::
List
({
mRes1
,
mRes2
,
mSrc1
,
mSrc2
});
IdentifiedObjec
t
::
List
DecouplingLineEMT
::
getLineComponents
()
{
return
IdentifiedObjec
t
::
List
({
mRes1
,
mRes2
,
mSrc1
,
mSrc2
});
}
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