OHM ReFuel MFD

OrbitHangar

Addon Comments
Joined
Apr 9, 2008
Messages
3,832
Reaction score
13
Points
0

Author: rstarkov

ReFuel MFD enables you to transfer fuel between docked vessels or between the tanks of the vessel you're piloting. Venting fuel overboard is also possible, even if frowned upon by the environmentalists.

The pump (represented as a crossed circle) can operate in both directions at four speeds. It has two valves, referred to as "top" and "bottom" for simplicity. The top valve may be connected to any fuel tank on your vessel. The bottom valve may additionally be connected to a docked vessel's tank or the fuel vent.

A safety mechanism automatically stops the pump if the source tank is empty, destination is full or one of the valves is disconnected. A diagnostic message is always displayed in such cases, allowing the operator to correct the fault with minimal distraction and workload.

- tested on Orbiter 2006 P1 (060929) and Orbiter 2010 (100606)
- source code at http://bitbucket.org/rstarkov/refuelmfd/
- inspired by tjohns' Fuel MFD!

v003:
  • linked statically against the CRT - really this time.


DOWNLOAD
 

N_Molson

Addon Developer
Addon Developer
Donator
Joined
Mar 5, 2010
Messages
9,290
Reaction score
3,258
Points
203
Location
Toulouse
Thank you very much !! I was waiting for it ! :thumbup:

Edit : seems there is a problem with MSVCR100.dll when I activate the module in orbiter (the process entry point _invalid_parameter_noinfo_noreturn can't be found in MSVCR100.dll)

Edit2 : it works perfectly after installing vc++redist2010
 
Last edited:

20 Litre

Donator
Donator
Joined
Mar 9, 2010
Messages
83
Reaction score
0
Points
0
Location
Wuppertal
Last edited:

garyw

O-F Administrator
Administrator
Moderator
Addon Developer
Tutorial Publisher
Joined
May 14, 2008
Messages
10,485
Reaction score
209
Points
138
Location
Kent
Website
blog.gdwnet.com
Thanks for this. I've had issues with previous fuel MFD's so hopefully this one will answer all my fuel transfer prayers :lol:
 

rstarkov

Addon Developer
Addon Developer
Joined
Feb 15, 2010
Messages
26
Reaction score
1
Points
0
Location
Cambridge, UK
Install vcredist2010 from microsoft and reboot (simply copy the dll files will not work).

Oh beep... v002 is now statically linked so this should no longer be necessary.

Thanks for this. I've had issues with previous fuel MFD's so hopefully this one will answer all my fuel transfer prayers :lol:

I hope it does :)

Requests and ideas are welcome, though I'd like to keep this addon simple.
 

garyw

O-F Administrator
Administrator
Moderator
Addon Developer
Tutorial Publisher
Joined
May 14, 2008
Messages
10,485
Reaction score
209
Points
138
Location
Kent
Website
blog.gdwnet.com
I'm at work at the moment so haven't looked at the MFD yet but I have a question and a request already!

I assume that the fuel vent option allows for a fuel dump facility?

And

Would it be possible to add an option to transfer x pounds from source to destination tanks? In some cases it might be useful to leave some fuel in one tank rather than transfer it all.

Thanks!
 

rstarkov

Addon Developer
Addon Developer
Joined
Feb 15, 2010
Messages
26
Reaction score
1
Points
0
Location
Cambridge, UK
I assume that the fuel vent option allows for a fuel dump facility?

Yes. I realise it's a bit of a specialist term, so whenever vent is active the MFD displays a caution, whose main purpose is to mention that "vent" means "dump fuel overboard".

Would it be possible to add an option to transfer x pounds from source to destination tanks? In some cases it might be useful to leave some fuel in one tank rather than transfer it all.

Currently ReFuel MFD works similarly to Fuel MFD in this respect - you choose the rate at which fuel is pumped, and stop it when you've pumped enough. If you overdo it you can easily reverse the pump and transfer some fuel back.

So it's already possible to leave some fuel in one tank rather than transfer it all.

I like the idea though, and I've recorded it on BitBucket (http://bitbucket.org/rstarkov/refuelmfd/issue/1). I encourage others to do the same and comment on specific proposals there :)
 

TJohns

Addon Developer
Addon Developer
Joined
Apr 4, 2008
Messages
69
Reaction score
0
Points
6
Where have I seen that before???

...- inspired by tjohns' Fuel MFD!...
I thought that screen shot looked very familiar!

Well done!! :thumbup: I take it my code wasn't TOO difficult to work with.

Trevor Johns (tjohns)
 

computerex

Addon Developer
Addon Developer
Joined
Oct 16, 2007
Messages
1,282
Reaction score
17
Points
0
Location
Florida
Well done!! :thumbup: I take it my code wasn't TOO difficult to work with.
Trevor Johns (tjohns)

Check out rstarkov's code on bitbucket (linked on the description on OH), you will be impressed ;)
 

rstarkov

Addon Developer
Addon Developer
Joined
Feb 15, 2010
Messages
26
Reaction score
1
Points
0
Location
Cambridge, UK
Well done!! :thumbup: I take it my code wasn't TOO difficult to work with.

It wasn't, once I found where to download MFDlib from :) But I never got round to hooking up OrbiterSound.

I ended up starting from scratch though, partly because I already had an MFD template with things set up the way I liked them; and partly because I wanted ReFuel to be licensed under BSD and there was no license info in Fuel MFD :)

The three fuel gauge colors and the % limits at which they are used are exactly the same as Fuel MFD because I think your choice was perfect!

P.S. Added you to Contributors - how could I forget this... hasty copy & pasting to blame...
 

rstarkov

Addon Developer
Addon Developer
Joined
Feb 15, 2010
Messages
26
Reaction score
1
Points
0
Location
Cambridge, UK
Hmm... indeed, the Dependency Walker is still showing msvcr100 as a dependency. Sorry about the screw-up, Mindblast, and thanks for reporting it :)

If you still haven't installed vcredist2010, please try this v003 release candidate. If it works now, or if you can no longer test this, this zip will become the v003 release.
 

Jarod

Member
Joined
Dec 13, 2011
Messages
169
Reaction score
0
Points
16
Thank you, that's perfect, no more magical unlimited fuel when I'm docking to ISS. A must have for managing fuel seriously.
 
Top