mbsimhydraulics  4.0.0
MBSim Hydraulics Module
Public Member Functions | Protected Attributes | Private Attributes | List of all members
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)
 
void initializeUsingXML (xercesc::DOMElement *element)
 
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::Group
 Group (const std::string &name="")
 
void addObject (Object *obj)
 
- 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 ()
 
void calcgSize (int j)
 
void calcgdSize (int j)
 
void calcrFactorSize (int j)
 
void setUpObjectsWithNonConstantMassMatrix ()
 
void setUpActiveLinks ()
 
void checkActive (int j)
 
void checkActiveReg (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
 
- Public Member Functions inherited from MBSim::Element
 Element (const std::string &name)
 
const std::string & getName () const
 
void setName (const std::string &str)
 
DynamicSystemSolver * getDynamicSystemSolver ()
 
virtual void createPlotGroup ()
 
H5::GroupBase * getPlotGroup ()
 
bool getPlotFeature (const PlotFeatureEnum &pf)
 
virtual void setPlotFeature (const PlotFeatureEnum &pf, bool value)
 
void setPlotFeatureForChildren (const PlotFeatureEnum &pf, bool value)
 
void setPlotFeatureRecursive (const PlotFeatureEnum &pf, bool value)
 
T * getByPath (const std::string &path, bool initialCaller=true) const
 
std::string getPath (const Element *relTo=nullptr, std::string sep="/") const
 
std::vector< Element * > getDependencies () const
 
int computeLevel ()
 
- Public Member Functions inherited from fmatvec::Atom
Atom & operator= (const Atom &)
 
void setMessageStreamActive (MsgType type, bool activeFlag)
 
void getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const
 
void adoptMessageStreams (const Atom *src=nullptr)
 
std::ostream & msg (MsgType type) const
 
bool msgAct (MsgType type) const
 

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::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
 
- Protected Attributes inherited from MBSim::Element
std::string name
 
std::string path
 
MBXMLUtils::DOMEvalException domEvalError
 
DynamicSystemSolver * ds
 
H5::VectorSerie< double > * plotVectorSerie
 
std::vector< double > plotVector
 
std::vector< std::string > plotColumns
 
H5::GroupBase * plotGroup
 
std::vector< Element * > dependency
 
PlotFeatureMap plotFeature
 

Private Attributes

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

Additional Inherited Members

- Public Types inherited from MBSim::Element
enum  InitStage
 
- Public Types inherited from fmatvec::Atom
enum  MsgType
 
- Static Public Member Functions inherited from fmatvec::Atom
static void setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf()))
 
static std::ostream & msgStatic (MsgType type)
 
static bool msgActStatic (MsgType type)
 
- Public Attributes inherited from MBSim::Element
 resolveStringRef
 
 preInit
 
 plotting
 
 unknownStage
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 

Detailed Description

Controlvalve43


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