- Replace the Battery block with the DC Voltage Source block from the Simulink Simscape > Electrical > Sources library.
- Set the voltage of the DC Voltage Source to match the expected battery voltage (e.g., 9V for the Fuzz Face circuit).
- Re-run the simulation.
Simulink Initial Conditions error
6 views (last 30 days)
Show older comments
I am really inexperienced with Simulink and am trying to simulate a very famous guitar pedal circuit from the 1960's but am unable to run it. Q1 and Q2 can be modeled after NKT275, AC128 or SFT363E germanium transistors.

Below are the errors i am getting, I have no idea how to fix this. I've attached the actual file as well.
First solve for initial conditions failed to converge. Trying again with all high priorities relaxed to low.
Component:Simulink | Category:Model warning
Second solve for initial conditions failed to converge. Trying again with all variable targets ignored.
Component:Simulink | Category:Model warning
An error occurred during simulation and the simulation was terminated
Caused by:
['FuzzFace/Solver Configuration']: Initial conditions solve failed to converge.
Here is the set of components with unconverged equations:
'FuzzFace/Battery'
Equation location is:
'C:\Program Files\MATLAB\R2024a\toolbox\physmod\battery\shared_library\m\+batteryecm\battery.sscp'(no line number info)
Equation location is:
'C:\Program Files\MATLAB\R2024a\toolbox\physmod\battery\shared_library\m\+batteryecm\battery.sscp'(no line number info)
1 Comment
karthik kumar k
on 9 Feb 2025
To fix the issue, replace the Battery block with a DC Voltage Source and re-run the simulation. The Battery block may be introducing complexity that the solver can't handle. Follow these steps:
If the problem persists, reduce the solver's step size by going to Solver Configuration and setting the Max step size to 1e-6.
Answers (1)
karthik kumar k
on 9 Feb 2025
To fix the issue, replace the Battery block with a DC Voltage Source and re-run the simulation. The Battery block may be introducing complexity that the solver can't handle. Follow these steps:
- Replace the Battery block with the DC Voltage Source block from the Simulink Simscape > Electrical > Sources library.
- Set the voltage of the DC Voltage Source to match the expected battery voltage (e.g., 9V for the Fuzz Face circuit).
- Re-run the simulation.
If the problem persists, reduce the solver's step size by going to Solver Configuration and setting the Max step size to 1e-6.
See Also
Categories
Find more on Simscape Electrical 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!