Community Profile

photo

Yifeng Tang

MathWorks

Last seen: 3 days ago Active since 2020

Statistics

All
  • Personal Best Downloads Level 1
  • 6 Month Streak
  • First Submission
  • GitHub Submissions Level 1
  • Knowledgeable Level 4
  • Revival Level 3
  • First Answer

View badges

Content Feed

View by

Answered
Create a blockage in a pipe and simulate in Simulink
HI Adeyemi, The easiest thing to do is to use a Variable Local Restriction and closes it when you want the blockage to occur. ...

4 days ago | 0

Answered
positive displacement compressor (G) for simulating roots blower
Looks like this positive displacement compressor would be the right choice. A roots-type blower indeed works by trapping a fixe...

4 days ago | 0

| accepted

Answered
SimScape Tank (G-TL) - Liquid below inlet height error
This error is saying your liquid level is too low. Since it happened after the simulation has run for 22 secs, either too much ...

18 days ago | 0

Answered
Variable 3-way Proportional Control Valve flow rate and pressure drop
I would recommend using the parameter estimation workflow. You'll like need the Optimization Toolbox and the Simulink Design Op...

25 days ago | 0

Answered
How to use Temperature control valve (TL) in Simscape properly?
I saw mass flow rate sources in your model right before the control valve. The source will force the prescribed amount of flow ...

25 days ago | 0

Answered
how can i install seawater properties inside two phase-fluid properties ? simscape
If you have access to Simscape Fluids, an add-on library for Simscape, there is a Thermal Liquid Properties (TL) block, where se...

25 days ago | 0

Answered
Using a centrifugal pump in a two-phase (2P) fluid in Simscape
It's possible to build a model for CP to reproduce much of its behavior. If you can build a 2D table from reference data for th...

25 days ago | 0

Answered
Where would I find properties of steam, to use in the gas properties block in simscape?
I would assume you are using the Gas domain to model your system and try to use different Gas Property block to switch the worki...

1 month ago | 0

Answered
Simscape gas pipe acoustics
You are probably right that you'll need the gas inertia modeled to capture the quick oscillation of pressure as the results of s...

1 month ago | 0

Answered
Modeling of a system with mixture of two gases on Simscape
You may use the Moist Air (MA) domain and set the properties to the gases you'd like to mix. If either species may condense, yo...

1 month ago | 0

Answered
How to simulate the conductive heat transfer due to the pipe wall thickness using the Pipe (TL) block from the Simscape Fluids library?
You are VERY close. Try either of the following, depending on what type of heat source your have:

1 month ago | 0

Answered
Nonconservation of energy when using system-level heat exchanger
I downloaded the model and noticed the flowrate on the right is very large. As you are still using the default port size (0.01m...

1 month ago | 0

| accepted

Answered
Is there a block available for storing the Moist Air, which displays the Volume filled in it? If not How can I design/modify existing one?
I would suggest you try with the Translational Mechanical Converter (MA) block. The volume can be calculated by measuring the po...

1 month ago | 0

Answered
i need to model this pneumatic cycle using Simscape
The A-port of the two-way direction valve is connected to Pressure sensor, which allows no flow, so no flow can occur in this ne...

1 month ago | 0

Answered
Calculate heat capacity for R134a
If you really want, you can use the data in r134aPropertyTables.mat to calculate the cp for both the liquid and the vapor phases...

1 month ago | 0

Answered
how can i get the value of specific enthalpy at the reference temperature in block of gas properties?
Hi Jiseung, I believe that parameter is just to specify a reference point (like 0 degC on temperature scale) for the specific e...

1 month ago | 0

Answered
Centrifugal Pump (IL) as a Centrifugal Turbine (IL)
Interesting idea, but I doubt it would work. For compressors, the flow runs through and pressure increases, while for turbines,...

1 month ago | 0

Answered
Is pipe elevation taken away from pipe lenght?
the pipe length and cross section area defines its geometry (volume, heat transfer area, etc.) while the elevation provides a wa...

1 month ago | 0

Answered
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...

3 months ago | 0

Answered
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...

4 months ago | 0

Answered
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...

4 months ago | 0

Answered
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...

4 months ago | 0

Answered
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...

4 months ago | 1

| accepted

Answered
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...

4 months ago | 0

Answered
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...

4 months ago | 0

Answered
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...

4 months ago | 1

Answered
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...

4 months ago | 0

Answered
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...

4 months ago | 0

Answered
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...

5 months ago | 0

Answered
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...

5 months ago | 0

Load more