When running the simulation in PLECS Standalone, it operated normally without any errors even with a fixed-step solver.
However, when running the same circuit using PLECS Blockset, an error occurs.
The main part where the error arises is in the section where the AC signal is generated, specifically related to the AC voltage and the Sine Generator.
I’ve attached a screenshot of the error popup window for reference.
Please let me know if you know how to resolve this issue or if there’s a way to identify components that have such limitations.
SW version : PLECS 4.9.5 + Marlab R2024b

Note: This post is not fully accurate and is corrected in a later post.
Some components in PLECS inherently require a variable time step solver. One of the blocks that enforces this is the Sinewave Function which also is used in the AC Voltage source.
You have two options: switch to a more accurate variable step solver (recommended) or use an Controlled Voltage Source component from the PLECS Library along with a clock function and Trigonometric block. You’ll have to ensure you set the fixed step size appropriately.
Thank you for your response.
Then, could the reason why the behavior differs between Standalone and Blockset be because they operate in fundamentally different ways?
Even when using the same fixed-step solver, there was no error with the AC voltage source in PLECS Standalone.
Eunji, I was mistaken in my post above.
To use a fixed-step solver in Simulink, the user must explicitly set choose the “Discrete state-space” circuit model type in the PLECS Simulation Parameters dialog.
PLECS Standalone automatically chooses the continuous or discrete state-space model depending on whether you choose a variable-step or fixed-step solver.
Note there still are some components which do fundamentally require a variable-step solver, but the voltage source component is not one of them.