netsse.simul.ship_resp.sum_components ===================================== .. py:function:: netsse.simul.ship_resp.sum_components(aw, V_seed, W_seed, epsilon_seed, om_enc, time, seed, result, TRF_amps=0, TRF_phases=0, RespStr='Waves', AddNoise=False, snr=20) Performs the summation of the sine components to simulate in the time domain the encountered wave elevation or the wave-induced responses on a ship. :param aw: Amplitude of the wave components. :type aw: array_like of shape (Nfreq,Nbeta,1) :param V_seed: Standard normal distributed variables with mean 0 and std. 1. :type V_seed: array_like of shape (Nfreq,Nbeta,1) :param W_seed: Standard normal distributed variables with mean 0 and std. 1. :type W_seed: array_like of shape (Nfreq,Nbeta,1) :param epsilon_seed: Random phases [rad] of the wave components. Those are uniformly distributed variables between 0 and :math:`2\pi`. :type epsilon_seed: array_like of shape (Nfreq,Nbeta,1) :param om_enc: Vector of encounter wave frequencies [rad/s]. :type om_enc: array_like of shape (Nfreq,1,1) :param time: Vector of time [s]. :type time: array_like of shape (1,1,Nt) :param seed: Index of the seed number. :type seed: int :param result: Anterior value of the vector of wave/response sequence. .. note:: Consult the documentation of the :func:`netsse.simul.ship_resp.simul_ship_resp` function for information on the other parameters. :type result: array_like of shape (Nseed,Nt) :returns: **result** -- Updated value of the vector of wave/response sequence. :rtype: array_like of shape (Nseed,Nt) .. seealso:: :py:obj:`simul_ship_resp`, :py:obj:`process_queue`