Commit 1c96a32c authored by Jan Dinkelbach's avatar Jan Dinkelbach Committed by Markus Mirz
Browse files

allow vd, pv and pq comp at the same bus, setting bus type to vd


Former-commit-id: f282acae
parent 30f1976e
......@@ -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";
......
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