Commit 76b261af authored by Valérie Maquil's avatar Valérie Maquil
Browse files

new scenario: power generators

parent 2d4545f9
<?xml version="1.0" encoding="UTF-8"?>
<scenario>
<scenes>
<scene>
<name>Background</name>
<image>assets/Las_Vegas_1.jpg</image>
<triggerCondition>true</triggerCondition>
</scene>
</scenes>
<objects>
<object>
<type>ValueWidget</type>
<handles>
<handle>0</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>0</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<!-- <corona> -->
<!-- <type>TextBox</type> -->
<!-- <handle>0</handle> -->
<!-- <centre> -->
<!-- <x>0</x> -->
<!-- <y>0</y> -->
<!-- <z>0</z> -->
<!-- </centre> -->
<!-- <drawPriority>1</drawPriority> -->
<!-- <lineWidth>100</lineWidth> -->
<!-- <font>Arial-20</font> -->
<!-- <initialTranslation> -->
<!-- <x>0</x> -->
<!-- <y>120</y> -->
<!-- <z>0</z> -->
<!-- <state>ScreenCoordinates</state> -->
<!-- </initialTranslation> -->
<!-- <rotateWithHandle>false</rotateWithHandle> -->
<!-- <centred>true</centred> -->
<!-- <text>Banana</text> -->
<!-- </corona> -->
<corona>
<type>Gauge</type>
<handle>0</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<initialTranslation>
<x>-125</x>
<y>-125</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>2</drawPriority>
<width>250</width>
<height>250</height>
<lowerBound>0</lowerBound>
<upperBound>10</upperBound>
<scale>1</scale>
<title>A</title>
<unit>pieces</unit>
<rotateWithHandle>false</rotateWithHandle>
</corona>
</coronas>
<name>A</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>10</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>0.1</stepSize>
<variable>
<name>A</name>
<unit>piece</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>1</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>1</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<!-- <corona> -->
<!-- <type>TextBox</type> -->
<!-- <handle>1</handle> -->
<!-- <centre> -->
<!-- <x>0</x> -->
<!-- <y>0</y> -->
<!-- <z>0</z> -->
<!-- </centre> -->
<!-- <drawPriority>1</drawPriority> -->
<!-- <lineWidth>100</lineWidth> -->
<!-- <font>Arial-20</font> -->
<!-- <initialTranslation> -->
<!-- <x>0</x> -->
<!-- <y>120</y> -->
<!-- <z>0</z> -->
<!-- <state>ScreenCoordinates</state> -->
<!-- </initialTranslation> -->
<!-- <rotateWithHandle>false</rotateWithHandle> -->
<!-- <centred>true</centred> -->
<!-- <text>Banana</text> -->
<!-- </corona> -->
<corona>
<type>Gauge</type>
<handle>1</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<initialTranslation>
<x>-125</x>
<y>-125</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>2</drawPriority>
<width>250</width>
<height>250</height>
<lowerBound>0</lowerBound>
<upperBound>10</upperBound>
<scale>1</scale>
<title>B</title>
<unit>pieces</unit>
<rotateWithHandle>false</rotateWithHandle>
</corona>
</coronas>
<name>B</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>10</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>0.1</stepSize>
<variable>
<name>B</name>
<unit>piece</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>2</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>2</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<!-- <corona> -->
<!-- <type>TextBox</type> -->
<!-- <handle>2</handle> -->
<!-- <centre> -->
<!-- <x>0</x> -->
<!-- <y>0</y> -->
<!-- <z>0</z> -->
<!-- </centre> -->
<!-- <drawPriority>1</drawPriority> -->
<!-- <lineWidth>100</lineWidth> -->
<!-- <font>Arial-20</font> -->
<!-- <initialTranslation> -->
<!-- <x>0</x> -->
<!-- <y>120</y> -->
<!-- <z>0</z> -->
<!-- <state>ScreenCoordinates</state> -->
<!-- </initialTranslation> -->
<!-- <rotateWithHandle>false</rotateWithHandle> -->
<!-- <centred>true</centred> -->
<!-- <text>Banana</text> -->
<!-- </corona> -->
<corona>
<type>Gauge</type>
<handle>2</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<initialTranslation>
<x>-125</x>
<y>-125</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>2</drawPriority>
<width>250</width>
<height>250</height>
<lowerBound>0</lowerBound>
<upperBound>10</upperBound>
<scale>1</scale>
<title>C</title>
<unit>pieces</unit>
<rotateWithHandle>false</rotateWithHandle>
</corona>
</coronas>
<name>C</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>10</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>0.1</stepSize>
<variable>
<name>C</name>
<unit>piece</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>7</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>7</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>RoundedSquare</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>7</handle>
<centre>
<x>50</x>
<y>50</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<rotateWithHandle>false</rotateWithHandle>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<colour>white</colour>
<initialTranslation>
<x>0</x>
<y>75</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<text>Banana</text>
<centred>true</centred>
</corona>
</coronas>
<name>CO2</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>1</stepSize>
<variable>
<name>CO2</name>
<unit>T/year</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>False</modifyValueOnRotation>
<dynamic>true</dynamic>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>8</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>8</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>RoundedSquare</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>8</handle>
<centre>
<x>50</x>
<y>50</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<colour>white</colour>
<initialTranslation>
<x>0</x>
<y>75</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<centred>true</centred>
<rotateWithHandle>false</rotateWithHandle>
<text>Banana</text>
</corona>
</coronas>
<name>Energy</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>1</stepSize>
<variable>
<name>Energy</name>
<unit>GW</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>False</modifyValueOnRotation>
<dynamic>true</dynamic>
</object>
</objects>
<system>
<outputs>
<output name="CO2" unit="MT/year" />
<output name="Energy" unit="GW" />
</outputs>
<equations>
<equation name="CO2">
<parameters>
<parameter name="A" unit="pieces" />
<parameter name="B" unit="pieces" />
<parameter name="C" unit="pieces" />
</parameters>
<invoke>(50*A) + (46*B) + (2043*C)</invoke>
<results>
<result name="CO2" />
</results>
</equation>
<equation name="Energy">
<parameters>
<parameter name="A" unit="pieces" />
<parameter name="B" unit="pieces" />
<parameter name="C" unit="pieces" />
</parameters>
<invoke>(5*A) + (607*B) + (22*C)</invoke>
<results>
<result name="Energy" />
</results>
</equation>
</equations>
</system>
</scenario>
\ No newline at end of file
......@@ -27,10 +27,10 @@ cursor.id.remapping.constant = 1024
adapter.class = lu.list.itis.dkd.tui.adapter.TuioAdapter
# The location and name of the root bootstrapping file.
bootstrapping.root = budget_scenario.xml
bootstrapping.root = power_scenario.xml
# Properties for the equation system
scriptEngine.executable = C:/Octave/Octave-3.8.2/bin/octave.exe
scriptEngine.workingDir = model
equation.system = budget_scenario.xml
scenario.description = budget_scenario.xml
\ No newline at end of file
equation.system = power_scenario.xml
scenario.description = power_scenario.xml
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment