<commit_before><!-- 
Test input for ReactorLite

-->

<simulation>
  <control>
    <duration>50</duration>
    <startmonth>1</startmonth>
    <startyear>2000</startyear>
  </control>

  <archetypes>
    <spec><lib>agents</lib><name>Source</name></spec>
    <spec><lib>BriX</lib><name>ReactorLite</name></spec>
    <spec><lib>agents</lib><name>NullRegion</name></spec>
    <spec><lib>agents</lib><name>NullInst</name></spec>
  </archetypes>

  <facility>
    <name>Source</name>
    <config>
      <Source>
        <commod>freshFuel</commod>
        <recipe_name>commod_recipe</recipe_name>
	<capacity>5000000</capacity>
      </Source>
    </config>
  </facility>

  <facility>
    <name>Source1</name>
    <config>
      <Source>
        <commod>freshFuel1</commod>
        <recipe_name>commod_recipe1</recipe_name>
	<capacity>350000.0</capacity>
      </Source>
    </config>
  </facility>

  <facility>
    <name>Source2</name>
    <config>
      <Source>
        <commod>freshFuel2</commod>
        <recipe_name>commod_recipe2</recipe_name>
	<capacity>350000.0</capacity>
      </Source>
    </config>
  </facility>

  <facility>
    <name>Source3</name>
    <config>
      <Source>
        <commod>freshFuel3</commod>
        <recipe_name>commod_recipe3</recipe_name>
	<capacity>350000.0</capacity>
      </Source>
    </config>
  </facility>

  <facility>
    <name>Source4</name>
    <config>
      <Source>
        <commod>freshFuel4</commod>
        <recipe_name>commod_recipe4</recipe_name>
	<capacity>350000.0</capacity>
      </Source>
    </config>
  </facility>
  

  <facility>
    <name>BriX_ReactorLite</name>
    <config>
      <ReactorLite>
        <in_commods>
            <val>freshFuel</val> 
            <val>freshFuel3</val>
            <val>freshFuel1</val>
            <val>freshFuel4</val> 
            <val>freshFuel2</val> 
        </in_commods>
        <out_commod>outcommod1</out_commod>
        <libraries>
          <val>extLWR</val>
        </libraries>
	<regions>4</regions>
        <thermal_pow>1000</thermal_pow>
        <core_mass>20000</core_mass>
	<flux_mode>1</flux_mode>
	<DA_mode>0</DA_mode>
	<fluence_timestep>10000000</fluence_timestep>
      </ReactorLite>
    </config>
  </facility>

  <region>
    <name>SingleRegion</name>
    <config> <NullRegion/> </config>
    <institution>
      <name>SingleInstitution</name>
      <initialfacilitylist>    
        <entry>
          <prototype>BriX_ReactorLite</prototype>
          <number>1</number>
        </entry>
        <entry>
          <prototype>Source</prototype>
          <number>1</number>
        </entry>   
        <entry>
          <prototype>Source1</prototype>
          <number>1</number>
        </entry> 
        <entry>
          <prototype>Source2</prototype>
          <number>1</number>
        </entry> 
        <entry>
          <prototype>Source3</prototype>
          <number>1</number>
        </entry>  
        <entry>
          <prototype>Source4</prototype>
          <number>1</number>
        </entry>  
      </initialfacilitylist>
      <config> <NullInst/> </config>
    </institution>
  </region>

  <recipe>
    <name>commod_recipe</name>
    <basis>mass</basis>
    <nuclide>
      <id>U235</id>
      <comp>3.6</comp>
    </nuclide>
    <nuclide>
      <id>U238</id>
      <comp>96.4</comp>
    </nuclide><commit_msg>adds sink facility to input file<commit_after><!-- 
Test input for ReactorLite

-->

<simulation>
  <control>
    <duration>50</duration>
    <startmonth>1</startmonth>
    <startyear>2000</startyear>
  </control>

  <archetypes>
    <spec><lib>agents</lib><name>Source</name></spec>
    <spec><lib>agents</lib><name>Sink</name></spec>
    <spec><lib>BriX</lib><name>ReactorLite</name></spec>
    <spec><lib>agents</lib><name>NullRegion</name></spec>
    <spec><lib>agents</lib><name>NullInst</name></spec>
  </archetypes>

  <facility>
    <name>Source</name>
    <config>
      <Source>
        <commod>freshFuel</commod>
        <recipe_name>commod_recipe</recipe_name>
	<capacity>5000000</capacity>
      </Source>
    </config>
  </facility>

  <facility>
    <name>Source1</name>
    <config>
      <Source>
        <commod>freshFuel1</commod>
        <recipe_name>commod_recipe1</recipe_name>
	<capacity>350000.0</capacity>
      </Source>
    </config>
  </facility>

  <facility>
    <name>Source2</name>
    <config>
      <Source>
        <commod>freshFuel2</commod>
        <recipe_name>commod_recipe2</recipe_name>
	<capacity>350000.0</capacity>
      </Source>
    </config>
  </facility>

  <facility>
    <name>Source3</name>
    <config>
      <Source>
        <commod>freshFuel3</commod>
        <recipe_name>commod_recipe3</recipe_name>
	<capacity>350000.0</capacity>
      </Source>
    </config>
  </facility>

  <facility>
    <name>Source4</name>
    <config>
      <Source>
        <commod>freshFuel4</commod>
        <recipe_name>commod_recipe4</recipe_name>
	<capacity>350000.0</capacity>
      </Source>
    </config>
  </facility>
  
  <facility>
    <name>Sink</name>
    <config>
      <Sink>
        <in_commods>
          <val>uf</val>
        </in_commods>
        <capacity>1000000.0</capacity>
      </Sink>
    </config>
  </facility>

  <facility>
    <name>BriX_ReactorLite</name>
    <config>
      <ReactorLite>
        <in_commods>
            <val>freshFuel</val> 
            <val>freshFuel3</val>
            <val>freshFuel1</val>
            <val>freshFuel4</val> 
            <val>freshFuel2</val> 
        </in_commods>
        <out_commod>uf</out_commod>
        <libraries>
          <val>extLWR</val>
        </libraries>
	<regions>4</regions>
        <thermal_pow>1000</thermal_pow>
        <core_mass>20000</core_mass>
	<flux_mode>1</flux_mode>
	<DA_mode>0</DA_mode>
	<fluence_timestep>10000000</fluence_timestep>
      </ReactorLite>
    </config>
  </facility>

  <region>
    <name>SingleRegion</name>
    <config> <NullRegion/> </config>
    <institution>
      <name>SingleInstitution</name>
      <initialfacilitylist>    
        <entry>
          <prototype>BriX_ReactorLite</prototype>
          <number>1</number>
        </entry>
        <entry>
          <prototype>Source</prototype>
          <number>1</number>
        </entry>   
        <entry>
          <prototype>Source1</prototype>
          <number>1</number>
        </entry> 
        <entry>
          <prototype>Source2</prototype>
          <number>1</number>
        </entry> 
        <entry>
          <prototype>Source3</prototype>
          <number>1</number>
        </entry>  
        <entry>
          <prototype>Source4</prototype>
          <number>1</number>
        </entry>  
        <entry>
          <prototype>Sink</prototype>
          <number>1</number>
        </entry>
      </initialfacilitylist>
      <config> <NullInst/> </config>
    </institution>
  </region>

  <recipe>
    <name>commod_recipe</name>
    <basis>mass</basis>
    <nuclide>
      <id>U235</id>
      <comp>3.6</comp>
    </nuclide>
    <nuclide>
      <id>U238</id>
      <comp>96.4</comp>
    </nuclide>
{'fraction_non_alphanumeric': 0.16365178066704353, 'fraction_numerical': 0.029395138496325607, 'mean_word_length': 2.261290322580645, 'pattern_counts': {'":': 0, '<': 455, '<?xml version=': 0, '>': 455, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2661045', 'n_tokens_mistral': 2718, 'n_tokens_neox': 2570, 'n_words': 300}