forked from idaholab/TEAL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCashFlow_test_NPV_componentTax.xml
83 lines (76 loc) · 3.02 KB
/
CashFlow_test_NPV_componentTax.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<Simulation verbosity="debug">
<TestInfo>
<name>CashFlow_test_NPV</name>
<author>A. Epiney</author>
<created>2018-03-23</created>
<description>
This input tests the RAVEN plugin TEAL.
The tested functionality is called NPV.
The functionality of different tax and inflation reates for different components is tested here.
</description>
<classesTested>Models.ExternalModel.TEAL</classesTested>
<revisions>
<revision author="alfoa" date="2018-12-13">Added classTested node</revision>
<revision author="alfoa" date="2019-07-30">Added requirements</revision>
<revision author="wangc" date="2019-11-08">update ExternalXML with new structure cash flow input</revision>
<revision author="alfoa" date="2019-11-25">Added Plugin name extension</revision>
<revision author="alfoa" date="2020-07-28">Modified name from CashFlow to TEAL</revision>
</revisions>
<requirements>CF-EA-1</requirements>
</TestInfo>
<RunInfo>
<WorkingDir>.</WorkingDir>
<Sequence>MCrun,printTOfile</Sequence>
</RunInfo>
<VariableGroups>
<Group name="GRO_CashFlow_in">BOP_capacity, BOP_TOT_revenueEL, IP_capacity, IP_TOT_revenueBY, Multiplier</Group>
<Group name="GRO_CashFlow_out">NPV</Group>
</VariableGroups>
<Models>
<ExternalModel name="Cash_Flow" subType="TEAL.CashFlow">
<variables> GRO_CashFlow_in, GRO_CashFlow_out</variables>
<ExternalXML node="Economics" xmlToLoad="Cash_Flow_input_NPV_componentTax.xml"/>
</ExternalModel>
</Models>
<Samplers>
<MonteCarlo name="test_MC">
<samplerInit>
<limit>1</limit>
</samplerInit>
<constant name="BOP_capacity">300.0E6</constant>
<constant name="BOP_TOT_revenueEL">350.0E6</constant>
<constant name="IP_capacity">51.0E6</constant>
<constant name="IP_TOT_revenueBY">31.5E6</constant>
<constant name="Multiplier">1.0</constant>
</MonteCarlo>
</Samplers>
<DataObjects>
<PointSet name="SET_CashFlow_in">
<Input>GRO_CashFlow_in</Input>
<Output>OutputPlaceHolder</Output>
</PointSet>
<PointSet name="SET_CashFlow_out">
<Input>GRO_CashFlow_in</Input>
<Output>GRO_CashFlow_out</Output>
</PointSet>
</DataObjects>
<Steps>
<MultiRun name="MCrun" pauseAtEnd="True">
<Input class="DataObjects" type="PointSet">SET_CashFlow_in</Input>
<Model class="Models" type="ExternalModel">Cash_Flow</Model>
<Sampler class="Samplers" type="MonteCarlo">test_MC</Sampler>
<Output class="DataObjects" type="PointSet">SET_CashFlow_out</Output>
</MultiRun>
<IOStep name="printTOfile">
<Input class="DataObjects" type="PointSet">SET_CashFlow_out</Input>
<Output class="OutStreams" type="Print">dumpNPV_componentTax</Output>
</IOStep>
</Steps>
<OutStreams>
<Print name="dumpNPV_componentTax">
<type>csv</type>
<source>SET_CashFlow_out</source>
<what>input,output</what>
</Print>
</OutStreams>
</Simulation>