diff --git a/src/powerflow_algorithm/BaseDCAlgo.tpp b/src/powerflow_algorithm/BaseDCAlgo.tpp index 36c456b..0352570 100644 --- a/src/powerflow_algorithm/BaseDCAlgo.tpp +++ b/src/powerflow_algorithm/BaseDCAlgo.tpp @@ -115,8 +115,10 @@ bool BaseDCAlgo::compute_pf(const Eigen::SparseMatrix & // 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() << 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() << 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;