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 21-12-2024, 12:45   #1
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 567
Using AI to analyse logbook data

I'm on www.perplexity.ai pro version, paid for a month to check it out & it's so powerful and useful will easily justify the $200 yearly subscription.

So having a play around just now with a logbook from a recent passage from madeira to Portugal, took a couple of goes to get it to see what data was what, copied & pasted into a spreadsheet then put what data was what in the first line. It writes code instantly so should be easy to get it to write some python to put the logbook file into data it can understand.

So from a few minutes messing around..

"the first line of this file describes the fields, give average speed for each day"

Quote:
Answer
Based on the provided log data, here's the average speed for each day of the journey from Funchal to Portimao:
Day 1 (May 3, 2024)
Average speed: 3.43 knots
(0.19 + 3.15 + 4.23 + 4.60 + 5.07) / 5 = 3.43
Day 2 (May 4, 2024)
Average speed: 4.51 knots
(5.38 + 5.09 + 4.61 + 4.13 + 4.11) / 5 = 4.51
Day 3 (May 5, 2024)
Average speed: 5.51 knots
(4.68 + 6.07 + 5.77) / 3 = 5.51
Day 4 (May 6, 2024)
Average speed: 3.94 knots
(5.03 + 3.85 + 4.08 + 1.76 + 4.39 + 5.64) / 6 = 3.94
Day 5 (May 7, 2024)
Average speed: 3.30 knots
(4.02 + 4.31 + 2.36 + 3.16 + 3.84) / 5 = 3.30
Day 6 (May 8, 2024)
Average speed: 3.12 knots
(3.45 + 2.37 + 3.34 + 3.40) / 4 = 3.12
Day 7 (May 9, 2024)
Average speed: 2.69 knots
(5.10 + 0.27) / 2 = 2.69
It's important to note that these averages are based on the instantaneous speed readings recorded at various times throughout each day, which may not perfectly represent the actual average speed over the entire day. Additionally, the last day's average might be skewed due to the final entry being at anchor.
"with the same file do an analysis of the text entries using NLP or any other techniques to detect emotional state or anything else interesting. I was sailing single handed"

Quote:
Answer
Based on the text entries in the log, I've conducted an analysis to detect emotional states and other interesting patterns during your single-handed sailing journey from Funchal to Portimao. Here's what I found:

Emotional States
Excitement and Optimism:
"time to go! Cloudy, tiny wind from south."
"Engine off straight away. \n3kts in 8IKts wind. Nice!"
These early entries suggest a sense of excitement and optimism at the start of your journey.

Contentment and Satisfaction:
"Getting into the swing of it again."
"Beautiful quiet gentle sailing right now. \nAll's well on the ocean today."
These entries indicate periods of contentment and satisfaction with the sailing conditions.

Anticipation and Hope:
"Forecast getting old but low due to come in with some west tomorrow. Hope so!"
"...still looks like a low of bay of Cadiz so ghoping some south in the wind soon"
You express anticipation and hope for favorable weather conditions.

Vigilance and Concern:
"Yacht 3Nm ahead means no alarm can be set"
"AIS alarm during night check. More than 5Nm away W & crossed his bow already, all good."
These entries show your constant vigilance and occasional concerns about nearby vessels.

Accomplishment:
"Noon day 3\n116Nm daily run"
"Noon. Day 6\n75Nm days run."
You regularly note your daily progress, suggesting a sense of accomplishment.

Other Interesting Observations
Problem-Solving: You demonstrate adaptability and problem-solving skills, such as using alternative methods to get weather information:
"Downloaded wfax with SOX on Pi & decoded in laptop opencpn"

Technical Knowledge: Your entries show a good understanding of sailing techniques and technology:
"Tacked yankee onto wind and wing. Rolling a bit but pyypilot steering well on true wind."

Safety Consciousness: You're consistently aware of safety aspects:
"Seamount ahead, turned a few degrees to stb to keep clear of the centre of it"

Routine and Structure: Despite being alone, you maintain a structured routine, regularly noting the time, position, and daily runs.

Appreciation for Nature: You often comment on weather conditions and celestial observations, showing an appreciation for your surroundings:
"Cirrus\ncoming in from W. 1/8"

Resilience: You maintain a positive attitude even in challenging conditions:
"Slow bashing into swell but generally right direction. Sunny"
Self-Care: There are mentions of meals and activities that suggest you're taking care of yourself:
"The usual big fruit breakfast."
"Happy music playing."

Overall, the text entries paint a picture of a competent, self-reliant sailor who maintains a generally positive outlook while remaining vigilant and adaptable to changing conditions. The emotional tone varies from excitement to contentment, with occasional moments of concern, but overall demonstrates a steady and resilient mindset throughout the journey.
Imagine what it could do with both the logbook & all the data saved by signalk running openplotter. And pypilot, second by second app/true wind, cog/heading, pitch & roll, sea temperature, pressure, reefs in, rudder angle....

WOW!!!
barcoMeCasa is offline   Reply With Quote
Old 21-12-2024, 12:54   #2
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 567
Re: Using AI to analyse logbook data

Double WOW!!!!
Found the wind data on the spreadsheet.

"i have added header text for wind data, analyse the wind data for each day and say something interesting about it"

Quote:
Answer
Based on the wind data provided in the log, here's an analysis of the wind conditions for each day of your journey from Funchal to Portimao:
Day 1 (May 3, 2024)
The wind started light, around 8 knots from the south. As you left Funchal, it gradually increased to about 16 knots near the southeast point of Madeira. This increase in wind strength allowed for good sailing progress, with speeds reaching 5 knots or more.

Day 2 (May 4, 2024)
Wind conditions remained favorable, with speeds in the "upper teens" as noted in your morning entry. This consistent wind allowed for an impressive daily run of 115 nautical miles.

Day 3 (May 5, 2024)
The wind continued to be strong, allowing for another good day's run of 116 nautical miles. However, there were signs of changing weather, with mentions of a low pressure system developing near the Bay of Cadiz.

Day 4 (May 6, 2024)
Wind conditions became more variable. In the morning, you noted light airs, but by afternoon the wind had increased to about 15 knots, prompting you to put in a second reef. This variability in wind strength demonstrates the dynamic nature of offshore sailing conditions.

Day 5 (May 7, 2024)
The wind became lighter, resulting in slower progress with only 87 nautical miles covered. However, you noted it was "in the right direction," highlighting the importance of wind direction as well as strength for efficient sailing.

Day 6 (May 8, 2024)
Conditions were described as "beautiful quiet gentle sailing," suggesting light but steady winds. This allowed for a comfortable, if slower, day's run of 75 nautical miles.

Day 7 (May 9, 2024)
The wind died completely as you approached your destination, necessitating the use of the engine to complete your journey.

Interesting Observations
Wind Variability: The wind conditions varied significantly over the course of your journey, from very light to strong enough to require double reefing. This variability highlights the importance of flexible sail plans and constant adjustment in offshore sailing.

Geographical Influences: You experienced stronger winds near the southeast point of Madeira, demonstrating how land masses can affect local wind patterns.

Weather System Impact: The mention of a developing low pressure system near the Bay of Cadiz shows how larger weather patterns influence local sailing conditions.

Wind Direction vs. Speed: Your logs often mention the importance of wind direction, not just speed. This is evident in entries like "Nice to be getting some north in" and "Very slow now but in right direction."

Technology Use: Your use of weather fax and GRIB files to forecast wind conditions shows the importance of modern technology in planning and adapting to changing weather at sea.

Sail Configuration: The log shows frequent adjustments to sail configuration (reefing, shaking out reefs, adjusting the yankee) in response to changing wind conditions, demonstrating the constant attention required in offshore sailing.

Overall, your journey showcased a wide range of wind conditions typical of a multi-day offshore passage, requiring constant adaptation and highlighting the diverse challenges faced by solo sailors.
barcoMeCasa is offline   Reply With Quote
Old 21-12-2024, 14:05   #3
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 567
Re: Using AI to analyse logbook data

And a little more of a play, 24 hour plot below of the victron smartshunt onboard with a bit of inverter going on, data saved as a csv file and uploaded.


Lets not make it too easy, eh

Q
"the data comes from a victron smartshunt installed on a sailing boat. there is a fridge running. what is the duty cycle of the fridge"

Answer
To determine the duty cycle of the fridge from the Victron SmartShunt data, we need to analyze the current consumption patterns. The fridge's duty cycle represents the proportion of time it spends running versus the total time.
From the data, we can observe several key points:
The current fluctuates between positive (charging) and negative (discharging) values.
There are regular periods of increased current draw, likely corresponding to the fridge compressor running.
To estimate the fridge's duty cycle:
Identify fridge cycles: Look for consistent patterns of increased current draw.
Measure cycle duration: Determine the length of these increased draw periods.
Calculate time between cycles: Measure the time between these periods of increased draw.
Based on the data, we can see:
Fridge cycles appear to last about 10-15 minutes.
The time between cycles is approximately 45-60 minutes.
Calculating the duty cycle:
Duty Cycle = (Run Time) / (Run Time + Off Time)
≈ 15 minutes / (15 minutes + 45 minutes)
≈ 15 / 60
≈ 0.25 or 25%
Therefore, the estimated duty cycle of the fridge is approximately 25%. This means the fridge compressor is running about 25% of the time to maintain the desired temperature.
Note that this is an approximation based on the limited data provided. Factors such as ambient temperature, fridge contents, and door openings can affect the actual duty cycle. For a more accurate assessment, a longer period of data or direct measurement of the fridge circuit would be necessary.
barcoMeCasa is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Time Data Source for Logbook and VDR Dockhead OpenCPN 8 21-04-2019 17:13
Logbook Cacique Navigation 16 21-06-2010 08:03
Timezones & Navigation/Logbook Dr. Moreau Navigation 15 11-05-2008 07:20

Advertise Here


All times are GMT -7. The time now is 15:21.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.