Skip to content

Commit

Permalink
still debug windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BDonnot committed Jul 24, 2024
1 parent f656e5f commit 9960ac5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/powerflow_algorithm/BaseDCAlgo.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@ bool BaseDCAlgo<LinearSolver>::compute_pf(const Eigen::SparseMatrix<cplx_type> &

// solve for theta: Sbus = dcY . theta (make a copy to keep dcSbus_noslack_)
RealVect Va_dc_without_slack = dcSbus_noslack_;
std::cout << "\t\tBaseDCAlgo.tpp: dcYbus_noslack_: " << dcYbus_noslack_.coeffs().maxCoeff() << std::endl; // TODO DEBUG WINDOWS
std::cout << "\t\tBaseDCAlgo.tpp: Va_dc_without_slack: " << Va_dc_without_slack.lpNorm<Eigen::Infinity>() << std::endl; // TODO DEBUG WINDOWS
std::cout << "\t\tBaseDCAlgo.tpp: dcYbus_noslack_ (max): " << dcYbus_noslack_.coeffs().maxCoeff() << std::endl; // TODO DEBUG WINDOWS
std::cout << "\t\tBaseDCAlgo.tpp: dcYbus_noslack_ (sum): " << dcYbus_noslack_.coeffs().abs().sum() << std::endl; // TODO DEBUG WINDOWS
std::cout << "\t\tBaseDCAlgo.tpp: Va_dc_without_slack (inf norm): " << Va_dc_without_slack.lpNorm<Eigen::Infinity>() << std::endl; // TODO DEBUG WINDOWS
std::cout << "\t\tBaseDCAlgo.tpp: Va_dc_without_slack (l1 norm): " << Va_dc_without_slack.lpNorm<1>() << std::endl; // TODO DEBUG WINDOWS
ErrorType error = _linear_solver.solve(dcYbus_noslack_, Va_dc_without_slack, has_just_been_factorized);
if(error != ErrorType::NoError){
err_ = error;
Expand Down

0 comments on commit 9960ac5

Please sign in to comment.