Community Profile

# Yifeng Tang

### MathWorks

Last seen: 1日 前 2020 以来アクティブ

All

バッジを表示

#### Content Feed

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

How to get RC circuit parameter for equivalent circuit diagram from measurement Graph?
Simscape user here. So first, I would build the thermal network using the thermal domain. It's just a few thermal resistance a...

9ヶ月 前 | 2

| 採用済み

It sounds to me that the easiest way is to set up two Simulink simulations. Save the output from the 1st one to the MATLAB work...

9ヶ月 前 | 1

Missing something in Simscape.
The force sensor is a sensor for "through variable", so you'll need to connect in series with the element on which you'd like to...

10ヶ月 前 | 0

How can solve this error: Output 'Taout' declared with unit expression that contains an affine unit: 'degC'. Affine units are not allowed when declaring members of this type.
Declare temperatue units in K. That's what the error message is saying. The numerical value of the temperature may be overridd...

10ヶ月 前 | 0

Ideal Check Valve (Thermal Liquid, Simscape)
Hi Mash, Having a check value (or any closed valve) with absolutely zero leakage is in general a bad idea. It basically change...

10ヶ月 前 | 1

I'm not getting an expected temperature/pressure output from cooling a 600 [F] copper object [FEEDBACK REQUEST]
Looks like the convective coefficient was too small. Also, since the pipe has a wall model for heat transfer, you may not need ...

10ヶ月 前 | 0

| 採用済み

What does "delta_vel_pos_AI" in Pipe (G) means?
Hi PY, The term is using a trick to avoid using the abs() function, which may otherwise trigger frequent zero-crossing when mdo...

10ヶ月 前 | 0

| 採用済み

Is this an appropriate way to model the pressure/temperature drop across an elbow joint? Critiques requested
Hi AJ, There is a custom block for an elbow in thermal liquid domain that I can share. Could you please submit a Technical Sup...

10ヶ月 前 | 0

| 採用済み

simscape block node arrangement
Don't know much about IGBT but this seems to be Simscape language syntax. After the "subcircuit2ssc" function, an object for ss...

10ヶ月 前 | 0

| 採用済み

Trying to export .slx and its associated files to allow me to work from a faster PC.
In each of the file solid blocks, the path to the .step file is usually absolute. That full path can be different when you move...

10ヶ月 前 | 0

How to compile a simscape model (to dll) with tunable parameters?
Hi Bruno, Try this: make the parameter you want to tune in the generated code a "Simulink variable", i.e. a variable in the Sim...

10ヶ月 前 | 0

Model contact forces in custom designed CAD using File Solid?
One possibility is adding "point cloud" to better model the contact: https://www.mathworks.com/help/physmod/sm/ref/pointcloud.ht...

10ヶ月 前 | 0

How can I consider the changing temperature of a copper object that is being cooled by coiling a pipe around the outside surface?
The heat transfer between solid objects are best represented by conductive components and thermal mass. I suspect the thermal m...

10ヶ月 前 | 1

| 採用済み

Modell bearing losses of a compressor-turbine shaft in Simscape
I wonder how is the operating points defined. If you have the shaft speed at these points, it's then possible to find the frict...

10ヶ月 前 | 0

How to compound a block
I attached a model showing two ways of doing that. Both use a mask and mask parameters to allow change of parameters afterwards...

10ヶ月 前 | 0

| 採用済み

What is the pressure sensor measuring in simscape fluids?
My understanding is that it's the static pressure. The definition of dynamic pressure would involve a flow velocity, hence a fl...

10ヶ月 前 | 0

How to change File Solid
I don't think you can edit the content of the solid via the file solid block, so I am not aware of a way to do what you have in ...

10ヶ月 前 | 0

| 採用済み

I want to make 70 kw fuel cell system on simulink
Hi Anmol, Let me suggest a few options: 1. Get R2021b pre-release. If you have an active license of MATLAB and the necessary...

11ヶ月 前 | 0

I'm having trouble installing the smlink.r2020b.win64.zip package
I suggest that you contact Technical Support on this. They are very good at handling installation issues.

11ヶ月 前 | 0

| 採用済み

First solve for initial conditions failed to converge in Simscape model
I suspect this may have to with the two "A" ports connected directly to each other, meaning there is no volume or flow resistanc...

11ヶ月 前 | 0

how can i modeling the desiccant system in simscape?
See the 2nd comment above for the answer.

11ヶ月 前 | 1

| 採用済み

How do i get Temperature derating Curve of Fuse?
Hi Alpesh, One suggestion: consider using modechart to model discrete states (melt & normal) of your component. You definite h...

11ヶ月 前 | 1

Degenerate mass distribution after reducing step size and using state-space model
ODE4 is an explicit solver, so it tends to be less stable when the time step is "large". You trying to reduce the time step is ...

11ヶ月 前 | 2

| 採用済み

Is there anyway I can import a SolidWorks Assembly into Simulink and then make changes in SolidWorks appear in Simulink?
It won't be "automatic", and it depends on what you have changed in SolidWorks. It's easy to replace a solid part in Multibod...

11ヶ月 前 | 0

| 採用済み

How can I fix the "internal energy 'too low' " error in Simscape?
I'll have to make some guess ... could you please check how the heat flows into or out of the H port of the accumulator? The er...

11ヶ月 前 | 1

Is there a way to model a pipe under vacuum pressure using Simscape?
Hey Delika, Thanks for the clarification. It seems to me that it's possible to model the evaporation and condensing effects at...

11ヶ月 前 | 1

How can I properly set a valve with catalogues parameters?
Hi Lucca, To parametrize the pressure-flow curve or an area-vs-position table in the valve block, you'll likely need to use the...

11ヶ月 前 | 1

Retrieve a list of simscape.logging.Node names from simlog or other inner nodes
fieldnames(simlog_ssc_dcmotor) seems to work OK for me. Same way you would get the names of a structure variable. ssc_dcmotor ...

11ヶ月 前 | 0

| 採用済み

Branching of a two-phase fluid
Hi Kai, You are using the "Orifice (2P)" block to model the valve, right? Good choice, I'd say, but there are a few things you...

12ヶ月 前 | 1

| 採用済み