Which PG&E rate plan works best for EV charging?

Simulated PG&E bills with and without EV charging

We recently got an electric vehicle and unsurprisingly our electricity usage has shot up - something like 125% so far. This is of course offset by not needing to buy gas, but the PG&E bill is starting to look eye watering.

PG&E offers an exciting and nearly impenetrable number of rate plans. Right now we're on E-TOU-C which PG&E says is the best choice for us. This is a time of use plan which makes a lot of sense - electricity is cheap off peak and expensive when it's in high demand. Running the dishwasher at the end of the day saves a few cents. Charging an EV at the right time is a big deal.

I decided to simulate our bill on each plan, with and without EV charging.

This turns out to be astonishingly complicated. There is probably a significant energy saving in having the billing systems sweat a bit less. It's not just peak vs. off peak, the rates are different for summer and winter. In some plans peak is a daily occurrence and in others it doesn't apply to weekends and holidays (raising the exciting sub investigation of what PG&E considers to be a holiday). Some plans have a daily use fee. Our plan has a discount for baseline usage, others do not.

That's all just for the conventional time of use plans. The EV plans introduce a 'part-peak' period so there are three different rates based on time of day. They also have different definitions of summer.

I had imagined a quick spreadsheet but this has turned into a python exercise. The notebook is included below. If you use this you'll need to estimate your average daily EV charging needs and also your baseline details. It uses a year of data downloaded from PG&E to run the simulation, so use the year before you started charging an EV. I think I've captured most of the details but I did take a shortcut with the baseline calculations - it uses calendar months instead of billing periods. PG&E billing periods range from 28-33 days, presumably because that will be cheaper in the long run.

It would be nice if PG&E had some kind of what-if modelling but I guess that's not in their best interests. Right now the web site says I should stick on E-TOU-C, which looks like a bad idea even based on the past year of usage. All of the plans are pretty close for me based on historical usage though. Adding an EV shows a huge difference. Off peak rates are a lot cheaper but in exchange the peak rates are much higher. I'll save a lot moving to the EV2 plan, which is what I've just done. It's not clear how you should choose between the different EV oriented plans without getting into this level of detail, but they are all better than the conventional time of use options if you have better things to do.

I evaluated the E-TOU-B, E-TOU-C and E-TOU-D time of use plans and the EV Rate A, EV Rate B, EV2 and E-ELEC plans for people with an EV or other qualifying electrical thing. The chart at the top of the post shows PG&E's estimates for the past year, my estimates and then my estimates with EV charging included.

Here's the code:

Add your comment...

Related Posts

(All Code Posts)

(Published to the Fediverse as: Which PG&E rate plan works best for EV charging? #code #pge #electricity #ev #python Simulating PG&E bills with and without EV charging across 7 rate plans to discover the cheapest option (Python). )

Autumnal Equinox 2024

Autumnal Equinox 2024 in Catfood Earth

The exact moment of Autumnal Equinox (12:44 UTC on September 22, 2024), rendered in Catfood Earth.

Add your comment...

Related Posts

(All Code Posts)

(Published to the Fediverse as: Autumnal Equinox 2024 #code #catfood #earth #equinox #autumnal Autumnal Equinox 2024 (12:44 UTC September 22, 2024) in Catfood Earth )

Hudson Yards

By Robert Ellison. Updated on Saturday, January 18, 2025.

West Side Storage Yard at Hudson Yards in New York

Google Pixel 8 Pro 2mm f2.0 1/3,817s ISO43

Photo of the Long Island Railroad storage facility in front of Hudson Yards in New York City (one end of the High Line park).

The photograph titled "Hudson Yards" captures a striking urban tableau, where towering skyscrapers reflect the burgeoning spirit of a vibrant metropolis. The focal point is an incoming train, its mirrored metallic façade hugging parallel tracks that lead the eye into the concrete canyon of New York City. Flanking the train are rows of parked railcars, their linear arrangements echoing the structured grid of the cityscape beyond. The skies above are adorned with playful clouds, whose serene presence contrasts with the structured intensity below. Light dances across reflective glass buildings, casting both brilliance and shade, creating an intricate mosaic of urban life.

This composition uses leading lines masterfully, with the train tracks guiding the viewer's eye directly toward the architectural marvels of Hudson Yards. The verticality of the skyscrapers is beautifully juxtaposed with the horizontal lines of the tracks, creating a sense of harmony and balance. The photograph employs symmetry, both in the alignment of the train and the framing of the skyline, offering a pleasing visual rhythm. The colors are crisp and vibrant, highlighting the modernity of the architecture against the natural beauty of the sky. While the photograph excels in its composition and energy, it could benefit from a slight brightening in the shadows to reveal more detail in the darker areas. This minor adjustment might enhance the depth and further illuminate the impressive convergence of rail and tower.

Add your comment...

Related Posts

(Recent Photos)

(Published to the Fediverse as: Hudson Yards #photo #newyork #hudsonyards #lirr #highline View of LIRR storage and Hudson Yards from the north end of the High Line in New York )

SFO EWR

By Robert Ellison. Updated on Saturday, January 18, 2025.

SFO EWR

Google Pixel 8 Pro 7mm f1.7 1/25s ISO667

AS384

The photograph titled "SFO EWR" captures the bustling nocturnal scene of an airport gate, with an Alaska Airlines airplane as the central focus. Bathed in the glow of artificial lights, the aircraft sits patiently at the gate, its sleek fuselage gleaming under the muted evening ambiance. Surrounding the plane are a symphony of ground vehicles, each performing its discrete task, hinting at the complex orchestration that occurs behind the scenes of air travel. The terminal building in the background, dotted with small, brilliant lights, adds depth to the composition while other aircraft are dimly visible, whispering tales of parallel journeys. The scene encapsulates the essence of a busy airport, where motion and stillness harmoniously coexist.

The composition of the photograph is thoughtfully balanced, with the airplane positioned slightly off-center, drawing the viewer’s eye naturally along its elongated frame to the terminal beyond. The use of leading lines, primarily from the plane’s wing and the jet bridge, guides the gaze toward the horizon of illuminated windows. The choice of a night setting amplifies the industriousness and serenity of such a bustling space, though the overall lighting could be perceived as too stark, occasionally sapping warmth from the scene. The contrast between light and shadow is delicately managed, though a bit more vibrancy could enhance the details. Overall, the photo succeeds in conveying the vitality and intricacy of airport operations, while inviting viewers to ponder the stories of travelers passing through.

Add your comment...

Related Posts

(Recent Photos)

(Published to the Fediverse as: SFO EWR #photo #flight #sfo #ewr #plane SFO EWR )

ITHCWY Newsletter for August 2024

Generated image of some random politicians with good hair.

Google has been sending me increasingly threatening emails about upgrading my Android apps and so August has been all about that. Helpfully Microsoft has also deprecated Xamarin (a tool I used to write software for Android) and so I also had to do a crash course in MAUI. Thank goodness for ChatGPT and GitHub Copilot. I also took this opportunity to figure out adaptive icons and generally update the look and feel of the apps.

Catfood Earth for Android has a new volcanoes layer and support for showing where you are on the satellite image.

Fortune Cookies for Android just works again, but that's not nothing.

I also made this timelapse of Fogust - San Francisco enveloped in fog - and this new to me hike in Pacifica has a nice hyperlapse (and some fog).

Previously:

Add your comment...

Related Posts

(All Etc Posts)

Catfood Earth for Android 4.40

By Robert Ellison. Updated on Sunday, September 29, 2024.

Catfood Earth for Android 4.40

Catfood Earth for Android 4.40 is now available on Google Play.

Earth has an updated look and feel and two new features.

The volcanoes layer has been ported over from the Windows version of Catfood Earth. When enabled this will show volcanoes that have recent activity (within the past week) using data from the Smithsonian Institution's Global Volcanism Program.

It's now possible to show your current location on the map. I'm not sure it's a replacement for Google Maps just yet but it does help you find where you are on the satellite image.

The release was prompted by Google requiring API level 34 support... completing this for Fortune Cookies was a nightmare but having learnt from that experience Earth made the jump to MAUI pretty smoothly.

If you already use Earth for Android you should get the new version shortly. If not, this is what Android live wallpaper was made for so give it a try!

Add your comment...

Related Posts

(All Code Posts)

Fortune Cookies for Android 1.50

Fortune Cookie Icon

Fortune Cookies for Android 1.50 is now available in the Google Play Store.

This update was driven by Google insisting that I target API level 34. Which is fair enough and I figured this would be a five minute task followed by a smooth release. I should have known better.

Of course the starting point is updating Visual Studio, updating the Android SDK, learning that my emulator won't launch any more and eventually coaxing it back to life. That's a couple of hours. Why this doesn't just happen when I'm doing other things I don't know, but for dev tools this has to be a ceremony.

Once all of that was done I learned that Xamarin was officially deprecated in May. I'm going to have to figure out MAUI.

There is a helpful migration page with this gob smacking advice:

"Once your dependencies are resolved and your code and resource files are added to your .NET native project, you should build your project. Any errors will guide you towards next steps."

I think they hired Yoda:

"Errors, they are. Guide you, they will, towards your next steps. Warnings, hmm, check them out you must... eventually. But information issues? Merely whispers they are, nudging you towards shiny new platform features, yes! Listen, you might, if time you have."

Anyway... the actual mechanics of getting this working in MAUI were not that bad. It could be that I need to reinstall my system with extreme prejudice but the platform itself seems to be very unstable. I constantly got Visual Studio and cryptic compile errors that went away on rebuild or a restart. Starting the android emulator has completely frozen my system several times requiring a hard reboot. I don't think I've had that experience since the Clinton administration.

Once it was finally working the Google Play Developer console wanted my "private" key, which I gave it; and to have a conversation about my tax situation in Cuba, which I'm ignoring for now.

As well as a brand new API target Fortune has a nifty new color scheme, a floating action button with a little fortune cookie on it, and will ask you nicely for permission to send notifications.

Add your comment...

Related Posts

(All Code Posts)

(Published to the Fediverse as: Fortune Cookies for Android 1.50 #code #fortune #software #cookie #catfood #xamarin #maui Catfood Fortune for Android is based on the UNIX command of the same name and will display a random and possibly no longer socially acceptable fortune from a less civilized era. )

Fogust

Fog over Twin Peaks in San Francisco

San Francisco gets a lot of fog in the summer. This brief time lapse, shot from Mount Tamalpais and the Marin Headlands shows just how much.

Add your comment...

Related Posts

(More Timelapses)

(Published to the Fediverse as: Fogust #timelapse #video #fog #sanfrancisco #karlthefog #fogust Time Lapse of San Francisco Fog in August (Fogust) )

Milagra Ridge

Milagra Ridge in Pacifica

Starting from this parking area makes for a brisk walk up to Milagra Ridge and then a nice loop at the top before returning by the same trail. Milagra Ridge used to be a Nike missile site (SF-51), still has some WWII remains (Battery #244) and a reservoir. I thought it looked like a nice enough day to brave Pacifica but by the time I'd loaded the dog and driven down the fog had swept in. Still a pleasant 3 mile hike.

Hike starts at: 37.643146, -122.488815. View in Google Earth.

Add your comment...

Related Posts

(Hike Map)

(Published to the Fediverse as: Milagra Ridge #hike #video #pacifica #sfdogwalk #hikevid #map A 3 mile loop hike at Milagra Ridge (GGNRA) in Pacifica, California )

ITHCWY Newsletter for July 2024

Federation

I have wanted a decentralized social network for a long time. Maybe this Fediverse thing is starting to get legs. Bluesky and Mastodon can now talk to each other via Bridgy Fed. Threads can post to Mastodon. ITHCWY has been on ActivityPub for a year now and it's become a significant source of traffic and comments. If you are on Mastodon or a federated service you can follow me at @[email protected]. I plan to get even more federated over the next year.

I waded foolishly into the debate around turning the Great Highway in San Francisco into a park, and found that the data doesn't support the fear of carnage in the Sunset when this road is closed. I also made a custom GPT to discuss the San Francisco budget with, and had to spend some time writing the missing manual to even know what to ask. Too late now, but here's a guide to the March ballot measures (watch this space for November) On a national level I got to update my NPVIC page now that Maine has joined.

Some photos... I knew that black bears could be brown, this one is very brown. Some humpback whales. The first commercially available glow-in-the-dark plant.

Milky Way timelapse from Canada. Partial Solar Eclipse from Inverness (CA).

Tunnel Mountain is a great hike in Banff (start from anywhere in town). Bolinas Point Loop is better if you're closer to Bolinas (which I mostly am).

Previously:

Add your comment...

Related Posts

(All Etc Posts)