The problem with Electrical reporting "offline" while there is no power...

Mr. Fusion 3 years ago updated by Tyler Owen (Lead Developer) 2 years ago 1

The problem with reporting "offline" while there is no power input but the unit is otherwise functional and thus not needing actual attention is that it's the same reported status as when it is not turned on or is in fact broken and not operational, and thus does need attention.

It was very confusing when I saw that Electrical was "offline" since I was pretty sure I did turn it on and repaired any low component states. Going out again and rechecking, I still didn't find any reason why it would be not operational as reported.

Uniform and more descriptive states would work better, with seperated "state words" representing the three condition category: functionality, power supply, production state.

Functionality: "Offline" (red) when not turned on or inoperative due to broken components that need repairs. "Online" (green) when turned on and does not need immediate repairs. Does not depend on input resource of power availability, strictly on if the unit is functional or not. When offline for any reason, the other two state strings are irrelevant and thus not displayed. In "Online" state the "Online" state word may be omitted as the presence of the other two implies that the unit is functional but may be in a non-producing state, but still may be preferrable to explicitly display online state nonetheless.

Power supply: "Local Power" (green) when local power generation (panels or RTG) is currently supplying full 100% (or more) power. "Reserve Power" (yellow) when local power doesn't fully cover the power requirement and the missing amount is drawn from the reserve battery. "Power Loss" when no local power nor reserves are available, thus the unit does not drain nor generate resources (but technically still online and capable of functioning). If power supply is "Power Loss", then the third status word may be omitted since it is implied that without power the unit cannot produce, but still may be preferrable to explicitly display production state nonetheless.

Production state: "Producing" (green) when input requirements (power or water) are met and output (oxygen, water, reserve battery charge) is being generated. "Not producing" (red) when input requirements are not met, with specifying what is missing, eg. "Not Charging - No Power Input" or "Not producing - No Water Input". For the electrical system, "Not Charging" should be reported only when power input is 0%, for anything higher it should charge, only at lower rate (already implemented).

For example, a functional Electrical system at night would report:

"(Online, )Power Loss(, Not Charging - No Power Input)" (green, red, red)

A functional Water Reclaimer at night:

"(Online, )Reserve Power, Producing" (green, yellow, green)

A functional Reoxygenator with no water available at day:

"(Online, )Local Power, Not Producing - No Water Input" (green, green, red)


This topic is a bit old, so I'm not sure how much of it still applies, but I'll be looking at the hab status screen soon and a new topic can be created at that time to address if any of these criticisms are still valid.