Community Profile

photo

Yifeng Tang

MathWorks

Last seen: Today Active since 2020

Statistics

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

View badges

Content Feed

View by

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

5 dagen ago | 0

Answered
Optimal components for a two-stage heat pump in Simscape
It puzzles me why there isn't a flow out of the BV port of the tank. There isn't a flow into BV port either? The BV port is co...

5 dagen ago | 0

Answered
Simscape Pipe array (many pipes in parallel)
It's possible to do it in the way you described. I attached a sample of "flow multiplier" and "thermal liquid multiplier". Dep...

12 dagen ago | 0

Answered
how can i do two phase to thermal liquid connection?
Hi Davod, This wasn't possible until the R2021a release of Simscape Fluids. https://www.mathworks.com/help/physmod/hydro/ref/i...

12 dagen ago | 0

Answered
How change simscape simulation time from seconds (sec.) to hours (h)
Just to summarize the thread of comments, so the question appears as "Answered". The easiset way is to multiply the duration of...

12 dagen ago | 0

Answered
Simscape Fluids - The best way to inputs parameters on the Displacement Pump Rexroth
Hi Diego, It's very common that the supplier doesn't provide ALL technical data. Some educated guess is often needed. The fir...

17 dagen ago | 0

Answered
How can i give more accurate initial conditions ?
The pump module has no input (velocity or torque) at the shaft. The system of equations is missing conditions needed to start t...

17 dagen ago | 0

Answered
What causes the pressure behavior in valves?
Hi Michael, I think there are a couple things at play here: First, there is currently no volume at all between the two reservo...

17 dagen ago | 0

Answered
Why the volumic flow rate sensor (motion air) is registering a negative value?
As @VBBV mentioned in the comment, switching the A/B port is likely the solution. Is this turbine block the same one as in theA...

17 dagen ago | 0

Answered
Simscape fluids and Ansys CFX
Hi Federico, For the block you mentioned, tabulated data or polynomial coefficients (which will require some data fitting) are ...

19 dagen ago | 0

Answered
Recursive type equation solution in simscape
Feels like you are trying to use Simscape like MATLAB :p, by considering how to use iterations to do the numerical integration. ...

19 dagen ago | 0

Answered
air-oxygen mixing model in a continuous process
You should be able to use the Moist Air (MA)domain for such a purpose. The domain keep tracks of the concentration, mass, and e...

19 dagen ago | 0

Answered
Problems with Organic Rankine Cycle Simulation
If you are new to Simulink and Simscape, consider the free, interactive tutorials known as the Onramps first. Simulink Onramp: ...

19 dagen ago | 1

| accepted

Answered
How to connect elements form different simscape sub-libraries?
I believe you may use two orifices to achieve what you have described. Just control the input area to each to adjust the amount...

19 dagen ago | 0

Answered
How to use Simscape to solve heat conduction equation?
I guess by "wrong results" you mean the measured heat flow rate doesn't make sense? I noticed you connected the heat flow rate ...

19 dagen ago | 0

Answered
I get the following error; "Caused by: Variable 'fan_area' has been deleted from base workspace." in Simscape
The parameters of this model are all kept in the Simulink model workspace. So the fact that it's looking for things in the base...

24 dagen ago | 0

Answered
Modeling of a bypass valve in the two-phase structure
If "opening fraction is zero throughout" and the valve let through a significant fraction of the total mass flow, you have too m...

24 dagen ago | 0

Answered
How can I implement vanes (IGVs) on compressor unit in Simscape?
You are right about the compressor block: it doesn't support vanes as an input. I can think of one workaround, by using a 3D lo...

24 dagen ago | 0

Answered
how can i get the specific heat at constant volume for two phase fluid Water/Steam
Hi Mario, You should be able to calculate Cv from Cp, temperature, thermal expansion coeffcient, density, and bulk modulus. Al...

24 dagen ago | 0

Answered
Is it possible to calculate the "hydraulic-translation-multibody"-system backwards?
I would agree with you that the valve position couldn't be calculated the way you described. The force, though, can be found by...

26 dagen ago | 0

Answered
Variable Kv valve model
My suggestion would be to modify the code of a local restriction block, and move the Discharge Coefficient (Cd) from "parameter"...

26 dagen ago | 0

Answered
Pressure-flow characteristic for a 4-Way Directional Valve
I believe the pressure differentials refer to p.P-p.A, p.P-p.B, p.A-p.T, p.B-p.T. The flow direction is defined in the save way...

26 dagen ago | 0

Answered
How to add radiation heat transfer to 3-Zone Pipe (2P) ?
This may be a workaround: May the convective transfer coefficient in the 3-zone pipe ridiculously large, so it results in almos...

26 dagen ago | 0

Answered
How do I change the default settings (water) in Thermal Liquid (TL) Settings in my Simulink model?
Use the Thermal Liquid Settings block in Simscape / Foundation Library / Thermal Liquid / Utilities: https://www.mathworks.com/...

26 dagen ago | 0

Answered
Heat Excahnger TL Modeling Liquid Cooling
Looks like a follow-up on question https://www.mathworks.com/matlabcentral/answers/1624290-simulink-thermal-liquid-simulation?s_...

26 dagen ago | 0

Answered
Simulink Thermal liquid simulation
Hi Jan, There are a few things that need attention in your model: use of "absolute reference" blocks: this block prescribes an...

26 dagen ago | 0

Answered
Aggregate Equivalent Length of Local Resistances (AELoLR) Simscape hyd. Pipes
Hi Michael, This parameter is there to add some length to the pipe only in the equations that calculate the friction loss, see ...

26 dagen ago | 0

Submitted


Intro-Examples-for-Simscape-CN
Model and scripts from video series on Simcape physical modeling

26 dagen ago | 8 downloads |

Answered
Equations for Simscape component Pipe (2P)
The blending happens in lines 324-327 (R2022a): % Smooth transition for heat transfer coefficient between liquid, mixture, ...

ongeveer een maand ago | 0

Answered
The model of the dehumidifier based on the Peltier element
Looks like a parametrization issue here. In the provided model, the peltier device has ~600Amp going through, and that's a lots...

ongeveer een maand ago | 0

Load more