Community Profile

photo

Sabin

Last seen: Today Active since 2019

Statistics

  • 6 Month Streak
  • Knowledgeable Level 4
  • Thankful Level 5
  • Explorer
  • First Answer

View badges

Content Feed

View by

Answered
Problem to connect simcape (Schmitt trigger) to Simulink (Scope).
It is not possible to connect electrical lines to PS-Simulink converter. The only way to interface electrical (or any other doma...

3 hours ago | 0

Answered
ieee 13 node system
A good starting point is https://www.mathworks.com/help/sps/ug/ieee-13-node-test-feeder.html

3 hours ago | 0

Answered
Hi all, I have question about battery aging(there is a model in Matlab 2018). It is only for one battery, I wonder how can I parallel some batteries to see how the battery life span will change?
From R2022b, Simscape Battery is the answer. Simscape Battery provides design tools and parameterized models for designing batte...

6 hours ago | 0

Answered
How can I link and run a script to work with a simulink model?
Use a MATLAB Function block in Simulink if you want to use MATLAB code in simulation: https://www.mathworks.com/help/simulink/u...

6 hours ago | 0

Answered
FFT of live data
Simscape Electrical provides a Fourier Analysis block that can be used to analyze data during simulation.

6 hours ago | 0

Answered
Problem in connection of Relay
I suspect trying to connect two blocks from two different technologies wchich won't work. However, without a model or a photo of...

7 hours ago | 0

Answered
Simulink Pulse Generator not Working for period in picoseconds
This is possible in MATLAB, but you need to configure the solver properly. If using variable step solver with everything on Auto...

8 hours ago | 0

Answered
How to multiply a time variable by a boolean?
It is not possible to connect power lines to Simulink blocks. The circuit you have is incomplete, perhaps you want to use a circ...

8 hours ago | 0

Answered
Problem to fix the Parameter of Tabel Based Battery Block in Simulink
SOC must be a vector of length N, T must be a vector of length M. Then R0(SOC,T) must be a matrix of size N-by-M. For example ...

9 hours ago | 0

Answered
Ideal switch is not ideal?
It not a fully ideal switch as the block includes ON resistance and OFF conductance. However, the results you are seeing are als...

10 hours ago | 0

Answered
How to control the SPST switch in Simulink
If the Threshold width parameter is set to zero, the switch is closed if the voltage presented at the vT control port exceeds th...

12 hours ago | 0

Answered
PLANT MODEL VS CONTROL MODEL
Plant model is the mathematical model of the real system, that should have the required level of fidelity to simulate the desire...

12 hours ago | 0

Answered
NPN BJT switch in Simulink
Simscape Electrical (former simElectronics and Simscape Electronics) has a NPN Bipolar Transistor block since R2008a.

1 day ago | 0

Answered
1-phase PLL by Pierre Giroux - can it be used in Phasor simulation?
A PLL is not used in phasor mode. The purpose of a PLL is to synchronize the phase and frequency of an output signal with that o...

1 day ago | 0

Answered
npn transistor
Been a while since this question was asked but perhaps is still relevant for others. A good starting point is the following exam...

1 day ago | 0

Answered
Flux weakening equation issue
First, the equations are implemented based on constant parameters, basically ignoring some physical phenomena that motor cad may...

1 day ago | 0

Answered
How to creat a fault in mathematical created model in MATLAB
R2023b include a new product called Simulink Fault Analyzer. This can help in your case. Alternatively, you can check the Faulte...

1 day ago | 0

Answered
How to achieve year-round simulation of DC microgrids in a limited time?
I would first check if the sample time in individual components is an integer multiple if the fixed-step size. If you have fixed...

1 day ago | 0

Answered
Problem with Block "Park to Clarke Angle Transform" 2018b
In this block 'offset' can be either 0 for D-axis alignment or pi/2 for Q-axis alignment. If a-axis is aligned with d-axis, offs...

2 days ago | 0

Answered
Open Stator Winding PMSM
R2023a release includes the Velocity Control of Four-Phase PMSM with Open-End Winding example. This example uses custom Simscape...

2 days ago | 0

Answered
dead-time, pwm inverter
The Half-Bridge Driver block in Simscape Electrical provides an abstracted representation of an integrated circuit for driving M...

2 days ago | 0

Answered
PI controller step input
First of all it is not the sum of desired and measured values, it should be the difference, error = desired value - measured val...

2 days ago | 0

Answered
Totem-Pole PFC PI Controller Tuning
Similar question answered: https://www.mathworks.com/matlabcentral/answers/1815000-pi-controller-tuning-for-totem-pole-pfc

2 days ago | 0

Answered
how can I generate a high frequency signal with simulink
It is possible to generate high frequency waveforms. The problem is probably related to the solver settings, basically Simulink ...

2 days ago | 0

Answered
How can I control the speed of a brushed DC motor using PWM and PID?
The DC motor is usually controlled using a cascade control structure with an inner current control loop and an outer speed contr...

2 days ago | 0

Answered
Circuit Breaker refuses to close
This is the Three-Phase Synchronous Machine Control in Simscape Electrical. I can confirm that it works fine in R2022a. The brea...

2 days ago | 0

Answered
How to convert PID output Signal to a PWM signal in simulink?
Assuming that the output from your PID controller is a reference voltage you can then use a PWM Generator to generate the gate s...

2 days ago | 0

Answered
How to control motor speed using matlab code?
Not sure I fully understand this question. To control the speed of the motor first we need to decide which algorithm we want to ...

2 days ago | 0

Answered
impact of zero sequence inductance when applied pmsm model
If the delta-wound option is selected, then is no longer valid that the ia+ib+ic=0. Hence the external circuit can drive an out-...

2 days ago | 0

| accepted

Answered
Why am i getting the following error?
This error points out to the log function which is used to compute v_cell,i.e, s*log(((t1 + (t2/T_stack) + (t3/(T_stack)^2))*i_...

3 days ago | 0

Load more