-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from abbey2017/clean_up_project_repository
package release setup
- Loading branch information
Showing
3 changed files
with
56 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'], | ||
) |