Category Archives: Engineering Course

[Research] Analysis on Smart Residential Microgrid Testbed

I, powerParser.py

This program will parse all the important data in all the log file that in place in the same folder with this program into 1 single csv log file. This only parse the power data with the unit of kW. There are 3 mode: 1 (5 min data), 3 (15 min data), and 12 (hourly data).

Some of the label of the output log file is explained below:

  • Utility: The total power of the system
  • P_ab: Power from panel a and b (similar to Utility)
  • PV: Power generated from PV system
  • Demand: Power used by load in the house
  • P_unmetered: Power of loads that are not metered by the AccuRev

When run the program, it will ask for the path of the folder. Put in the full path of the log folder. Don’t use any extra character. Then when it ask for output file name don’t put in “.csv”.

II, parser.py

Similar to powerParser in term of parsing data, this program is suitable for parsing a single or small amount of log files. Put in the “files” list all the name of log files you want to parse in the form of Python string and run the program.

III, PV_analysis.m

From ENGR 100 lab. Basically it will parse the PJMLMP, PJM Load data and PV data and generate graphs.

IV, datalog_analysis.m

This MATLAB program will plot all the power data from all channel and also generate another plot with only load power data. Besides, another output is the txt file with has maximum, minimum, mean, median of each channel.

Put all the data file in one folder to do analysis.

[ENGR251]Final Project – One Dollar Glasses Bending Tool

For final project, we focused on eye care for third world countries. A German company started an initiative known as onedollarglasses.org to provide inexpensive glasses for those in impoverished areas. On-site production of these glasses is enabled by the company’s creation kit, a small bending machine that forms spring steel into a basic, round glasses frame. However, the purported price of the box is over $2500 USD, which severely limits distribution to only significantly invested or incredibly motivated entrepreneurs. 
To eliminate this significant barrier to entry, the goal of our project is to produce a more economical design for the bending machine that can recreate or emulate the style and structure of the glasses frames built by the One Dollar Glasses organization, making efficient designs and material choices to reduce the total cost of the optician’s kit and make the fabrication process more intuitive.
csm_OneDollarGlasses_boy_l_d7f3640a10

Figure 1: A child wearing the one dollar glasses

eindollarbrille1

Figure 2: The one dollar glasses

The_Glasses_04.18b7a49c660fc14a6bc8ba46f27709da46

Figure 3: The first bending tool

Slideshow_06.d407e388cf17160919aeea7b81e300cd3

Figure 4: The second bending tool

To determine the efficiency of the bending box, a model of the bending machine was reverse-engineered from specifications from the training manuals on the One Dollar Glasses website.
bending3
bending1

Figure 5: The reverse engineered bending machine

With the knowledge and experience from the reverse-engineered model, some fundamental concepts for design were established for creating a more intuitive and inexpensive system.
bending2

Figure 6: Concept sketch of one of our ideas

d1a6972621f189df78c321cf2b5e98dc

Figure 7: Dubro EZ Wire Bender

Commercially available at $24.95, the DU-BRO E-Z Wire Bender provided the most effective design for making precise 90o bends. Because the wire is placed between two ridges in the casted die, the bend is not only secured on both sides, but is also guaranteed to bend to exactly 90o due to the angle of the ridges accounting for springback of the wire. This repeatable system of making 90o bends without guesswork or slipping makes this product the most efficient system for making wireframe glasses, reducing the occurrence of irreparable mistakes in the frame fabrication process. In line with the fundamental concepts of design for the project, the final design for the bending machine was based off of this design, with minor adjustments made for the dimensions of the ridges to match the notch lengths of the wireframe design.
bending4

Figure 8: SolidWorks design of final prototype (Dubro EZ Wire Bender)

In the end, for this project, we dis a lot of analysis and try to find out the best possible solution for this. It is unexpected that there is an existing commercialize product that perfectly solve our problem, and we glad we found it.

[CSCI 204] “Iron Mario” Game

“Iron Mario” is my biggest project for CSCI 204. It is originally a Mar Rover game but in the final phrase I re-skin the game into a “Mario” game to make it more coherent and interesting. The making of this game applied some fundamental tool and concept in computer science: object oriented programming, linked list, stack, queue…

ironmario1

The above screen is the openning screen of the game. The rule is that player use arrow button to move Mario around the map, collect items to inventory and use those item to perform tasks.When Mario step on a pipe, he is teleported to a new map with more items.

ironmario2
When got lost player can click “show the way back” button. The portal that Mario last entered will change color and player can use that to come back to main map.
ironmario3
When player collect enough item for a task, he/she can hover Mario above the part needed to fix and click “Perform Task”, the robot part will turn into Iron Man part. The picture above show the finished game with the whole Iron Man suit appeared.

The code of Iron Mario can be found at my GitHub: csci204_ironMario

[ENGR251] Design Project 2 – Soul Saver Shoes

Our second project topic for ENGR 251 is “product for other 90s”, in other words, product for people in developing countries. After doing a lot of brainstorming, we decided to focus on foot wear. In many developing nations, families cannot afford to buy shoes for their children. So children have to go school by bare feet, which allows many serious parasitic diseases absorbed and damages the feet by sharp items on the road.
“Sole Saver is an affordable alternative to normal shoes with reasonable durability. The product protects vulnerable feet from the ground using hardened glue or resin on the bottom of a sock. The idea behind this very simple design is that a local craftsmen could be trained to make and sell these shoes in their communities. Once an individual has experience fabricating Sole Savers, pairs can be sold for less than $1.”

sole shoes

Figure 1: Sole Saver prototype

“The benefit of the Sole Saver is that it costs less than expensive sneakers, but provides more protection than sandals. The simplicity of the design allows for easy repair and maintenance on the product, and it is affordable enough so that new pairs can be purchased when they wear out or are outgrown. Since they can be made from any type of socks, the Sole Saver allows for the possibility of customization for any color and pattern. Additionally, if the shoes are manufactured locally instead of being shipped from overseas, this business plan also creates jobs.
However, there are several costs associated with this product. The Sole Saver is not as durable as traditional sneakers, and so they will need to be repaired or replaced more often. Moreover, there is the social implication of wearing something different — people may not want these shoes if they are viewed as unfashionable. There is also a small learning curve that would have to be overcome when teaching new craftsmen to manufacture and market the products.”