77 if (!_serviceable_node->getBoolValue()) {
82 for (
i = 0;
i < _rpm_nodes.size();
i++ ) {
83 double tmp = _rpm_nodes[
i]->getDoubleValue() * _scale;
88 double pressure = _pressure_node->getDoubleValue();
90 suction = pressure * rpm / (rpm + 4875.0);
94 double max = (rpm > 0 ? 5.39 - 1.0 / ( rpm * 0.00111 ) : 0);
95 if ( suction < 0.0 ) suction = 0.0;
96 if ( suction > max ) suction = max;
98 _suction_node->setDoubleValue(suction);