ibell / pdsim

Steady-State simulation code for positive displacement machines
MIT License
38 stars 23 forks source link

Add flooding #1

Open ibell opened 9 years ago

ibell commented 9 years ago

In FloodState, you should almost never be calling PropsSI, you should always try to call self.pAS.keyed_output instead

ibell commented 9 years ago

You need to implement all the methods of the base class - get_T, get_p, etc. You'll notice that in the pdsim code, we call the get_T, get_rho.. methods in order to not need to pass at all into the python layer. If you don't implement these functions, it will call the base class function, which is not what you want at all.

ibell commented 9 years ago

You should try to get your code to compile now. You will need to add your file in setup.py (in the list of pyx files).