


On Demand Fuel Cells (ODFC)
adopted with express permission and brought to you by KerbSimpleCo

Preamble by Orum
On Demand Fuel Cells (ODFC) is a plugin to simulate fuel cells in Kerbal Space Program (KSP), and do a better job of it than stock's use of a resource converter. The main difference is it only generates electricity when it's really needed (batteries almost empty), and otherwise lets electricity of a craft float up and down, as it might in a solar powered vehicle when the sun is eclipsed by another celestial body. It also allows fuel cells to generate byproducts, aimed at supporting life support mods like TACLS.
The plugin requires a set of Module Manager patches to function, as it does not do anything unless integrated into a part. There are two different sets of patches available on CKAN or SpaceDock. One set that copies the fuel cells from Stock, Universal Storage 2, Jatwaa Demolitions Co, and Solid Fuel Cells (soon more) and replaces the stock modules with ODFC with three modes (four if Community Resource Pack is installed correctly) of operation. Also adds a 0.5 EC/s multimode fuel cell to all stock command pods (easily disabled since in separate patch) Another set that modifies the same set of parts instead of copying them.
Features
- adjustable fuel cell use - much more than just On/Off operation
- multiple fuel modes (serial usage - one mode at a time)
- variable activation threshold
- configurable to produce byproducts (so O+H2 = EC + H2O)
- very small memory footprint
- Brown and Black out protection assistance
- PAW (Part Action Window / Right Click Menu) grouping with auto collapse, click the down arrow to drop the ODFC control panel down (KSP 1.7.1).
- Two new features from the game settings:
- Stall: fuel cell stops working if vessel total electric charge falls to close to zero (0f) and will not start until there is more electric charge. Fuel cells require EC to work.
- autoSwitch: automatically switched fuel mode looking for fuel if the current mode becomes fuel deprived.
- more features coming soon
See More
![Hero Image][IMG:hero:0]
Help Wanted
- Compatibility patches
- Contracts for these glorious parts
- Marketing Images and Videos such as hero shots, animated gifs, short highlight
- Have a request? Glad to have them, kindly submit through GitHub.
Localization
English
- your translation here
HELP WANTED - See the README in the Localization folder or the Quickstart Guide for instructions for adding or improving translations. GitHub push is the best way to contribute. Additions and corrections welcome!
Installation Directions 1
Use CurseForge/OverWolf App (currently does not install dependencies)

Whilst I agree CKAN is a great mod for those that can't use zip tools. I take no part, nor am I interested in maintaining the CKAN mod metadata for my mods. Please don't ask me about it but refer to the CKAN mod thread if you are having issues with CKAN or the metadata it maintains. Beware, CKAN can really mess up though it tries very, very, very hard not to.
or 
Dependencies
Supports
Suggests (These mods have Fuel Cells)
Does not work with parts from (because they use own generation MODULES)
- Kethane
- USI
- @Angel-125's mods (Buffalo, Pathfinder, et al)
CONFLICTS
- [ODFC-Refueled-CopyPatches][ODFC-C]
- [ODFC-Refueled-ModifyPatches][ODFC-M]
REPLACES
Tags
plugin, config, flags, agency, control, convenience, sound, resources
red box below is a link to forum post on how to get support

Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date
Credits and Special Thanks
Known Issue Tracker
- [NEW][BUG 1.1.2.1a] AmpYear doesn't seem to recognize ODFC
- [BUG 1.1.2.0a] TweakScale will not scale module ODFC
- [BUG 1.1.2.0b] Kerbalism doesn't recognize ODFC, ODFC still functions correctly
- [BUG 0.0.1.9a] B9 doesn't work on ODFC enabled parts
- [BUG 0.0.1.9b] next fuel mode should not be visible when only one mode
- [BUG 0.0.1.6a] BackgroundProcessing or Background Resources mods don't see ODFC, so ODFC doesn't work when doesn't have focus. Should not have both BackgroundProcessing and BackgroundResources installed.
- any mod that requires to use onLoad() instead of onStart() to update a part
Legal Mumbo Jumbo (License provenance)
Forum: Thread - Source: GitHub
License:

Disclaimer(s)
All bundled mods are distributed under their own licenses
All art assets (textures, models, animations, sounds) are distributed under their own licenses
see Notices.md for more legal mumbo jumbo
Forum: Thread - Download: CurseForge - Source: GitHub
License:

Original (1) - Author: ['Orum][orum1]
Forum: Thread - Download: SpaceDock - Source: Dropbox
License:

Original (0) - Author: Orum
Forum: Thread - Download: Dropbox - Source: Dropbox
License:

How to support this and other great mods by zer0Kerbal

https://img.shields.io/badge/License-GPLv3-A42E2B?style=plastic&labelColor=white&logoColor=A42E2B&logo=gnu "GPLv3"
Connect with me
Track progress: issues here and projects here along with The Short List









-
this isn't a mod. ;P↩︎
-
may work on other versions (YMMV)↩︎
-
Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date!↩︎