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

added get_cop to heat_pump.py #7

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions examples/heat_pump/heat_pump.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
"""
author: pyosch
"""
import pandas as pd
import numpy as np
import oemof.thermal.heat_pump as heat_pump


# generate test data
temperature = pd.DataFrame(np.random.randint(-10, 20, size=(96, 1)),
columns=["temperature"],
index=pd.date_range(start='2017', periods=96,
freq='15 min', name='index'))

print(temperature.head())

# cop calculation for heat pumps
cop = heat_pump.get_cop(temperature.temperature)

print(cop.head())
Empty file.
12 changes: 0 additions & 12 deletions oemof_heat_components/solar_thermal_collectors.py

This file was deleted.

Empty file.
193 changes: 0 additions & 193 deletions oemof_heat_components/variable_chp/variable_chp.csv

This file was deleted.

Loading