Battery Pack Modeling using Battery Builder AppPack Modeling(5/5) Exploring the Custom Battery Pack Block

25 views (last 30 days)
I have been trying to submit this particular task : "You will use the Data Inspector to observe the voltage of each cell in the battery pack.
TASKRight-click the batteryVoltage port of the Battery Pack and select Log Selected Signals to observe the cell voltage.
Change the Stop Time in the Simulate section to 200. Go to the Simulation tab and click Run to simulate the model.
In the Review Results section, click Data Inspector. The Simulation Data Inspector window pops up. In the Inspect Pane, click NewPack:3 (8). A dialog box Multidimensional Signal appears. Select Convert to channels (8). Select NewPack:3(1) and NewPack:3(8).
Did you observe that both the voltages are same?"
I am able to see that the voltages are the same, but when I submit the simulation again runs and the data inspector shows other signals that are not selected as well, so when the matlab platform runs the check it delivers that the task is not done. I have attached some screenshots for reference. how do I complete this task.
when the matlab runs again this is the result: even the unselected signals shows up in the chart. are there any settings I could try ?

Answers (1)

Satyam
Satyam on 17 Oct 2025 at 11:34
It seems the issue occurs because the Simulation Data Inspector (SDI) automatically loads all logged signals when the model is re-simulated during task validation. You can try a few troubleshooting steps to solve your issue:
Confirm Signal Logging:
  • Right-click on the batteryVoltage port and Log Selected Signals.
  • Ensure logging is active (a signal badge appears).
Convert and Select Channels:
  • In the SDI, expand NewPack:3, select Convert to channels (8).
  • Check only NewPack:3(1) and NewPack:3(8) for plotting.
Clear Previous Runs:
  • Before submitting, open SDI, click the trash icon under Archive to delete or hide older runs.
  • This ensures that only the latest run with the correct signals appears during automated check.
Save Session and Run Validation:
  • After confirming only the required signals are shown, save the SDI session and run the submission again.

Categories

Find more on Battery Pack Modeling in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!