11 #include <dpsim-models/AttributeList.h>
12 #include <dpsim-models/Config.h>
13 #include <dpsim-models/Definitions.h>
24 Real mTolerance = 1e-6;
27 typedef std::shared_ptr<MNASyncGenInterface> Ptr;
28 typedef std::vector<Ptr> List;
34 virtual void correctorStep() = 0;
36 virtual void updateVoltage(
const Matrix &leftVector) = 0;
38 virtual bool requiresIteration() {
return false; }
44 void setTolerance(Real Tolerance) { mTolerance = Tolerance; }
Interface to be used by synchronous generators.
MNASyncGenInterface()
Constructor.
void setMaxIterations(Int maxIterations)