User Tools

Site Tools


public:i-700-abms-08-1:spec

This is an old revision of the document!


<Example from Guðný>

<psySpec name=“CarbonSimulation” version=“1.2”>

<global>
	<port>10000</port>
	<title>Awsome</title>
	<globaltypes></globaltypes>
	<htmldir>html</htmldir>
</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="startQuota" type="Integer" value="10000" />
	<parameter name="fixedCosts" type="Integer" value="441" />
	<parameter name="revenues" type="Integer" value="1111111" />
	<parameter name="inputCost" type="Integer" value="23" />
	
	<parameter name="carbonRelease" type="Integer" value="20" />
	<parameter name="capacity" type="Integer" value="3333" />
	<parameter name="profitAvarage" type="Double" value="0.05" />
	<context name="Psyclone.System.Ready">
		<phase name="Rules">
			<triggers from="DAM">
				<trigger type="Psyclone.System.Ready"/>
				<trigger type="carbon.quota.rules.fishing" />
			</triggers>
			<crank name="foo/smuu::ble" />
		</phase>
	</context>
</module>
<module name="Road" type="external">
	<parameter name="industry" type="String" value="Road Transport" />
	<parameter name="country" type="String" value="is" />
	<parameter name="sellTo" type="String" value="All" />
	
	<parameter name="startQuota" type="Integer" value="10500" />
	<parameter name="fixedCosts" type="Integer" value="441" />
	<parameter name="revenues" type="Integer" value="11111" />
	<parameter name="inputCost" type="Integer" value="53" />
	
	<parameter name="carbonRelease" type="Integer" value="72" />
	<parameter name="capacity" type="Integer" value="3553" />
	<parameter name="profitAvarage" type="Double" value="0.15" />
	<context name="Psyclone.System.Ready">
		<phase name="Rules">
			<triggers from="DAM">
				<trigger type="Psyclone.System.Ready"/>
				<trigger type="carbon.quota.rules.roadTransport" />
			</triggers>
			<crank name="foo/smuu::ble" />
		</phase>
	</context>
</module>
<module name="Air" type="external">
	<parameter name="industry" type="String" value="Air Transport" />
	<parameter name="country" type="String" value="is" />
	<parameter name="sellTo" type="String" value="All" />
	
	<parameter name="startQuota" type="Integer" value="10000" />
	<parameter name="fixedCosts" type="Integer" value="421" />
	<parameter name="revenues" type="Integer" value="166111" />
	<parameter name="inputCost" type="Integer" value="67" />
	
	<parameter name="carbonRelease" type="Integer" value="80" />
	<parameter name="capacity" type="Integer" value="3378" />
	<parameter name="profitAvarage" type="Double" value="0.01" />
	<context name="Psyclone.System.Ready">
		<phase name="Rules">
			<triggers from="DAM">
				<trigger type="Psyclone.System.Ready"/>
				<trigger type="carbon.quota.rules.airTransport" />
			</triggers>
			<crank name="foo/smuu::ble" />
		</phase>
	</context>
</module>
<module name="Heavy" type="external">
	<parameter name="industry" type="String" value="Heavy Industry" />
	<parameter name="country" type="String" value="is" />
	<parameter name="sellTo" type="String" value="All" />
	
	<parameter name="startQuota" type="Integer" value="10000" />
	<parameter name="fixedCosts" type="Integer" value="441" />
	<parameter name="revenues" type="Integer" value="1234111" />
	<parameter name="inputCost" type="Integer" value="345" />
	
	<parameter name="carbonRelease" type="Integer" value="75" />
	<parameter name="capacity" type="Integer" value="35433" />
	<parameter name="profitAvarage" type="Double" value="0.014" />
	<context name="Psyclone.System.Ready">
		<phase name="Rules">
			<triggers from="DAM">
				<trigger type="Psyclone.System.Ready"/>
				<trigger type="carbon.quota.rules.heavyIndustry" />
			</triggers>
			<crank name="foo/smuu::ble" />
		</phase>
	</context>
</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="startQuota" type="Integer" value="10034" />
	<parameter name="fixedCosts" type="Integer" value="231" />
	<parameter name="revenues" type="Integer" value="1234111" />
	<parameter name="inputCost" type="Integer" value="65" />
	
	<parameter name="carbonRelease" type="Integer" value="22" />
	<parameter name="capacity" type="Integer" value="3444" />
	<parameter name="profitAvarage" type="Double" value="0.01" />
	<context name="Psyclone.System.Ready">
		<phase name="Rules">
			<triggers from="DAM">
				<trigger type="Psyclone.System.Ready"/>
				<trigger type="carbon.quota.rules.agriculture" />
			</triggers>
			<crank name="foo/smuu::ble" />
		</phase>
	</context>
</module>
<module name="Market" type="external">
	<parameter name="Double Auction Market" type="String" value="Double Auction Market" />
	<parameter name="country" type="String" value="is" />
	<context name="Psyclone.System.Ready">
		<phase name="Rules">
			<triggers from="DAM">
				<trigger type="Psyclone.System.Ready"/>
				<trigger type="carbon.quota.rules.agriculture" />
			</triggers>
			<crank name="foo/smuu::ble" />
		</phase>
	</context>
</module>

</psySpec>

/var/www/cadia.ru.is/wiki/data/attic/public/i-700-abms-08-1/spec.1204739787.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki