giovedì 16 giugno 2022

Sailboat Polar Chart Builder helps you to create polar diagram for your sailboat

First of all , sorry for my bad english ... 

The boats are very different from each other, as are the styles of the captains who lead them: there is the loner, the regatta man and who enjoy the journey without considering speed at all. This does not mean that having a reference, and therefore a diagram of how our boat proceeds according to the weather conditions, allows us to better plan our routes with more safety.

What I propose is the use of a free software Sailboat Polar Chart Builder very easy to use which, with the help of your onboard GPS (or Water sensor if present) and your wind station, will record the boat's performance for you and compile a file with the polar of the boat (CSV) to be used in other planning software or you can print your polar chart to always have it at hand.

At the moment the software is released in BETA version completely free of charge and therefore all your feedback is more than appreciated.





note: The data displayed in the image are not true as they are obtained from a simulation.


How does it work.

Sailboat Polar Chart Builder collect the data coming from a connection (TCP) on which the NMEA messages travel by taking the important ones in order to plot the polar chart which are:

WIMWV - this type of message contains the intensity and direction of the wind data relative to boat.

GPRMC - the message contains data relating to speed and position of the boat.

What you need to do is connect to a TCP server that can provide such data (for example an outgoing connection from OpenCPN) and begin collecting data from the boat for a long enough period to be able to have the amount of information necessary to create a detailed polar chart of the boat.

Requirements

At the moment the software has been tested to work only on the Windows 10/11 operating system and does not require any particular performance from the PC.
In the future, a Mobile App could be created that does the same job but more affordable for everyone.

Tutorial. How to use.

The first thing to do is to have software that provides wind and gps data, in this tutorial we will use OpenCPN.
First of all, let's create an outgoing connection from OpenCPN where we will publish all the NMEA messages and therefore also the messages coming from our wind and GPS station:


It is important to enter the IP 0.0.0.0 in the network address which indicates to openCPN that it must be a Server to which our software will have to connect.

Once this is done we can start our software and configure the connection to our server:

In box 1 shown in the image above we must put the IP address of our server (e.g. where OpenCPN resides), if our software runs on the same machine we can write localhost and in the Port Number field we will put the same port number used by the our server (eg 10112) at this point we can click on the Connect button which, if all goes well, will change its wording to Disconnect (see first image). We are now ready to receive the data we need.

Box 2 of the image above shows the section where the acquisition of data arriving from the instruments is managed.
First of all we choose the interval with which these data are collected, too small interval can collect data too quickly respect to variations of navigation conditions, a good compromise is to set 60 to 120 seconds as an interval for each acquisition, if you provide for long periods of navigation this value can also be set much higher.
Once the interval has been set, we can press the START button to start the acquisition and if everything works as it should, the "Number of measures" counter should begin to increase its value. It is important that the acquisitions are stopped when you intend to moor, anchor or in general not to use the sails of the boat.

Also from box 2 it is possible, through the SAVE, LOAD and RESET buttons, respectively
save the "raw" data acquired on a file and then resume the measurements at another time,
load the previously saved acquisitions to be able to integrate them with the new ones arriving from the server,
reset and then delete all the acquired data that the software keeps in memory.

When we have a considerable number of data: that is, when we have acquired data of the boat in all speeds and for different wind intensities we can proceed (in box 3 of the image) to the data analysis to build our graph and our file csv with polars.

We first proceed in choosing the intervals between one wind speed and another and immediately afterwards it is possible to generate the graph through the CALCULATE button.

Here you have 2 possible choices:
print the graph obtained through the PRINT button
or create the file with the polars in CSV format that you can use with your planning software: one above all qtVlm.
Before using the file it is necessary to look at its content, if inside there are values marked as null then it will be necessary to integrate by making other detections or alternatively add manually the missing values.


04/01/23 New release

In addition to fixing some bugs, here are some of the new features:

- It is now possible to expand the application to full screen with the consequent enlargement of the polar graph for better consultation.

- Texts have been introduced that describe the connection/disconnection and data acquisition status more clearly.


Installation

Download the software from this link:

Those who do not have a DropBox account can still download the file by clicking at the top left on DOWNLOAD always on the link page above.

Unzip compressed file into a folder with everything you need to run the software inside.

Run the PolarChartGUI.exe file.

For any info / help or bug report you can contact me on the email alemassimo[@]yahoo.it ( remove [ ])


Fair wind!

mercoledì 15 giugno 2022

Sailboat Polar Chart Builder ti aiuta a creare diagramma polare per la tua barca a vela

Come ben descritto sulla pagina di  https://www.boatsnews.it/.
Per le barche a vela, il polare è una rappresentazione grafica che esprime la velocità di una barca in funzione della direzione e della forza del vento. In generale, questo grafico ha la forma di un diagramma semicircolare, in quanto i risultati sono considerati identici entrambe i lati della barca.
In altre parole, se conoscete l'intensità e l'angolo del vento, il polare vi dirà quanto velocemente dovrebbe andare la vostra barca.

Le barche sono molto diverse tra di loro, come sono diversi gli stili dei capitani che le conducono: c'è il solitario , il regatista, quello dal Gennaker facile e quelli che si godono il viaggio non considerando affatto al velocità. Ciò non toglie che avere un riferimento , e quindi un schema di come la nostra barca procede asseconda delle condizioni meteo, ci permette di pianificare al meglio le nostre rotte con più sicurezza.


Quello che vi propongo ( detta così sembra che vendi pentole) è l'uso di un software gratuito Sailboat Polar Chart Builder molto semplice da utilizzare che, con l'aiuto del vostro GPS di bordo ( o se disponibile dal LOG) e della vostra stazione del vento, registrerà per voi le prestazioni della barca e compilerà per voi un file con le polari della barca (CSV) da poter utilizzare in altri software di pianificazione oppure potete stampare il vostro grafico polare per averlo sempre a portata di mano. 


Al momento il software viene rilasciato in versione BETA del tutto gratuitamente e quindi ogni vostro feedback è più che apprezzato.

NB : I dati visualizzati nell'immagine non sono veritieri in quanto ottenuti da una simulazione.
Ci tengo comunque  a precisare che il software "Sailboat Polar Chart Builder":

IL SOFTWARE VIENE FORNITO "COSÌ COM’È", SENZA GARANZIE SALVO PER QUANTO ESPLICITAMENTE INDICATO NEL PRESENTE. Tao Energy srl NON CONCEDONO ALCUNA GARANZIA PER IL SOFTWARE O LA RELATIVA DOCUMENTAZIONE IN TERMINI DI CORRETTEZZA, ACCURATEZZA, AFFIDABILITÀ O ALTRO. Tao Energy srl  DECLINA ESPLICITAMENTE EVENTUALI GARANZIE IMPLICITE, INCLUSE, IN VIA DEL TUTTO ESEMPLIFICATIVA, GARANZIE IMPLICITE RELATIVE AL TITOLO, ALLA DISPONIBILITÀ, ALLE PRESTAZIONI, ALLA NON INFRAZIONE, ALLA COMMERCIABILITÀ O ALL’ADEGUATEZZA A SCOPI SPECIFICI. L’UTENTE SI ASSUME TOTALMENTE IL RISCHIO IN TERMINI DI RISULTATI E PRESTAZIONI DEL SOFTWARE.


Come funziona.

Sailboat Polar Chart Builder non fa altro che collezionare i dati provenienti da una connessione (TCP) su cui viaggiano i messaggi NMEA prelevando quelli importanti al fine della tracciatura del grafico polare che sono:

  • WIMWV - questa tipologia di messaggio contiene al suo interno i dati relativi alla intensità e alla direzione del vento rispetto alla barca
  • GPRMC - il messaggio contiene i dati relativi alla velocità e alla posizione della barca
  • IIVHW - messaggio dal sensore LOG che indica la velocità relativamente all'acqua
Quello che bisogna fare e connettersi ad un server TCP che possa fornire tali dati ( come potrebbe essere per esempio una connessione in uscita da OpenCPN) e cominciare a raccogliere i dati provenienti dalla barca per un periodo abbastanza lungo da poter avere la quantità di informazioni necessaria a creare un grafico polare abbastanza dettagliato della barca.

Requisiti

Al momento il software è stato testato per funzionare solo su sistema operativo Windows 10/11 e non necessita di particolari prestazioni da parte del PC. 
In futuro si potrebbe creare una App Mobile che faccia lo stesso lavoro ma più alla portata di tutti.

Tutorial. Come si usa.

La prima cosa da fare è avere un software che fornisca i dati relativi a vento e gps, in questo tutorial useremo OpenCPN.
Per prima cosa quindi creiamo una connessione in uscita da OpenCPN dove pubblicheremo tutti i messaggi NMEA e quindi anche i messaggi provenienti dalla nostra stazione del vento e del GPS:


Importante è inserire nell'indirizzo di rete l'IP 0.0.0.0 che indica a openCPN che deve fungere da Server a cui il nostro software dovrà poi collegarsi .

Per altre info sulle connessioni vi rimando alla pagina di OpenCPN .

Fatto ciò possiamo avviare il nostro software e configurare la connessione verso il nostro server:

Nel riquadro 1 mostrato nell'immagine sopra dobbiamo mettere l'indirizzo IP del nostro server ( es. dove risiede OpenCPN) , se il nostro software viene eseguito sulla stessa macchina possiamo scrivere localhost  e nel campo Port Number metteremo lo stesso numero di porta utilizzato dal nostro server (es 10112) a questo punto possiamo cliccare su bottone Connect che , se tutto va bene , cambierà la sua dicitura in Disconnect (vedi prima immagine) . Ora siamo pronti a ricevere i dati che ci servono.

Il riquadro 2 dell'immagine sopra mostra la sezione dove viene gestita l'acquisizione dei dato che arrivano dagli strumenti. 
Innanzi tutto scegliamo l'intervallo con cui questi dati vengono prelevati, un intervallo troppo piccolo può raccogliere dati troppo velocemente rispetto alle variazione delle condizioni di navigazione della barca, un buon compromesso è impostare da 60 a 120 secondi come intervallo per ogni acquisizione, se si prevedono periodi lunghi di navigazione tale valore può essere impostato anche molto più alto.
Impostato l'intervallo possiamo schiacciare il bottone START per avviare l'acquisizione e se tutto funziona come deve il contatore "Number of measures" dovrebbe cominciare a incrementare il suo valore. E' importante che le acquisizioni vengano STOPpate quando si ha intenzione di ormeggiare, ancorare o in generale non utilizzare le vele della barca.

Sempre dal riquadro 2 è possibile , attraverso i bottoni SAVE LOAD e RESET, rispettivamente 
  • salvare i dati "grezzi" acquisiti su un file per poi riprendere le misurazioni in un altro momento
  • caricare le acquisizione precedentemente salvate per poterle integrare con le nuove che arrivano dal server 
  • resettare e quindi cancellare tutti i dati acquisiti che il software tiene in memoria.
Quando avremo un numero considerevoli di dati : e cioè quando avremo acquisito dati della barca in tutte le andature e per diverse intensità di vento possiamo procedere ( nel riquadro 3 dell'immagine) all'analisi dei dati per costruire il nostro grafico e il nostro file csv con le polari.

Procediamo per prima cosa nello scegliere gli intervalli tra una velocità di vento e un'altra e subito dopo è possibile generare il grafico attraverso il pulsante CALCULATE.

Qui avete 2 possibili scelte:
  • stampare il grafico ottenuto attraverso il bottone PRINT 
  • oppure creare il file con le polari in formato CSV che potete usare con i vostri software di pianificazione : uno su tutti qtVlm .
Prima di utilizzare il file è necessario guardare il suo contenuto, se al suo interno vi sono valori marcati come null allora sarà necessario integrare effettuando altre rilevazioni oppure in alternativa aggiungere manualmente i valori che mancano.


Installazione

Scaricare il software da questo link :

Chi non ha un account DropBox può comunque scaricare il file cliccando in alto a sinistra su SCARICA sempre nella pagina del link qui sopra.

Scompattare in una cartella il file compresso con all' interno tutto quello che serve per eseguire il software.

Eseguire il file PolarChartGUI.exe .

Per qualsiasi info / aiuto o segnalazione di bug potete contattarmi sull'email alemassimo[chiocciola]yahoo.it


Buon vento!