Clear Filters
Clear Filters

location information is protected

17 views (last 30 days)
Smitanjali Rout
Smitanjali Rout on 16 Sep 2023
Answered: Dhruv on 20 Sep 2023
Warning:At time 0.000000e+00, one or more assertions are triggered. State of charge must be greater than or equal to zero. The assertion comes from:
Block path: hope17/Subsystem2/Subsystem/B1/Battery (Table-Based)
Assert location:
o (location information is protected)
How to resolve this error?

Answers (1)

Dhruv
Dhruv on 20 Sep 2023
The error message provided indicates that there is an assertion error related to the State of Charge (SOC) of a battery in the simulation.
The assertion error is triggered because the State of Charge must be greater than or equal to zero, but at time 0.000000e+00, it appears that the SOC value is not meeting this requirement.
To resolve this error, follow these steps:
  • Review and Adjust Model Inputs: The error is likely due to the model struggling to reconcile conflicting initial conditions. Ensure that the initial conditions are consistent and do not conflict with each other.
  • Standardize Signal Units: Verify that the signal units used throughout the model are uniform. Inconsistent units can lead to calculation errors and model instability.
Hopefully, by implementing these steps, you should be able to resolve the issue!

Categories

Find more on System on Chip (SoC) in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!