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
1
vote
1 answer

Simulink error: Initial conditions solve failed to converge

I have the circuit in this figure: I get the following error: Initial conditions solve failed to converge. Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix. The model may not give enough information to make it possible…
mrsB2013
  • 151
  • 2
  • 7
1
vote
1 answer

How to simulate fixed plane using SimScape Multibody Contact Forces Library?

I am trying to simulate the contact forces between a fixed plane and a sphere in MATLAB Simulink using the Multibody Contact Forces Library https://www.mathworks.com/matlabcentral/fileexchange/47417-simscape-multibody-contact-forces-library as shown…
Skipher
  • 205
  • 2
  • 13
1
vote
1 answer

How to speed up simulation of Simscape based Physical model?

I am working on modeling and controlling of a hydraulic system. Modeling of the system is modeled in Matlab simscape in simulink environment which is looks like this and for basic controlling to control the piston position (Piston Pos in figure) I…
Krunal V
  • 1,171
  • 7
  • 20
1
vote
1 answer

connect revolute to motor in simscape

I have imported system to simscape using simmechanics, this is the system ... I want to control the system with real dc motor so I want to connect the revolute with dc motor I tried to connect it with dc motor with specified no load speed and stall…
Ammar Hussein
  • 3,971
  • 3
  • 14
  • 31
1
vote
1 answer

How to get differential equations from simscape system?

I have simmechanics model in simscape, I have imported it from solidworks design I'm able to get linearized model using linmod and it is okay as any system in simulink The problem here that I want to get the differential equations for that system,…
Ammar Hussein
  • 3,971
  • 3
  • 14
  • 31
1
vote
1 answer

simscape motor speed is not stable system

I'm trying to build dc motor in simscape I used the command ssc_dcmotor to get the example I added controlled voltage source instead of voltage source and s-ps converter and made input port ... i replaced scope with output port I made this to get…
Ammar Hussein
  • 3,971
  • 3
  • 14
  • 31
1
vote
1 answer

Connect models in Matlab Simulink

Good day everyone! I tried to make a circuit in matlab simulink, with an AC voltage, Resistor and Voltage measurement. AV voltage and Resistor connect quite well but voltage measurement can't connect the resistor connection. how may I connect the…
Raldenors
  • 303
  • 1
  • 3
  • 11
1
vote
1 answer

Simscape model of a cylindrical fin (pin fin)

I want to build a thermal model of a pin fin: On the left side of the cylinder (red line), a temperature of 140°C heats up the fin. Both on the surface and on the right side of the cylinder (blue lines), a convective heat transer is cooling down…
Phil U.
  • 157
  • 1
  • 1
  • 7
1
vote
1 answer

Matlab circuit simulation

I am new to MATLAB and i want so simulate basic circuit, but i can't connect elements together. All i get is some red dotted line and a warning: Unconnected output line found on 'D1/DC Voltage Source' (output port: 1) How can i connect those…
intelis
  • 6,479
  • 11
  • 44
  • 88
1
vote
1 answer

Obtaining Name of Simscape Physical Port

I am working on a model generation script to automatically generate Simscape models from a library of components with varying ports. Due to the vast number of ports that need to be connected across the model, I am looking for a good way to set up…
1
vote
1 answer

Model "Point on curve" constrain in simMechanics second generation Simulink

I would like using simMechanics second generation to have a body following a predefined trajectory (like a circle). Then if i provide an external force the body must start moving constrained in the trajectory. In simMechanics 1st generation was…
lender
  • 61
  • 6
1
vote
1 answer

reversing the "Measured voltage" in Simulink

Within Simulink, we can use the "Measure voltage" to get a numerical representation (Simulink Signal) of the voltage and use it for mathematical operations. Does there exist a way to take a numerical representation (Simulink Signal) and convert it…
William Dussault
  • 345
  • 2
  • 14
0
votes
1 answer

How to see voltage wave in simulink/simscape?

I'm analyzing the bahaviour of a RLC circuit and I need to observe the voltage and current wave of the circuit but I cannot find a way to do this. I need something like an oscilloscope but the scope does not work with the elements i am working with.…
0
votes
1 answer

Adding a DC Motor to a Simscape Model

I want simulate an inverted pendulum via Simcape. For this, i created a Model with SolidWorks and tranformed it to Simscape. So far so good. Everything worked and my Simulation shows the predicted physical Behavior. But now i want to add a dc motor…
0
votes
0 answers

Is element "Generic Linear Actuator" analog "Metal gear electric Linear actuator"?

Is element "Generic Linear Actuator" analog "Metal gear electric Linear actuator"?
user3104589
  • 135
  • 2
  • 10