Answered
Simulink - 3 line diagram converted to 1 line diagram
You are trying to connect blocks from two different technologies. This is not directly possible. Best practice is to use only on...

2 months ago | 0

Answered
i'm doing a project in MATLAB 16a and i am unable to connect the blocks
The Supercapacitor block in Simscape Electrical has been introduced in R2016b. For older versions a custom implementation can be...

2 months ago | 0

Answered
How can I model axial flux generator in simscape?
PMSM block in Simscape Electrical can be used to represent an axial flux PMSM. Other machines in the Simscape Electrical library...

2 months ago | 0

Answered
What's the difference between "translation inerter" block and "mass" block in simscape?
The Mass block represents an ideal mechanical translational mass. The Translational Inerter block represents a device that has ...

2 months ago | 0

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...

2 months 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...

2 months 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...

2 months 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...

2 months ago | 1

| accepted

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

2 months 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

2 months 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.

2 months 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...

2 months 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...

2 months 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.

2 months 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...

2 months 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.

2 months 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

2 months 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...

2 months 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...

2 months 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...

2 months 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...

2 months 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

2 months 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

2 months 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...

2 months 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 ...

2 months 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...

2 months 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...

2 months 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...

2 months 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...

2 months 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...

2 months ago | 0

Load more