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.

ungefär 3 år 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 ...

ungefär 3 år 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...

ungefär 3 år 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...

ungefär 3 år 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...

ungefär 3 år 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'...

ungefär 3 år 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...

ungefär 3 år 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/...

ungefär 3 år 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...

ungefär 3 år 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...

ungefär 3 år 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...

mer än 3 år 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...

mer än 3 år 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 ...

mer än 3 år 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 ...

mer än 3 år 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...

mer än 3 år ago | 3

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

mer än 3 år ago | 1

| accepted

Answered
Help with Lithium ion battery Modelling using simscape and generating the codes
Hello Folarin, please start here as a reference: https://www.mathworks.com/solutions/power-electronics-control/battery-manageme...

mer än 3 år ago | 0

| accepted

Answered
Simscape Error ; The following Inductors are connected together
You can place a large resistor between the two inductors and connect it to ground. Start with 1e6 ohms. Regards, Joel

mer än 3 år ago | 1

| accepted

Answered
Matlab in Windows Server 2019 Using remote desktop services (RDS)
Hello Marcio, you can remote desktop into a computer and use matlab on that computer as long as you have a license that will wo...

mer än 3 år ago | 0

Answered
Air Core Transformation Block in Simulink or Simulink
Hello, you can start by learning about simscape here: https://www.mathworks.com/learn/tutorials/simscape-onramp.html Then, you...

mer än 3 år ago | 0

Answered
Fuel Cell Stack to DC-DC converter error
Hello, the main issue is the parameterization of the dc-dc power supply. You can see by the error messages what the specific i...

mer än 3 år ago | 0

| accepted

Answered
implement a .slxp file into a Simulink project
Hello Rederico, you should be able to navigate to the file in your project and right click it and add it to the project that wa...

mer än 3 år ago | 0

Answered
how can i implement discrete s transform for harmonic analysis?
This answer is part of a Matlab Answers cleanup effort: Please see this doc page: https://www.mathworks.com/help/matlab/ref/fft...

mer än 3 år ago | 0

Answered
Protecting a subsystem in simulink
Hello Ashwini, please use this page as a reference. If part of it doesn't work, please share the specific error message to get...

mer än 3 år ago | 0

| accepted

Answered
installing NI VISA driver
Please go here: https://www.mathworks.com/hardware-support/ni-visa-keysight-visa-tekvisa.html You can also install the drivers ...

mer än 3 år ago | 0

| accepted

Answered
How to interact phasor with a discrete system ?
Hello Rishard, is the discrete model also a Specialized Power System model? If you want to have a phasor model, and a discrete...

mer än 3 år ago | 0

Answered
How to perform fuzzy modeling of field effect diode in MATLAB Simodink
Hello Mehdi, in general, I use physics based approaches for modelling a diode as it is more computational efficient and actuall...

mer än 3 år ago | 0

Answered
How do I generate pulses from the block PWM Generator to operate the switches if they are more than four?
Hello Salah, you need to determine the appropriate duty cycle for each of your half bridges. I see 4 half bridges. So you nee...

mer än 3 år ago | 0

Answered
Error "Derived parameter initialization for Vbe_sat failed to converge"
Hello Ander, the issue is that RC and RE need to be lower to calculate a realistic Vbe-sat. I believe it needs to be lower tha...

mer än 3 år ago | 0

| accepted

Answered
Variable resistor with Tustin solver
Hello, I think the interpolation function is incompatible with the variable resistor. I'll submit a bug report and see what I ...

mer än 3 år ago | 0

| accepted

Load more