All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
MBSimHydraulics::ElasticLineVariational Class Reference

#include <elastic_line_variational.h>

Inheritance diagram for MBSimHydraulics::ElasticLineVariational:
MBSimHydraulics::HLine MBSim::Object MBSim::Element fmatvec::Atom

Public Types

enum  WindowFunction {
  None, Hann, Hamming, Riemann,
  BlackmanHarris
}
 
- Public Types inherited from fmatvec::Atom
enum  MsgType
 

Public Member Functions

 ElasticLineVariational (const std::string &name="")
 
virtual std::string getType () const
 
void setp0 (double p0_)
 
void setFracAir (double fracAir_)
 
void setDiameter (double d_)
 
void setLength (double l_)
 
void setRelativePlotPoints (const fmatvec::Vec &rPP)
 
void setWindowFunction (WindowFunction w)
 
void setNumberOfAnsatzFunctions (unsigned int n_=4)
 
void printLineStateSpace (bool print=true)
 
fmatvec::Vec getQIn ()
 
fmatvec::Vec getQOut ()
 
fmatvec::Vec getInflowFactor ()
 
fmatvec::Vec getOutflowFactor ()
 
void init (InitStage stage)
 
void calcqSize ()
 
void calcuSize (int j)
 
void updateStateDependentVariables (double t)
 
void updateh (double t, int j=0)
 
void updateT (double t)
 
void updateM (double t, int j=0)
 
void plot (double t, double dt)
 
void plotParameters ()
 
void initializeUsingXML (xercesc::DOMElement *element)
 
- Public Member Functions inherited from MBSimHydraulics::HLine
 HLine (const std::string &name)
 
virtual void updateJacobians (double t, int j=0)
 
virtual void updateInverseKineticsJacobians (double t)
 
virtual void setFrameOfReference (MBSim::Frame *frame)
 
void setFromNode (HNode *nFrom_)
 
void setToNode (HNode *nTo_)
 
void setDirection (fmatvec::Vec dir)
 
HNodegetFromNode ()
 
HNodegetToNode ()
 
void setOutflowRelative (bool rel=true)
 
void setInflowRelative (bool rel=true)
 
virtual fmatvec::MatgetJacobian ()
 
void updateM (double t, int j=0)
 
void init (InitStage stage)
 
void initializeUsingXML (xercesc::DOMElement *element)
 
- Public Member Functions inherited from fmatvec::Atom
Atomoperator= (const Atom &)
 
void setMessageStreamActive (MsgType type, bool active)
 
void getMessageStream (MsgType type, boost::shared_ptr< bool > &a, boost::shared_ptr< std::ostream > &s)
 
void adoptMessageStreams (const Atom *src=NULL)
 
std::ostream & msg (MsgType type)
 
bool msgAct (MsgType type)
 

Protected Attributes

double p0
 
double fracAir
 
double r
 
double l
 
fmatvec::Vec relPlotPoints
 
WindowFunction window_function_type
 
int n
 
bool printStateSpace
 
- Protected Attributes inherited from MBSimHydraulics::HLine
HNodenFrom
 
HNodenTo
 
bool nFromRelative
 
bool nToRelative
 
fmatvec::Vec direction
 
fmatvec::SymMat Mlocal
 
fmatvec::Mat Jacobian
 
MBSim::FrameframeOfReference
 

Private Member Functions

void doPrintStateSpace ()
 

Private Attributes

fmatvec::Vec QIn
 
fmatvec::Vec QOut
 
fmatvec::Vec wO
 
fmatvec::Vec wI
 
fmatvec::Vec hq
 
fmatvec::Vec hu
 
fmatvec::Vec hp0
 
fmatvec::Vec cu
 
fmatvec::Vec y
 
fmatvec::Mat Tlocal
 
fmatvec::Mat relPlot
 
fmatvec::SymMat Mlocal
 

Additional Inherited Members

- Static Public Member Functions inherited from fmatvec::Atom
static void setCurrentMessageStream (MsgType type, const boost::shared_ptr< bool > &a=boost::make_shared< bool >(true), const boost::shared_ptr< std::ostream > &s=boost::make_shared< std::ostream >(std::cout.rdbuf()))
 
static std::ostream & msgStatic (MsgType type)
 
static bool msgActStatic (MsgType type)
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 

Detailed Description

ElasticLineVariational This line model is described in J. Makinen, R. Piche and A. Ellman (2000), Fluid Transmission Line Modeling Using a Variational Method, ASME Journal of Dynamic Systems, Measurement, and Control,122 (1), 153-162.

Constructor & Destructor Documentation

MBSimHydraulics::ElasticLineVariational::ElasticLineVariational ( const std::string &  name = "")

Constructor

Member Function Documentation

void MBSimHydraulics::ElasticLineVariational::printLineStateSpace ( bool  print = true)
inline

print system state vector

void MBSimHydraulics::ElasticLineVariational::setDiameter ( double  d_)
inline

set diameter

void MBSimHydraulics::ElasticLineVariational::setFracAir ( double  fracAir_)
inline

set the fracAir of the pipe (for E-Modulus calculation

void MBSimHydraulics::ElasticLineVariational::setLength ( double  l_)
inline

set length

void MBSimHydraulics::ElasticLineVariational::setNumberOfAnsatzFunctions ( unsigned int  n_ = 4)
inline

number of harmonic ansatz functions (default n=9)

void MBSimHydraulics::ElasticLineVariational::setp0 ( double  p0_)
inline

set initial pressure of the pipe fluid

void MBSimHydraulics::ElasticLineVariational::setRelativePlotPoints ( const fmatvec::Vec rPP)
inline

select points in the pipe, for which a output should be created

void MBSimHydraulics::ElasticLineVariational::setWindowFunction ( WindowFunction  w)
inline

select window function (default Blackman-Harris)


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

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML