Description: "Package with type definitions"

- Home > Modelica

## Buildings.Fluid.Types

Package with type definitions

### Information

This package contains type definitions.

Extends from Modelica.Icons.TypesPackage (Icon for packages containing type definitions).

### Package Content

Name | Description
--- | ---
EfficiencyCurves | Enumeration to define the efficiency curves
CvTypes | Enumeration to define the choice of valve flow coefficient
EfficiencyInput | Enumeration to define the input for efficiency curves
HeatExchangerConfiguration | Enumeration for heat exchanger construction
HeatExchangerFlowRegime | Enumeration for heat exchanger flow configuration

### Types and constants

      type EfficiencyCurves = enumeration(
        Constant "constant",
        Polynomial "Polynomial",
        QuadraticLinear "quadratic in x1, linear in x2")
      "Enumeration to define the efficiency curves";

      type CvTypes = enumeration(
        OpPoint "flow coefficient defined by m_flow_nominal/sqrt(dp_nominal)",
        Kv "Kv (metric) flow coefficient",
        Cv "Cv (US) flow coefficient",
        Av "Av (metric) flow coefficient")
      "Enumeration to define the choice of valve flow coefficient";

      type EfficiencyInput = enumeration(
        volume "use state of fluid volume",
        port_a "use port_a",
        port_b "use port_b",
        average "use (port_a+port_b)/2)")
      "Enumeration to define the input for efficiency curves";

      type HeatExchangerConfiguration = enumeration(
        ParallelFlow "Parallel flow",
        CounterFlow "Counter flow",
        CrossFlowUnmixed "Cross flow, both streams unmixed",
        CrossFlowStream1MixedStream2Unmixed
          "Cross flow, stream 1 mixed, stream 2 unmixed",
        CrossFlowStream1UnmixedStream2Mixed
          "Cross flow, stream 1 unmixed, stream 2 mixed")
      "Enumeration for heat exchanger construction";

      type HeatExchangerFlowRegime = enumeration(
        ParallelFlow "Parallel flow",
        CounterFlow "Counter flow",
        CrossFlowUnmixed "Cross flow, both streams unmixed",
        CrossFlowCMinMixedCMaxUnmixed "Cross flow, CMin mixed,   CMax unmixed",
        CrossFlowCMinUnmixedCMaxMixed "Cross flow, CMin unmixed, CMax mixed")
      "Enumeration for heat exchanger flow configuration";