Why is the current from the wind farm not uniform when using multiple wind turbines.
Hi Joseph The individual turbines might get wind speed that is not equal but follow a given distribution with a mean value of 3...

plus d'un an ago | 0

| accepted

Hello Buket There is a battery model in Simscape Electrical that includes aging effects. https://se.mathworks.com/help/phy...

plus d'un an ago | 0

Solved

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

plus d'un an ago

Solved

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

plus d'un an ago

Simscape Multibody - How to model a link with holes
Hello Marco You run the function prior to the simulation to obtain the 2D profile of the solid with hole. Then u get somethin...

plus d'un an ago | 1

| accepted

Issues with building a fan using a BLDC and a controlled volumetric flowrate source
Hello Renée You need to connect the shaft of the BLDC motor (electric to mechanic) to a component converting mechanic to pneu...

plus d'un an ago | 0

| accepted

Two-Phase Fluid Simscape : different values between Simscape Results Explorer and Sensors
Hi Joris In the cylinder a new through variable comes into play: the heat exchanged with the environment. The variations of e...

plus d'un an ago | 0

How could I simulate the contact force on flexible bodies in Multibody?
Hello there I don’t think this can be solved in the tool now, unless you use discrete solids assembled with elastic joints. ...

plus d'un an ago | 0

| accepted

Update custom block image from MATLAB code
Hi Aled As far i know, when you build the library again with a new component, it will automatically take the graphics of an e...

plus d'un an ago | 0

Thermal Conductivity varying with input temperature
Hi Alex An easy way to solve this by defining the equation: th_cond == a+b*T1. Parameters a and b shall be defined with a ...

plus d'un an ago | 0

Gravity compensation in SimMechanics/ Simscape
Hello Stan The easiest in this case is that u use a distance constraint between mushroom and platform instead of the joint. ...

plus d'un an ago | 0

Terramechanics, tire and ground interaction in Matlab/Simulink
Hi Marcin the Simscape Driveline component Tire-Road Interaction below can be a good starting point. https://se.mathworks....

plus d'un an ago | 0

Simscape custom model: Invalid use of the operand '+'
Hi there It looks like the syntax in that line has a problem. Furthermore, all Simscape keywords are not in blue. This indica...

plus d'un an ago | 0

Change background color in Simscape Multibody
Hi Nick We do not have a preference meny for Mechanics Explorer, which would be ideal here. You can nevertheless change b...

plus d'un an ago | 1

Pulsed Simulink (simscape) analog circuit with various pulses for excitation
Hello Vincent, I guess there is no perfect solution, different people like different methods(signal builder, look up table......

plus d'un an ago | 0

| accepted

How is efficiency translated into fluid temperature in Simscape Fluids fixed displacement pump?
Hi Nick The documentation explains well the equations behind the fixed displacement pump TL and losses. See the link below: ...

plus d'un an ago | 0

Recouped heat from the heated gas
Hi there I can see two issues in the model. The pipe connected to A1 in the exchanger is just open in the end, as it is j...

plus d'un an ago | 0

Simscape Multibody *** Model not assembled: position violation ***
Hi Garett Do you have the chance to share the model? It must be a detail in there that needs sorting out. Br Juan

plus d'un an ago | 0

Hi there I managed to put together the model you describe graphically. It is easy to build with Foundation Library components. ...

plus d'un an ago | 0

How to make a gate valve work in a hydraulic circuit?
Hi there Have you checked that the unit in the S-PS converter for the gate valve is set to mm? If not, Simscape believes it is ...

plus d'un an ago | 0

how to use a variable-length cable
Hi Amir I think that you need a prismatic degree of freedom linking upper and lower parts in your rod. Each part with its ow...

plus d'un an ago | 0

| accepted

Different height tanks using Thermal Liquid Simscape Blocks
Hello Pedro This shall be alright to simulate. Check the link below > Inlet Height. https://se.mathworks.com/help/physmod/...

plus d'un an ago | 0

Incorrect extreme values of numerical derivative
Hi Jörgen It looks like the kinematic motion in MATLAB is somehow idealized. The one from SolidWorks is asymmetric and thus sh...

plus d'un an ago | 0

How to create tunable parameters for a standalone FMU Export?
Hi David You need to set in the Simscape Preferences (MATLAB user pane) the option Show Run-time parameters on. https://se...

plus d'un an ago | 0

| accepted

Pulling against Gravity with a Pulley System
Hi Matthias It is difficult to say what happens without the model. But i wonder if the rigid transform between the revolute j...

plus d'un an ago | 0

| accepted

Solved

Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

plus d'un an ago

Gas-Charged Accumulator
Hi Andy We have such a block but in our Simscape Fluids toolbox. https://se.mathworks.com/help/physmod/hydro/ref/gaschargeda...

plus d'un an ago | 0

| accepted

How to transfer simulation output from Simscape Results Explorer
Hi Henrik The results of the model shown in the Explorer are retrieved automatically in MATLAB workspace after the simulation...

plus d'un an ago | 0

| accepted

Is it possible to find the acceleration profile for a simple spring mass system using Simscape?
Hi Naresh The easiest is to use a derivative from simulink that takes the speed from the translational sensor and gives accel...

plus d'un an ago | 0

| accepted

Solved

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

plus d'un an ago