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

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

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

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

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

15 days 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

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

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

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

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

15 days 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

15 days 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

21 days ago | 0

Answered
How to replicate the SPS MMC "Aggregate Model" behavior in the Simscape Electrical MMC arm block?
In Simscape Electrical, the Modular Multilevel Converter Arm provides two options for aggregating the submodules by setting the ...

21 days ago | 0

Answered
mismatch power measurement in 3 phase PU power and actual power. I am using 3 phase instantaneous measurement block.
It sounds like the discrepancy arises from the use of per-unit values versus actual quantities and the choice of base values in ...

21 days ago | 0

Answered
Referenced model output of three phase voltage and current are 65535
This probably indicates a data type mismatch. Ensure that the voltage and current variables in the function block and referenced...

21 days ago | 0

Load more