At \(t' = 0\), the ship has \(v' = 0.05\) and \(r' = 0.02\). Calculate the initial non-dimensional accelerations \(\dot{v}'\) and \(\dot{r}'\) when \(\delta = 5^\circ\) (assuming no other external forces and that the BCS origin is at the center of gravity).
Question 2
A ship with \(N_{\delta}' = -0.0002\) is applying a rudder of \(10^\circ\). Given:
Length \(L = 160\) m
Speed \(U = 8\) m/s
\(\rho = 1025\) kg/m³
Calculate:
The dimensional yaw moment \(N\) in kN·m due to the rudder alone
The yaw moment from the rudder in kN·m at the same rudder angle if speed increases to \(12\) m/s
The required rudder angle to maintain the same yaw moment as seen at \(U = 8\) m/s at \(U = 12\) m/s
Question 3
Consider the following nonlinear equation:
\(\dot{x} = -x^2 + \cos(x) + u\)
where \(u\) is a control input. Linearize this equation about the equilibrium point \(x_e = \frac{\pi}{2}\), \(u_e = 5\) using Taylor series expansion. Note that the new linearized differential equation will still be in terms of \(x\) and \(u\)
Question 4
Convert the following dimensional hydrodynamic derivatives to non-dimensional form given \(L = 150\) m, \(U = 10\) m/s, \(\rho = 1025\) kg/m³:
\(Y_v = -2.5 \times 10^5\) N·s/m
\(N_r = -8.0 \times 10^7\) N·m·s
\(Y_{\delta} = 4.2 \times 10^5\) N
Solution 1
A ship has the following non-dimensional parameters:
At \(t' = 0\), the ship has \(v' = 0.05\) and \(r' = 0.02\). Calculate the initial non-dimensional accelerations \(\dot{v}'\) and \(\dot{r}'\) when \(\delta = 5^\circ\) (assuming no other external forces and that the BCS origin is at the center of gravity).
The initial non-dimensional accelerations in sway is -0.1733 and in yaw is -0.4965
Solution 2
A ship with \(N_{\delta}' = -0.0002\) is applying a rudder of \(10^\circ\). Given:
Length \(L = 160\) m
Speed \(U = 8\) m/s
\(\rho = 1025\) kg/m³
Calculate:
The dimensional yaw moment \(N\) in kN·m due to the rudder alone
The yaw moment from the rudder in kN·m at the same rudder angle if speed increases to \(12\) m/s
The required rudder angle to maintain the same yaw moment as seen at \(U = 8\) m/s at \(U = 12\) m/s
Code
import numpy as npdef solve_problem2(): L =160 U =8 U_new =12 rho =1025 N_delta_prime =-0.0002 delta =10* np.pi /180 N = N_delta_prime *0.5* rho * L**3* U**2* delta N_new = N_delta_prime *0.5* rho * L**3* U_new**2* delta delta_new = N / (N_delta_prime *0.5* rho * L**3* U_new**2) *180/ np.piprint(f"The dimensional yaw moment is {N *1e-3:.2f} kN·m\n")print(f"The yaw moment at {U_new} m/s is {N_new *1e-3:.2f} kN·m\n")print(f"The required rudder angle to maintain the same yaw moment at U = {U_new} m/s is {delta_new:.2f} degrees\n")solve_problem2()
The dimensional yaw moment is -4689.66 kN·m
The yaw moment at 12 m/s is -10551.73 kN·m
The required rudder angle to maintain the same yaw moment at U = 12 m/s is 4.44 degrees
Solution 3
Consider the following nonlinear equation:
\(\dot{x} = -x^2 + \cos(x) + u\)
where \(u\) is a control input. Linearize this equation about the equilibrium point \(x_e = \frac{\pi}{2}\), \(u_e = 5\) using Taylor series expansion. Note that the new linearized differential equation will still be in terms of \(x\) and \(u\)
Code
import numpy as npdef solve_problem3():# f(x, u): -x**2 + cos(x) + u x_e = np.pi/2 u_e =5 f =-x_e**2+ np.cos(x_e) + u_e df_dx =-2*x_e - np.sin(x_e) df_du =1print(f"The linearized equation is given by:\n")print(f"\\dot{{x}} = {f - df_dx*x_e - df_du*u_e:.3f}{df_dx:.3f}x + {df_du:.3f}u\n")solve_problem3()
The linearized equation is given by:
\dot{x} = 4.038 -4.142x + 1.000u
Solution 4
Convert the following dimensional hydrodynamic derivatives to non-dimensional form given \(L = 150\) m, \(U = 10\) m/s, \(\rho = 1025\) kg/m³: