Template Class Bus
Defined in File Bus.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 Bus : public GridKit::EMT::Component<scalar_type, index_type> N-phase bus, whose residuals collect the injected currents.
Public Functions
-
explicit Bus(const ModelDataT &data)
Construct a bus with
Nphases.Layout: internal variable
vof sizeN, with no terminal, input or output. The current balance holds only what the devices add at their terminals.
-
virtual Model::ConfigurationChecks verify() const override
Check that
Nandkvare positive.- Returns:
The failed checks.
-
virtual int setAbsoluteTolerance(RealT rel_tol) override
Set the tolerances of the voltages to
rel_toltimes the bus base voltage.- Parameters:
rel_tol – [in] Relative tolerance of the integrator.
- Returns:
0.
- Pre:
The system has bound this bus.
-
explicit Bus(const ModelDataT &data)