Risposto
I have a subsystem in Simulink with LConn and RConn blocks, some from Simulink Electrical and others from Simscape. How can I retrieve their type info from MATLAB?
I think this will help: myBlock = 'example/Subsystem'; port_handles = get_param(myBlock,"PortHandles") inports = port_han...

oltre un anno fa | 0

Risposto
I added a constant heat flow source to the pipe but I couldn't see any temperature increase to the fluid which flows
This should work fine. This is how heat is added to the coolant in some examples in the Documentation as well, like Electric Ve...

oltre un anno fa | 0

Risposto
Issue with Basin Level Fluctuation After Parallelizing Cooling Towers in MATLAB Data Center Cooling Example
It looks like those two T-junctions are creating different flow resistance into the two towers. As a result, the inflow can flu...

oltre un anno fa | 0

Risposto
Load simulation state in Simulink Coder generated C code
Hi @Zoltán Runyó, I think it's possible to do what you are envisioning using "Simulink Parameters" in the initial conditions. ...

oltre un anno fa | 0

Risposto
Error in the Documentation and Modeling of the Polytropic Process in Positive Displacement Compressors
Hi @ROBERTO, This looks like an error in the documentation to me right now. I measured a few more quantities from the model. ...

oltre un anno fa | 0

| accettato

Risposto
How can I properly include the effect of wall thermal in the geometry based Condenser Evaporator (2P-MA) block?
Hi Roberto, The R2025a release (still in pre-release as of 3/7/2025) now has wall-thermal mass as an option for several geometr...

oltre un anno fa | 0

Risposto
Convert a 2013a multibody model to 2022b
Looks like some of the frames need a rotation. I'm not sure about what mechanism you are trying to model, but right now, the th...

oltre un anno fa | 1

| accettato

Risposto
How to control pressure gain and mass flow with Fixed Displacement Pump
Hi Nadir, From you model, I measured of 9.2MPa. This is consistent with the formula you showed. I believe when you put in th...

oltre un anno fa | 0

Risposto
How can I reduce excessive bouncing in my small quadruped Simulink model using Spatial Contact Force settings while joints run in position mode?
I use the following guideline when parametrizing "hard-stop" in hydraulic components (like a cylinder). You may find this simil...

oltre un anno fa | 0

| accettato

Risposto
Modelling multistage expansion of compressed air in a single cylinder engine
Hi @Kyle I feel like the model should look similar to that diagram you have. Single-cylinder engines can be modeled using a Me...

oltre un anno fa | 0

Risposto
Are gas properties for common gasses (i.e. oxygen, nitrogen, CO2) defined anywhere for use in Simscape?
REFPROP and CoolProp will be the best path forward. I'm not aware of such a library in Simscape. If you are working with N2, O2...

oltre un anno fa | 0

| accettato

Risposto
Linking Mechanical and Hydraulic System Model in SIMSCAP MATLAB
The Translational Multibody Interface was first available in R2021a. Prior to that, such interface can be doen using force sens...

oltre un anno fa | 0

Risposto
Adding input for valid parameter in Simscape block
Hi @Florian, I think it's possible. The Simscape code of this block is visible. You may find it in the Description tab of the...

oltre un anno fa | 0

| accettato

Risposto
Modelling a Dehumidifier with Simscape Fluids System Level Heat Exchanger(TL-MA) not possible?
The error is complaining that the parameters you've set don't make sense :p For example, you've set the operation condition to ...

oltre un anno fa | 1

| accettato

Risposto
On how to use the Two-Way Connection Block
Hi @CAME, I've seen this in earlier version of Powertrain Blockset examples. I took some snapshot from this "Conventional Vehi...

oltre un anno fa | 0

| accettato

Risposto
Model leaks in tanks and valves in a gas SIMULINK system
(Moved to Answer from Comments) It sounds like you have some values as a "standard" leak rate, is that right? I would assume y...

oltre un anno fa | 0

Risposto
Bonjour, je souhaite modéliser un piston et j'ai une erreur. Merci
In your model, the B & F ports of the prismatic joint is connected to the B & F port of a rigid transform block. This will fix ...

oltre un anno fa | 0

Risposto
PEM fuel cell heat management
Looks like it should be instead. Would you agree? I checked the source code and the power dissipation term is calculated as ...

oltre un anno fa | 1

Risposto
Ejector (2P)
Hi Hussein, Sounds complicated :p This reminds me of certain design of flash tank or economizer design I saw in some multi-sta...

oltre un anno fa | 1

Risposto
Can't seem to get both motion/speed sensor and torque sensor to read at the same time.
I tried a simple model on my end. You'll get reading from both if you add an inertia or damper to the R port of the motor. Oth...

oltre un anno fa | 0

| accettato

Risposto
Trace Gas Removal Loop
Hi Ryan, The logic you have in mind is likely to trigger lots of zero-crossing/chattering, and as @Walter Roberson pointed out,...

oltre un anno fa | 1

Risposto
How to model Concave Hull Contact Force in Simulink Simscape
For a generic solid, Multibody only support exporting the Convex Hull for contact modeling (as of R2025a). So that quarter pipe...

oltre un anno fa | 0

Risposto
how to understand and combine simscape pump performance curves
I can try to help on the "Plotting on the Same Graph" part. Once you generate this figure from the pump block, you can use the ...

oltre un anno fa | 0

| accettato

Risposto
LNG liquid to gas phase change simulation Simscape
Hi @Anil I suggest that you try something like this: Model the LNG and its evaporization in the 2P domain. The Receiver Acc...

oltre un anno fa | 1

| accettato

Risposto
What is my fault to this modelling? I want to move the model but I am not able to solve the faults.
Follow the instructions in the error message. Use the Simulink-PS Converter to provide derivatives. The time constant will c...

oltre un anno fa | 0

Risposto
Modelling the sublimation of dry ice
Hi @Kyle, Interesting problem. I would approach it from the angle of convervation of energy and mass. Assuming the dry ice st...

oltre un anno fa | 2

| accettato

Risposto
How to model a piston with a retracting spring at one end and having single hydraulic port??
Something like this should work. It's important to pay attention to a few things when setting up this model: (1) area of the...

oltre un anno fa | 0

Risposto
Implementing Process Control for Heat Exchanger Networks in MATLAB
For the physical plant, for instances heat exchangers, pipes, valves, pumps, etc., I suggest that you look into Simscape and Sim...

oltre un anno fa | 0

Risposto
Lead screw driven by a revolute joint in Simscape Multibody: How can I set a slider displacement to be proportional to the revolute joint angle?
Hi @mhaz, I think it would make more sense to move the revolute joint to be in series with the prismatic joint. See below. ...

oltre un anno fa | 0

Risposto
How to measure torque and rpm of compressor in refrigeration cycle?
Use a Ideal Torque Sensor, connect it in series with the compressor R port, and now you are measuring the shaft torque. Multipl...

oltre un anno fa | 0

Carica altro