Week 8 Challenge
The top level view of the model is shown below. The power request is taken as the input termed as PUC here.

The subsystem consists of current calculation and SOC estimation sub-models.

UC_Current(I) is calculated using the formula and model is desgined
where,
SOC = State of charge
V_max = Maximum Voltage
R = Resistance
PUC =Power from ultra-capacitor

Output voltage is calculated as per the formula and model is designed

Open circuit voltage is calculated as per the formula and model is designed

Charge_Q is calculated as per the formula and model is designed
where,
C = Capacitance

SOC is calculated as per the formula and model is designed
where,
n = efficiency

Results : The simulation is for 598 seconds
The output voltage obtained

Open circuit voltage

SOC

UC_Current

Note : Model and .mat file is zipped and attached.