Questions tagged [simscape]

Simscape™ provides an environment for modeling and simulating physical systems spanning mechanical, electrical, hydraulic, and other physical domains.

Simscape™ provides an environment for modeling and simulating physical systems spanning mechanical, electrical, hydraulic, and other physical domains.

Simscape models can be used to develop control systems and test system-level performance. We can extend the libraries using the MATLAB® based Simscape language, which enables text-based authoring of physical modeling components, domains, and libraries.

Source: MathWorks.com (Simscape)

73 questions
0
votes
1 answer

How to modify the mechanical input of a Simscape model during simulation?

I'd like to modify the physical input of my Simscape model during the simulation but I don't know how to do it. The mechanical translation block in the picture below is used to convert the rotational input into a translational movement (by mean of…
Getter
  • 509
  • 1
  • 4
  • 13
0
votes
3 answers

Simscape Physical Signal: Why does is exist?

What is the added value of simscape physical signals compared to normal simulink signals? As far as I can see, from a functional perspective there is no difference between the two types of signals: I can add units to both types, they both have a…
Joren Sips
  • 63
  • 1
  • 5
0
votes
1 answer

Change hydraulic block to gas block Simscape

I am creating a Simscape gas model where I need to use 3 way directional valves. Unfortunately there are no directional valves in the gas library. I used the 3 way directional valves from the hydraulic library but I get dashed red lines when I try…
Buzz
  • 492
  • 8
  • 16
0
votes
1 answer

Is it possible to implement a PID controller in Simscape (branch of Simulink)?

I am trying to implement a PID controller in a Simscape circuit model but the system doesn't seem to like my format. I am using the PID controller block from Simulink and implementing it within Simscape using the convert from source to Simulink…
0
votes
1 answer

(Simulink simscape)The simulation results show an unexpected high-frequency vibration in current source

Dear whom may answer of it. The schematic diagram implemented in Matlab simulink-simscape is same as Fig. 1 Then, when the electrical voltage of Vb across the inductor (Li) exceeds the forward voltage accompanied by diode forward voltage (2*Vf) and…
권성철
  • 1
  • 1
0
votes
1 answer

Modelling vacuum pump in Simscape

I'm trying to model a vacuum pump (for moving large amounts of water) in simscape, but I've run into some problems using check valves. I've been using 'Varaible Head Three-Arm Tank' as the tank unit and have check valves controlling in- and out…
J B
  • 1
  • 2
0
votes
2 answers

Can Simscape Multibody or Simscape Driveline generate automatically the dynamic equations of motion?

The description of the Simulink MATLAB package for Simscape Multibody says it can formulate the equations of motion for a mechanical system. I searched everywhere in the documentation and examples and I can't find a single example of how to do this,…
Roy
  • 73
  • 7
0
votes
1 answer

What is wrong with my Simulink model of an active suspension system?

I am new to Simulink and am trying to make a simulation of an active vehicle suspension with Simscape. For some reason, I am getting unreasonable results in my sim, despite following the examples on the mathworks website pretty closely. I have…
Mark
  • 1
  • 2
0
votes
1 answer

Time dependent resistance using SimScape Electrical foundation library in Matlab

I'm trying to model a large electrical network of resistors and capacitors in SimScape using Electrical foundation library blocks. One of the resistors needs to change its resistance as a function of time, say like…
Venkat
  • 198
  • 2
  • 12
0
votes
1 answer

Correct way to use switch and voltage sensor in Simulink Simscape

I am trying to use a switch in Simulink Simscape. I want to see what voltage appears on both sides of the switch. The switch should close when the applied physical signal is greater than the threshold of the switch. It should be open otherwise. …
John
  • 7,605
  • 10
  • 46
  • 108
0
votes
1 answer

Belt Pulley. How get relative velocity?

I'm trying to understand how belt pulley from Mathworks work. I have this simple sample: In this case. I'm giving the velocity of a. And there is when appear my first question: why the magnitude of velocity of b, is the same of a? According to the…
0
votes
1 answer

How to model a current source with a prescribed waveform in Simscape?

I know the Simscape current source block, but this one can only model a current source with DC, AC and noise components. Instead of an AC current, I would like to model a current wave that is defined based on a general current vector in time. Is…
Karlo
  • 1,420
  • 25
  • 44
0
votes
2 answers

Change Revolute Joint Axis in SimMechanics

I am leveraging SimMechanics, SimElectronics, and Simulink to model a quadcopter system for an embedded system class project ( files here ). I have generated a 2nd Generation SimMechanics model of an F450 quadcopter frame, including the motors and…
Jonathan
  • 611
  • 1
  • 7
  • 17
0
votes
1 answer

Whats wrong with this MATLAB example (User-Added Coordinate Systems)?

Well I am working on a very interesting project concerning a gear system that will rotate a shaft and some gear systems. I am following a tutorial from matlab User-Added Coordinate Systems on how to decouple and have two gears rotating. Well, I…
mioumitsou
  • 37
  • 1
  • 1
  • 5
0
votes
2 answers

Can I use an inequality in a custom Simscape function? / How can I make a block that limits the speed in SimMechanics?

I have a SimMechanics Revolute joint block with a torque as input and a rotational speed as output. I would like to limit the speed of the joint by imposing a maximum speed. I do not find an appropriate block in Simulink Library Browser - Simscape…
Karlo
  • 1,420
  • 25
  • 44