-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial commits rolling piston compressor #35
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please clarify what happened with the ValveModel? Is this a breaking change for other code? Wasn't this in a cython module before?
PDSim/heattransfer/HTC.py
Outdated
beta = 1/T_film # [1/K] | ||
|
||
# Transport properties calcualtion film | ||
StateFilm=State.State(Ref,dict(T=T_film, P=P_film)) # use the film temperature to find the outer convective coefficient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add spaces for assignment
PDSim/heattransfer/HTC.py
Outdated
Return | ||
h [kW/m^2 K]: Heat transfer coefficient | ||
""" | ||
g = 9.8 # gravity acceleration [m/s^2] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9.81?
PDSim/flow/ValveModels.py
Outdated
# the end of nozzle model | ||
################################################### | ||
|
||
# if __name__ == '__main__': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please delete these commented lines at end
examples/rollingpiston_compressor.py
Outdated
rolling.b = 4.7e-3 #Vane thickness [m] | ||
rolling.hv = 27.8e-3 #Vane height [m] | ||
rolling.L_slot = 15.2e-3 #Length of vane slot [m] | ||
rolling.Hshell = 100e-3 #Height of compressor shell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
units?
examples/rollingpiston_compressor.py
Outdated
rolling.L_slot = 15.2e-3 #Length of vane slot [m] | ||
rolling.Hshell = 100e-3 #Height of compressor shell | ||
rolling.Rshell = 40e-3 #compressor shell outer diameter | ||
rolling.Nmot = 2875 #Electric motor rotational speed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
units?
Had some issues related to passing keys due to enconde/decode. Working on debugging the cython code. I am going to fix the different edits. |
I can sympathize, have spent many hours debugging that... In the cython code, the thing that seems to be the most reliable is to use string everywhere... |
Yes, that is what I figured by looking at your code. I will work on it next. |
What's the status on the valve model stuff? |
I will push updated files as next task for me! |
Looking forward to it!
|
No description provided.