Example from Guðný
<psySpec name=“Carbon Quota Simulation” version=“1.2”>

<global>

<port>10000</port>
<title>Awsome</title>
<globaltypes></globaltypes>
<htmldir>html</htmldir>
<parameter name="average" type="Double" value="50" />

</global>

<whiteboard name=“DAM” maxcount=“10000” />

<module name=“Fishing” type=“external”>

<parameter name="industry" type="String" value="Fishing" />
<parameter name="country" type="String" value="is" />
<parameter name="sellTo" type="String" value="All" />
<parameter name="capital" type="Double" value="1000000000"/>
<parameter name="startQuota" type="Integer" value="841000"/>
<parameter name="fixedCosts" type="Double" value="20482000000"/>
<parameter name="revenues" type="Integer" value="35672"/>
<parameter name="inputCost" type="Integer" value="8349"/>

<parameter name="carbonRelease" type="Integer" value="0.45"/>
<parameter name="capacity" type="Integer" value="1885989"/>
<parameter name="profitAvarage" type="Double" value="0"/>
<triggers from="DAM">
	<trigger type="Psyclone.System.Ready"/>
	<trigger type="carbon.quota.response" />
	<trigger type="simulation.time"/>
</triggers>
            <posts>
                    <post to="DAM" type="carbon.quota.bid"/>
                    <post to="DAM" type="carbon.quota.offer"/>
            </posts>

</module>

<module name=“Road” type=“external”>

<parameter name="industry" type="String" value="Road" />
<parameter name="country" type="String" value="is" />
<parameter name="sellTo" type="String" value="All" />

<parameter name="capital" type="Double" value="1000000000"/>
<parameter name="startQuota" type="Integer" value="667000"/>
<parameter name="fixedCosts" type="Double" value="12476173500"/>
<parameter name="revenues" type="Integer" value="111147"/>
<parameter name="inputCost" type="Integer" value="900000"/>

<parameter name="carbonRelease" type="Integer" value="3.51"/>
<parameter name="capacity" type="Integer" value="189813"/>
<parameter name="profitAvarage" type="Double" value="0.15" />
<triggers from="DAM">
	<trigger type="Psyclone.System.Ready"/>
	<trigger type="carbon.quota.response" />
	<trigger type="simulation.time"/>
</triggers>
            <posts>
                    <post to="DAM" type="carbon.quota.bid"/>
                    <post to="DAM" type="carbon.quota.offer"/>
            </posts>

</module>

<module name=“Air” type=“external”>

<parameter name="industry" type="String" value="Air" />
<parameter name="country" type="String" value="is" />
<parameter name="sellTo" type="String" value="All" />

<parameter name="capital" type="Double" value="1000000000"/>
<parameter name="startQuota" type="Integer" value="43000"/>
<parameter name="fixedCosts" type="Double" value="1220000000"/>
<parameter name="revenues" type="Integer" value="15140"/>
<parameter name="inputCost" type="Integer" value="9266"/>

<parameter name="carbonRelease" type="Integer" value="0.11"/>
<parameter name="capacity" type="Integer" value="373728"/>
<parameter name="profitAvarage" type="Double" value="0"/>
<triggers from="DAM">
	<trigger type="Psyclone.System.Ready"/>
	<trigger type="carbon.quota.response" />
	<trigger type="simulation.time"/>
</triggers>
            <posts>
                    <post to="DAM" type="carbon.quota.bid"/>
                    <post to="DAM" type="carbon.quota.offer"/>
            </posts>

</module>

<module name=“Heavy” type=“external”>

<parameter name="industry" type="String" value="Heavy" />
<parameter name="country" type="String" value="is" />
<parameter name="sellTo" type="String" value="All" />

<parameter name="capital" type="Double" value="100000000000"/>
<parameter name="startQuota" type="Integer" value="1309000"/>
<parameter name="fixedCosts" type="Double" value="24220000000"/>
<parameter name="revenues" type="Integer" value="145613"/>
<parameter name="inputCost" type="Integer" value="117609"/>

<parameter name="carbonRelease" type="Integer" value="4.6"/>
<parameter name="capacity" type="Integer" value="286022"/>
<parameter name="profitAvarage" type="Double" value="0"/>
<triggers from="DAM">
	<trigger type="Psyclone.System.Ready"/>
	<trigger type="carbon.quota.response" />
	<trigger type="simulation.time"/>
</triggers>
            <posts>
                    <post to="DAM" type="carbon.quota.bid"/>
                    <post to="DAM" type="carbon.quota.offer"/>
            </posts>

</module>

<module name=“Agriculture” type=“external”>

<parameter name="industry" type="String" value="Agriculture" />
<parameter name="country" type="String" value="is" />
<parameter name="sellTo" type="String" value="All" />

<parameter name="capital" type="Double" value="1000000000"/>
<parameter name="startQuota" type="Integer" value="500000"/>
<parameter name="fixedCosts" type="Double" value="3982694000"/>
<parameter name="revenues" type="Integer" value="248162"/>
<parameter name="inputCost" type="Integer" value="125392"/>

<parameter name="carbonRelease" type="Integer" value="2.8"/>
<parameter name="capacity" type="Integer" value="178589"/>
<parameter name="profitAvarage" type="Double" value="0"/>
<triggers from="DAM">
	<trigger type="Psyclone.System.Ready"/>
	<trigger type="carbon.quota.response" />
	<trigger type="simulation.time"/>
</triggers>
  <posts>
      <post to="DAM" type="carbon.quota.bid"/>
      <post to="DAM" type="carbon.quota.offer"/>
  </posts>

</module>

<module name=“Tester” type=“external”>

<parameter name="industry" type="String" value="Tester" />
<parameter name="country" type="String" value="is" />
<parameter name="sellTo" type="String" value="All" />

<parameter name="capital" type="Double" value="1000000000"/>
<parameter name="startQuota" type="Integer" value="500000000"/>
<parameter name="fixedCosts" type="Double" value="3982694000"/>
<parameter name="revenues" type="Integer" value="248162"/>
<parameter name="inputCost" type="Integer" value="125392"/>

<parameter name="carbonRelease" type="Integer" value="2.8"/>
<parameter name="capacity" type="Integer" value="178589"/>
<parameter name="profitAvarage" type="Double" value="0"/>
<triggers from="DAM">
	<trigger type="Psyclone.System.Ready"/>
	<trigger type="carbon.quota.response" />
	<trigger type="simulation.time"/>
</triggers>
  <posts>
      <post to="DAM" type="carbon.quota.bid"/>
      <post to="DAM" type="carbon.quota.offer"/>
  </posts>

</module>

<module name=“Market” type=“external”>

<parameter name="Double Auction Market" type="String" value="Double Auction Market" />
<parameter name="country" type="String" value="is" />
<triggers>
	<trigger type="carbon.quota.bid"/>
	<trigger type="carbon.quota.offer"/>
	<trigger type="simulation.time"/>
</triggers>
<posts>
	<post to="DAM" type="carbon.quota.response"/>
</posts>
           

</module>

<module name=“Timer” type=“external”>

<parameter name="Timer" value="Timing manager" />
<posts>
	<post to="DAM" type="simulation.time"/>
</posts>
           

</module>

<module name=“GUIForKristinn” type=“external”>

  <triggers>
<trigger type="carbon.quota.bid"/>
<trigger type="carbon.quota.offer"/>
<trigger type="simulation.time"/>
<trigger type="carbon.quota.response" />
  </triggers>

</module>

</psySpec>