<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Recep Sahinkaya on Medium]]></title>
        <description><![CDATA[Stories by Recep Sahinkaya on Medium]]></description>
        <link>https://medium.com/@recep-sahinkaya?source=rss-4dcd3b4968f1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JhHkQfcu9nSawGqRZ9_cAw.jpeg</url>
            <title>Stories by Recep Sahinkaya on Medium</title>
            <link>https://medium.com/@recep-sahinkaya?source=rss-4dcd3b4968f1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 01:42:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@recep-sahinkaya/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Project-1 it’s about a wind turbine]]></title>
            <link>https://recep-sahinkaya.medium.com/project-1-its-about-a-wind-turbine-5bbe59b196d7?source=rss-4dcd3b4968f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bbe59b196d7</guid>
            <category><![CDATA[istdsa]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[seaborn]]></category>
            <category><![CDATA[wind-energy]]></category>
            <category><![CDATA[scada]]></category>
            <dc:creator><![CDATA[Recep Sahinkaya]]></dc:creator>
            <pubDate>Sun, 13 Jun 2021 12:34:24 GMT</pubDate>
            <atom:updated>2021-06-13T15:42:20.913Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*dnaRjIhPXU6XKAsHNpdGPQ.jpeg" /></figure><p>This is my first python project on jupyter notebook for <a href="https://istdatascience.com/">ISTDSA</a>. It’s not brilliant but a great start-up for me in other ways I don’t have experiment before in this area.</p><p>Let’s start explaining my first Project and share my experiments for beginners. I took my dataset from kaggle. This data includes 13 features and 85066 rows, generally clear data and take from SCADA system with 10 minutes resolution in the 2020 year.</p><p><a href="https://www.kaggle.com/wallacefqq/wind-turbines-scada-datasets?select=wt.csv"><strong>wind turbines SCADA datasets</strong><br> <em>2020 wind turbine</em>www.kaggle.com</a></p><pre><em>df = pd.read_csv(&quot;.\data\wt.csv&quot;)<br>df.head(5)</em></pre><blockquote><strong>Which tools is used in this project</strong></blockquote><p>· Dataset: kaggle<br>· Programming: Anaconda, python, jupyter notebook<br>· Library &amp; Visualisation: Numpy, pandas, matplotlib, seaborn<br>· Publish &amp; stored: Medium, Github</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mZ_aHYkPKivTwSU8Rzvb_Q.png" /><figcaption><strong>Which tools is used in this project</strong></figcaption></figure><blockquote><strong>Data clearing</strong></blockquote><p>I things this step so important for data science or data engineering. Then check the below step for good jobs.</p><p><strong>* Looking at columns and rename their names</strong></p><pre><em>df.rename(columns={&#39;unitlocation&#39;: &#39;unitLoc&#39;, <br> &#39;ttimestamplocal&#39;: &#39;timestamp&#39;,<br> &#39;wind direction Angle&#39;: &#39;windDirAng&#39;, <br> &#39;pitch Angle&#39;: &#39;pitchAng&#39;, <br> &#39;wheel hub temperature&#39;: &#39;wheelHubTem&#39;,<br> &#39;ambient Temperature&#39;: &#39;ambientTem&#39;,<br> &#39;Tower bottom ambient temperature&#39;: &#39;tBATem&#39;,<br> &#39;failure time&#39;: &#39;failTime&#39;},<br> inplace=True)<br> df.columns</em></pre><p>* <strong>Timestamp column is data type show like an object but we need translate to DateTime and separate columns like a year, month and day</strong></p><pre><em>df[&#39;timestamp&#39;]=df[&#39;timestamp&#39;].str.replace(&#39;\t&#39;, &#39;&#39;)<br>df[&#39;timestamp&#39;]= pd.to_datetime(df[&#39;timestamp&#39;], format=&#39;%Y-%m-%d %H:%M:%S&#39;)<br>df[&quot;year&quot;] = df.timestamp.apply(lambda x: x.year)<br>df[&quot;month&quot;] = df.timestamp.apply(lambda x: x.strftime(&quot;%m&quot;))<br>df[&quot;hour&quot;] = df.timestamp.apply(lambda x: x.strftime(&quot;%H&quot;))</em></pre><p><strong>* Check null values, if have null values then delete them or using another solution to make better use of data.</strong></p><pre>df.info(show_counts=True)</pre><pre><em>RangeIndex: 85066 entries, 0 to 85065<br>Data columns (total 12 columns):<br> #   Column       Non-Null Count  Dtype         <br>---  ------       --------------  -----         <br> 0   unitLoc      85066 non-null  object        <br> 1   timestamp    85066 non-null  datetime64[ns]<br> 2   windspeed    85066 non-null  float64       <br> 3   power        85066 non-null  float64       <br> 4   windDirAng   85066 non-null  float64       <br> 5   rtr_rpm      85066 non-null  float64       <br> 6   pitchAng     85066 non-null  float64       <br> 7   generation   85066 non-null  int64         <br> 8   wheelHubTem  85066 non-null  float64       <br> 9   ambientTem   85066 non-null  float64       <br> 10  tBATem       85066 non-null  float64       <br> 11  failTime     85066 non-null  float64       <br>dtypes: datetime64[ns](1), float64(9), int64(1), object(1)<br>memory usage: 7.8+ MB</em></pre><blockquote><strong>Those turbine generation values</strong></blockquote><p><em>Now we do some visualization with our data by Seaborn and matplot</em></p><pre><em>df.groupby([&#39;timestamp&#39;,&#39;unitLoc&#39;]).generation.max().unstack().plot(figsize=(16,8), linewidth=4)</em></pre><pre><em>plt.xlabel(&#39;Term&#39;, fontsize=20), plt.ylabel(&#39;Power&#39;, fontsize=20)<br>plt.title(&#39;WTG34&amp;WTG40 Power generation in 2020&#39;, fontsize=20)</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*NhIvS0IwVqqlc8kJhEGEEQ.png" /><figcaption>The above pictures include 9-month electric generation for two wind turbine.</figcaption></figure><blockquote><strong>Correlation data with seaborn</strong></blockquote><pre><em>#import seaborn as sn<br>corrMatrix = df.corr()<br>fig, ax = plt.subplots(figsize=(16,8)) <br>sn.heatmap(corrMatrix,<br> annot=True, #cmap=&quot;viridis&quot;, <br> linewidths=.001, ax=ax, annot_kws={&#39;fontsize&#39;:10},<br> square=True, linecolor=&quot;#222&quot;)<br>plt.tight_layout()<br>plt.savefig(&#39;final.png&#39;, dpi=300)</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RyS6f5MEjpk7PVWxQbBdAg.png" /><figcaption>The above pictures show us some correlation between each other futures.</figcaption></figure><p><strong>We looking at another matplot function like the scatter and focus to heatmap details</strong></p><p>* <strong>Power &amp; Windspeed</strong></p><pre><em>WTG40 = df[df.unitLoc == &quot;WTG40&quot;]<br>WTG34 = df[df.unitLoc == &quot;WTG34&quot;]<br># scatter plot power&amp;windSpeed<br>plt.scatter(WTG40.power,WTG40.windspeed,color=&quot;red&quot;,label=&quot;WTG40&quot;,alpha= 0.5)<br>plt.scatter(WTG34.power,WTG34.windspeed,color=&quot;green&quot;,label=&quot;WTG34&quot;,alpha= 0.3)<br>plt.xlabel(&quot;power&quot;)<br>plt.ylabel(&quot;windspeed&quot;)<br>plt.legend()<br>plt.show()</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*ZfKcc-7fh-c2XEZwA8qu7w.png" /><figcaption><strong>Power &amp; Windspeed</strong></figcaption></figure><p>As the wind speed increases, we see that the energy produced increases at a direct rate.</p><p>However, when the wind speed reaches 12.5 m/s, the electricity generated remains constant.</p><p>Protection can be taken for 12.5 m/s speed and above so that the turbine is not damaged.</p><p>* <strong>Windspeed &amp; Wind direction Ang</strong></p><pre><em># scatter plot windspeed&amp;windDirAng<br>plt.scatter(WTG40.windspeed,WTG40.windDirAng,color=&quot;red&quot;,label=&quot;WTG40&quot;,alpha= 0.5)<br>plt.scatter(WTG34.windspeed,WTG34.windDirAng,color=&quot;green&quot;,label=&quot;WTG34&quot;,alpha= 0.3)<br>plt.xlabel(&quot;windspeed&quot;)<br>plt.ylabel(&quot;windDirAng&quot;)<br>plt.legend()<br>plt.show()</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*e3x411q9wb3gKW9M_vsJJg.png" /><figcaption><strong>Windspeed &amp; Wind direction Ang</strong></figcaption></figure><p>Here we see from which angle the wind is stronger.</p><p><em>The turbine generally gets more wind at 180° and 0° angles.</em></p><p><em>We see that there is density especially at 180°.</em></p><p><em>It seems that the WTG 40 turbine receives better winds between 250°-325°.</em></p><p>* <strong>Power &amp; Wind direction Ang</strong></p><pre><em># scatter plot power&amp;windDirAng<br>plt.scatter(WTG40.power,WTG40.windDirAng,color=&quot;red&quot;,label=&quot;WTG40&quot;,alpha= 0.5)<br>plt.scatter(WTG34.power,WTG34.windDirAng,color=&quot;green&quot;,label=&quot;WTG34&quot;,alpha= 0.3)<br>plt.xlabel(&quot;power&quot;)<br>plt.ylabel(&quot;windDirAng&quot;)<br>plt.legend()<br>plt.show()</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*vfMfsS0nvzal0jEPZnI9jw.png" /><figcaption><strong>Power &amp; Wind direction Ang</strong></figcaption></figure><p>Turbine generally produces higher energy at 180° and 0° angles.</p><p>We see that there is volume especially at 180°.</p><p>It seems that most of the energy produced here is at 180.</p><p>Finally, in two weeks I do so many things with <a href="https://istdatascience.com/">ISTDSA </a>thanks to everyone for their contribution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bbe59b196d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yeni yaşımda yeni bir başlangıç — Big Data Science&Engineering]]></title>
            <link>https://recep-sahinkaya.medium.com/yeni-ya%C5%9F%C4%B1mda-yeni-bir-ba%C5%9Flang%C4%B1%C3%A7-big-data-science-engineering-de9a04534306?source=rss-4dcd3b4968f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/de9a04534306</guid>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[industry-4-0]]></category>
            <category><![CDATA[new-age]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Recep Sahinkaya]]></dc:creator>
            <pubDate>Sun, 30 May 2021 11:20:08 GMT</pubDate>
            <atom:updated>2021-05-30T12:16:29.607Z</atom:updated>
            <content:encoded><![CDATA[<p>Yeni yaşımda, yeni bir başlangıç — Big Data Science&amp;Engineering</p><p>Dijitalleşmenin artık hayatımızın her noktasına girdiği bu yüz yılda artık benimde işin bir ucundan tutma vaktim geldi de geçiyor.</p><p>İşimin bir parçası olan Endüstri 4.0 uygulamalarında ve de yeni bir kariyer fırsatı olarak gördüğüm bu alanda bir çok gelişime açık nokta bulunmakta. Kendimce yapmış olduğum değerlendirmeler sonucunda BigData hayatın her alanında olduğu gibi bu alanda da olmazsa olmazlardan. Deneyimlerimi ve çalışmalarımı bu blog sayfamda paylaşmak ve kayıt altına almak adına buradayım. Güzel, eğlenceli ve yoğun bir süreç beni bekliyor.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de9a04534306" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>