20 #ifndef _CONTROLVALVE43_H_
21 #define _CONTROLVALVE43_H_
23 #include "mbsim/group.h"
24 #include <mbsim/functions/function.h>
25 #include <boost/shared_ptr.hpp>
27 namespace MBSimControl {
31 namespace MBSimHydraulics {
33 class ClosableRigidLine;
42 void init(InitStage stage);
43 void initializeUsingXML(xercesc::DOMElement * element);
45 void setLength(
double l_);
46 void setDiameter(
double d_);
47 void setAlpha(
double alpha_,
double alphaBack_=0);
48 void setPARelativeAlphaFunction(MBSim::Function<
double(
double)> * relAlphaPA_) {
49 relAlphaPA=boost::shared_ptr<MBSim::Function<double(double)> >(relAlphaPA_);
50 relAlphaPA->setParent(
this);
51 relAlphaPA->setName(
"PARealtvieAlpha");
53 void setMinimalRelativeAlpha(
double minRelAlpha_);
54 void setOffset(
double off) {offset=off; }
56 void setSetValued(
bool setValued=
true);
57 void setPInflow(
HLine * hl);
58 void setAOutflow(
HLine * hl);
59 void setBOutflow(
HLine * hl);
60 void setTOutflow(
HLine * hl);
61 void printRelativeAlphaCharacteristikCurve(
bool print=
true) {pRACC=print; }
67 boost::shared_ptr<MBSim::Function<double(double)> > relAlphaPA;
69 MBSimControl::Signal * checkSizeSignalPA, * checkSizeSignalPB, * checkSizeSignalAT, * checkSizeSignalBT;
72 std::string positionString;
73 std::string nPInflowString, nAOutflowString, nBOutflowString, nTOutflowString;
Definition: rigid_line.h:59
Definition: controlvalve43.h:38