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
-
explicit LoadZ(const ModelDataT &data)
Construct an impedance load with
Nphases.Layout: internal variable
iof sizeN, terminalbusof sizeN. Submodelzreadsias its input, and its output is added to the residual ofi.
-
VectorFitT &submodel(SubmodelsT symbol)
Submodel
symbol, the impedance operator.
-
virtual Model::ConfigurationChecks verify() const override
Check that
Nis positive and that the impedance isNbyN.- Returns:
The failed checks.
-
virtual int setAbsoluteTolerance(RealT rel_tol) override
Set the current tolerances to
rel_toltimes the system power base over the bus base voltage.- Parameters:
rel_tol – [in] Relative tolerance of the integrator.
- Returns:
0.
- Pre:
The bus at the terminal has set its tolerances with the same
rel_tol.
-
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.
-
explicit LoadZ(const ModelDataT &data)