Answered

Error Temperature of liquid volume must be less than or equal to Maximum valid temperature

Hi Johannes, I took a look at your model. Two minor things, both in the pump subsystem, I'd suggest that you change: the unit...

Error Temperature of liquid volume must be less than or equal to Maximum valid temperature

Hi Johannes, I took a look at your model. Two minor things, both in the pump subsystem, I'd suggest that you change: the unit...

5 months ago | 0

Answered

I want to use a solenoid valve to achieve two-phase flow on/off

First, you'll almost never see a valve block to be complete "off" in a model. You'll always see a minimum area or flow fraction...

I want to use a solenoid valve to achieve two-phase flow on/off

First, you'll almost never see a valve block to be complete "off" in a model. You'll always see a minimum area or flow fraction...

5 months ago | 0

Submitted

Intro-Examples-for-Simscape-CN

Model and scripts from video series on Simcape physical modeling

6 months ago | 24 downloads |

Answered

Problems with the "System-Level Heat Exchanger (TL-MA)" Simscape block

Starting from "nominal temperatures and rate of heat transfer" means at time of 0, the fluids inside the volume will have the pr...

Problems with the "System-Level Heat Exchanger (TL-MA)" Simscape block

Starting from "nominal temperatures and rate of heat transfer" means at time of 0, the fluids inside the volume will have the pr...

7 months ago | 0

Answered

How do I take the translation output from one hydraulic cylinder rod and give it as an input to another so that it can act as a reciprocating pump in SIMHYDRAULICS?

I believe you have one of the hydraulic cylinder backwards. The left-right on the canvas doesn't indicate positive or negative ...

How do I take the translation output from one hydraulic cylinder rod and give it as an input to another so that it can act as a reciprocating pump in SIMHYDRAULICS?

I believe you have one of the hydraulic cylinder backwards. The left-right on the canvas doesn't indicate positive or negative ...

8 months ago | 1

| accepted

Answered

Reciever Accumulator in Simscape inlet Liquid and Vapour problem

It doesn't matter what state/mixture goes INTO the receiver from which port; the block will get what's coming in. When the flui...

Reciever Accumulator in Simscape inlet Liquid and Vapour problem

It doesn't matter what state/mixture goes INTO the receiver from which port; the block will get what's coming in. When the flui...

8 months ago | 0

| accepted

Answered

2P-2P Heat Exchanger

A few thoughts: (1) maybe use a system-level heat exchanger (2P-2P) as a starting point, so you have a model that you can simul...

2P-2P Heat Exchanger

A few thoughts: (1) maybe use a system-level heat exchanger (2P-2P) as a starting point, so you have a model that you can simul...

8 months ago | 0

| accepted

Answered

Simcape real gas properties for N and H2

Coolprop is free. They also have MATLAB wrapper.

Simcape real gas properties for N and H2

Coolprop is free. They also have MATLAB wrapper.

8 months ago | 0

Answered

Brazed plate heat exchanger on Simscape

I would recommend the following combination of options: The key is to choose "generic" for tube section, so you can set th...

Brazed plate heat exchanger on Simscape

I would recommend the following combination of options: The key is to choose "generic" for tube section, so you can set th...

8 months ago | 2

| accepted

Answered

two-phase flow 4-way valve

You may follow this example on how to make a N-way valve manually. https://www.mathworks.com/help/simscape/ug/hydraulic-actuato...

two-phase flow 4-way valve

You may follow this example on how to make a N-way valve manually. https://www.mathworks.com/help/simscape/ug/hydraulic-actuato...

8 months ago | 0

Answered

Simscape how to set up a multi-process evaporator or condenser

The architecture looks right: refrigerant in series and air flow in parallel, like the actual heat exchanger. A few things to p...

Simscape how to set up a multi-process evaporator or condenser

The architecture looks right: refrigerant in series and air flow in parallel, like the actual heat exchanger. A few things to p...

8 months ago | 0

| accepted

Answered

How to model tanks with inlets above liquid level - partially filled pipes missunderstood?

You can find here two examples on how to use a tank block and a partially filled pipe together in an isothermal liquid model. T...

How to model tanks with inlets above liquid level - partially filled pipes missunderstood?

You can find here two examples on how to use a tank block and a partially filled pipe together in an isothermal liquid model. T...

9 months ago | 0

| accepted

Answered

Binary Mixtures using coolprop in Matlab

Looks like you can use the MATLAB wrapper for Coolprop to define a mixture and query the properties, like below: py.CoolProp.Co...

Binary Mixtures using coolprop in Matlab

Looks like you can use the MATLAB wrapper for Coolprop to define a mixture and query the properties, like below: py.CoolProp.Co...

10 months ago | 1

Answered

How to plot pump and system curve based on the hydraulic model in Simscape / Simulink?

To summarize the discussion from the comments section: The pump curves can be generated from the pump blocks in Simscape Fluids...

How to plot pump and system curve based on the hydraulic model in Simscape / Simulink?

To summarize the discussion from the comments section: The pump curves can be generated from the pump blocks in Simscape Fluids...

10 months ago | 0

Answered

Connection between corrected mass flow and pressure ratio in the Turbine (G) Block

Summary from the discussion in the Comments section. While the formulation isn't given in the Documentation page of the Turbine...

Connection between corrected mass flow and pressure ratio in the Turbine (G) Block

Summary from the discussion in the Comments section. While the formulation isn't given in the Documentation page of the Turbine...

10 months ago | 0

Answered

Definition of Reynolds number for MA side in Heat Exchanger (2P-MA) model

I checked the source code: for generic geometry, the hydraulic diameter is calculated as 4 * generic_fluid_volume / generic_he...

Definition of Reynolds number for MA side in Heat Exchanger (2P-MA) model

I checked the source code: for generic geometry, the hydraulic diameter is calculated as 4 * generic_fluid_volume / generic_he...

10 months ago | 0

Answered

Heat Pump Air Conditioner

Hello, I would suggest that you take a close look at this Documentation page "Model a Refrigeration Cycle" https://www.mathwor...

Heat Pump Air Conditioner

Hello, I would suggest that you take a close look at this Documentation page "Model a Refrigeration Cycle" https://www.mathwor...

10 months ago | 0

| accepted

Answered

Two-phase exchanger with evaporator that loses pressure at the outlet.

Check out this documentation page and carefully follow the workflow. https://www.mathworks.com/help/hydro/ug/modeling-a-refrige...

Two-phase exchanger with evaporator that loses pressure at the outlet.

Check out this documentation page and carefully follow the workflow. https://www.mathworks.com/help/hydro/ug/modeling-a-refrige...

10 months ago | 1

Answered

Implementation of two-phase liquid out of REFPROP into simscape

In the same Documentation page, there is an example of using the same command to assign the properties to a Two-Phase Fluid Prop...

Implementation of two-phase liquid out of REFPROP into simscape

In the same Documentation page, there is an example of using the same command to assign the properties to a Two-Phase Fluid Prop...

10 months ago | 0

| accepted

Answered

How can I solve the error generated by a T-Junction when there is a Parallel Channels block in my simscape fluid model?

Hi Miguel, In the model you shared, the T-junction has the default initial flow target of 0 at all ports and "high" priority. ...

How can I solve the error generated by a T-Junction when there is a Parallel Channels block in my simscape fluid model?

Hi Miguel, In the model you shared, the T-junction has the default initial flow target of 0 at all ports and "high" priority. ...

11 months ago | 1

Answered

Data center Simscape modelling

There is a shipping example on data center cooling, in R2023a. https://www.mathworks.com/help/hydro/ug/data-center-cooling.html...

Data center Simscape modelling

There is a shipping example on data center cooling, in R2023a. https://www.mathworks.com/help/hydro/ug/data-center-cooling.html...

11 months ago | 0

Answered

Fin Surface Area Condenser-Evaporator (2P-MA) Simscape Fluids

In the parameter dialog, the fin area for the MA side are for those thin foil/sheet you see on the outside of the tubes. The wa...

Fin Surface Area Condenser-Evaporator (2P-MA) Simscape Fluids

In the parameter dialog, the fin area for the MA side are for those thin foil/sheet you see on the outside of the tubes. The wa...

11 months ago | 1

| accepted

Answered

Cooling system whit Ammonia not run

Hi Francesco, We believe the error has to do with the fact that NH3 has a non-monotonic supercritical line. It needs to be fix...

Cooling system whit Ammonia not run

Hi Francesco, We believe the error has to do with the fact that NH3 has a non-monotonic supercritical line. It needs to be fix...

11 months ago | 0

Answered

Error using System-Level Refrigeration Cycle (2P)

Hi Carlo, We believe the error has to do with the fact that NH3 has a non-monotonic supercritical line. It needs to be fixed i...

Error using System-Level Refrigeration Cycle (2P)

Hi Carlo, We believe the error has to do with the fact that NH3 has a non-monotonic supercritical line. It needs to be fixed i...

11 months ago | 0

Answered

Simscape two-phase fluid in closed accumulator looses pressure

Hi Patrick, I believe what you are seeing is the result of the "upwind energy scheme" implemented at all ports of thermo-fluids...

Simscape two-phase fluid in closed accumulator looses pressure

Hi Patrick, I believe what you are seeing is the result of the "upwind energy scheme" implemented at all ports of thermo-fluids...

12 months ago | 1

| accepted

Answered

how mixing pressure Pm is calculated in gas ejector model of Matlab

This pm term is EVERYWHERE in the governing equations of the ejector. It's solved for implicitly to keep the system of equation...

how mixing pressure Pm is calculated in gas ejector model of Matlab

This pm term is EVERYWHERE in the governing equations of the ejector. It's solved for implicitly to keep the system of equation...

12 months ago | 0

Answered

How to model actuator ports in Simscape fluids?

I'd encourage you to think more about the "effect" of a port in the actual system, instead of just having the actually values of...

How to model actuator ports in Simscape fluids?

I'd encourage you to think more about the "effect" of a port in the actual system, instead of just having the actually values of...

12 months ago | 0

Answered

issues on Heat exchanger in simscape TL-MA

Setting reasonable parameters to discribe the nominal conditions for the heat exchanger seem to resolve the issue. Pay particul...

issues on Heat exchanger in simscape TL-MA

Setting reasonable parameters to discribe the nominal conditions for the heat exchanger seem to resolve the issue. Pay particul...

12 months ago | 0

| accepted

Answered

In a Simscape Fluids/Hydraulic/IL centrifugal pump model, why is the flow higher after narrow pipe than directly after the pump?

In the Isothermal Liquid domain, the density of the fluid is a function of the pressure. See this documentation page: https://w...

In a Simscape Fluids/Hydraulic/IL centrifugal pump model, why is the flow higher after narrow pipe than directly after the pump?

In the Isothermal Liquid domain, the density of the fluid is a function of the pressure. See this documentation page: https://w...

1 year ago | 2

| accepted

Answered

How can I mode the refrigeration cycle considering frosting in the evaporator in simscape

Hi Shuping, You are correct about the condensed water being removed right away (like magic) from the MA domain. Therefore, no ...

How can I mode the refrigeration cycle considering frosting in the evaporator in simscape

Hi Shuping, You are correct about the condensed water being removed right away (like magic) from the MA domain. Therefore, no ...

1 year ago | 0