-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathparams_IST_SEB.py
More file actions
61 lines (49 loc) · 1.39 KB
/
Copy pathparams_IST_SEB.py
File metadata and controls
61 lines (49 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Oct 29 23:10:59 2020
This code is part of SIMROUTE
@author: manel grifoll (UPC-BarcelonaTech)
"""
import numpy as np
from pathlib import Path
import matplotlib.pyplot as plt
#Simulation name
name_Simu='IST_SEB'
prod='BLKSEA' # producte de onatge
''' ATENCIÖ aqui posen la data de inici i final del onatge
'''
date_Ini = [2023, 12, 19] # [year,month,day]
date_End = [2023, 12, 21]
#Mesh boundaries
LonMin=29
LonMax=35
LatMin=41
LatMax=45
#Grid-step in Miles
inc=1.5 #in nautical miles
# Initial node in mesh:
nodIni=2669
# Final node in mesh:
nodEnd=36470
#Time resolution of CMEMS product:
time_res=1 # In hours: 1 for all regions except o 3 for the GLOBAL
#Extension added at boundaries (in degrees)
dx= 0.5
#Wave
dir_arx='storeWaves/'
#Initial start time of sailing from 00:00 (from 0 to 23 hours)
t_ini=9
#Sailing velocity (in knots)
v0=16.1 # Cruising speed in nautical milles per hour (in knots)
#Formulation WEN (Wave Effect on Navigation)
#Bowditch = 1; Aertessen = 2; Khokhlov = 3; no reduction = 4
WEN_form=1;
#Ship parameteres for WEN options 2 and 3.
Lbp = 225; # ship's length between perpendiculars (in meters)
DWT = 8000; # ship's deadweight (in tons)
#Additional plot flags:
plot_nodes=1 #Yes=1 ; No=0
plot_waves=1 #Yes=1 ; No=0
plot_routes=1 #Yes=1 ; No=0
# END OF USER INPUTS #######################