.Buildings.Fluid.Sources.Boundary_ph

Information

Defines prescribed values for boundary conditions:

Typical use and important parameters

If use_p_in is false (default option), the p parameter is used as boundary pressure, and the p_in input connector is disabled; if use_p_in is true, then the p parameter is ignored, and the value provided by the input connector is used instead.

The same applies to the specific enthalpy h, composition Xi or X and trace substances C.

Options

Instead of using Xi_in (the independent composition fractions), the advanced tab provides an option for setting all composition fractions using X_in. use_X_in and use_Xi_in cannot be used at the same time.

Parameter verifyInputs can be set to true to enable a check that verifies the validity of the used specific enthalpy and pressures. This removes the corresponding overhead from the model, which is a substantial part of the overhead of this model. See #882 for more information.

Note, that boundary specific enthalpy, mass fractions and trace substances have only an effect if the mass flow is from the boundary into the port. If mass is flowing from the port into the boundary, the boundary definitions, with exception of boundary pressure, do not have an effect.

Revisions


Generated at 2024-05-19T18:15:52Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos