0% found this document useful (0 votes)
48 views1 page

Microgrid Algorithm

The document describes an algorithm for managing solar power generation, battery charging and discharging, and diesel generator use over time steps. It first checks if solar power exceeds load and whether battery charging power is above the maximum limit. If so, it increases battery state of charge by charging with excess solar. Otherwise it calculates the load deficit and uses the diesel generator to meet any remaining load.

Uploaded by

Arun Joshy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views1 page

Microgrid Algorithm

The document describes an algorithm for managing solar power generation, battery charging and discharging, and diesel generator use over time steps. It first checks if solar power exceeds load and whether battery charging power is above the maximum limit. If so, it increases battery state of charge by charging with excess solar. Otherwise it calculates the load deficit and uses the diesel generator to meet any remaining load.

Uploaded by

Arun Joshy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Solar

Time Load at
generation
step T1 T1
at T1

Is
Is Charging Excess solar used Yes No Calculate Deficit,
Is Solar > Discharging
power > for charging the which is difference
Load power >
max. limit? batteries in Load and Solar
max. limit?

Increase the Battery Charge Decrease Battery Charge (SOC) Limit


Limit charging Calculate Battery
(SOC) till the max. battery till the battery completely discharging
power to Discharge power
capacity discharged power to
max. power = SOC(T0) – SOC(T1)
SOC(T1) = SOC(T0) + ch.pow SOC(T1) = SOC(T0) - disch. Pow. max. power

Calculate Deficit in Load


Calculate Fuel Consumed Calculate Fuel Consumed
= Load – Solar supply – Battery supply
= Load in DG * 1hr / (Fuel = Load in DG * 1hr / (Fuel
The deficit in load is supplied
consumption rate) consumption rate)
by Diesel Generator
SOC = State of Charge

You might also like