"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"\n",
"#initialisation of variables\n",
"N=1200 #rev/min theotrical power\n",
"Vd=0.75 #in^3/rev displacement\n",
"Vd2=0.57\n",
"#CALCULATIONS\n",
"# part a\n",
"Q=(Vd*N)/231\n",
"# part b\n",
"Qa=Q-0.50\n",
"N2=(231*Qa)/Vd2\n",
"ev=(Qa/Q)*100\n",
"#RESULTS\n",
"print('The flow from the pump = %.2f lbf/in^2' %Qa)\n",
"print('The actual speed of the motor = %.2f rev/min' %N2)\n",
"print('The Volumetric efficiency of the system = %.2f percent' %ev)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The flow from the pump = 3.40 lbf/in^2\n",
"The actual speed of the motor = 1376.32 rev/min\n",
"The Volumetric efficiency of the system = 87.17 percent\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"