Effacer les filtres
Effacer les filtres

how to write this equation in matlab

2 vues (au cours des 30 derniers jours)
Hossam Mosbah
Hossam Mosbah le 15 Mar 2021
Modifié(e) : darova le 15 Mar 2021
I am trying to write this equation in matlab, so this is what I wrote, but it is always give me the minimim range
prob.Constraints.energyStorage(1) = ESS_SOC(1) == 10;
prob.Constraints.energyStorage(2:T) = ESS_SOC(2:T) == ESS_SOC(1:T-1) + (0.85/M)* ESS_ch(1:T-1) - (M/0.80)*ESS_disch(1:T-1);
prob.Constraints.soc = ESS_SOC >= ESS_SOC_min ;
prob.Constraints.soc1 = ESS_SOC <= ESS_SOC_max ;
the state of charge awalys at the min value which is 0.2 or 20%

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by