-
Notifications
You must be signed in to change notification settings - Fork 13
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
added get_cop to heat_pump.py #7
base: dev
Are you sure you want to change the base?
Conversation
References | ||
---------- | ||
.. [1]: 'https://www.researchgate.net/publication/255759857_A_review_of_domestic_heat_pumps' | ||
Research paper about domestic heatpumps, containing the formulas used |
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:
Returns
Thanks for your effort! And sorry to see that this is quite a late reply. If this PR is still active, please do the following:
|
Thank you for your feedback! I hope it works for you now. |
Thank you for your approach. I do not know if it is a good idea to create a dependency on the demandlib. This will make it more difficult to use it for other purposes. def get_cop(building_temperature, heatpump_type="Air", water_temp=60):
...
return cop If you want to use it together with the demandlib you can just use the following code: heatbuilding.cop = get_cop(heatbuilding.temperature) For everybody else it would be much easier because users will not have to install the demandlib and instantiate a heat_building they do not want use just to pass a temperature time series. |
@Pyosch We are planning to use the MIT licence in the future. Would you agree that your contribution will be under this licence? We need your agreement for the demandlib as well but you can just write a comment here for both contributions. Thanks in advance. |
@uvchik yes I don't mind. See you in Berlin ;) |
@jakob-wo, you have been looking into the heat pump topic recently. I guess your feedback would be really helpful here! |
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.
Thanks for your effort! An example that shows the new function would be nice (in oemof-thermal/examples). You could get in contact with @jakob-wo, who is developing functions for heat pumps on a branch at the moment (not yet a PR: https://github.com/oemof/oemof-thermal/tree/features/cmpr_heatpumps_and_chillers/examples)
Hi @Pyosch, thanks for enriching the COP calculation with field test data - I like that approach. As mentioned already above I am also about to come up with a COP calculation for compression heat pumps. I am planning to call the module It would be good to name your module clearly and distinguish between compression and absorption. I also think it might be helpful to make clear, that the module contains hard coded parameters/coefficients by including somethink like "field_test_regression" in the name. |
One more remark: |
Seems like travis does not run the tests properly. Might be because this PR comes from a fork. Anybody got an idea how to fix this? |
I added the warning messages and an example. The import of heat_pump inside the example is not correct I guess, but I couldn't quite figure out how the import is supposed to be structured. I looked at the other examples but it didn't help. Any advice is appreciated :) |
Initial discussion started here
Since the function is not in the
HeatBuilding
class in demandlib.bdew anymore I changed the parameterself
toheatbuilding
.