<?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 alylia on Medium]]></title>
        <description><![CDATA[Stories by alylia on Medium]]></description>
        <link>https://medium.com/@alylia?source=rss-a0b9fded525f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NMOHkgJdOXRFwY9YeWQ8HQ.png</url>
            <title>Stories by alylia on Medium</title>
            <link>https://medium.com/@alylia?source=rss-a0b9fded525f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 23:01:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alylia/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[Hey, That Fourier Course Wasn’t Useless After All: A Simple Power Quality Analysis]]></title>
            <link>https://alylia.medium.com/hey-that-fourier-course-wasnt-useless-after-all-a-simple-power-quality-analysis-aa7770b48c4c?source=rss-a0b9fded525f------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa7770b48c4c</guid>
            <category><![CDATA[electrical-engineering]]></category>
            <category><![CDATA[signal-processing]]></category>
            <category><![CDATA[quality-power]]></category>
            <category><![CDATA[fourier-transform]]></category>
            <category><![CDATA[fast-fourier-transform]]></category>
            <dc:creator><![CDATA[alylia]]></dc:creator>
            <pubDate>Sat, 30 May 2026 14:55:35 GMT</pubDate>
            <atom:updated>2026-05-30T15:00:45.522Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever wondered why we spend so much time and effort to understand this guy?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*k3lD8nOOY5j_mxiu048IwA.png" /><figcaption>Fourier transform equation</figcaption></figure><p>Spending four years as an electrical engineering student, the audacity of ‘<em>this guy’</em> in making me sleepless just to avoid red mark in Signal and System subject often made me annoyed.</p><p>Thought that I can be free of ‘<em>this guy’ </em>after graduate as long as I do not work as a lecturer or scientist, turn out to be a wrong thought.</p><p>But, now, I have my <em>aha! moment</em>, where I find out how useful <em>this guy </em>is<em>.</em></p><h4>Oops, there’s a (Discrete) Fourier Transform inside your industrial report!</h4><p>In a normal power system, we must be familiar with the pure sine wave of ‘clean’ AC voltage that is mathematically represented as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/251/1*7AH8_wSUBxvCE-gXngZu6A.png" /><figcaption>Pure sine wave of AC voltage</figcaption></figure><p>Well, that’s not actually it works in real life especially when you are dealing with non linear loads such as UPS, VFD, etc. <em>Industrial workers, feels familiar?</em></p><p>Those loads causing signal distortion, unwanted frequency components, in the form of an integer multiple of the fundamental frequency. It will be recognized as imperfect sine current/voltage wave on your power quality check report. <em>So, what?</em></p><p>Yeah, this is not the reason of why I write this article so yes, you can read it <a href="https://www.fluke.com/en-us/learn/blog/hvac/harmonics?srsltid=AfmBOooul28n9Vxhbo8lXrpMaRt1nyt3eOIWektmZrz5KEAj2Fee4p00">here</a>.</p><h4>Fourier Transform, time to shine!</h4><p>Using sample dataset <strong>with normalized value</strong>, a normal voltage is visualized in time domain using below code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*mzv_DYOyDmK8lgtMBj7PWw.png" /><figcaption>Visualizing normal voltage sample in time domain</figcaption></figure><p>A normal voltage waveform will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e0ffkM7Rn1R_KnOHSuJbrw.png" /><figcaption>Normal voltage waveform in time domain</figcaption></figure><p>Meanwhile, (adjusting the code to use the distorted waveform) the distorted one will look like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wvXppSrspcHZXCXAybt1Cg.png" /><figcaption>Distorted voltage waveform in time domain</figcaption></figure><p>“We’ve already seen the problem in the distorted voltage in time domain, why bother to go further?” Yes, but it works like:</p><blockquote>While the time domain clearly shows that the waveform is distorted, it does not tell us which frequency components are responsible for that distortion.</blockquote><p>Okay, it’s time to be a bit nostalgic of our Signal and System class. We are about to meet Fourier Transform’s cousin, Discrete Fourier Transform, since our waveform exists as a collection of sampled data points.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*Pvt6zNxxG2A3BSdYgDc1Cw.png" /><figcaption>Discrete Fourier Transform equation</figcaption></figure><p>And since engineers hate to do heavy computations, we will let Fast Fourier Transform algorithm to do this heavy lifting job.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*_ANv4jxkfxv1hd_yBM2Vhg.png" /><figcaption>Transform and visualize time domain waveform into freq. domain waveform</figcaption></figure><p>After that tiring (oh, how can you say that?) transformation job, we will get this looks for the normal one:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MThwUPi6kcOE-7x3pQUE_Q.png" /><figcaption>Normal waveform in frequency domain</figcaption></figure><p>And this looks for the distorted one:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bj6hO8NEYYlGkw88qMnSNg.png" /></figure><p>See the difference? The normal wave has its clean and centralized frequency only on its fundamental frequency of 50 Hz meanwhile the distorted one has some spikes on the other frequency components, outside the fundamental frequency.</p><p>Now let’s go a bit further (relax, we are about to reach the end). After decompose it, we will measure the statistical parameter of that frequency components (a bit putting our great FT/DFT equations aside).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/1*13vf15d_rC0jBo4iwIc4vw.png" /><figcaption>Calculation of Total Harmonics Distortion (THD), amplitude of each harmonics, and percentage of each harmonics</figcaption></figure><p>Btw, thanks to my beloved buddy (ChatGPT) for helping me write the code :D and the result will look like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*Qg8Rc3FveSF3st119hnm9A.png" /><figcaption>Total Harmonics Distortion (THD), amplitude of each harmonics, and percentage of each harmonics</figcaption></figure><p>From that result, we can see the amplitude and percentage of each harmonic. This is where the frequency domain becomes useful.</p><p>Instead of just knowing that the waveform looks distorted, we now know which harmonics are present and how much each one contributes to the distortion. These harmonic components are then combined to calculate THD, telling us how overall our waveform deviates from the pure sine wave.</p><p>In the context of engineering decision, it enables engineers to assess the nature of the distortion and determine whether further investigations or mitigations are necessary.</p><blockquote>And the point is, all of that can not be done without our old enemy, Discrete Fourier Transform.</blockquote><p>So, guys, I genuinely ask you to try not to hate your Fourier class that much. Sure, it will leave you with panda eyes for a few sleepless nights and put your GPA under pressure, but one day you might find yourself using it to solve real engineering problems (wise (fake) senior mode: on, hehe).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa7770b48c4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Saat Pulang]]></title>
            <link>https://alylia.medium.com/saat-pulang-ff74377e272b?source=rss-a0b9fded525f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff74377e272b</guid>
            <category><![CDATA[fiction]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[bahasa-indonesia]]></category>
            <dc:creator><![CDATA[alylia]]></dc:creator>
            <pubDate>Sat, 20 Sep 2025 07:11:44 GMT</pubDate>
            <atom:updated>2025-09-20T07:11:44.022Z</atom:updated>
            <content:encoded><![CDATA[<p>‼️Trigger warning: suicide.</p><blockquote>Kata mereka demi cinta sejati, kamu akan berani mati. Namun, bagaimana jika cintamu pada hidup membawamu mati untuknya?</blockquote><p>Aku menutup laptop, ujung mataku melirik ke cermin bulat di ujung meja. Bayanganku dengan mata berkantung tampak di sana. Nafasku hampir memburu, aku merasa sedang menodongkan pistol ke diri sendiri.</p><p>Setetes air mata meluap, menyusuri pipiku yang sudah lama tak tersentuh bedak. Lagian untuk apa? Tak ada lagi yang kucoba buat terpesona. Dua orang yang paling sering menyebutku cantik, sudah tidak ada.</p><p>“Aku enggak pernah <em>kebayang</em> memiliki orang secantik kamu,” kata-kata itu terputar seperti kaset rusak di telingaku. Aku masih mengingat bagaimana ia menatapku; hangat. Sama sekali tidak ada ciri seorang pengkhianat. Seribu angan telah kami semogakan, termasuk pertunangan di bulan ke delapan. Namun semuanya runtuh bulan lalu ketika sebuah pesan tak sengaja kubaca.</p><p><strong>Aa Galon</strong><br><em>See you tomorrow, Cinta</em></p><p>Aku sama sekali tak terkecoh dengan nama konyol itu, sebab tukang galon mana yang terpikir memanggil pelanggannya begitu mesra. Aku mengetuk pesan itu dua kali, jantungku berdegup kencang. Satu demi satu balok es serasa disodok paksa mengisi rongga tubuhku. Rasanya dingin dan menyiksa sekali.</p><p>Berbeda dengan tanganku yang dingin dan gemetar, ruang pesan itu begitu hangat. Terlalu banyak hal menjijikkan dan menyakitkan di sana. Satu yang tak terperi; semua hal manis yang kuterima darinya, juga ia berikan pada wanita itu.</p><p>Kala itu aku bahkan kesulitan menangis. Rasa mual menguasaiku. Bagaimana hidupku setelah ini? Apa yang harus kukatakan pada orang-orang? Tiba-tiba semuanya gelap. <em>Ibu, tolong aku</em>.</p><blockquote>Kalau manusia merasa tak lagi punya ‘rumah’ di dunia yang sebegitu ia cintai, ke mana ia harus pulang?</blockquote><p>Aku sudah sering gagal dan di seluruh kegagalan itu, Ibu selalu mendampingiku. Kecuali kali ini, sebab ia tak lagi bersamaku. Kadang aku ingin protes pada Tuhan. Ibu sudah pernah menjalani separuh hidupnya tanpa aku, sementara aku menjalani seluruh hidupku bersamanya. Ia pasti bisa tanpaku, tapi tidak denganku. Lalu mengapa Tuhan mengambilnya?</p><p>Di saat-saat terberat, Ibu selalu mencoba menjadi tempatku bersandar. Ia akan membawakanku kue, makanan kecil, atau apapun yang ia bisa. Di bahunya yang mungil, aku biasa menangis. Tidak ada yang bisa memaksaku menjadi kuat kala itu.</p><p>Sejak Ibu pergi, ada bagian diriku yang turut mati. Hidupku tidak pernah lagi sama setelahnya. Aku tak punya antusiasme mengejar apapun, aku menjalani hidup semata-mata karena takut mati. Satu demi satu kegagalan menghampiriku. Bisnis yang bangkrut, studi yang molor, hingga percintaan yang kandas. Aku merasa dunia sedang mencemoohku sehina-hinanya.</p><p>Kini aku menghabiskan hari-hariku bersama Ayah. Menjaga dirinya yang mulai menua, sebab aku yakin bahwa dia juga sangat terluka. Takdir yang ia pilih, lebih dahulu menghadap pencipta. Sama denganku, aku menyadari bahwa ia mencoba menjadi hangat; menanyaiku banyak hal, siapa tahu bisa meringankan. Aku sering melihatnya menahan tangis saat apapun tentang kekasih hatinya terlintas. Ia menahan sakitnya, mana sampai hati aku mencurahkan beban padanya?</p><p>Kadang aku berandai, apakah semua akan jadi ringan ketika aku dan Ayah berhenti berpura-pura kuat? Apakah kejujuran hati kami yang hancur lebur dapat membawakanku cinta pada hidup dalam bentuk yang lain? Aku hanya sanggup membayangkan, sebab tangisku pasti membuatnya lebih terluka.</p><p>Orang-orang bijak kerap datang padaku, memintaku mencatat nikmat-nikmat Tuhan, yang tentu saja aku tak mampu, mengantarkanku tiba pada fakta bahwa aku sangat mencintai hidupku. Namun, juga membawaku pada kenyataan bahwa kadang, beberapa orang lebih membutuhkan keberanian untuk melanjutkan hidup dibandingkan menawarkan diri pada kematian.</p><p><em>Dosa, dosa, dosa</em>. Aku kerap berbisik pada diri sendiri kala satu demi satu pil tidur kumasukkan ke mulut. Mantra itu benar-benar melunturkanku dan membuatku memuntahkannya, setidaknya kala itu.</p><p>Namun kali ini, aku bahkan tidak punya cukup tenaga untuk merapalnya. <em>Tuhan, maaf aku melakukannya</em>. Sedikit demi sedikit kesadaranku memudar, tubuhku luruh ke lantai menimbulkan suara berdebam. Lalu dengan sisa kesadaran yang masih tersisa, aku mendengar pintu kamarku berderit. Seberkas cahaya lampu ruang keluarga menerangi kamarku. Ayah. Ia terpaku di sana, sebelum berlari ke arahku dan menangis.</p><p>“Nak, bangun. Ayah mohon. Kamu punya Ayah, Ayah punya kamu. Ini berat, tapi tolong…”</p><p><em>Ya, kami saling memiliki. Seharusnya aku tahu itu. Seharusnya</em>… Aku tak mendengar lagi, aku terlalu mengantuk. Aku tertidur, di pelukan Ayah yang meraung-raung.</p><blockquote>‘Cintaku’ pada hidup, membuatku memaksanya jadi sempurna. Mengoreksi rencana-Nya, meminta-Nya menimbang ulang beban yang sanggup kuemban. Tanpa tahu bahwa meski pengkhianat diciptakan, masih ada jiwa (dan Dzat) yang tak mungkin meninggalkan.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff74377e272b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>