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

Simulink: resistor with variable resistance during simulation

I´m trying to find a way to change the resistance in a resistor during simulation in simulink. I have been using the fundamental blocks in the SimPowerSystem package from Simscape and I have a functional circuit for non-variable resistors. What I…
Toverland
  • 15
  • 6
0
votes
1 answer

What are the physical quantities represented by the physical conservation ports in Simmechanics?

What are the physical quantities represented by the physical conservation ports in Simmechanics? Cf. this picture from the Simscape user guide.
Karlo
  • 1,420
  • 25
  • 44
0
votes
1 answer

Can I access the content of Simdriveline components?

I am using Simdriveline components in Simscape. I would like to access the source code of these components. How can I do this? For instance, I want to define a new vehicle body with more than 2 axes and different tire diameters.
Karlo
  • 1,420
  • 25
  • 44
0
votes
1 answer

How to create block diagram and analysis a simple RLC circuit in MATLAB?

i have this! RLC simple circuit i want to analysis this circuit with different values of Resistance but i dont know how can i draw a block diagram and simulink it with matlab, i just searched internet and found some libraries,but i didn't find…
Ahmadreza
  • 35
  • 7
0
votes
1 answer

Simulink Simscape simple circuit not working

I am new to Matlab and I'm trying to make a simple circuit in Simulink library Simscape. I have an AC voltage source with RMS value 50V and frequency 50Hz. But as shown in the image, the scope displays a noise, not a sine wave as I expected. What…
0
votes
1 answer

Simpowers plus simmechanics

I need to combine in MATLAB model of machine in SimMechanics with blocks of SimPowerSystems: asynchronous machine. I googled it but didn't find any relevant article. In my work I should consider impact of bearings like reaction forces and etc. Is…
Robert
  • 351
  • 1
  • 5
  • 15
0
votes
1 answer

connecting RC circuit to s-function block in Simulink

Can I connect an RC circuit from the Simscape library (as a feedback) to an s-function block and apply a time series as input? I am trying to use the Linearize tool from Control Design to obtain the frequency response of the whole system.
Emy Lotfy
  • 41
  • 1
0
votes
1 answer

Matlab Simscape pressurizing and depressurizing a vessel

I am trying to do a very simple simulation in Simscape but I have the feeling I still don't fully grasp the conservative ports and physical signals. I have a very simple pneumatic model: A vessel of volume V, an air pump, a tube and a solenoid…
avanwieringen
  • 2,240
  • 3
  • 19
  • 27
0
votes
1 answer

Programmatically connect two subsystems

I'm trying to build a complex model programmatically reusing some custom blocks/models I have developed before, but I cannot manage to connect two PMC_Port This is what I have: % Main system sys_name = 'model'; sys =…
jgsogo
  • 519
  • 6
  • 15
0
votes
1 answer

What do .pmdlg files mean when building simscape code libraries in Matlab

When building simscape custom code libraries matlab generates files into the sscprj folder and generates files with extensions md5, mexw64 and pmdlg for each custom code component. The mexw64 is a mex file and the md5 is for file integrity checking.…
ashah
  • 193
  • 1
  • 3
  • 14
0
votes
1 answer

Input/output port in Simulink

Is there a way to create an input/output port in Simulink (some workaround)? The port would be a bus and some signals are set from outside the block while some signals are set by the block. Here is an example: Given the following bus: Flow…
remus
  • 2,525
  • 2
  • 17
  • 43
-1
votes
1 answer

How can I model wings with aerodynamic properties in Simscape Multibody?

I am currently designing a Simscape Multibody model of my drone. My drone is a three-armed device, which somewhat resembles the rotors of a helicopter. The drone is supposed to rotate around itself, using a motor on each arm. Furthermore, each arm…
1 2 3 4
5