Answered

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

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

3 years ago | 0

| accepted

Answered

AGING MODEL of a lead acid battery in simulink

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

AGING MODEL of a lead acid battery in simulink

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

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

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

3 years ago

Answered

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

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

3 years ago | 1

| accepted

Answered

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

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

3 years ago | 0

| accepted

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

| accepted

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 1

Answered

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

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

3 years ago | 0

| accepted

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

Modeling Half-Car Suspension in Simulink/Simscape?

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

Modeling Half-Car Suspension in Simulink/Simscape?

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

| accepted

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

| accepted

Answered

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

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

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

3 years ago

Answered

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

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

3 years ago | 0

| accepted

Answered

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

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

3 years ago | 0

| accepted

Answered

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

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

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

3 years ago