#include <elastic_line_variational.h>
|
| enum | WindowFunction {
None,
Hann,
Hamming,
Riemann,
BlackmanHarris
} |
| |
|
| | ElasticLineVariational (const std::string &name="") |
| |
| 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::VecV | getInflowFactor () override |
| |
|
fmatvec::VecV | getOutflowFactor () override |
| |
|
void | init (InitStage stage, const MBSim::InitConfigSet &config) override |
| |
|
void | calcqSize () override |
| |
|
void | calcuSize (int j) override |
| |
|
void | updateQ () override |
| |
|
void | updateh (int j=0) override |
| |
|
void | updateT () override |
| |
|
void | updateM () override |
| |
|
void | plot () override |
| |
|
void | plotParameters () |
| |
|
void | initializeUsingXML (xercesc::DOMElement *element) override |
| |
|
| HLine (const std::string &name) |
| |
|
void | calcSize () override |
| |
|
void | updateh (int j=0) override |
| |
|
void | updateJacobians (int j=0) |
| |
|
void | updateInverseKineticsJacobians () |
| |
|
std::shared_ptr< OpenMBV::Group > | getOpenMBVGrp () override |
| |
|
virtual void | setFrameOfReference (MBSim::Frame *frame) |
| |
|
void | setFromNode (HNode *nFrom_) |
| |
|
void | setToNode (HNode *nTo_) |
| |
|
void | setDirection (const fmatvec::Vec &dir) |
| |
|
HNode * | getFromNode () |
| |
|
HNode * | getToNode () |
| |
|
void | setOutflowRelative (bool rel=true) |
| |
|
void | setInflowRelative (bool rel=true) |
| |
|
const fmatvec::VecV & | evalQIn () |
| |
|
const fmatvec::VecV & | evalQOut () |
| |
|
const fmatvec::VecV & | getQIn (bool check=true) const |
| |
|
const fmatvec::VecV & | getQOut (bool check=true) const |
| |
|
const fmatvec::MatV & | getJacobian () const |
| |
|
void | updateM () override |
| |
|
void | init (InitStage stage, const MBSim::InitConfigSet &config) override |
| |
|
void | initializeUsingXML (xercesc::DOMElement *element) override |
| |
|
virtual Element * | getDependency () const |
| |
|
void | resetUpToDate () override |
| |
|
HydraulicEnvironment * | getHydEnv () const |
| |
|
|
double | p0 |
| |
|
double | fracAir |
| |
|
double | r |
| |
|
double | l |
| |
|
fmatvec::Vec | relPlotPoints |
| |
|
WindowFunction | window_function_type |
| |
|
int | n |
| |
|
bool | printStateSpace |
| |
|
HydraulicEnvironment * | hydEnv =nullptr |
| |
|
HNode * | nFrom |
| |
|
HNode * | nTo |
| |
|
bool | nFromRelative |
| |
|
bool | nToRelative |
| |
|
fmatvec::VecV | direction |
| |
|
fmatvec::SymMatV | Mlocal |
| |
|
fmatvec::VecV | QIn |
| |
|
fmatvec::VecV | QOut |
| |
|
fmatvec::MatV | Jacobian |
| |
|
MBSim::Frame * | frameOfReference |
| |
|
bool | updQ |
| |
|
|
void | doPrintStateSpace () |
| |
|
|
fmatvec::VecV | wO |
| |
|
fmatvec::VecV | wI |
| |
|
fmatvec::Vec | hq |
| |
|
fmatvec::Vec | hu |
| |
|
fmatvec::Vec | hp0 |
| |
|
fmatvec::Vec | cu |
| |
|
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 = "" | ) |
|
| void MBSimHydraulics::ElasticLineVariational::printLineStateSpace |
( |
bool |
print = true | ) |
|
|
inline |
print system state vector
| void MBSimHydraulics::ElasticLineVariational::setDiameter |
( |
double |
d_ | ) |
|
|
inline |
| void MBSimHydraulics::ElasticLineVariational::setFracAir |
( |
double |
fracAir_ | ) |
|
|
inline |
set the fracAir of the pipe (for E-Modulus calculation
| void MBSimHydraulics::ElasticLineVariational::setLength |
( |
double |
l_ | ) |
|
|
inline |
| 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:
- /mbsim-env/mbsim/modules/mbsimHydraulics/mbsimHydraulics/elastic_line_variational.h
- /mbsim-env/mbsim/modules/mbsimHydraulics/mbsimHydraulics/elastic_line_variational.cc