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
55ee07c7
Commit
55ee07c7
authored
Sep 26, 2018
by
Markus Mirz
Browse files
improve log of mna solver
Former-commit-id:
4558d7fa
parent
667bb166
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/MNASolver.cpp
View file @
55ee07c7
...
...
@@ -104,15 +104,15 @@ void MnaSolver<VarType>::initialize(CPS::SystemTopology system) {
for
(
auto
comp
:
system
.
mComponents
)
mLog
.
info
()
<<
"Added "
<<
comp
->
type
()
<<
" '"
<<
comp
->
name
()
<<
"' to simulation."
<<
std
::
endl
;
mLog
.
info
()
<<
"System matrix: "
<<
mTmpSystemMatrix
<<
std
::
endl
;
mLog
.
info
()
<<
"LU decomposition:"
<<
mTmpLuFactorization
.
matrixLU
()
<<
std
::
endl
;
mLog
.
info
()
<<
"Right side vector:"
<<
mRightSideVector
<<
std
::
endl
;
mLog
.
info
()
<<
"System matrix:
\n
"
<<
mTmpSystemMatrix
<<
std
::
endl
;
mLog
.
info
()
<<
"LU decomposition:
\n
"
<<
mTmpLuFactorization
.
matrixLU
()
<<
std
::
endl
;
mLog
.
info
()
<<
"Right side vector:
\n
"
<<
mRightSideVector
<<
std
::
endl
;
for
(
auto
sys
:
mSwitchedMatrices
)
{
mLog
.
info
()
<<
"Switching System matrix "
<<
sys
.
first
<<
": "
<<
sys
.
second
<<
std
::
endl
;
<<
sys
.
first
<<
":
\n
"
<<
sys
.
second
<<
std
::
endl
;
mLog
.
info
()
<<
"LU Factorization for System Matrix "
<<
sys
.
first
<<
": "
<<
mLuFactorizations
[
sys
.
first
].
matrixLU
()
<<
std
::
endl
;
<<
sys
.
first
<<
":
\n
"
<<
mLuFactorizations
[
sys
.
first
].
matrixLU
()
<<
std
::
endl
;
}
mLog
.
info
()
<<
"Initial switch status: "
<<
mCurrentSwitchStatus
<<
std
::
endl
;
...
...
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