modelWaterExchange
Water make-up and let-down.
Extends from LibRAS.Interfaces.PartialTwoPort (Partial component with two ports).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialTwoPort) | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| General | |||
| Modelica.SIunits.Temperature | T_makeup | system.T_ambient | Make-up water temperature |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| WasteFluidPort_a | port_a (from PartialTwoPort) | Fluid connector a (positive design flow direction is from port_a to port_b) | |
| WasteFluidPort_b | port_b (from PartialTwoPort) | Fluid connector b (positive design flow direction is from port_a to port_b) | |
| Modelica.Blocks.Interfaces.RealInput | makeupRate | Water exchange factor | |
| Modelica.Blocks.Interfaces.RealOutput | V_flow_exchanged | Volume flow rate of exchanged water |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| LibRAS.System | system (from PartialTwoPort) | System wide properties | |
| LibRAS.Sources.MassFlowSource_T | source | ||
| LibRAS.Pipes.Tee | tee | ||
| LibRAS.Sources.MassFlowSource_T | drain | ||
| LibRAS.Sensors.MassFlowRate | massFlowRate1 | ||
| Modelica.Blocks.Math.Gain | gain1 | ||
| Modelica.Blocks.Math.Product | product1 | ||
| Modelica.Blocks.Math.Product | product2 | ||
| Medium.MassFlowRate | m_S_removed | ||
| Medium.MassFlowRate | m_X_removed |
Contents
| Name | Description |
|---|---|
| Medium model within the source |