<?xml version="1.0" encoding="utf-16"?>
<Connector id="pipe_connector" Version="1">
  <!--Define all system types.-->
  <SystemTypes>
    <SystemType id="domestic_cold_water">
      <Name Language="1033" Description="Domestic Cold Water System Type - For Water systems that supply cold water.">Domestic Cold Water</Name>
    </SystemType>
    <SystemType id="domestic_hot_water">
      <Name Language="1033" Description="Domestic Hot Water System Type - For water systems that supply hot water.">Domestic Hot Water</Name>
    </SystemType>
    <SystemType id="sanitary">
      <Name Language="1033" Description="Sanitary System Type - For water systems that move waste water.">Sanitary</Name>
    </SystemType>
    <SystemType id="fire_protection_dry">
      <Name Language="1033" Description="Fire Protection Dry System Type - For Fire Protection Systems that do not contain water until a discharge.">Fire Protection Dry</Name>
    </SystemType>
    <SystemType id="fire_protection_other">
      <Name Language="1033" Description="Fire Protection Other Systems - For Fire Protection systems that do not fall under other categories.">Fire Protection Other</Name>
    </SystemType>
    <SystemType id="fire_protection_pre-action">
      <Name Language="1033" Description="Fire Protection Pre-Action systems">Fire Protection Pre-Action</Name>
    </SystemType>
    <SystemType id="fire_protection_wet">
      <Name Language="1033" Description="Fire Protection Wet Systems - For Fire Protection systems that contain water before discharge.">Fire Protection Wet</Name>
    </SystemType>
    <SystemType id="undefined">
      <Name Language="1033" Description="Global System Type - For non-fitting content.  Will inherit the System Type that is connected to it.">Undefined</Name>
    </SystemType>
    <SystemType id="other">
      <Name Language="1033" Description="Other System Type - For Systems where the System Type is Other.">Other</Name>
    </SystemType>
    <SystemType id="hydronic_return">
      <Name Language="1033" Description="Hydronic Return System Type - For water systems where the water flows into the System Equipment.">Hydronic Return</Name>
    </SystemType>
    <SystemType id="hydronic_supply">
      <Name Language="1033" Description="Hydronic Supply System Type - For water systems where the water flows out of the System Equipment.">Hydronic Supply</Name>
    </SystemType>
  </SystemTypes>
  
  <!--Define all group names.-->
  <Groups>
    <Group id="constraints">
      <Name Language="1033" Description="Constraints Parameter Group">Constraints</Name>
    </Group>
    <Group id="mechanical">
      <Name Language="1033" Description="Mechanical Parameter Group">Mechanical</Name>
    </Group>
    <Group id="dimensions">
      <Name Language="1033" Description="">Dimensions</Name>
    </Group>
    <Group id="identity_data">
      <Name Language="1033" Description="">Identity Data</Name>
    </Group>
  </Groups>
  
  <!--Define all enumerations.-->
  <Enums>
    <Enum id="loss_method_enum">
      <Item id="0">
        <Name Language="1033" Description="">None</Name>
      </Item>
      <Item id="1">
        <Name Language="1033" Description="">K Coefficient</Name>
      </Item>
      <Item id="2">
        <Name Language="1033" Description="">Specific Loss</Name>
      </Item>
    </Enum>
    <Enum id="flow_configuration_enum">
      <Item id="0">
        <Name Language="1033" Description="">Calculated</Name>
      </Item>
      <Item id="1">
        <Name Language="1033" Description="">Preset</Name>
      </Item>
      <Item id="2">
        <Name Language="1033" Description="">System</Name>
      </Item>
      <Item id="3">
        <Name Language="1033" Description="">Fixture Units</Name>
      </Item>
    </Enum>
    <Enum id="flow_configuration_enum2">
      <Item id="0">
        <Name Language="1033" Description="">Calculated</Name>
      </Item>
      <Item id="1">
        <Name Language="1033" Description="">Preset</Name>
      </Item>
      <Item id="2">
        <Name Language="1033" Description="">System</Name>
      </Item>      
    </Enum>
    <Enum id="flow_direction_enum">
      <Item id="0">
        <Name Language="1033" Description="">In</Name>
      </Item>
      <Item id="1">
        <Name Language="1033" Description="">Out</Name>
      </Item>
      <Item id="2">
        <Name Language="1033" Description="">Bidirectional</Name>
      </Item>
    </Enum>
    <Enum id="shape_enum">
      <Item id="0">
        <Name Language="1033" Description="">Round</Name>
      </Item>
      <Item id="1">
        <Name Language="1033" Description="">Undefined</Name>
      </Item>
    </Enum>
    <Enum id="connection_type_enum">
      <Item id="0">
        <Name Language="1033" Description="">Brazed</Name>
      </Item>
      <Item id="1">
        <Name Language="1033" Description="">Butt Welded</Name>
      </Item>
      <Item id="2">
        <Name Language="1033" Description="">Capillary</Name>
      </Item>
      <Item id="3">
        <Name Language="1033" Description="">Compression</Name>
      </Item>
      <Item id="4">
        <Name Language="1033" Description="">Coupling</Name>
      </Item>
      <Item id="5">
        <Name Language="1033" Description="">Crimped</Name>
      </Item>
      <Item id="6">
        <Name Language="1033" Description="">Flange</Name>
      </Item>
      <Item id="7">
        <Name Language="1033" Description="">Fusion</Name>
      </Item>
      <Item id="8">
        <Name Language="1033" Description="">Glued</Name>
      </Item>
      <Item id="9">
        <Name Language="1033" Description="">Grooved</Name>
      </Item>
      <Item id="10">
        <Name Language="1033" Description="">Slip Joint</Name>
      </Item>
      <Item id="11">
        <Name Language="1033" Description="">Socket Welded, Soldered, Threaded, Undefined</Name>
      </Item>
      <Item id="12">
        <Name Language="1033" Description="">Soldered</Name>
      </Item>
      <Item id="13">
        <Name Language="1033" Description="">Threaded</Name>
      </Item>
      <Item id="14">
        <Name Language="1033" Description="">Undefined</Name>
      </Item>
    </Enum>
  </Enums>
  
  <!--Define all parameters.-->
  <Parameters>
    <Parameter id="allow_slope_adjustment" Group="constraints" Type="boolean" Unit="" Default="">
      <Name Language="1033" Description="">Allow Slope Adjustment</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>
      </SystemTypes>
    </Parameter>
    <Parameter id="loss_method" Group="mechanical" Type="enum" Unit="" Default="0">
      <Name Language="1033" Description="">Loss Method</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>
      </SystemTypes>
      <UseEnum>loss_method_enum</UseEnum>
      <Dependency>
        <Parameters>
          <Parameter>k_coefficient</Parameter>
          <Parameter>pressure_drop</Parameter>
        </Parameters>
        <Enum>
          <Item id="0"/>
          <Item id="1">
            <Parameter>k_coefficient</Parameter>
          </Item>
          <Item id="2">
            <Parameter>pressure_drop</Parameter>
          </Item>
        </Enum>
      </Dependency>
    </Parameter>
    <Parameter id="k_coefficient" Group="mechanical" Type="double" Unit="" Default="0">
      <Name Language="1033" Description="">K Coefficient</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>
      </SystemTypes>
      <Range low="0"/>
    </Parameter>
    <Parameter id="pressure_drop" Group="mechanical" Type="double" Unit="Air_Pressure_Drop" Default="0">
      <Name Language="1033" Description="">Pressure Drop</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>
      </SystemTypes>
      <Range low="0"/>
    </Parameter>
    <Parameter id="flow_configuration" Group="mechanical" Type="enum" Unit="" Default="1">
      <Name Language="1033" Description="">Flow Configuration</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
      </SystemTypes>
      <UseEnum>flow_configuration_enum</UseEnum>
      <Dependency>
        <Parameters>
          <Parameter>fixture_units</Parameter>
          <Parameter>flow_factor</Parameter>
          <Parameter>flow</Parameter>
        </Parameters>
        <Enum>
          <Item id="0"/>
          <Item id="1">
            <Parameter>flow</Parameter>
          </Item>
          <Item id="2">
            <Parameter>flow_factor</Parameter>
          </Item>
          <Item id="3">
            <Parameter>fixture_units</Parameter>
          </Item>
        </Enum>
      </Dependency>
    </Parameter>
    <Parameter id="flow_configuration2" Group="mechanical" Type="enum" Unit="" Default="1">
      <Name Language="1033" Description="">Flow Configuration</Name>
      <SystemTypes>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>
      </SystemTypes>
      <UseEnum>flow_configuration_enum2</UseEnum>
      <Dependency>
        <Parameters>
          <Parameter>flow_factor</Parameter>
          <Parameter>flow</Parameter>
        </Parameters>
        <Enum>
          <Item id="0"/>
          <Item id="1">
            <Parameter>flow</Parameter>
          </Item>
          <Item id="2">
            <Parameter>flow_factor</Parameter>
          </Item>
        </Enum>
      </Dependency>
    </Parameter>
    <Parameter id="fixture_units" Group="mechanical" Type="double" Unit="" Default="">
      <Name Language="1033" Description="">Fixture Units</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
      </SystemTypes>
      <Range low="0"/>
    </Parameter>
    <Parameter id="flow_factor" Group="mechanical" Type="double" Unit="" Default="">
      <Name Language="1033" Description="">Flow Factor</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>
      </SystemTypes>
      <Range low="0" high="1"/>
    </Parameter>
    <Parameter id="flow" Group="mechanical" Type="double" Unit="Air_Flow" Default="">
      <Name Language="1033" Description="">Flow</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>
      </SystemTypes>
      <Range low="0" high="1"/>
    </Parameter>
    <Parameter id="flow_direction" Group="mechanical" Type="enum" Unit="" Default="2">
      <Name Language="1033" Description="">Flow Direction</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>
      </SystemTypes>
      <UseEnum>flow_direction_enum</UseEnum>
    </Parameter>
    <Parameter id="shape" Group="dimensions" Type="enum" Unit="" Default="0">
      <Name Language="1033" Description="">Shape</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>        
      </SystemTypes>
      <UseEnum>shape_enum</UseEnum>
    </Parameter>
    <Parameter id="radius" Group="dimensions" Type="double" Unit="length" Default="">
      <Name Language="1033" Description="">Radius</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>
      </SystemTypes>
      <Range low="0+"/>
    </Parameter>
    <Parameter id="description" Group="identity_data" Type="string" Unit="" Default="">
      <Name Language="1033" Description="">Description</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>
      </SystemTypes>
    </Parameter>
    <Parameter id="connection_type" Group="mechanical" Type="enum" Unit="" Default="">
      <Name Language="1033" Description="">Connection Type</Name>
      <SystemTypes>
        <SystemType>domestic_cold_water</SystemType>
        <SystemType>domestic_hot_water</SystemType>
        <SystemType>sanitary</SystemType>
        <SystemType>fire_protection_dry</SystemType>
        <SystemType>fire_protection_other</SystemType>
        <SystemType>fire_protection_pre-action</SystemType>
        <SystemType>fire_protection_wet</SystemType>
        <SystemType>undefined</SystemType>
        <SystemType>other</SystemType>
        <SystemType>hydronic_return</SystemType>
        <SystemType>hydronic_supply</SystemType>
      </SystemTypes>
      <UseEnum>connection_type_enum</UseEnum>
    </Parameter>
  </Parameters>
</Connector>