Template Class LoadZ
Defined in File LoadZ.hpp
Inheritance Relationships
Base Type
public GridKit::EMT::Component< scalar_type, index_type >(Template Class Component)
Class Documentation
-
template<typename scalar_type, typename index_type>
class LoadZ : public GridKit::EMT::Component<scalar_type, index_type> N-phase impedance load.
Public Functions
-
virtual int setAbsoluteTolerance(RealT rel_tol) override
Currents at the system power base over the bus base voltage.
-
virtual int tagDifferentiable() override
Fill the tag() vector with proper indicators.
Note
For some models, this may be a no-op, and the vector returned by tag() will still be empty.
- Pre:
allocate() must have been called.
-
virtual int evaluateResidual() override
Evaluate the model’s residual function.
For models which can be appropriately modeled in semi-explicit form, this will evaluate
\[F(t, y, \dot{y}) = f(t,y) - M \dot{y},\]where\[M\]is the mass matrix. For models which can be modeled in Hessenberg form,\[M\]should be a simple indicator function for if the variable is differential (if\[\dot{y}\]appears in its equation). This indicator should be given by tag().
-
virtual int setAbsoluteTolerance(RealT rel_tol) override