Help in programming

2 vues (au cours des 30 derniers jours)
Nuno
Nuno le 13 Juil 2011
I have a programming problem... I implement a model and in this model i read the SOC value to off the battery's charger when SOC>0,9... When SOC<0,9 the battery's charge. The problem is when this appened, the simulation slows because fluctuate between 0.89 and 0.91... how do I get after being greater than 0.9 only charger again when SOC=0.85 for exemple?

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 13 Juil 2011
This is typical when you have this bang-bang like control. You can use the Relay block to implement a upper and lower limit.

Plus de réponses (0)

Catégories

En savoir plus sur Instrument Control Toolbox Supported Hardware dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by