Answered

Could two rotational mechanical signals be added up/summed directly?

Hi Xu Based on your short description I would do as in the image below. This is often common for BEV models. The differential g...

Could two rotational mechanical signals be added up/summed directly?

Hi Xu Based on your short description I would do as in the image below. This is often common for BEV models. The differential g...

3 years ago | 0

Answered

Flow meter measurement and control system

Hi Alex This type of task requires often modeling with foundation elements and in some cases create your own with Simscape l...

Flow meter measurement and control system

Hi Alex This type of task requires often modeling with foundation elements and in some cases create your own with Simscape l...

3 years ago | 0

| accepted

Answered

Simscape- reverse operation for piston

Hello Aaron Indeed, this can be done with Simscape Fluids. All you need is two single-acting cylinders and represent the mech...

Simscape- reverse operation for piston

Hello Aaron Indeed, this can be done with Simscape Fluids. All you need is two single-acting cylinders and represent the mech...

3 years ago | 0

Answered

Simulink Model of Regenerative Braking

Hi Daniel Check out the link below: https://se.mathworks.com/matlabcentral/fileexchange/62092-e-mobility-regenerative-braking-...

Simulink Model of Regenerative Braking

Hi Daniel Check out the link below: https://se.mathworks.com/matlabcentral/fileexchange/62092-e-mobility-regenerative-braking-...

3 years ago | 0

Answered

Can anyone tell me how to model a regenerative braking system on simscape

Hello Abdel Check out the link below including a video on regenerative braking. https://se.mathworks.com/matlabcentral/fil...

Can anyone tell me how to model a regenerative braking system on simscape

Hello Abdel Check out the link below including a video on regenerative braking. https://se.mathworks.com/matlabcentral/fil...

3 years ago | 0

Answered

How to choose solver for a system that is stiff, partly continuous, partly discrete and has both Simulink and Simscape components?

Hello Mattias I think that a fixed step solver for Simscape (Local Solver) would help increasing performance. Try 1us or ...

How to choose solver for a system that is stiff, partly continuous, partly discrete and has both Simulink and Simscape components?

Hello Mattias I think that a fixed step solver for Simscape (Local Solver) would help increasing performance. Try 1us or ...

3 years ago | 1

Answered

Distribuited load on flexible beams Simscape Multibody

Hi Alberto This can be done by adding the discrete nodes with help of rigid transforms. Unfortunately, the nodes will not ...

Distribuited load on flexible beams Simscape Multibody

Hi Alberto This can be done by adding the discrete nodes with help of rigid transforms. Unfortunately, the nodes will not ...

3 years ago | 0

| accepted

Answered

Connecting DC motor to a revolute joint

Hi Vicente It shall work in both cases, but it is more natural to do it on the Simscape side (DC actuator). This makes sense ...

Connecting DC motor to a revolute joint

Hi Vicente It shall work in both cases, but it is more natural to do it on the Simscape side (DC actuator). This makes sense ...

3 years ago | 0

| accepted

Answered

Lead screw and spring WITH Simscape Driveline Toolbox

Hello Cyril The problem is that the speed sensor is coupled in series with the shaft, thus leaving the inertia isolated and t...

Lead screw and spring WITH Simscape Driveline Toolbox

Hello Cyril The problem is that the speed sensor is coupled in series with the shaft, thus leaving the inertia isolated and t...

3 years ago | 0

| accepted

Answered

Simscape Fluids Simple Pressure Drop Error

Hello Tiffy The gas starts up in a suction state, which means that vacuum would be created in the system. Such situations occ...

Simscape Fluids Simple Pressure Drop Error

Hello Tiffy The gas starts up in a suction state, which means that vacuum would be created in the system. Such situations occ...

3 years ago | 0

Answered

SimScape Gas simulation error

Hello Federico Debugging such model is often difficult, and various settings may affect. My recommendation would be to reach ...

SimScape Gas simulation error

Hello Federico Debugging such model is often difficult, and various settings may affect. My recommendation would be to reach ...

3 years ago | 0

| accepted

Answered

Unable to supply a 1D array of current to the input of the controlled current source block

Hi Raiyan I believe that you should use From Workspace blocks. But these need the following format: [time_trace data_trace] s...

Unable to supply a 1D array of current to the input of the controlled current source block

Hi Raiyan I believe that you should use From Workspace blocks. But these need the following format: [time_trace data_trace] s...

3 years ago | 0

| accepted

Answered

Measuring SimScape friction torque

Hi Vivek I think that a torque sensor between the inertia and the friction element would work great. Br Juan

Measuring SimScape friction torque

Hi Vivek I think that a torque sensor between the inertia and the friction element would work great. Br Juan

3 years ago | 1

| accepted

Answered

simscape variable thermal mass - initial condition issue

Hello Benoit, It seems strange. Have you got the chance to share the files? BR/Juan

simscape variable thermal mass - initial condition issue

Hello Benoit, It seems strange. Have you got the chance to share the files? BR/Juan

3 years ago | 0

Answered

How to get oscillatory motion for a solid in simscape?

Hello there, In order to do the work, I'd recommend to use Simscape Multibody to build the five-bar linkage mechanism. In Multi...

How to get oscillatory motion for a solid in simscape?

Hello there, In order to do the work, I'd recommend to use Simscape Multibody to build the five-bar linkage mechanism. In Multi...

3 years ago | 0

| accepted

Answered

Speed control and Position of DC motor using PID and Simscape

Hi Alejandro, Easiest is that you use a controlled DC voltage source. The output of the PID controller adjusting speed to the d...

Speed control and Position of DC motor using PID and Simscape

Hi Alejandro, Easiest is that you use a controlled DC voltage source. The output of the PID controller adjusting speed to the d...

3 years ago | 0

| accepted

Answered

How to model a catch basin in simscape fluids

Hi there I think that the best way to solve that problem is to use a Local Resistance (Isothermal Liquid) between the end of th...

How to model a catch basin in simscape fluids

Hi there I think that the best way to solve that problem is to use a Local Resistance (Isothermal Liquid) between the end of th...

3 years ago | 0

Answered

Simscape-Multibody-Multiphysics-Library

Hi Andy Here is the link to the library. https://se.mathworks.com/matlabcentral/fileexchange/37636-simscape-multibody-multip...

Simscape-Multibody-Multiphysics-Library

Hi Andy Here is the link to the library. https://se.mathworks.com/matlabcentral/fileexchange/37636-simscape-multibody-multip...

3 years ago | 0

Answered

Ambiguous sorted order detected due to use of triggered subsystem(s) and/or Model blocks in a loop.

Hi there, I believe that you need to latch the incoming signals to the triggered subsystems. You do that in the Inport Simuli...

Ambiguous sorted order detected due to use of triggered subsystem(s) and/or Model blocks in a loop.

Hi there, I believe that you need to latch the incoming signals to the triggered subsystems. You do that in the Inport Simuli...

3 years ago | 0

Answered

modeling a solenoid coil

Hello Goutham I think you will find creating a Simscape component a better solution. Then, you can write the equations textua...

modeling a solenoid coil

Hello Goutham I think you will find creating a Simscape component a better solution. Then, you can write the equations textua...

3 years ago | 0

Answered

Simscape interface with Simulink

Hi Don You can only connect physical inputs or outputs in Simscape to Simulink signals (through S-PS or PS-S Converters). C i...

Simscape interface with Simulink

Hi Don You can only connect physical inputs or outputs in Simscape to Simulink signals (through S-PS or PS-S Converters). C i...

3 years ago | 0

| accepted

Answered

How to use matlab function output variable as a simscape block input variable?

Hi Youri, You need to create a custom thermal mass where cp is no longer a parameter but an input. Once you have created t...

How to use matlab function output variable as a simscape block input variable?

Hi Youri, You need to create a custom thermal mass where cp is no longer a parameter but an input. Once you have created t...

3 years ago | 0

Answered

Simscape Multibody - Spatial Contact Force Block - Interference Fit modeling

Hello Hakan The interference fit is a complex phenomenon to model. I think that I would approach this as a prismatic joint wi...

Simscape Multibody - Spatial Contact Force Block - Interference Fit modeling

Hello Hakan The interference fit is a complex phenomenon to model. I think that I would approach this as a prismatic joint wi...

3 years ago | 1

Answered

Lithium battery parameter estimation and SOC

Hi Glenn I’ll give a shot to the questions you have. 1. When this type of work is done with Simulink Design optimization,...

Lithium battery parameter estimation and SOC

Hi Glenn I’ll give a shot to the questions you have. 1. When this type of work is done with Simulink Design optimization,...

3 years ago | 0

Answered

Changing sequence of transformation of Simscape Multibody Joints

Hello Edwin It is likely that you need to compose your own joint to get the exact sequence you look for. To be sure, i would re...

Changing sequence of transformation of Simscape Multibody Joints

Hello Edwin It is likely that you need to compose your own joint to get the exact sequence you look for. To be sure, i would re...

3 years ago | 0

| accepted

Answered

How to filter the current measurement before it enters a scope or signal analyzer

Hi Joseph If it is a physical signal (Simscape) for current, you’ll need a PS-Simulink converter to connect through to the filt...

How to filter the current measurement before it enters a scope or signal analyzer

Hi Joseph If it is a physical signal (Simscape) for current, you’ll need a PS-Simulink converter to connect through to the filt...

3 years ago | 0

Answered

Can you create an S-Function from a Simscape Model?

Hi Tamam S-function generation from Simscape models is no longer supported from releases after 2015 or thereabouts. Deploymen...

Can you create an S-Function from a Simscape Model?

Hi Tamam S-function generation from Simscape models is no longer supported from releases after 2015 or thereabouts. Deploymen...

3 years ago | 0

Answered

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

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

3 years ago | 0

| accepted

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 2