Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solver is not initialized when trying to run DP_Inverter_Grid_Sequential_FreqSplit #208

Open
cuihantao opened this issue Mar 20, 2023 · 0 comments

Comments

@cuihantao
Copy link

Describe the bug

The executable DP_Inverter_Grid_Sequential_FreqSplit errors out the following:

Simulate sequence 2
[11:53:51.924895 MnaSolverFactory info] creating SparseLUAdapter solver implementation
DP_Inverter_Grid_Sequential_FreqSplit: /usr/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h:90: const Eigen::Solve<Derived, Rhs> Eigen::SparseSolverBase<Derived>::solve(const Eigen::MatrixBase<OtherDerived>&) const [with Rhs = Eigen::Matrix<double, -1, -1>; Derived = Eigen::SparseLU<Eigen::SparseMatrix<double, 1>, Eigen::COLAMDOrdering<int> >]: Assertion `m_isInitialized && "Solver is not initialized."' failed.
Aborted (core dumped)

To Reproduce
Steps to reproduce the behavior:

  1. Build the project
  2. Go to build_folder/dpsim/examples/cxx
  3. Run ./DP_Inverter_Grid_Sequential_FreqSplit --option seq=2

I am not sure what seq means, but changing it from 2 to 0 won't help.

Expected behavior

Normal completion.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04 LTS
  • Eigen: 3.4.0, apt-get installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant