Answered
How to understand/evaluate powericon.p?
Hello Nabil, it can be challenging to just edit a library block like that. You can attempt it using the following functionalit...

2 months ago | 0

Answered
PMSM controller doesn't work
Hello frank, you don't have your pole pair parameter entered correctly in your machine. Go to where your mechanical parameters...

2 months ago | 0

| accepted

Answered
SoC estimation using the equation in attached image
Hello Mustafa, the link to your data set does not work and you did not include the relevant .mat file so it would be particular...

2 months ago | 1

Answered
How to simulate a fuel cell (specialized power systems) connected to a DC/DC converter in Simulink using simscape blocks?
Hello Diego, you can place a capacitor (on the simscape side) on the input to your dc/dc converter and set its initial voltage ...

2 months ago | 0

Answered
Modeling a variable RL branch
Hello Paul, the easiest and most accurate approach would be to switch to using simscape core technology (use the blue variable ...

2 months ago | 1

Answered
Import from 2021a to 2020b unsuccessful for simscape electrical blocks
Hello Priya, unfortunately this is not a bug. Exporting specialized power systems modesl backwards in matlab versions is not s...

2 months ago | 0

| accepted

Answered
DC-DC converter Error Initial conditions solve failed to converge.
you need to add an electrical reference to the output of this converter the way it works. (or short the output and input negativ...

3 months ago | 0

Answered
Is it possible use a battery in Simulink?
Hello Tony, the Rcond warning can be very common when using specialized power systesm. Essentially, the tool generates matrice...

3 months ago | 0

Answered
BLDCのパラメータについて
You should use the frequency driving the motor at rated speed for measuring those parameters.

3 months ago | 1

Answered
Problem with machine initialization and wrong steady state voltages in simpower systems
Hello Maha, here is an example that you could download: https://www.mathworks.com/matlabcentral/fileexchange/46067-ieee-14-bus...

3 months ago | 0

Answered
How to switch SPDT Simscape Electrical Relay Block?
Hello Utkarsha, The way you have it, use a controlled source connected to the widing (control) and apply the correct voltage/cu...

3 months ago | 0

| accepted

Answered
How do I plot this square waveform using given equations for a SHM
Hello Yuehan, It looks like the code you shared is an image? Can you share the text. It also looks like you are psasing pi/6 ...

4 months ago | 0

Answered
simscape electronics simulation extremely slow
This is an effort to answer old unanswered questions on Matlab answers: The signal is rectified, it's just that the capacitor i...

4 months ago | 1

Answered
How can I capture state space variables for use in control in simpowersystems?
This is part of an effort to clean up old unanswered questions: Please use the linear system analyzer in the power gui tool. Y...

4 months ago | 0

Answered
Shape of masked subsystems in Simulink and having ports at different directions
Simulink and simscape blocks can now support ports on all four sides, but you cannot create arbitrary shapes.

4 months ago | 0

Answered
How can I implement a BJT in SimPowerSystems?
This is part of an effort to clean up old unanswered questions: For BJT's, these should be modelled in simscape as specialized ...

4 months ago | 0

Answered
How to connect simpower circuit with simscape variable resistor
This is unfortunately too late, but Sps has a block for this now: https://www.mathworks.com/help/physmod/sps/powersys/ref/varia...

4 months ago | 0

Answered
Mismatch between theoretical equation and simulink simulation
I'm just moving your comment to the answer section so this question shows up as having an answer: From Joaquin's comments above...

4 months ago | 0

Answered
Frequency-Dependant Voltage Source
Hello Sven, you can either create it yourself as shown below, or use the programable voltage soucre in simscape electrical. It...

4 months ago | 0

Answered
Simscap Scope shows wrong data.
Hello Muhammad, this issue is likely not the scope, but the simulation results. The easiest explanaion of why the results don'...

4 months ago | 0

| accepted

Answered
Doubt related to Simulink
Hello Ankit, please use the matlab function block instead, and see the documentation here for how to program it: https://www.ma...

4 months ago | 0

Answered
How do I combine a Battery and a MMC in a Power System using Simulink?
Hello Emmanuel, you should start with existing exaples and work from there. Here is one for an MMC: https://www.mathworks.com/...

4 months ago | 1

Answered
How do you observe/view the SOC of a Battery (table-based) in Simulink/Simscape?
Hello Muhammad, you can right click the block, got to the simscape menu, and select the instrumented version to get those outp...

4 months ago | 0

Answered
How to set up a Battery Cooling Plate for a Generic Battery Model?
Hello Claud, you can represent a cold plate as a thermal mass with the appropriate conduction (or thermal resistivity) connecti...

4 months ago | 1

Answered
I want to use a comparator to compare a sine wave and a triangle wave in simscape. I can't get the components to connect.
Unfortunately, the ps signal blocks don't work with those connection labels. Instead, you can make the switches take in electri...

5 months ago | 0

| accepted

Answered
I want to use a comparator to compare a sine wave and a triangle wave in simscape. I can't get the components to connect.
You need to use the Ps-Simulink converter, and then feed that signal into a controlled voltage source to interface with the elct...

5 months ago | 0

Answered
simscape electrical simulation speed
if you having simulaiton speed issues, you can switch to odeN or try setting the simscape local solver to a fixed time step 100 ...

5 months ago | 1

| accepted

Answered
Motor Control Design with MATLAB and Simulink
Most Motor control applications use Space Vector Modulation which is not sinusoidal but lets you operate as if your voltage was ...

6 months ago | 0

Answered
Problem with Simscape Onramp task 9
Hello Juan, can you provide insight into what is says is going wrong? There are 2 validation check marks that need to be pas...

6 months ago | 1

Answered
How to move a 3-phase Fault block through the transmission line, using MATLAB script?
You typically would place it manually: https://www.mathworks.com/help/physmod/sps/powersys/ref/threephasefault.html#:~:text=The%...

6 months ago | 1

| accepted

Load more