Community Profile

# Yifeng Tang

### MathWorks

Last seen: 12 days ago Active since 2020

All

#### Content Feed

View by

sh_cyl_counterbalance_valve example: artificial results when 0 input?
Hi Chris, I tried to make Load and Flow Rate blocks zero and seem to get what you saw as well. Look like the initial "spike" co...

22 days ago | 0

4-way directional valve from matlab simscape calculates volume flow incorrectly.
The flow rate sensor that is supposed to measure the flow rate out of Port A, appears to have a branch before it, which allows t...

1 month ago | 0

Evolving 'Aggregate Equivalent Length of local resistances' within a simulation?
Since you have access to the Simscape code of this block, you may make the 'Aggregate Equivalent Length of local resistances' no...

2 months ago | 0

How can I move a double acting cylinder by force?
I believe it's because of the force sensor you have on top of the picture. A force sensor needs to be placed in line with the a...

2 months ago | 0

Modeling condensation on walls using Simscape Moist Air
Starting R2022b, the Pipe block in the Moist Air domain contains the "Effect of Condensation on Wall Surface". It's different f...

2 months ago | 1

| accepted

Thermal Liquid Tank in simscape
I don't think there is a more easy or efficient way in your case. In the latest version of Simscape, however, you can get up to...

2 months ago | 0

Is it possible to create Packed bed thermal model in simscape?
Attempt to answer from 4 years later ... (1) I think the easiest way is to use a Pipe block. Attach the right amount of therm...

2 months ago | 0

SimHydraulics - double centrifugal pump
The centrifugal pump block is available in Simscape Fluids for the Hydraulic domain since R2007a and for the newer Isothermal Li...

2 months ago | 0

Pressure in a closed thermal liquid system
You'll need a "tank" to stablize this. What happens is that the density of the fluid is a function of pressure and temperatur...

2 months ago | 0

I have confusion in Simscape Co2 transcritical system example. How you had designed compressor i dont get it and why you used PS LOOK UP TABLE 2D IN COMPRESSOR. Do i need a specific date to run this
The 2D LUT and an ideal flow rate source is to represent the BEHAVIOR of a compressor. If the pressure ratio (outlet/inlet) ris...

2 months ago | 0

Looking for the base model of the counter balance valve
comment from 8 years later, lol. I don't think you can access the source code behind the blocks in Simscape Fluids (new product...

2 months ago | 0

SimHydraulics "Failed to solve using iteration matrix. Initial conditions solve failed to converge."
Force sensor should be placed inline with there the force passes through, just like measuring a current. The force sensor in yo...

2 months ago | 0

Hydraulic circuit between two pressure sources
The pressure sensor you have there blocks the flow totally, lol. It's like voltmeter where no current is let through. Usually ...

2 months ago | 0

How to solve unconverged equations error ?
My experience: this typically happens when the piston moves while flow is constricted in the expanding chamber of the cylinder. ...

2 months ago | 0

I am guessing, you are trying to build a valve block that will achieve any given pressure at its outlet? I think the best way t...

3 months ago | 0

How does the Gate Valve (TL) block utilize "Cross-sectional area at ports A and B" and "Characteristic longitudinal length"?
In the latest version (R2022a), this characteristic length isn't a parameter anymore. In an earlier version (R2020b), I couldn'...

3 months ago | 0

Simscape simulation of Hydraulic/Gas chamber
Maybe this will work: Use the TL-G tank and the insulators you mentioned. It should be able to do 1-4 and 6 of your requirement...

3 months ago | 0

Simscape Fluids Valve models: Do they exhibit non-linearity too?
The Simscape valve components uses the spool position signal at the S port to determine the orifice areas (or dP-Q relationships...

3 months ago | 0

Hi Brett, I think we have discussed this during a meeting. Just put some notes here so more people may benefit from your quest...

3 months ago | 0

Cant implement the heat exchanger (simscape library) in an existing simulink model
You probably need a few (Controlled) Reservoir (TL)blocks to prescribe the pressure and temperature boundary conditions, and a C...

3 months ago | 0

Simulink Thermal Hydraulic systems specify elevation
I would recommend that you try the Tank (TL) and Pipe (TL) from the Simscape Fluids library. Both allow you to specify an eleva...

3 months ago | 0

Customized Simscape convective heat transfer component not working
Hi Roland, I believe you are missing one equation to define how Q is related to the heat flow through the ports. Try adding th...

3 months ago | 0

Trapped air in fluid
The entrained air affects how the bulk modulus (hence also density) changes as a function of the pressure. More air will make t...

3 months ago | 0

Dynamic calculating of kinematic viscosity
The source code of all Simscape foundation library blocks are available, including the hydraulic domain. I can verify back to t...

3 months ago | 0

What would be the total flow rate inside the hydraulic cylinder chamber when modeled with piston chamber and hydro-mechanical converter?
The first a few paragraphs of the documentaion pages for theTranslational Mechanical Converter (IL) and the Translational Hydro-...

3 months ago | 0

How to move the rod of a cylinder?
So far, the only way in Simscape to prescribe a mechanical motion is using a velocity source, while in Simscape Multibody, the o...

3 months ago | 0

Specific and ideal pressure and flow
In general, one cannot prescribe both the pressure at and the flow through a node at the same time. If a pressure is prescribed...

3 months ago | 0

Depending on what physical domain you are thinking of, a few pipeline blocks in the Simscape Fluids library allow the modeling o...

3 months ago | 0

How to control simscape ball valve block
Looks like an earlier version of question: https://www.mathworks.com/matlabcentral/answers/502708-control-of-ball-valve?s_tid=s...

3 months ago | 0

Simscape 2P: How can I realize both varying local restriction and blocking the flow path.
Besides from my comment earlier, I've found that using a custom block of a "variable flow resistance" seems to make thing easier...

4 months ago | 0