mbsimhydraulics  4.0.0
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes
MBSimHydraulics::ElasticLineVariational Class Reference

#include <elastic_line_variational.h>

Inheritance diagram for MBSimHydraulics::ElasticLineVariational:
MBSimHydraulics::HLine

List of all members.

Public Types

enum  WindowFunction {
  None, Hann, Hamming, Riemann,
  BlackmanHarris
}

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)

Protected Attributes

double p0
double fracAir
double r
double l
fmatvec::Vec relPlotPoints
WindowFunction window_function_type
int n
bool printStateSpace

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

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

Constructor


Member Function Documentation

print system state vector

set diameter

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

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

set length

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

select window function (default Blackman-Harris)


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