<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by USER USER (CEA - CENTRE DE CADARACHE) -->
<?modxslt-stylesheet type="text/xsl" media="fuffa, screen and $GET[stylesheet]" href="./%24GET%5Bstylesheet%5D" alternate="no" title="Translation using provided stylesheet" charset="UTF-8" ?>
<?modxslt-stylesheet type="text/xsl" media="screen" alternate="no" title="Show raw source of the XML file" charset="UTF-8" ?>
<!--
  -* Generated by mod-xslt 1.3.8; http://www.mod-xslt2.com/
  -* Copyright (C) 2002,2003 Carlo Contavalli - <ccontavalli at masobit.net>
  -* derived from work by Philipp Dunkel and others (http://www.mod-xslt2.com/main/credits.xml)
  -* Thanks to http://www.masobit.net/ for paying me while working on mod-xslt
  -* and for providing resources to the project. -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:include schemaLocation="../utilities/dd_support.xsd"/>
	<xs:complexType name="gas_injection_valve_response">
		<xs:annotation>
			<xs:documentation>Gas injection valve response curve</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="voltage">
				<xs:annotation>
					<xs:documentation>Voltage applied to open the valve</xs:documentation>
					<xs:appinfo>
						<units>V</units>
						<coordinate1>1...N</coordinate1>
						<type>static</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="flow_rate">
				<xs:annotation>
					<xs:documentation>Flow rate at the exit of the valve</xs:documentation>
					<xs:appinfo>
						<units>Pa.m^3.s^-1</units>
						<coordinate1>../voltage</coordinate1>
						<type>static</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="gas_injection_pipe_valve">
		<xs:annotation>
			<xs:documentation>Gas injection valve</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="name">
				<xs:annotation>
					<xs:documentation>Name of the valve</xs:documentation>
					<xs:appinfo>
						<type>static</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="identifier">
				<xs:annotation>
					<xs:documentation>ID of the valve</xs:documentation>
					<xs:appinfo>
						<type>static</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="species" type="gas_mixture_constant" maxOccurs="3">
				<xs:annotation>
					<xs:documentation>Species injected by the valve (may be more than one in case the valve injects a gas mixture)</xs:documentation>
					<xs:appinfo>
						<coordinate1>1...N</coordinate1>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="flow_rate_min">
				<xs:annotation>
					<xs:documentation>Minimum flow rate of the valve</xs:documentation>
					<xs:appinfo>
						<type>static</type>
						<units>Pa.m^3.s^-1</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="flow_rate_max">
				<xs:annotation>
					<xs:documentation>Maximum flow rate of the valve</xs:documentation>
					<xs:appinfo>
						<type>static</type>
						<units>Pa.m^3.s^-1</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="flow_rate" type="signal_flt_1d">
				<xs:annotation>
					<xs:documentation>Flow rate at the exit of the valve</xs:documentation>
					<xs:appinfo>
						<units>Pa.m^3.s^-1</units>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="electron_rate" type="signal_flt_1d">
				<xs:annotation>
					<xs:documentation>Number of electrons injected per second</xs:documentation>
					<xs:appinfo>
						<units>s^-1</units>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="pipe_indices">
				<xs:annotation>
					<xs:documentation>Indices (from the ../../pipe array of structure) of the pipe(s) that are fed by this valve</xs:documentation>
					<xs:appinfo>
						<type>static</type>
						<coordinate1>1...N</coordinate1>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="INT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="voltage" type="signal_flt_1d">
				<xs:annotation>
					<xs:documentation>Voltage applied to open the valve (raw data used to compute the gas flow rate)</xs:documentation>
					<xs:appinfo>
						<units>V</units>
						<introduced_after_version>3.35.0</introduced_after_version>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="response_curve" type="gas_injection_valve_response">
				<xs:annotation>
					<xs:documentation>Response curve of the valve, i.e. gas flow rate obtained as a function of the applied voltage.</xs:documentation>
					<xs:appinfo>
						<introduced_after_version>3.35.0</introduced_after_version>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="gas_injection_pipe">
		<xs:annotation>
			<xs:documentation>Gas injection pipe</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="name">
				<xs:annotation>
					<xs:documentation>Name of the injection pipe</xs:documentation>
					<xs:appinfo>
						<type>static</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="identifier">
				<xs:annotation>
					<xs:documentation>ID of the injection pipe</xs:documentation>
					<xs:appinfo>
						<type>static</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="species" type="gas_mixture_constant" maxOccurs="3">
				<xs:annotation>
					<xs:documentation>Species injected by the pipe (may be more than one in case the valve injects a gas mixture)</xs:documentation>
					<xs:appinfo>
						<coordinate1>1...N</coordinate1>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="length">
				<xs:annotation>
					<xs:documentation>Pipe length</xs:documentation>
					<xs:appinfo>
						<type>static</type>
						<units>m</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="exit_position" type="rzphi0d_static">
				<xs:annotation>
					<xs:documentation>Exit position of the pipe in the vaccum vessel</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="second_point" type="rzphi0d_static">
				<xs:annotation>
					<xs:documentation>Second point indicating (combined with the exit_position) the direction of the gas injection towards the plasma</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="flow_rate" type="signal_flt_1d">
				<xs:annotation>
					<xs:documentation>Flow rate at the exit of the pipe</xs:documentation>
					<xs:appinfo>
						<units>Pa.m^3.s^-1</units>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="valve_indices">
				<xs:annotation>
					<xs:documentation>Indices (from the ../../valve array of structure) of the valve(s) that are feeding this pipe</xs:documentation>
					<xs:appinfo>
						<type>static</type>
						<introduced_after_version>3.33.0</introduced_after_version>
						<coordinate1>1...N</coordinate1>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="INT_1D"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="gas_injection">
		<xs:annotation>
			<xs:documentation>Gas injection by a system of pipes and valves</xs:documentation>
			<xs:appinfo>
				<lifecycle_status>alpha</lifecycle_status>
				<lifecycle_version>3.10.2</lifecycle_version>
				<lifecycle_last_change>3.36.0</lifecycle_last_change>
			</xs:appinfo>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ids_properties"/>
				<xs:element name="pipe" type="gas_injection_pipe" maxOccurs="20">
					<xs:annotation>
						<xs:documentation>Set of gas injection pipes</xs:documentation>
						<xs:appinfo>
							<coordinate1>1...N</coordinate1>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element name="valve" type="gas_injection_pipe_valve" maxOccurs="30">
					<xs:annotation>
						<xs:documentation>Set of valves connecting a gas bottle to pipes</xs:documentation>
						<xs:appinfo>
							<coordinate1>1...N</coordinate1>
							<introduced_after_version>3.33.0</introduced_after_version>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element name="latency">
					<xs:annotation>
						<xs:documentation>Upper bound of the delay between input command received from the RT network and actuator starting to react. Applies globally to the system described by this IDS unless specific latencies (e.g. channel-specific or antenna-specific) are provided at a deeper level in the IDS structure.</xs:documentation>
						<xs:appinfo>
							<type>static</type>
							<units>s</units>
							<introduced_after_version>3.32.1</introduced_after_version>
						</xs:appinfo>
					</xs:annotation>
					<xs:complexType>
						<xs:group ref="FLT_0D"/>
					</xs:complexType>
				</xs:element>
				<xs:element ref="code"/>
				<xs:element ref="time"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
