Answered
Why can't i connect the two blocks in Simscape
These two blocks belong to two different technologies. It is not possible to directly connect them. Best practice is to use only...

1 month ago | 0

Answered
How to define a nonlinear magnetic reluctance in Simscape language?
There is a magnetic reluctance block in foundation library since 2010. Check out the documentation: https://www.mathworks.com/he...

1 month ago | 0

Answered
How can I convert a .m file to .ssc file?
When saving the file, you can explicitly specify name.ssc. Alternatively, you can rename the file afterwards from name.m to name...

1 month ago | 0

Answered
simscape language - vectors of models for discretisation
Simscape Language component arrays provide an intuitive way to model composite components with an arbitrary number of homogeneou...

1 month ago | 1

| accepted

Answered
"ssc_build" a .mdl file instead of .slx in R2014A
The only supported extention is .slx.

1 month ago | 0

Answered
Practical implementation of Space Vector Modulation
This page is the best place to start: https://www.mathworks.com/discovery/space-vector-modulation.html

1 month ago | 0

Answered
How to change *.m file to *.ssc extension?
When saving the file, you can explicitly specify name.ssc. Alternatively, you can rename from name.m to name.ssc afterwards.

1 month ago | 0

Answered
How to build a periodic switch in simscape?
You can use an existing Switch and control using a pulse generator. Here is a Switch in electrical domain with PS control input...

1 month ago | 0

Answered
How can I build a custom block in simscape representing nonlinear resistor having equation "v=(20/pi)*atan(4000*i)"?)
As the error says, the units of both operands must be commensurate. Assuming v is in Volts and i is in Amps this condition is no...

1 month ago | 0

Answered
how to implement matlab functions in Simscape blocks
Yes this is possible but you have to be careful what units you use. It is better to use Simscape functions instead.

1 month ago | 0

Answered
How to connect a simscape componet in simpowersystem in simulink?
It is not possible to directly connect the two technologies. It is also best to avoid mixing the two technologies since they may...

1 month ago | 0

Answered
Problem in "abc - dq0" Transformation using "Phase-Locked Loop" in Simulink Model.
Without a model is difficult to tell. My guess is that the angle is not correct, may have an offset that is not accounted for.

1 month ago | 0

Answered
How to use a thermocouple block available in simscape block?
This example is a good starting point: https://www.mathworks.com/help/sps/ug/thermocouple-quenching-example.html

1 month ago | 0

Answered
Peak Finder / Bandpass Filter errors on SimElectrical
1) Increasing samples per channel: To increase samples per channel from a sine wave, adjust the sample time parameter in your S...

1 month ago | 0

Answered
Error while debugging the customized simscape component
This error points to a missing reference node. Each topologically distinct circuit within a domain must contain at least one ref...

1 month ago | 0

Answered
Using the Ideal Heat Flow Source block
The Heat Flow Rate Source will maintain specified heat flow at its outlet regardless of the temperature difference across the so...

1 month ago | 0

Answered
3-D lookup table
It was not directly possible back in 2012. It should be possible to use multiple 2D tables to get the same result. In R2016a Sim...

1 month ago | 0

Answered
Using a lookup table with mfile data
In Simulink this would be a 1D Lookup Table: https://www.mathworks.com/help/simulink/slref/1dlookuptable.html

1 month ago | 0

Answered
modelling and simulation of pv cell
Simscape Electrical has a Solar Cell block since 2008: https://www.mathworks.com/help/sps/ref/solarcell.html

1 month ago | 0

Answered
Bidirectional Port
The Simscape connection port is bidirectional but in Simulink in/out port are unidirectional. https://www.mathworks.com/help/si...

1 month ago | 0

Answered
Which PORTS are called PHYSICAL CONSERVING PORTS IN SIMSCAPE ELEMENTS.
Best way to start is this page: https://www.mathworks.com/help/simscape/ug/basic-principles-of-modeling-physical-networks.html ...

1 month ago | 0

Answered
Simscape model yeilds Simulink "State Derivative Fail" Error
This error indicates numerical instability in the simulation. When using a smaller area and stroke and a much larger dead volume...

1 month ago | 0

Answered
real-time vs simulation
Simulation is more flexible and forgiving; real-time control demands precise timing, hardware compatibility, and robust code. Te...

1 month ago | 0

Answered
Acuasal modelling
As already mentioned, Simscape is the tool for acausal modeling. However, it is possible to use MATLAB language to implement you...

1 month ago | 0

Answered
how do I create model reference from my simscape model
Introduced in R2022b, Simscape Battery provides functionality to build and simulate battery packs. Simscape Battery includes MAT...

1 month ago | 0

Answered
How to add new geometry in Simscape battery builder (R2025a)?
Battery builder supports the geometry specified only as a CylindricalGeometry object, a PouchGeometry object, or a PrismaticGeom...

1 month ago | 0

Answered
How do i calculate the parameters (E0, K, R, A and B) in generic battery model?
These parameters can be derived from a datasheet. Usually, some parameters such as rated capacity and internal resistance are pr...

1 month ago | 0

Answered
Sum the total MOSFET losses over a defined simulation period
Best way is to try and compute total losses at post-process since all relevant data will be available in the simlog file. This c...

1 month ago | 0

Answered
Access all loss-related variables in MOSFET modelling
It appears that lastReverseRecoveryLoss cannot be accessed using the Probe block. However, it can be accessed from in the Simsca...

1 month ago | 0

Answered
Error in N-channel IGBT simulating: Nonlinear solver to advance time one step failed to converge due to Linear Algebra error. Failed to solve using iteration matrix.
This model is very challenging for the solver due to parameterization of N-Channel IGBT (would be worth double checking that the...

1 month ago | 0

Load more