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)

80 questions
0
votes
0 answers

Calling a 3D meshgrid into Simscape

I have produced a TPMS 3D surface mesh in MATLAB. Is there a way I can call it by code into Simscape? I want to do some flow and HX modeling. I tried to save it as .stl but seems like my MATLAB can't write or read .stl. Is there a way I can go…
Kabo
  • 1
  • 1
0
votes
0 answers

Why is the three-phase fault block in Simulink producing low current during simulation with correctly configured relay logic?

I am in dire need of some help on this topic. I am trying to simulate the function of three-phase relays in simulink and after implementing the relay logic to control breakers on either side of a transformer. I also need to somehow simulate a three…
GeKarv
  • 1
  • 1
0
votes
0 answers

How to connect output from PEM fuel cell to Boost Converter?

enter image description here I am trying to connect out of PEM fuel cell to Boost Converter, however the connection seems incompatible. What block or converter should I use? I tried PS-Simulink converter block but the output was also not connecting…
0
votes
0 answers

Hydrogen gas mixing module Simulink

There are 3 gasses (LNG, NCC, H2) and these will be mixed in a mixing vessel. But first, there will be looked at the pressure change when there is a disruption placed somewhere in the system. There is an initial pressure of 25 bar, through a valve…
0
votes
0 answers

Connecting Error of Current measurement block to Controlled Current Source In Simulink ; Simscape

I'm doing a simulation related to Mathworks Simulink Aircraft Electrical Power System Model. https://kr.mathworks.com/help/sps/ug/aircraft-electrical-power-generation-and-distribution.html Below is the normal model part for the Generator part. This…
0
votes
0 answers

SimScape-Simulink electrical connections

I'm trying to include a basic simscape S-R Latch in a Simulink model but I can't connect nets to the Simlink-PS or PS-simulink converters - see the red connection. Sae How do I connect this correctly?
Graham
  • 541
  • 2
  • 5
  • 13
0
votes
0 answers

Using Simscape multibody to monitor temperature and pressure changes

I have imported Cad models of a mechanical system to Simscape multibody. I need to reflect the effect of some physical parameters (like temperature, pressure...) on the surface of the parts of the system, such that their color changes according to…
0
votes
0 answers

How to create a variable damping system on revolut joint in SIMULINK?

I wanted to model a variable spring stiffness and a variable damping system in my joint. I am currently using a PID to control my robot model. I tried to change the damping value manually to view the graph, but no changes are made in the graph…
Win
  • 1
0
votes
0 answers

add 2 simulink urdf files into one model

I make 2 simulink model file from 2 robot CAD assembly file with smimport command I want to combine them in one simulink model and show both in simscape, but many IndexOutOfRangeException is occurred. How can I combine them?
linel
  • 13
  • 1
  • 3
0
votes
0 answers

DC Motor parameter in simscape

I'm here because I'm trying to implement a DC motor model in simscape. I'm having trouble matching the motor specifications, after filling the block with the parameters taken from the datasheet the output is not what I was expecting. For instance…
0
votes
1 answer

Connecting blocks in Simulink

The "A" port of a three level bridge needs to be connected to Gain block as shown here: However, a red line pop-ups and the connections are not possible. Can somebody please let me know how do we make this connection ?
LearnerABC
  • 51
  • 1
  • 1
  • 7
0
votes
0 answers

How to connect elements form different simscape sub-libraries?

Specifically, my group is working on thermal modeling of EVs i.e cabin cooling and battery cooling. We have used most elements from the two-phase-fluid sub-library of simscape. But at two connections we want a controlled separation of the…
rushi
  • 1
0
votes
1 answer

MATLAB Simscape model not outputting torque or throwing error

I'm trying to torque control a revolute joint in Simscape multibody and while I am able to get my joint to rotate, it does not seem to properly output torque. I thought it was an inverse kinematics issue, though no error was thrown. What's more,…
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…