Delta-Wye Converter

An easy to use delta-wye converter

March 2022 — March 2022

Summary

An easy to use delta-wye converter I created because the existing delta-wye converters kinda suck.

Developer Diaries

Backstory

In my second semester of college, I had to take a subject on introduction to circuit analysis, despite me wanting to go to the Informatics Engineering major because at the time that major shared a faculty with the Electrical Engineering major (and its spinoffs). I was taught that there is a "special" kind of circuit, that is the delta and wye circuit that can be converted to one another through a series of arduous formula. Conversion of the circuit to the other type is usually done in order to ease the circuit analysis process but the formula to do so is really tedious.

But that's not the sole reason I made this. After all, there's already a handful of web converter of delta-wye circuits that you can find. Why I made these is because they (at least the one that shows up at the top of my DuckDuckGo search) is kind of "archaic". They don't give instantaneous feedback, you need to click convert first (I think I found one that had to sent the data back to the server to be computed, so you have to wait for a full page refresh because it just uses the default form to send the data). In general I found them to be something from the days of PHP and vanilla.

That's why this have quite a rich feature sets : instant feedback, easy switching of conversion back-and-forth, manual and automatic changing of the units of the result (the units will change itself depending what's most convenience for the magnitude of the result), using other "variant" of both delta and wye, capacitor and inductor conversion (not just resistors).

Intro to Complicated to Back-Front-End

Making this was definitely a good exercise for me because it introduced me to how complex back-front-end could be. I think I (and developers who are more skilled than me) wouldn't have too much of a problem making this now but it certainly wasn't trivial for me back then. Looking at the source code now, there's a lot of spaghetti code here. In my opinion that was because I had never made something as intricate as this previously (back front-end wise) and so didn't know how to manage and reduce this level of complexity.

Gallery