Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- v_aluminium = 0.33*1e-6
- def mobility_plate(E=Youngs_modulus, p=density, v=v_aluminium, h=thickness):
- return 1./(8.*(h**2.) * (np.sqrt((E*p)/(12.*(1-v**2.)))))
- Y_flr_section = mobility_plate()
- PWL_ref = 10*1e-12
- def w_in(vel_in=accel_to_vel(), Y=Y_flr_section, Yi=Y_Zmounts()[1], Ys=Y_Zengine()[1], Yb=Y_Zbeam()[1], dB=False):
- """input power from the engine to the vehicle, velocity calculated from the
- accleration spectrum, and going through vib isolation"""
- top = [np.real(Y)*((vel_in1)**2) for vel_in1 in vel_in]
- bottom = [pow(np.abs(Y+Yi1+Ys1+Yb1), 2) for Yi1,Ys1,Yb1 in zip(Yi,Ys,Yb)]
- w = [t/b for t,b in zip(top,bottom)]
- if dB == False:
- return w
- if dB == True:
- Lp = [10*np.log10(w1/PWL_ref) for w1 in w]
- return Lp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement