Skip to content

Commit

Permalink
Merge pull request #71 from abbey2017/clean_up_project_repository
Browse files Browse the repository at this point in the history
package release setup
  • Loading branch information
abbey2017 authored Jul 3, 2021
2 parents a10a08b + 9ca26ab commit f941e23
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 21 deletions.
34 changes: 29 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,40 @@
### wind-energy-analytics
Curating physics-guided data-driven solutions for the wind energy industry
This library helps lower the entry barrier for domain experts
in the wind energy industry to leverage advanced analytics and methodologies
developed in related scientific research.

### Current Modules
Modules are implemented for different routine and non-routine analysis of time series
data collected from operating wind turbines. Practicing wind engineers and analysts
can build on fundamental modules as part of a larger project development.

### Library installation
- Clone the github repo to have access to example notebooks and public data.
- Next, pip install the library

```
# Clone github repo
git clone https://github.com/abbey2017/wind-energy-analytics.git
# Pip install library
pip install scada-data-analysis
```

### Current modules
- Iterative power curve filter (returns normal and abnormal datapoints)

### Filtering Module Usage
### Usage of power curve filter
```
import pandas as pd
from scada_data_analysis.modules.power_curve_preprocessing import PowerCurveFiltering
# Load turbine scada data
df = pd.read_csv('path\to\data')
# Instantiate power curve filtering class
pc_filter = PowerCurveFiltering(turbine_label='Wind_turbine_name', windspeed_label='Ws_avg',
power_label='P_avg', data=df, cutin_speed=3, bin_interval=0.5,
power_label='P_avg', data=df, cut_in_speed=3, bin_interval=0.5,
z_coeff=2.5, filter_cycle=5, return_fig=True, image_path='..\images')
# Process raw scada data
normal_df, abnormal_df = pc_filter.process()
```
16 changes: 0 additions & 16 deletions setup.cfg

This file was deleted.

27 changes: 27 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import setuptools

with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

setuptools.setup(
name="scada_data_analysis",
version="1.0.3",
author="Abiodun Olaoye",
author_email="abiodunolaoye8@gmail.com",
description="A set of tools for enabling wind energy data analysis",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/abbey2017/wind-energy-analytics",
project_urls={
"Bug Tracker": "https://github.com/abbey2017/wind-energy-analytics/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
packages=setuptools.find_packages(exclude=["test"]),
python_requires=">=3.6",
install_requires=['pandas', 'matplotlib'],
keywords = ['power-curve-filtering', 'scada-data-analytics', 'wind-energy'],
)

0 comments on commit f941e23

Please sign in to comment.