Community Profile

# Juan Sagarduy

### MathWorks

86 total contributions since 2017

MSc. Industrial Engineering - Bilbao (Spain)
PhD Electrical Engineering - Cardiff University (UK)
Scientist @ ABB Corporate Research Sweden (2007-2011)
Application Engineering @ MathWorks Nordic (2011-now)

View details...

Contributions in
View by

How to I simulate only heat exchanger outlet conditions?
Hello Tiffy What happens underneath is that the model has got too many state variables in relation to equations. In order ...

13 dagar ago | 0

| accepted

Parameter sweep using simscape
Hi Joshua Is the inductance parameter set as Run-time in the Simscape component? By default it is not, so maybe you can check...

13 dagar ago | 0

Torque and Rotational motion sensor in simscape
Hi Leonardo Torque is a through variable measured with a torque sensor (TS) in series with the shaft of the motor. Speed is a...

21 dagar ago | 0

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

22 dagar ago | 0

| accepted

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

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

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

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

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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. ...

ungefär en månad 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...

ungefär en månad 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 ...

ungefär 2 månader 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. ...

ungefär 2 månader 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....

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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......

ungefär 2 månader 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: ...

ungefär 2 månader 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...

ungefär 2 månader 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

ungefär 2 månader ago | 0

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

ungefär 2 månader 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 ...

ungefär 2 månader 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...

ungefär 2 månader 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/...

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

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

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

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