|
mbsimhydraulics
4.0.0
|
#include <elastic_line_variational.h>
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 |
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.
| MBSimHydraulics::ElasticLineVariational::ElasticLineVariational | ( | const std::string & | name = "" | ) |
Constructor
| 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)
1.8.0