Filter löschen
Filter löschen

I am trying to simulate a battery discharge test in which I am trying to control a relay switch that's connecting battery to the load using Flow chart

1 Ansicht (letzte 30 Tage)
Error in port widths or dimensions. 'Output Port 1' of 'cell_unit_discharge/Chart/temp' is a one dimensional vector with 1 elements.
Besides this error I am also recieving an error stating that the solver is in loop. when the flow chart conditions I am putting.
I am Using Flow Chart to make a conditional Case operation

Akzeptierte Antwort

Mitch Lautigar
Mitch Lautigar am 5 Mai 2022
  • Error 1: "Error in port widths or dimensions. 'Output Port 1' of 'cell_unit_discharge/Chart/temp' is a one dimensional vector with 1 elements" This error is happening because MATLAB is not sure how to handle the data it is receiving from port 1. Check your settings to make sure transmission of data is smooth, and if nothing else, plot the incoming data to verify transmission.
  • Error 2: "Besides this error I am also recieving an error stating that the solver is in loop. when the flow chart conditions I am putting." MATLAB prefers to have the data BEFORE running through any loops. This is a safeguard MATLAB has to avoid memory being overwritten.

Weitere Antworten (0)

Kategorien

Mehr zu Power and Energy Systems finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by