AguaClara / ram_pump

Optimizing the hydraulic ram pump for more efficient use in providing plant plumbing.
4 stars 8 forks source link

Spring Force Adjustment #79

Closed ChingPangggg closed 5 years ago

ChingPangggg commented 5 years ago

We ran the ram pump today with setting the F_closed as 14.95 N. However, the spring force is still too weak as you can see from the graphs that the plate valve was closed the entire time. For the first graph, I set the jam nut 4cm from the face of union, and for the second one I adjusted the jam nut to the shortest distance I could, which is 4.3 cm from the face of union, but the spring force was still too weak. In addition, I think cutting the spring has caused the spring to buckle, which I am not sure how much would this affect the results. Do you have any suggestions on how to go about these two problems? image image @monroews

alyssaju commented 5 years ago

We made a conversion error when calculating the correct length of the spring. We fixed our calculations and used the correct spring (9657K428). The pump cycled quite loudly and pumped a significant amount of water. Here is our pressure graph for this spring:

Multiple Cycles 7-11-2019_K428_test1

Four Cycles 7-11-2019_K428_test1_fourcycles

One Cycle 7-11-2019_K428_test1_onecycle

@monroews

ChingPangggg commented 5 years ago

For cycle shown above: F_opened = 0 N since there is no initial compression (x_1 = 0cm) F_closed = 12.236 N (x_2 = 1.37 cm)

monroews commented 5 years ago

What was your expectation for the cycle time? It appears that the pump achieved 20 m of head! That is impressive. What role might F_opened have in the cycle time?

monroews commented 5 years ago

Congratulations on getting the pump to cycle automatically! This is a big step forward! One of the next steps is to write the code to calculate the flow rate as a function of the pump pressure. Consider using meters as the unit on the y axis. What is happening in the air chamber with each pump cycle? Is water flowing into and then back out of the air chamber or why is the pressure cycling? Is the data good enough to be able to calculate the amount pumped per cycle?

ChingPangggg commented 5 years ago

` url5 = 'https://raw.githubusercontent.com/AguaClara/ram_pump/master/Summer%202019/Data%20Collection/7-11-2019_spring_K428_test1.xls'

start = 29600 #should be more than 'start' end = 29700 #should be less than 'stop'

x = (pp.column_of_time(url5,start,end)).to(u.s)

pressure = pp.column_of_data(url5, start, 1, end, 'cm') airchamber = pp.column_of_data(url5, start, 2, end, 'cm')

plt.plot(x, pressure, '-') plt.plot(x, airchamber, '-')

idx = (np.argwhere(np.diff(np.sign(pressure - airchamber)))).flatten() plt.plot(x[idx], pressure[idx], 'o')

idx2 = (np.argwhere(np.diff(np.sign(pressure - airchamber)))+1).flatten() plt.plot(x[idx2], pressure[idx2], 'o') plt.show() print((x[idx[0]]+x[idx2[0]])/2) print((x[idx[1]]+x[idx2[1]])/2) ` image

Using above code, the first intersection point was found to be 0.087 second and the second was 0.093 second so the pumping cycle was 0.006 second for this specific cycle. But similar code can be applied for every 0.4 or 0.5 until next cycle is found?