Template Class Branch
Defined in File Branch.hpp
Inheritance Relationships
Base Type
public GridKit::OptimalPowerFlow::Component< scalar_type, index_type >(Template Class Component)
Class Documentation
-
template<typename scalar_type, typename index_type>
class Branch : public GridKit::OptimalPowerFlow::Component<scalar_type, index_type> Line or off-nominal transformer between two buses, with power positive into the buses.
Public Functions
-
virtual Model::ConfigurationChecks verify() const override
Every problem with the parameters.
-
virtual int initialize() override
Set the bounds and the flat start.
-
virtual int evaluateGradient() override
Evaluate \(\nabla f\) into
gradient().
-
virtual int evaluateJacobian() override
Evaluate the Jacobian of \(g\) into
getCsrJacobian().
-
virtual int evaluateHessian(RealT sigma) override
Evaluate the lower Hessian of \(\sigma f + \lambda^T g\) into
getCsrHessian().
-
virtual Model::ConfigurationChecks verify() const override