PDSim.recip package¶
Submodules¶
PDSim.recip.core module¶
- class PDSim.recip.core.Recip[source]¶
Bases:
PDSimCore,_RecipRecip is derived from
PDSimCore.functions V_dV and heat_transfer_callback are provided in _Recip Cython class
- ambient_heat_transfer()[source]¶
The ambient heat transfer for the compressor in kW
Returns a positive value if heat is added to the compressor
- mechanical_losses()[source]¶
Mathematical Analysis:
\[x = {L_c}\cos \theta + \sqrt {L_1^2 - L_c^2{{\left( {\sin \theta } \right)}^2}}\]\[\dot x = - {L_c}\sin \theta \dot \theta + \frac{{ - L_c^2\sin 2\theta }}{{2\sqrt {L_1^2 - L_c^2{{\left( {\sin \theta } \right)}^2}} }}\dot \theta\]\[\bar \dot x = - \frac{{\dot \theta }}{\pi }\int_0^\pi {\left[ { - {L_c}\sin \theta + \frac{{ - L_c^2\sin 2\theta }}{{2\sqrt {L_1^2 - L_c^2{{\left( {\sin \theta } \right)}^2}} }}} \right]d\theta }\]\[\bar \dot x = - \frac{{\dot \theta }}{\pi }\left[ {{L_c}\cos \theta } \right]_0^\pi = - \frac{{{L_c}\dot \theta }}{\pi }( - 1 - 1) = \frac{{2{L_c}\dot \theta }}{\pi }\]