DPsim
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CPS::MNASyncGenInterface Class Referenceabstract

Interface to be used by synchronous generators. More...

#include <MNASyncGenInterface.h>

Inheritance diagram for CPS::MNASyncGenInterface:
[legend]
Collaboration diagram for CPS::MNASyncGenInterface:
[legend]

Public Types

typedef std::shared_ptr< MNASyncGenInterfacePtr
 
typedef std::vector< Ptr > List
 

Public Member Functions

virtual void correctorStep ()=0
 
virtual void updateVoltage (const Matrix &leftVector)=0
 
virtual bool requiresIteration ()
 
void setMaxIterations (Int maxIterations)
 
void setTolerance (Real Tolerance)
 

Protected Member Functions

 MNASyncGenInterface ()
 Constructor.
 

Protected Attributes

Attribute< Int >::Ptr mNumIter
 
Int mMaxIter = 25
 
Real mTolerance = 1e-6
 

Detailed Description

Interface to be used by synchronous generators.

Definition at line 17 of file MNASyncGenInterface.h.

Member Function Documentation

◆ setMaxIterations()

void CPS::MNASyncGenInterface::setMaxIterations ( Int  maxIterations)
inline

Setters

Definition at line 42 of file MNASyncGenInterface.h.


The documentation for this class was generated from the following file: