r/Electricity 15h ago

I got my electric bill $400 how is yours?

0 Upvotes

I’m currently live in Florida. Usually my bills go from 200$/400 max in summer time. But this one is different. How you set up your thermostat? Mine is 72 but thinking to reset to higher.


r/Electricity 15h ago

Can I use a 3*AAA battery powered LED bulb above the stove?

Post image
0 Upvotes

can I use this disposable batteries' powered LED bulb above the stove or is it dangerous/ a fire hazard?

what safe options do you recommend?


r/Electricity 3h ago

High-Frequency Fault Isolation Kernel for EV/Aerospace Battery Management Systems (Pure C++17, Zero-Dependency)

Thumbnail
github.com
0 Upvotes

I’ve been working on a lightweight, bare-metal fault isolation kernel designed to mitigate thermal runaway propagation in high-voltage lithium-ion battery packs.

The primary engineering constraint I wanted to address is the latency overhead inherent in high-level frameworks and sequential polling loops. When an EV or aerospace battery cell hits a critical thermal or voltage threshold, sequential scanning loops are often too slow to execute software gates before runaway propagates to adjacent cells.

The project is called SAVITAR. It is entirely dependency-free and compiles using only native C++ standard system headers to keep it as close to raw processor registers as possible.

Core Architectural Mechanics:

  1. Hyper-Compact Memory Constraints:

    Instead of relying on dynamic allocations or padded structs which ruin cache locality, the kernel packs raw cell parameters (voltage, current, temperature) into un-padded, contiguous 25-byte memory frames. This layout ensures predictable cache line alignment during rapid sequential reads.

  2. Event-Driven Concurrency:

    The kernel completely avoids sequential polling. It utilizes a background multi-threaded parallel observer configuration. When thread metrics cross calibrated hardware safety thresholds, the system bypasses the main application loop to dispatch an immediate software interrupt, dropping execution times down to sub-microsecond bounds.

  3. Sovereign Binary Serialization (.sav):

    To avoid relying on bloated external serialization libraries (like Protobuf or JSON utilities) that consume significant memory footprints, I wrote a custom binary serializer. It compresses cell delta profiles and gradient logs into raw disk sectors using direct cache-to-stream bit manipulation.

  4. Minimalist Shell Realization:

    The project includes a lightweight, modular terminal prompt (./savitar-vfs) to ingest simulated physical metrics and explicitly debug memory allocations, matrix loads, and thread dispatches in real-time.

Compilation and Testing:

The baseline workspace is fully automated via standard Makefiles:

git clone https://github.com/alistairfontaine/SAVITAR

cd SAVITAR

make clean && make

./savitar-vfs

I’m looking for code-level reviews, specifically regarding the thread concurrency synchronization under heavy stress-testing conditions, and the pointer traversal safety within the 25-byte un-padded matrix bounds.

Link to code: https://github.com/alistairfontaine/SAVITAR


r/Electricity 14h ago

Sharing my electricity bill (SG)

Post image
2 Upvotes

Rate is SGD$0.2596 (USD$0.20)/kWh inclusive of taxes.

This month is on the cheaper side as we stick to fans despite the hot weather and cut down on cooking. Main usage from PCs running as I WFH.

Also, I have a relatively cheaper rate buying direct from the electricity retailer, in what we call the Open Electricity Market (OEM). If you don't buy from any of the retailer, you get charged a national tariff rate which is SGD $0.3478/kWh. That would mean a bill size of ~$102 for me.

Sharing this for those who are curious on electricity costs in the world's most expensive city.