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 07-09-2018, 08:05   #1
Marine Service Provider

Join Date: May 2011
Location: Cruising Mexico Currently
Boat: Gulfstar 50
Posts: 1,979
Modeling power usage on a boat

I've been working on a model to calculate the power usage on boats.

Computer models in general take a bunch of inputs and then step through time. At each time-step the model return the state and that state is used for the input to the next time-step.

The fun thing about models is that they do not have to be accurate to be useful. Just changing initial parameters and running the model again allows you to get some insight as to what changes in the real word might be like.

of course a good modeler will take a model run and compare it to the real-world and then make changes to the model to try to get closer to reality.

IN my last job we were modeling the interaction of the Columbia River and the near Pacific Ocean. (mostly I just made the computer cluster run fast, not so much modeling)

The real fun was that in order to test the model we needed data from the ocean. And to that end we had research ships that we could go out on and take measurements from. Nothing like a cruise on Wecoma, Pt Sur, New Horizons and other ships.

Anyway, this model is written in perl and is not quite ready for prime time. That is a nice way to say that I just threw the code together and any structure in more or less by chance. Not my best example of coding.

It is currently set up to model FLA and LiFePO4 battery types. It has solar and an alternator for charge sources and just a general table for ships loads.

I'll be adding in other parameters as time goes on.

At some point I'll be asking for parameters from some cruisers so that I can do a model run and see if the results are anywhere near what you see on your boat.

Initial runs are showing how much of the time that FLA spends in PSOC....

OF course when the code is not too much of an embarrassment to me I'll publish the code.

What factors would you like to see in the model?
evm1024 is offline   Reply With Quote
Old 07-09-2018, 08:30   #2
Registered User

Join Date: Sep 2017
Posts: 3
Re: Modeling power usage on a boat

A few things come to mind:
- Battery bank type / capacity
- Charging inputs (i.e. solar / wind / tow generator)
- List of loads, consumptions, typical usage per day
isuee94 is offline   Reply With Quote
Old 07-09-2018, 08:41   #3
Registered User
 
S/V Illusion's Avatar

Join Date: Oct 2007
Location: Lakewood Ranch, FLORIDA
Boat: Alden 50, Sarasota, Florida
Posts: 3,473
Re: Modeling power usage on a boat

Academic exercises can sometimes be fun but given the ubiquitous nature of power monitoring devices on boats these days which can tell everything critical about power management, why do you think this is any utility?
S/V Illusion is offline   Reply With Quote
Old 07-09-2018, 08:50   #4
Marine Service Provider

Join Date: May 2011
Location: Cruising Mexico Currently
Boat: Gulfstar 50
Posts: 1,979
Re: Modeling power usage on a boat

Quote:
Originally Posted by S/V Illusion View Post
Academic exercises can sometimes be fun but given the ubiquitous nature of power monitoring devices on boats these days which can tell everything critical about power management, why do you think this is any utility?
Yes, they can be fun. Which may be all the reason needed.

And the other answer is: What if?

What if I add in this load? Will I have to run the generator?

What if I add in 100 watts more solar. Will my batteries last longer?

What if I lost half my solar on passage? How much would I need to run the engine or honda?
evm1024 is offline   Reply With Quote
Old 07-09-2018, 10:55   #5
Registered User

Join Date: Feb 2018
Posts: 1,126
Re: Modeling power usage on a boat

For data acquisition, consider looking into DIY home automation systems. Cheap, options are limited to your imagination (e.g. monitor your old diesel engine, leak sensors, cameras, sun levels, etc).

Otherwise when it comes to power on a boat I would not fall prey to false scarcity thinking/engineering and/or false economy.

Is saving weight they main goal? Saving money? Increasing safety? Pure research/curiosity? What utility will this endeavor provide that people need and can use? Some examples of how the finished product changes human behavior?
Singularity is offline   Reply With Quote
Old 07-09-2018, 11:52   #6
Registered User

Join Date: Jul 2005
Location: Bellingham
Boat: Outbound 44
Posts: 9,319
Re: Modeling power usage on a boat

Multiple modes of operation, e.g. at anchor, sailing with AP and instruments, day/night
__________________
Paul
Paul L is offline   Reply With Quote
Old 07-09-2018, 14:20   #7
Registered User
 
Mirage35's Avatar

Join Date: May 2015
Location: Sailing Lake Ontario
Boat: Mirage 35
Posts: 1,126
Re: Modeling power usage on a boat

Quote:
Originally Posted by S/V Illusion View Post
Academic exercises can sometimes be fun but given the ubiquitous nature of power monitoring devices on boats these days which can tell everything critical about power management, why do you think this is any utility?
Maybe I don’t have the latest technology, but the power monitoring on my boat tells me what’s happening, but not why it’s happening. So I have started paying a lot more attention to which systems take how much power on what cycle in what circumstances. Basically building a mental model to help me manage and understand.
__________________
Beam me up, Scotty. There's no intelligent life down here.
Mirage35 is offline   Reply With Quote
Old 07-09-2018, 14:27   #8
Marine Service Provider

Join Date: May 2011
Location: Cruising Mexico Currently
Boat: Gulfstar 50
Posts: 1,979
Re: Modeling power usage on a boat

Quote:
Originally Posted by AnglaisInHull View Post
Maybe I don’t have the latest technology, but the power monitoring on my boat tells me what’s happening, but not why it’s happening. So I have started paying a lot more attention to which systems take how much power on what cycle in what circumstances. Basically building a mental model to help me manage and understand.
That's the ticket. A tool for fun and to help predict what could be going on.
evm1024 is offline   Reply With Quote
Old 07-09-2018, 15:17   #9
Registered User

Join Date: Feb 2018
Posts: 1,126
Re: Modeling power usage on a boat

Quote:
Originally Posted by evm1024 View Post
That's the ticket. A tool for fun and to help predict what could be going on.
On a hopefully related tangent, a smart system that I would like to have would be one that could provide feedback data for performance under sail. Perhaps such systems exist for the racers, but one that might measure accelerations, heel, etc, allow data entry for sail position, load distribution. Basically a system to provide more granular feedback of the consequence of user inputs (to rudder, trims) with the goal of really finding the sweet spots for the given design, sails, and vessel loading, sea conditions, etc.

If this makes sense, something akin to the brains of a fly-by-wire system used in an aircraft, only in the boat the providing data to the helmsman to help supplement what his senses and experience is otherwise telling him.

Otherwise for the power app:
I can't imagine how to model, for example, the myriad possible solar factors and outcomes, from panel size and efficiency, orientation, orientation with respect to hemisphere, all of this vs infinite weather calculations, etc. The closest I ever came to your (OP) line of work was seeing some human factors research at NASA. They had multiple teams devising models, mad Monte Carlo runs for problems very simple in comparison to what you are proposing.

The problem with boats is that a backup power system costs the average boat owner less than it costs to buy a program to see when you will need a backup power system.
Singularity is offline   Reply With Quote
Old 07-09-2018, 15:19   #10
Moderator Emeritus
 
Paul Elliott's Avatar

Cruisers Forum Supporter

Join Date: Sep 2006
Posts: 4,663
Images: 4
Re: Modeling power usage on a boat

I did something (I suppose) similar with a fairly simple spreadsheet. I had my solar charging sources, my diesel burn-rate while charging and the amps delivered during alternator charging, Fuel tank capacity, all my loads and anticipated usage for each. The result was a daily Ah usage, and by varying the solar output (due to cloudy days, shading, etc) I would get the number of hours per day or week I would need to run my engine for charging. I had at-anchor and at-sea power drain configurations.

The spreadsheet did a pretty good job of modeling the actual real-world results I got. Will your program do something similar? I suppose a program might make it easier to play "what if" games than my spreadsheet...
__________________
Paul Elliott, S/V VALIS - Pacific Seacraft 44 #16 - Friday Harbor, WA
www.sailvalis.com
Paul Elliott is offline   Reply With Quote
Old 07-09-2018, 15:41   #11
Registered User

Join Date: Feb 2018
Posts: 1,126
Re: Modeling power usage on a boat

Quote:
Originally Posted by Paul Elliott View Post
I did something (I suppose) similar with a fairly simple spreadsheet. I had my solar charging sources, my diesel burn-rate while charging and the amps delivered during alternator charging, Fuel tank capacity, all my loads and anticipated usage for each. The result was a daily Ah usage, and by varying the solar output (due to cloudy days, shading, etc) I would get the number of hours per day or week I would need to run my engine for charging. I had at-anchor and at-sea power drain configurations.

The spreadsheet did a pretty good job of modeling the actual real-world results I got. Will your program do something similar? I suppose a program might make it easier to play "what if" games than my spreadsheet...
Consider checking out the Home Assistant page. DIY home automation freeware app. You can let your smart device continually monitor and log in real time (as often as you'd like) all your fluid and electron flows, capacities, production, etc. Run reports. Run protocols "turn on and record bilge light and camera whenever bilge pump is triggered" etc. Up to you and your imagination. Costs next to nothing.

https://www.home-assistant.io/cookbook/automation_for_rainy_days/
Singularity is offline   Reply With Quote
Old 07-09-2018, 15:55   #12
Moderator Emeritus
 
Paul Elliott's Avatar

Cruisers Forum Supporter

Join Date: Sep 2006
Posts: 4,663
Images: 4
Re: Modeling power usage on a boat

I find that as I get more familiar with my usage patterns, I'm less and less interested in fancy instrumentation. I've got some good boat-geek friends who have their boats totally wired for this stuff, and while I originally was leaning in that direction (I'm an engineer and like the geeky stuff), at this point I'm contemplating ripping out some of the monitoring gear I already have. It's fun to look at, but in practice I just don't need it.

I do enjoy seeing what other people are doing in this area though.
__________________
Paul Elliott, S/V VALIS - Pacific Seacraft 44 #16 - Friday Harbor, WA
www.sailvalis.com
Paul Elliott is offline   Reply With Quote
Old 08-09-2018, 02:45   #13
Registered User

Join Date: Apr 2007
Location: Australia
Boat: Island Packet 40
Posts: 6,463
Images: 7
Re: Modeling power usage on a boat

I can see some value in what you are doing and would like to suggest that if you are going to go to the trouble of writing code you do it in a language which would allow the modeling to be incorporated in a boat power monitoring and control system at a later date.

The boat I have now came with a battery monitoring system for two banks, house and cranking, a good battery charger, an MPPT solar controller and a smart regulator on the engines 12V DC charging system.

The battery monitoring system appears to work ok but does not log any data.

The battery charger is installed in the lazarette where I can't get at it and may or may not have a data logging function. Since it's hard to access I have not bothered to research it until I relocate it.

The smart regulator has no data logging function.

The MPPT solar regulator has no data logging function.

I could implement data logging for the various functions and use the data in a spread sheet but it's just too much mucking about to be used on a regular basis.

Modelling may have some value however if the modelling could be tied into a system which both modeled the DC system and logged data on the performance of the individual components of the DC generation, storage and load performances which it could then compare the modeled performance, and perhaps even manage warnings and load shedding, it would have real value to us cruisers.
RaymondR is offline   Reply With Quote
Old 08-09-2018, 09:27   #14
Registered User
 
akprb's Avatar

Join Date: Jan 2015
Location: Alaska
Boat: Boatless
Posts: 928
Re: Modeling power usage on a boat

I must be getting old.

First, I admire the shear brain power exhibited on this thread and thank every one of you who make stuff better and more efficient.

For me it’s like finances. Use less than I make. I probably should have modeled from time to time in the past but just not that bright.

Was more fun to be a electricity tyrant and now even those days are gone thanks to LEDs.

What I really liked about the original post was evm1024’s technique for getting out of the lab and onto some boats! Brilliant!
__________________
www.sailingohana.com

"Take it all in, it's as big as it seems, count all your blessings, remember your dreams" JB
akprb is offline   Reply With Quote
Old 08-09-2018, 10:03   #15
Registered User

Join Date: Feb 2018
Posts: 1,126
Re: Modeling power usage on a boat

Quote:
Originally Posted by RaymondR View Post
Modelling may have some value however if the modelling could be tied into a system which both modeled the DC system and logged data on the performance of the individual components of the DC generation, storage and load performances which it could then compare the modeled performance, and perhaps even manage warnings and load shedding, it would have real value to us cruisers.
If you get away from boat electronics and look at household system development you'l find more than you ever imagined. I'm not saying that anyone should want any of the data, rather that this technology is available for next to free (free software coupled with generic sensors (temp, pressure, volumes, flows, quantities, accelerations, direction, fire systems, cameras, tracking cameras)).

The boating community is only a fraction of a percent of the global community interested in these topics (modelling, efficiency, etc).
Singularity is offline   Reply With Quote
Reply

Tags
boat, model


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
Sailing boat antenna modeling & radiation patterns Goudurix Marine Electronics 26 31-07-2022 19:08
Water usage meter - usual tank guages won't work on my boat keithw88 Plumbing Systems and Fixtures 25 12-02-2018 18:02
Realistic Autopilot Power Usage on 45' Cat ? shipofools Multihull Sailboats 1 07-09-2010 06:43
Navi usage for Boat is not like the Car LIZNVINCENJ Navigation 6 31-05-2008 12:30
Excessive Shore Power Usage chuck711 Marine Electronics 12 27-07-2007 05:10

Advertise Here


All times are GMT -7. The time now is 07:53.


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.