Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 23-06-2022, 06:51   #2266
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Weather Routing

Shipahoy

Stavanger, we took the fast ferry from there a long time ago and listened to school kids singing during the trip. It was a wonderful experience.

I am looking at the TWS-0-6-power polar and it doesn't look right to me (and it may be wrong in the distribution as well).
I see you have just one polar in the boat.xml which is a good simple way to isolate problems.
No Windage: If your boat can power at 6 knots with no wind, the polar would be a simple one, basically six knots at all points of TWA. This would be one polar.

Upwind: If your boat is hampered going upwind by varying amounts of windage, then the speed would be slower, say 4 knots. There would be multiple polars for various TWS.

Downwind: If your boat is assisted by wind going down wind by varying amounts of windage, then the speed would be faster, say 6.5 or 7 knots for example. There would be multiple polars for various TWS.
I created this 0-6 knot Power polar as an example for sailboat and powerboat users. it could be improved. For different TWS (true wind speeds) there will be different polars which express the effect of windage on the boat headed at different true wind angles.

I think this example power polar could be improved. My suggestion is to "edit" the polar so that it works the way you want it to work and represents your boats power characteristics! Then rename it for your boat.

We are pleased you are using weather_routing. When you develop a power polar of your own using the Polar "Edit" feature, that you like and represents your boat, please attach it to this thread, we may use it in the examples instead!

Thanks. Rick
rgleason is offline   Reply With Quote
Old 23-06-2022, 08:31   #2267
Registered User

Join Date: Jun 2015
Posts: 379
Re: Weather Routing

Hi,


It seems to be a bug..
I can reproduce it, sort of.
did-g is offline   Reply With Quote
Old 23-06-2022, 08:54   #2268
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Weather Routing

Quote:
Originally Posted by did-g View Post
Hi,


It seems to be a bug..
I can reproduce it, sort of.

did-g How?
rgleason is offline   Reply With Quote
Old 23-06-2022, 09:50   #2269
Registered User

Join Date: Jun 2015
Posts: 379
Re: Weather Routing

I did a routage and got weird steps 0.8 rather than around 5 knots ,
Attached Thumbnails
Click image for larger version

Name:	wr.jpg
Views:	58
Size:	438.4 KB
ID:	259882  
did-g is offline   Reply With Quote
Old 23-06-2022, 09:53   #2270
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Weather Routing

Quote:
Originally Posted by shipahoy View Post
I get a bit confused by my weather routing results. The boat speed is much higher than the one I specified in the polar. See the example below. This is a simple polar for motoring with max speed of 7 knots, but I get similar results with the sail polar.
I get a boat speed of 10 knots when I was expecting 4 knots. See the attached screenshots.
Something is very strange. No other users have reported this that I know of, and the code is untouched for years.

Can you check for inconsistencies? Try different polars, etc? If currents are enabled they can increase boat speed, or else maybe it is a strange bug.
seandepagnier is offline   Reply With Quote
Old 23-06-2022, 11:26   #2271
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Weather Routing

I think it is working correctly. I have added some polar data to the power polars for higher winds. and run a routing across the atlantic, assuming there was unlimited fuel in the world in a very unrealistic simulation, that would create environmental degradation. Then using just climatology and the one polar file, run a routing.
Inspecting the boat speed and route, it looks fine to me.
Attached Thumbnails
Click image for larger version

Name:	Screenshot (32).jpg
Views:	58
Size:	422.2 KB
ID:	259885   Click image for larger version

Name:	Screenshot (33).jpg
Views:	57
Size:	427.4 KB
ID:	259886  

Click image for larger version

Name:	Screenshot (34).jpg
Views:	60
Size:	428.0 KB
ID:	259887  
rgleason is offline   Reply With Quote
Old 23-06-2022, 13:17   #2272
Registered User
 
shipahoy's Avatar

Join Date: Jun 2022
Location: Norway
Boat: Bavaria 37 Cruiser, 2007
Posts: 16
Re: Weather Routing

Quote:
Originally Posted by rgleason View Post
I think it is working correctly.
....
Inspecting the boat speed and route, it looks fine to me.
I expect that I have done something wrong with my settings, but I cannot see what the problem is...

Can you check the maximum boat speed of the route?

The first strange thing I discovered was that I got maximum boat speed of around 12 knots when routing with the included Bavaria 37 Cruiser polar in light winds where I was expecting no more than 7 to 8 knots. The average boat speed where of reasonable value.
shipahoy is offline   Reply With Quote
Old 23-06-2022, 14:22   #2273
Registered User
 
shipahoy's Avatar

Join Date: Jun 2022
Location: Norway
Boat: Bavaria 37 Cruiser, 2007
Posts: 16
Re: Weather Routing

I tried now on another PC, and made a polar with just 5 knots for all wind speeds and angles.
When sailing downwind I got 5 knots average and max as expected, but when sailing into the wind the average was 8 knots and maximum 16 knots.
If I change the tacking time from 60 to 0 or if I change timestep from 15 min to 1h, everything is OK.
shipahoy is offline   Reply With Quote
Old 23-06-2022, 14:26   #2274
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Weather Routing

shipahoy


Here is the max speed.
Attached Thumbnails
Click image for larger version

Name:	Screenshot (35).jpg
Views:	55
Size:	428.0 KB
ID:	259892  
rgleason is offline   Reply With Quote
Old 23-06-2022, 14:28   #2275
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Weather Routing

Quote:
Originally Posted by shipahoy View Post
I tried now on another PC, and made a polar with just 5 knots for all wind speeds and angles.
When sailing downwind I got 5 knots average and max as expected, but when sailing into the wind the average was 8 knots and maximum 16 knots.
If I change the tacking time from 60 to 0 or if I change timestep from 15 min to 1h, everything is OK.

Please attach this Polar to this thread.
How are you doing this? Using Climatology or a grib?
rgleason is offline   Reply With Quote
Old 23-06-2022, 18:16   #2276
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Weather Routing

Quote:
Originally Posted by shipahoy View Post
I tried now on another PC, and made a polar with just 5 knots for all wind speeds and angles.
When sailing downwind I got 5 knots average and max as expected, but when sailing into the wind the average was 8 knots and maximum 16 knots.
If I change the tacking time from 60 to 0 or if I change timestep from 15 min to 1h, everything is OK.
Look for the weatherroutingconfiguration.xml file. In the same folder the boat.xml. If you can attach this and a grib file you used then we can reproduce it.

Very helpful to note the tacking time, it may be a bug there, for now I suggest using 0.
seandepagnier is offline   Reply With Quote
Old 23-06-2022, 22:42   #2277
Registered User
 
shipahoy's Avatar

Join Date: Jun 2022
Location: Norway
Boat: Bavaria 37 Cruiser, 2007
Posts: 16
Re: Weather Routing

I was not able to reproduce the error with tacking time set to 0.
Attached is the simplest example I could think of that shows the error. In this example I am using Climatology and going downwind. In the previous tests I used grib-files.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	56
Size:	69.5 KB
ID:	259917   Click image for larger version

Name:	2.png
Views:	55
Size:	21.5 KB
ID:	259918  

Click image for larger version

Name:	3.png
Views:	69
Size:	23.1 KB
ID:	259919   Click image for larger version

Name:	4.png
Views:	57
Size:	22.2 KB
ID:	259920  

Attached Files
File Type: txt Test5.pol.txt (35 Bytes, 25 views)
File Type: txt Test5boat.XML.txt (436 Bytes, 21 views)
File Type: txt WeatherRoutingConfiguration.xml.txt (998 Bytes, 12 views)
shipahoy is offline   Reply With Quote
Old 23-06-2022, 23:07   #2278
Registered User
 
shipahoy's Avatar

Join Date: Jun 2022
Location: Norway
Boat: Bavaria 37 Cruiser, 2007
Posts: 16
Re: Weather Routing

Should it be += for the time penalty in line 820 in the following file?
https://github.com/seandepagnier/wea...c/RouteMap.cpp

/* did we tack thru the wind? apply penalty */
bool tacked = false;
if(parent_heading*H < 0 && fabs(parent_heading - H) < 180) {
timeseconds -= configuration.TackingTime;
tacked = true;
}
shipahoy is offline   Reply With Quote
Old 24-06-2022, 00:33   #2279
Registered User
 
ozolli's Avatar

Join Date: May 2021
Location: France
Boat: CM50 (launch 2025)
Posts: 93
Re: Weather Routing

Quote:
Originally Posted by shipahoy View Post
Should it be += for the time penalty in line 820 in the following file?
Maybe you can test with negative tacking time.

Edit: Does not work; It's not saved when negative.
ozolli is offline   Reply With Quote
Old 24-06-2022, 00:49   #2280
Registered User

Join Date: Jun 2015
Posts: 379
Re: Weather Routing

Quote:
Originally Posted by shipahoy View Post
Should it be += for the time penalty in line 820 in the following file?
https://github.com/seandepagnier/wea...c/RouteMap.cpp

/* did we tack thru the wind? apply penalty */
bool tacked = false;
if(parent_heading*H < 0 && fabs(parent_heading - H) < 180) {
timeseconds -= configuration.TackingTime;
tacked = true;
}

Hi the formula doesn't seem to work anyway, in your example and mine there's no tacking.
did-g is offline   Reply With Quote
Reply

Tags
paracelle, weather


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yachts in transit - new system for weather, blogging, diving, walking tracking sail-fish Navigation 13 22-05-2016 15:57
SSB Weather info VirtualVagabond General Sailing Forum 8 15-01-2016 08:40
Optimum SSB/satphone combo setup tulsag Marine Electronics 33 30-04-2012 07:19
MaxSea Weather Routing svrevelations Weather | Gear, Reports and Resources 12 10-10-2011 01:08
Sea Myths and Sayings Mariners The Sailor's Confessional 5 29-09-2011 13:51

Advertise Here


All times are GMT -7. The time now is 17:59.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.