netsse.model.envir_cond.JONSWAP_DNV =================================== .. py:function:: netsse.model.envir_cond.JONSWAP_DNV(Tp, Hs, omega, gamma='standard', h=0) Computes the JONSWAP spectrum corresponding to the input sea state parameters. The JONSWAP spectrum is formulated as a modification of a Pierson-Moskowitz spectrum for a developing sea state in a fetch limited situation. :param Tp: Peak period [s]. :type Tp: float :param Hs: Significant wave height [m]. :type Hs: float :param omega: Vector of angular frequencies [rad/s]. :type omega: array_like of shape (Nfreq,) :param gamma: Peak shape parameter [-]. The value can be user-provided as a float. Alternatively, if ``'standard'`` is input, then ``gamma`` will take the standard value of 3.3., while a value ``'DNV'`` as input leads to following the procedure 3.5.5.5 described in DNV-RP-C205. .. tip:: Use ``gamma = 1`` to output a standard Pierson-Moskowitz spectrum. :type gamma: {'standard','DNV',float}, optional :param h: Water depth [m]. If ``h`` is specified as input argument, then the output JONSWAP spectrum is corrected to account for finite water depth, becoming a standard TMA spectrum as per Bouws et al. (1985). :type h: float, default 0 :returns: **S_J** -- Standard wave spectrum [m^2.s/rad]. :rtype: array_like of shape (Nfreq,) .. rubric:: References 1. DNV-RP-C205, "Environmental Conditions and Environmental Loads, April 2007. 2. Bouws, E., Gunther, H., Rosenthal, W., & Vincent, C. L. (1985). *Similarity of the wind wave spectrum in finite depth water. 1. Spectral form*. Journal of Geophysical Research-Oceans, 90(NC1), 975–986. https://doi.org/10.1029/JC090iC01p00975 .. seealso:: :py:obj:`lin_disprel` A fast and accurate approximation of the linear wave dispersion relationship in finite water depth. .. rubric:: Example >>> S_J = JONSWAP_DNV(Tp,Hs,omega,gamma='standard',h=0)