Resolve FIXME, CHECK, TODO, DEPRECATED and THISISBAD comments
Opened this issue · 8 comments
- FIXME
- CHECK
- TODO
- DEPRECATED
- THISISBAD
dpsim/dpsim-models/src/DP/DP_Ph1_VoltageSourceRamp.cpp
Lines 66 to 67 in 0a9d00c
dpsim/dpsim-models/src/EMT/EMT_Ph1_VoltageSourceRamp.cpp
Lines 63 to 64 in 0a9d00c
The VoltageSourceRamp
should be superceded by the SignalGenerator in the normal VoltageSource. The classes above are only used in one example and not bound to Python, so they can probably be deleted. The issue comes up once more in the DP_Ph1_PQLoadCS:
dpsim/dpsim-models/src/DP/DP_Ph1_PQLoadCS.cpp
Lines 96 to 97 in 0a9d00c
I dont know if this class is still needed as it is also not bound to Python. Even if there is probably a way to get around setting the right_vector to dynamic. Since the class implements
mnaApplyRightSideVectorStamp
I do not know whether the mRightVector
is even read at all...Lines 40 to 52 in 0a9d00c
This is probably harder to solve because one needs to rework the MNA Solver for parallel frequencies (if that is even a working usecase right now)
dpsim/dpsim-models/include/dpsim-models/Signal/DecouplingLine.h
Lines 49 to 50 in 0a9d00c
dpsim/dpsim-models/include/dpsim-models/Signal/DecouplingLineEMT.h
Lines 49 to 50 in 0a9d00c
I dont know what states this is talking about. The Matrix attribute itself is only used as a task dependency but never read or written to...
dpsim/dpsim-models/src/DP/DP_Ph1_ResIndSeries.cpp
Lines 16 to 17 in 0a9d00c
Removing the R attribute seems to go against the purpose of the class. But then again, the class is never used / not even compiled so maybe we can just delete it altogether?
dpsim/examples/Notebooks/Components/Trafo.ipynb
Lines 69 to 71 in 0a9d00c
I cannot comment on this, should be easy to resolve though.
The notebook does not even run the simulation to completion, so this seems like a secondary issue...
I can confirm this is still an issue, there is even an entire notebook for examination: https://github.com/sogno-platform/dpsim/blob/master/examples/Notebooks/Components/SynGen_trStab_logger_test.ipynb
The core issue remains unsolved though, probably something to do with the logger only writing out files when the object is deleted from memory...