Skip to content

Instantly share code, notes, and snippets.

@jbae11
Last active November 26, 2018 21:23
Show Gist options
  • Save jbae11/de794290e9b3cc3f378df8a689860e83 to your computer and use it in GitHub Desktop.
Save jbae11/de794290e9b3cc3f378df8a689860e83 to your computer and use it in GitHub Desktop.
source buff minimal example
<simulation>
<control>
<duration>10</duration>
<startmonth>1</startmonth>
<startyear>2000</startyear>
</control>
<archetypes>
<spec>
<lib>agents</lib>
<name>NullInst</name>
</spec>
<spec>
<lib>agents</lib>
<name>NullRegion</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>Source</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>Sink</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>DeployInst</name>
</spec>
</archetypes>
<facility>
<name>repo</name>
<config>
<Sink>
<in_commods>
<val>waste</val>
</in_commods>
<capacity>1e100</capacity>
</Sink>
</config>
</facility>
<facility>
<name>depleted_src</name>
<config>
<Source>
<outcommod>waste</outcommod>
<throughput>100</throughput>
<inventory_size>9999</inventory_size>
<outrecipe>depleted_u</outrecipe>
<buffer>1</buffer>
</Source>
</config>
</facility>
<region>
<name>SingleRegion</name>
<config>
<NullRegion/>
</config>
<institution>
<name>SingleInstitution</name>
<config>
<DeployInst>
<prototypes>
<val>depleted_src</val>
<val>repo</val>
</prototypes>
<n_build>
<val>1</val>
<val>1</val>
</n_build>
<build_times>
<val>1</val>
<val>5</val>
</build_times>
<lifetimes>
<val>99999</val>
<val>99999</val>
</lifetimes>
</DeployInst>
</config>
</institution>
</region>
<recipe>
<name>natl_u</name>
<basis>mass</basis>
<nuclide>
<id>U235</id>
<comp>0.711</comp>
</nuclide>
<nuclide>
<id>U238</id>
<comp>99.289</comp>
</nuclide>
</recipe>
<recipe>
<name>depleted_u</name>
<basis>mass</basis>
<nuclide>
<id>U235</id>
<comp>0.003</comp>
</nuclide>
<nuclide>
<id>U238</id>
<comp>0.997</comp>
</nuclide>
</recipe>
</simulation>
<simulation>
<control>
<duration>10</duration>
<startmonth>1</startmonth>
<startyear>2000</startyear>
</control>
<archetypes>
<spec>
<lib>agents</lib>
<name>NullInst</name>
</spec>
<spec>
<lib>agents</lib>
<name>NullRegion</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>Source</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>Sink</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>DeployInst</name>
</spec>
</archetypes>
<facility>
<name>repo</name>
<config>
<Sink>
<in_commods>
<val>waste</val>
</in_commods>
<capacity>1e100</capacity>
</Sink>
</config>
</facility>
<facility>
<name>depleted_src</name>
<config>
<Source>
<outcommod>waste</outcommod>
<throughput>100</throughput>
<inventory_size>9999</inventory_size>
<outrecipe>depleted_u</outrecipe>
<buffer>0</buffer>
</Source>
</config>
</facility>
<region>
<name>SingleRegion</name>
<config>
<NullRegion/>
</config>
<institution>
<name>SingleInstitution</name>
<config>
<DeployInst>
<prototypes>
<val>depleted_src</val>
<val>repo</val>
</prototypes>
<n_build>
<val>1</val>
<val>1</val>
</n_build>
<build_times>
<val>1</val>
<val>5</val>
</build_times>
<lifetimes>
<val>99999</val>
<val>99999</val>
</lifetimes>
</DeployInst>
</config>
</institution>
</region>
<recipe>
<name>natl_u</name>
<basis>mass</basis>
<nuclide>
<id>U235</id>
<comp>0.711</comp>
</nuclide>
<nuclide>
<id>U238</id>
<comp>99.289</comp>
</nuclide>
</recipe>
<recipe>
<name>depleted_u</name>
<basis>mass</basis>
<nuclide>
<id>U235</id>
<comp>0.003</comp>
</nuclide>
<nuclide>
<id>U238</id>
<comp>0.997</comp>
</nuclide>
</recipe>
</simulation>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment