Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

davideziviani
Copy link
Collaborator

No description provided.

Copy link
Owner

@ibell ibell left a 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?

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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add spaces for assignment

Return
h [kW/m^2 K]: Heat transfer coefficient
"""
g = 9.8 # gravity acceleration [m/s^2]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

9.81?

# the end of nozzle model
###################################################

# if __name__ == '__main__':
Copy link
Owner

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

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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

units?

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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

units?

@davideziviani
Copy link
Collaborator Author

davideziviani commented May 25, 2019

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.

@ibell
Copy link
Owner

ibell commented May 25, 2019

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...

@davideziviani
Copy link
Collaborator Author

Yes, that is what I figured by looking at your code. I will work on it next.

@ibell
Copy link
Owner

ibell commented May 27, 2019

What's the status on the valve model stuff?

@davideziviani
Copy link
Collaborator Author

I will push updated files as next task for me!

@ibell
Copy link
Owner

ibell commented Mar 28, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants