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

6 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

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

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

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

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

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

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

6 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

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

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

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

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

6 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

6 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

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

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

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

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

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

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

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

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

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

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

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

6 months ago | 0

Answered
How does the IGBT (ideal, switching) component calculate switching and conduction losses from the loss map, and how is power dissipation computed at the thermal port?
Switching losses depend on the off-state voltage and the on-state current. When a switching device turns on, the power losses de...

6 months ago | 0

Answered
I am simulating the IEEE 6-bus system in Simulink with two DGs, but after adding breakers and CTs, the synchronous machine ports (E_pu, R, C)
Synchronous machines require proper initialization and electrical connections for the load flow to converge. For synchronous mac...

6 months ago | 0

| accepted

Answered
The 3-Phase Inverter with PWM generation built using Matlab-Simulink, the output current is not same in all 3 Phases
Problem appears to be the way magnitude is calculated. Most likely the average values vary between 0 and some values. It would b...

6 months ago | 0

Answered
Im doing a transformer based ups system, when i measure the voltage across load and battery im getting some weird graph for load which goes till 800 v and for battery is 52v
Re-examine your circuit connections, component ratings, and measurement technique. Best to break down the model into simpler par...

6 months ago | 0

Load more