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
f282acae
Commit
f282acae
authored
Jan 10, 2020
by
Jan Dinkelbach
Committed by
Markus Mirz
Jan 31, 2020
Browse files
allow vd, pv and pq comp at the same bus, setting bus type to vd
parent
d7cd5bb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/PFSolver.cpp
View file @
f282acae
...
...
@@ -177,7 +177,12 @@ void PFSolver::determinePFBusType() {
mVDBusIndices
.
push_back
(
node
->
simNode
());
mVDBuses
.
push_back
(
node
);
mSLog
->
info
(
"Note: node with uuid {} set as VD bus. Both VD and PV type components were connected."
,
node
->
attribute
<
String
>
(
"uid"
)
->
get
());
}
}
// VD, PV and PQ type component connect -> set as VD bus
else
if
(
connectedPV
&&
connectedPQ
&&
connectedVD
)
{
mVDBusIndices
.
push_back
(
node
->
simNode
());
mVDBuses
.
push_back
(
node
);
mSLog
->
info
(
"Note: node with uuid {} set as VD bus. VD, PV and PQ type components were connected."
,
node
->
attribute
<
String
>
(
"uid"
)
->
get
());
}
else
{
std
::
stringstream
ss
;
ss
<<
"Node>>"
<<
node
->
name
()
<<
": combination of connected components is invalid"
;
...
...
Jan Dinkelbach
@jan.dinkelbach
mentioned in commit
1c96a32c
·
Feb 13, 2020
mentioned in commit
1c96a32c
mentioned in commit 1c96a32c0ca439d3b702355541f49c322cbc27a4
Toggle commit list
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