```html Renewable Energy & BESS Microgrid Virtual Lab
⌂ Home

Renewable Energy & Battery Energy Storage Microgrid

Virtual Laboratory Simulation — Study of renewable energy sources and battery energy storage in a microgrid through simulation
Electrical Engineering Department · Government Polytechnic Junagadh
1. Aim of the Experiment
Aim: To study the operation of renewable energy sources and Battery Energy Storage System (BESS) in a grid-connected microgrid using a time-domain simulation.

The virtual laboratory models photovoltaic generation, wind generation, electrical load, a bidirectional battery converter and utility-grid interaction.

The battery charges when renewable generation exceeds demand and discharges when renewable generation is insufficient.

PV Generation Wind Generation BESS Load Management Grid Exchange
2. Simulation Parameters
Ready
3. Microgrid Single-Line / Energy Flow Diagram
PV Solar Plant Renewable DC → AC Wind Energy System Variable renewable generation AC MICROGRID BUS Common coupling point BESS + Bidirectional Converter Charge ↔ Discharge Electrical Load Residential / Industrial demand Utility Grid PCC / EMS PV 0 kW Wind 0 kW BESS 0 kW Load 0 kW Grid 0 kW Solar Wind BESS Load / Import Export / Charge
4. Real-Time Operating Parameters
SOLAR OUTPUT
0.0
kW
WIND OUTPUT
0.0
kW
LOAD DEMAND
0.0
kW
BESS POWER
0.0
kW (+ discharge / − charge)
BATTERY SOC
50.0
%
GRID EXCHANGE
0.0
kW (+ import / − export)
Battery State of Charge
SOC is limited to 10–100% to protect the simulated battery.
5. Simulation Graphs
Power Profile
Solar Wind Load BESS
Battery State of Charge
SOC
Grid Import / Export
Grid exchange
Energy Balance
Renewable energy Load energy
6. Mathematical Model & Calculations

6.1 Renewable Power

P PV = P PV , rated × f solar
P wind = P wind , rated × f wind

where f represents the normalized renewable generation profile, 0 ≤ f ≤ 1.

6.2 Net Power

P net = P PV + P wind P load
Net power = 0.0 kW

6.3 Battery SOC Equation

SOC t + 1 = SOC t P BESS Δ t E BESS × 100

Positive battery power represents discharge. Negative battery power represents charging.

6.4 Power Balance

P grid = P load + P BESS P PV P wind
Power balance = 0.0 kW
7. Live Calculation Panel

Instantaneous Power Calculation

P net = 0 + 0 0
Pnet = 0 kW

Battery Energy Calculation

ΔE = P BESS × Δt
Battery energy change = 0.00 kWh
8. Simulation Data Table
Time (h) Solar (kW) Wind (kW) Load (kW) BESS (kW) SOC (%) Grid (kW)
9. Energy Summary
SOLAR ENERGY
0.0
kWh
WIND ENERGY
0.0
kWh
LOAD ENERGY
0.0
kWh
BATTERY CHARGE
0.0
kWh
BATTERY DISCHARGE
0.0
kWh
GRID IMPORT
0.0
kWh
10. Virtual Laboratory Procedure
  1. Enter the rated capacity of the solar PV system and wind energy system.
  2. Enter the peak electrical load and BESS capacity.
  3. Set the maximum battery converter power and initial SOC.
  4. Click Start to run the 24-hour microgrid simulation.
  5. Observe the animated renewable-energy flow toward the AC microgrid bus.
  6. Observe BESS charging during renewable-energy surplus.
  7. Observe BESS discharging during renewable-energy deficit.
  8. Observe utility-grid import and export.
  9. Observe the battery SOC and power curves.
  10. Use Step +1 h for point-by-point study.
11. Expected Observations
12. Conclusion
The simulation demonstrates the coordinated operation of renewable energy sources, battery energy storage and utility-grid support in a microgrid. The animated single-line diagram provides a visual representation of instantaneous power transfer between PV, wind, BESS, load and the utility grid. The BESS improves renewable-energy utilization by storing surplus generation and supplying energy when renewable generation is inadequate.

Go to alterenate version

```