I love your comment. I'm guessing that it'd be very difficult to clone Excel's relatively-new dynamic-array-formula functionality (with comparable performance).
Its outage shows me how much I now rely on ChatGPT during novel programming. I've been smashing that refresh button like a lab rat with a pellet lever.
"Thermal fleet" ...I like that term.
I think Jigar was referring specifically to behind-the-meter flexible-load control.
Yes, pre-heating (and pre-cooling) turns the building and the hot-water tank into thermal energy storage (with no occupant impact, if done right).
I hear you. Wrapping stuff in less-quirky functions... is a slippery slope to building a framework with a new object model (on top of the current object model). With that said, I love the hell out of VBA.
There are quirks in JavaScript too right? When I hit a VBA quirk, I write a rectifying function around that quirky functionality. I use the custom function going forward, and never deal with that quirk again. I agree that there are a lot of quirks, and the Excel object model is byzantine. Relying on vanilla VBA / object model isn't a good idea. But, with some investment, one can be very effective in VBA. The syntax is simple / clean.
VBA is a lovely language, that supports object-oriented programming (with composition... no inheritance). It has deep access to and control of Excel. It's mature and stable (Microsoft is no longer significantly changing it). "Real programmers" hate on it largely because of all the amateur spaghetti VBA code written by the business people (that the programmers are occasionally asked to debug).
There are now "power control systems" (software) that can dynamically turn on / off "flexible loads" to keep the total electrical current under a specified maximum. ... Without negatively impacting occupants. "Smart panel" examples: Span, Lumin, Savant.
Could one use case be: Precisely identifying framing members (studs, rafters) behind stucco, thick lath & plaster, and roof shingles? That would be super valuable for construction work.