mbsimhydraulics  4.0.0
MBSim Hydraulics Module
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
MBSimHydraulics::Controlvalve43 Class Reference

#include <controlvalve43.h>

Inheritance diagram for MBSimHydraulics::Controlvalve43:
[legend]

Public Member Functions

 Controlvalve43 (const std::string &name="")
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
void setLength (double l_)
 
void setDiameter (double d_)
 
void setAlpha (double alpha_, double alphaBack_=0)
 
void setPARelativeAlphaFunction (MBSim::Function< double(double)> *relAlphaPA_)
 
void setMinimalRelativeAlpha (double minRelAlpha_)
 
void setOffset (double off)
 
void setRelativePositionFunction (MBSim::Function< double(double)> *s)
 
void setSetValued (bool setValued=true)
 
void setPInflow (HLine *hl)
 
void setAOutflow (HLine *hl)
 
void setBOutflow (HLine *hl)
 
void setTOutflow (HLine *hl)
 
void printRelativeAlphaCharacteristikCurve (bool print=true)
 
- Public Member Functions inherited from MBSim::DynamicSystem
 DynamicSystem (const std::string &name)
 
void init (InitStage stage, const InitConfigSet &config) override
 
void setDynamicSystemSolver (DynamicSystemSolver *sys) override
 
void plot () override
 
void plotAtSpecialEvent () override
 
virtual int solveConstraintsFixpointSingle ()
 
virtual int solveImpactsFixpointSingle ()
 
virtual int solveConstraintsGaussSeidel ()
 
virtual int solveImpactsGaussSeidel ()
 
virtual int solveConstraintsRootFinding ()
 
virtual int solveImpactsRootFinding ()
 
virtual int jacobianConstraints ()
 
virtual int jacobianImpacts ()
 
virtual void checkConstraintsForTermination ()
 
virtual void checkImpactsForTermination ()
 
virtual void updaterFactors ()
 
virtual Frame * getFrame (const std::string &name, bool check=true) const
 
virtual Contour * getContour (const std::string &name, bool check=true) const
 
void updateqRef (fmatvec::Vec &qParent)
 
void updateqdRef (fmatvec::Vec &qdParent)
 
void updateuRef (fmatvec::Vec &uParent)
 
void updateuallRef (fmatvec::Vec &uParent)
 
void updateudRef (fmatvec::Vec &udParent)
 
void updateudallRef (fmatvec::Vec &udParent)
 
void updatehRef (fmatvec::Vec &hParent, int j=0)
 
void updaterRef (fmatvec::Vec &rParent, int j=0)
 
void updaterdtRef (fmatvec::Vec &rdtParent)
 
void updateTRef (fmatvec::Mat &TParent)
 
void updateMRef (fmatvec::SymMat &MParent)
 
void updateLLMRef (fmatvec::SymMat &LLMParent)
 
virtual void updateInternalStateRef (fmatvec::Vec &curisParent, fmatvec::Vec &nextisParent)
 
virtual void updategRef (fmatvec::Vec &gParent)
 
virtual void updategdRef (fmatvec::Vec &gdParent)
 
void updatelaRef (fmatvec::Vec &laParent)
 
void updateLaRef (fmatvec::Vec &LaParent)
 
virtual void updatewbRef (fmatvec::Vec &wbParent)
 
virtual void updateWRef (fmatvec::Mat &WParent, int j=0)
 
void updateWInverseKineticsRef (fmatvec::Mat &WParent)
 
virtual void updateVRef (fmatvec::Mat &VParent, int j=0)
 
void updatesvRef (fmatvec::Vec &svParent)
 
void updatejsvRef (fmatvec::VecInt &jsvParent)
 
void updateLinkStatusRef (fmatvec::VecInt &LinkStatusParent)
 
void updateLinkStatusRegRef (fmatvec::VecInt &LinkStatusRegParent)
 
void updateresRef (fmatvec::Vec &resParent)
 
void updaterFactorRef (fmatvec::Vec &rFactorParent)
 
void buildListOfDynamicSystems (std::vector< DynamicSystem * > &sys)
 
void buildListOfObjects (std::vector< Object * > &obj)
 
void buildListOfLinks (std::vector< Link * > &lnk)
 
void buildListOfConstraints (std::vector< Constraint * > &crt)
 
void buildListOfFrames (std::vector< Frame * > &frm)
 
void buildListOfContours (std::vector< Contour * > &cnt)
 
void buildListOfModels (std::vector< ModellingInterface * > &modelList)
 
void buildListOfInverseKineticsLinks (std::vector< Link * > &iklnk)
 
void buildListOfObservers (std::vector< Observer * > &obsrv)
 
void setUpInverseKinetics ()
 
void setUpLinks ()
 
bool gActiveChanged ()
 
bool gActiveChangedReg ()
 
bool detectImpact ()
 
void calcsvSize ()
 
void calclaSize (int j)
 
void calcLinkStatusSize ()
 
void calcLinkStatusRegSize ()
 
void calclaInverseKineticsSize ()
 
void calcbInverseKineticsSize ()
 
virtual void aboutToUpdateInternalState ()
 
void calcgSize (int j)
 
void calcgdSize (int j)
 
void calcrFactorSize (int j)
 
void setUpObjectsWithNonConstantMassMatrix ()
 
void setUpActiveLinks ()
 
void checkActive (int j)
 
virtual void setGeneralizedRelativePositionTolerance (double tol)
 
virtual void setGeneralizedRelativeVelocityTolerance (double tol)
 
virtual void setGeneralizedRelativeAccelerationTolerance (double tol)
 
virtual void setGeneralizedForceTolerance (double tol)
 
virtual void setGeneralizedImpulseTolerance (double tol)
 
virtual void setGeneralizedRelativePositionCorrectionValue (double corr)
 
virtual void setGeneralizedRelativeVelocityCorrectionValue (double corr)
 
void setrMax (double rMax)
 
int frameIndex (const Frame *frame_) const
 
void addGroup (DynamicSystem *sys)
 
DynamicSystem * getGroup (const std::string &name, bool check=true) const
 
void addObject (Object *obj)
 
Object * getObject (const std::string &name, bool check=true) const
 
void addLink (Link *lnk)
 
void addConstraint (Constraint *crt)
 
void addInverseKineticsLink (Link *lnk)
 
Link * getLink (const std::string &name, bool check=true) const
 
Constraint * getConstraint (const std::string &name, bool check=true) const
 
void addModel (ModellingInterface *model_)
 
ModellingInterface * getModel (const std::string &name, bool check=true) const
 
Frame * getFrameI ()
 
Element * getChildByContainerAndName (const std::string &container, const std::string &name) const override
 

Protected Attributes

ClosableRigidLine * lPA
 
ClosableRigidLine * lPB
 
ClosableRigidLine * lAT
 
ClosableRigidLine * lBT
 
RigidNode * nP
 
RigidNode * nA
 
RigidNode * nB
 
RigidNode * nT
 
double offset
 
std::shared_ptr
< MBSim::Function< double(double)> > 
relAlphaPA
 
std::shared_ptr
< MBSim::Function< double(double)> > 
position
 
MBSim::Function< double(double)> * checkSizeFunctionPA
 
MBSim::Function< double(double)> * checkSizeFunctionPB
 
MBSim::Function< double(double)> * checkSizeFunctionAT
 
MBSim::Function< double(double)> * checkSizeFunctionBT
 
- Protected Attributes inherited from MBSim::DynamicSystem
Frame * R
 
std::vector< Object * > object
 
fmatvec::Mat T
 
fmatvec::SymMat M
 
fmatvec::SymMat LLM
 
fmatvec::Vec q
 
fmatvec::Vec u
 
fmatvec::Vec x
 
fmatvec::Vec h [2]
 
fmatvec::Mat Jrla [2]
 
fmatvec::Vec la
 
fmatvec::Vec g
 
fmatvec::Vec wb
 
fmatvec::Vec res
 
fmatvec::Vec rFactor
 
fmatvec::Vec sv
 
fmatvec::VecInt jsv
 
fmatvec::VecInt LinkStatus
 
fmatvec::VecInt LinkStatusReg
 
int qSize
 
int uSize [2]
 
int xSize
 
int hSize [2]
 
int gSize
 
int gdSize
 
int laSize
 
int rFactorSize
 
int svSize
 
int LinkStatusSize
 
int LinkStatusRegSize
 
std::vector< Frame * > frame
 
Frame * I
 
int laInverseKineticsSize
 

Private Attributes

std::string nPInflowString
 
std::string nAOutflowString
 
std::string nBOutflowString
 
std::string nTOutflowString
 
bool pRACC
 

Detailed Description


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