18 #ifndef AGXHYDRAULICS_NEEDLE_VALVE_H 19 #define AGXHYDRAULICS_NEEDLE_VALVE_H 57 void setOpeningFraction(
agx::Real fractionOfMax);
65 void setOpeningDiameterFraction(
agx::Real fractionOfMax);
82 agx::Real getOpeningDiameterFraction()
const;
99 void setFlowCoefficient(
agx::Real coefficient);
141 agx::Real m_minFlowRateForLossCalculation;
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
#define AGX_DECLARE_POINTER_TYPES(type)
A needle valve represents a controllable orifice opening.
#define AGXHYDRAULICS_EXPORT
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
FlowUnit is the base class for Units that contains a FlowDimension.