[](Click the link to view in Matlab website) or
Curriculum Module
Created with R2026a. Compatible with R2026a and later releases.
This repository contains MATLAB Live Script lectures for modern power conversion systems used in electric vehicle charging, photovoltaic generation, and wind energy conversion. These topics are central to today's energy industry because electrified transportation, distributed solar generation, grid-connected storage, and converter-dominated power systems all depend on efficient power electronics and reliable digital control.
The lectures use MATLAB Live Scripts with Simulink and Simscape Electrical models. Each lesson combines conceptual explanation, circuit diagrams, interactive parameter changes, simulation results, and short exercises.
- Lecture Navigation
- Suggested Order
- Required Products
- Recommended MathWorks Onramps
- Documentation References
- Video References
- How to Use This Repository
Use the
link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.
Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double-click on EV_and_Renewable_Energy_Technologies.prj. It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.
Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add-On Explorer. To install an add-on, go to the Home tab and select
Add-Ons > Get Add-Ons.
Start with the charger lectures if your focus is EV infrastructure, or start with the PV and wind lectures if your focus is renewable generation and grid integration.
| Lecture | Link | Primary system | Main concepts |
|---|---|---|---|
| Off-board charger for electric vehicles | Open lecture | High-power external EV charger | AC grid input, DC link, DC-DC conversion, CC/CV battery charging, SOC, PLL, SOGI, inverter and DC bus control |
| Isolated off-board charger for electric vehicles | Open lecture | Isolated high-power EV charger | Isolation stage, transformer-based power transfer, converter comparison, charging current and voltage control |
| On-board charger for electric vehicles | Open lecture | Vehicle-integrated grid charger | OBC constraints, unity power factor, CC/CV charging, LLC conversion, SOGI-based single-phase control |
| PMSG wind power system | Open lecture | Type 4 wind turbine with full power converter | PMSG generator, turbine power and torque, generator speed control, DC bus control, active and reactive power control |
| Single-phase photovoltaic system | Open lecture | Grid-connected single-phase PV | PV curves, MPPT, boost converter control, pulsating power, second-order harmonics, single-phase inverter control |
| Three-phase photovoltaic system | Open lecture | Grid-connected three-phase PV | MPPT, three-phase inverter, grid synchronization, active power transfer, duty-cycle generation, switching frequency |
The Simulink models in this repository require the following core MathWorks products.
| Product | Why it is needed |
|---|---|
| MATLAB | Live Script execution, plotting, image display, helper functions, and interactive calculations |
| Simulink | Block-diagram simulation for charger, PV, and wind-system models |
| Simscape | Physical network modeling foundation for electrical and electromechanical systems |
| Simscape Electrical | Power electronics, electrical machines, batteries, converters, inverters, sensors, and grid-interface blocks |
Optional but useful for deeper study:
- Control System Toolbox for controller analysis and tuning concepts.
- Simscape Battery for expanded battery-pack and battery-management workflows.
- Motor Control Blockset for deeper motor and generator control workflows.
- Simulink Control Design for linearization and closed-loop controller design.
These self-paced courses prepare learners for the tools and concepts used across the lecture sequence.
| Preparation area | Recommended course | Link |
|---|---|---|
| MATLAB basics and Live Editor workflows | MATLAB Onramp | Open course |
| Block diagrams and simulation | Simulink Onramp | Open course |
| Physical modeling | Simscape Onramp | Open course |
| Electrical circuit modeling | Circuit Simulation Onramp | Open course |
| Power converter simulation | Power Electronics Simulation Onramp | Open course |
| Three-phase systems, microgrids, and MPPT context | Power Systems Simulation Onramp | Open course |
| Battery charging and battery-management context | Simscape Battery Onramp | Open course |
| Feedback control and PID tuning | Control Design Onramp with Simulink | Open course |
| State-machine logic for extended controller workflows | Stateflow Onramp | Open course |
| Machine and inverter control background for the wind lecture | Motor Modeling with Simscape Electrical | Open course |
Use these MathWorks documentation pages when you want to connect the lecture models to product examples, block documentation, and modeling guidance.
- Get Started with Simscape Electrical
- Simscape Electrical Documentation
- Simscape Electrical Examples
- Essential Electrical Modeling Techniques
- Choose Blocks to Model Power Electronic Converters
- Simulating an Electronic, Mechatronic, or Electrical Power System
- Renewable Energy Examples
- Solar PV System with MPPT Using Boost Converter
- Three-Phase Grid-Connected Solar Photovoltaic System
- Control Three-Phase Solar Inverter
- Solar PV Controller (Three-Phase)
- PMSM Block Reference
These videos and video series are useful next steps after the lectures.
- Modeling Power Electronics-Based Systems with Simscape Electrical
- Developing Solar Inverter Control with Simulink
- Optimizing Solar Array Performance Using MPPT
- Power Systems Studies with Simulink and Simscape Electrical
- Simulate Renewable Energy Systems from Months to Microseconds
- Electric Vehicle Modeling: Powertrain, Battery, and Thermal Systems
- Developing Electrical Systems with Simscape Electrical
- Introduction to Electrical System Modeling
When adapting the lectures for a course, keep the entry point, learner scripts, models, images, and utilities in their current top-level folders. That organization makes links predictable and keeps the Live Scripts focused on guided exploration instead of path management.