20 #ifndef _CONTROLVALVE43_H_
21 #define _CONTROLVALVE43_H_
23 #include "mbsim/group.h"
24 #include <mbsim/functions/function.h>
26 namespace MBSimHydraulics {
28 class ClosableRigidLine;
37 void init(InitStage stage);
38 void initializeUsingXML(xercesc::DOMElement * element);
40 void setLength(
double l_);
41 void setDiameter(
double d_);
42 void setAlpha(
double alpha_,
double alphaBack_=0);
43 void setPARelativeAlphaFunction(
MBSim::Function<
double(
double)> * relAlphaPA_) {
44 relAlphaPA=std::shared_ptr<MBSim::Function<double(double)> >(relAlphaPA_);
45 relAlphaPA->setParent(
this);
46 relAlphaPA->setName(
"PARealtvieAlpha");
48 void setMinimalRelativeAlpha(
double minRelAlpha_);
49 void setOffset(
double off) {offset=off; }
51 position = std::shared_ptr<MBSim::Function<double(double)> >(s);
52 position->setParent(
this);
53 position->setName(
"Position");
55 void setSetValued(
bool setValued=
true);
56 void setPInflow(
HLine * hl);
57 void setAOutflow(
HLine * hl);
58 void setBOutflow(
HLine * hl);
59 void setTOutflow(
HLine * hl);
60 void printRelativeAlphaCharacteristikCurve(
bool print=
true) {pRACC=print; }
66 std::shared_ptr<MBSim::Function<double(double)> > relAlphaPA, position;
70 std::string nPInflowString, nAOutflowString, nBOutflowString, nTOutflowString;
Definition: rigid_line.h:55
Definition: controlvalve43.h:33