Sr. Machine Learning Engineer, Energy Optimization
Job Description
Join Tesla’s Opticaster team to build and productionize applied machine learning that helps optimize how batteries are charged and discharged. You’ll work on time-series forecasting for load and solar, strengthen evaluation and monitoring for fleet reliability, and ship production-grade models that support Tesla’s energy products and grid stability.
What you’ll work on: Opticaster’s algorithms determine the best times to store and use energy by considering electricity prices, solar generation, and grid conditions. These optimizations power Tesla’s energy products, including Megapacks, Powerwalls, Virtual Power Plants, and microgrids. With a global fleet of over 500,000 residential systems, robust, production-grade machine learning is essential. Opticaster also contributes to grid stability through programs such as demand response, and integrates with Autobidder to participate in electricity markets.
Responsibilities
- Develop, improve, and productionize ML components in Opticaster, including time-series forecasting (for example, load and solar) and models that inform battery dispatch
- Apply ML and SI models to improve Opticaster’s energy decisions in production
- Implement model and algorithm changes in the Opticaster codebase with production-grade Python, tests, and support for safe rollout and coordination across firmware and releases
- Build and maintain evaluation pipelines including offline metrics, simulation, benchmarking, and regression detection to quantify impact and reduce the likelihood of regressions before release
- Diagnose field and simulation failures, separating model and data issues from interface or integration issues
- Improve observability for production ML through monitoring, alerting, and tooling that helps explain model behavior on the fleet
- Identify and address performance bottlenecks in ML pipelines, including CPU, memory, latency, and constrained on-device/runtime paths
- Partner with algorithm, software, firmware, and product engineers to integrate ML across Tesla’s residential energy ecosystem
Requirements
- Degree in Computer Science, Engineering, Statistics, or a related technical field (or equivalent experience)
- Strong Python proficiency and ability to contribute effectively in a large existing codebase
- Experience shipping applied machine learning into production systems, including training, evaluation, deployment, and ongoing operation, with time-series forecasting as a strong plus
- Experience owning production software from design through implementation, debugging, and operation, with emphasis on correctness, performance, and maintainability
- Experience validating model changes using offline metrics, simulation, or regression-style evaluation against real data
- Experience with cloud and data technologies such as AWS, Spark, Airflow/Argo (or equivalent orchestration), Docker/Kubernetes, and CI/CD
- Excellent communication skills and experience collaborating across algorithm, software, firmware, and product partners
- Rust experience is a plus
- Experience with energy systems, battery storage, or similar real-world control systems is a plus
Compensation
$140,000 - $312,000 per year salary + cash and stock awards + benefits. Pay may vary based on market location and individual factors including job-related knowledge, skills, and experience. Total compensation may also include other elements depending on the position offered.
Benefits
- Medical plans with multiple options and $0 payroll deduction
- Family-building, fertility, adoption, and surrogacy benefits
- Dental (including orthodontic coverage) and vision plans with options that have $0 paycheck contribution
- Company paid HSA contribution when enrolled in the High-Deductible medical plan with HSA
- Healthcare and Dependent Care Flexible Spending Accounts (FSA)
- 401(k) with employer match, Employee Stock Purchase Plans, and other financial benefits
- Company paid Basic Life and AD&D
- Short-term and long-term disability insurance (90 day waiting period)
- Employee Assistance Program
- Sick and Vacation time (Flex time for salary positions, accrued hours for hourly positions) and Paid Holidays
- Back-up childcare and parenting support resources
- Voluntary benefits including critical illness, hospital indemnity, accident insurance, theft & legal services, and pet insurance
- Weight Loss and Tobacco Cessation Programs
- Tesla Babies program
- Commuter benefits
- Employee discounts and perks program
- Earned Wage Access: real-time pay access paid daily, subject to eligibility and schedule (applicable for below Sr. Managers levels)
Location: Palo Alto, CA (onsite)
Technology stack: Python, AWS, Spark, Airflow/Argo, Docker, Kubernetes, CI/CD