File size: 18,812 Bytes
2556662
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
<?xml version="1.0" encoding="utf-8"?>
<xmile version="1.0" xmlns="http://docs.oasis-open.org/xmile/ns/XMILE/v1.0" xmlns:isee="http://iseesystems.com/XMILE">
	<header>
		<smile version="1.0" namespace="std, isee" uses_arrays="1"/>
		<name>smoking cessation demo</name>
		<uuid>5ea8eaab-1635-49d0-b82f-57f9a5c4c3d4</uuid>
		<vendor>isee systems, inc.</vendor>
		<product version="1.1" isee:saved_by_v1="true" lang="en">Stella Architect</product>
	</header>
	<sim_specs isee:simulation_delay="0" method="Euler" time_units="Months" isee:pause_after_rates="false" isee:instantaneous_flows="false">
		<start>0</start>
		<stop>36</stop>
		<dt>0.25</dt>
	</sim_specs>
	<dimensions>
		<dim name="Dim_Name_1" size="1"/>
	</dimensions>
	<isee:prefs show_module_prefix="true" live_update_on_drag="true" layer="model"/>
	<model_units/>
	<isee:sensi_specs run="false" method="multivariate" runs="0"/>
	<model>
		<variables>
			<stock name="Current smokers">
				<eqn>900</eqn>
				<format precision="10"/>
				<outflow>Smokers_quitting</outflow>
				<non_negative/>
			</stock>
			<aux name="Effect on spend per quitter">
				<eqn>Current_smokers/INIT(Current_smokers)</eqn>
				<format precision="0.1"/>
			</aux>
			<stock name="Ex smokers">
				<eqn>100</eqn>
				<format precision="10"/>
				<inflow>Smokers_quitting</inflow>
				<outflow>Ex_smokers_starting_again</outflow>
				<non_negative/>
			</stock>
			<flow name="Smokers quitting">
				<eqn>Smoking_cessation_service_funding/Spend_per_quitter</eqn>
				<format precision="0.1"/>
				<non_negative/>
			</flow>
			<aux name="Healthcare savings">
				<eqn>Ex_smokers*Monthly_cost_savings_per_ex_smoker</eqn>
				<format precision="100"/>
			</aux>
			<aux name="Monthly cost savings per ex smoker">
				<eqn>50</eqn>
				<format precision="0.1"/>
			</aux>
			<aux name="Smoking cessation service funding">
				<eqn>Healthcare_savings*(Percentage_of_savings_spent_on_cessation/100)</eqn>
				<format precision="100"/>
			</aux>
			<aux name="Spend per quitter">
				<eqn>200/Effect_on_spend_per_quitter</eqn>
				<format precision="10"/>
			</aux>
			<aux name="Percentage of savings spent on cessation">
				<eqn>80</eqn>
				<format precision="0.1"/>
			</aux>
			<stock name="Lapsed ex smokers">
				<eqn>0</eqn>
				<format precision="10"/>
				<inflow>Ex_smokers_starting_again</inflow>
				<non_negative/>
			</stock>
			<aux name="Average quitter failure rate">
				<eqn>0.05</eqn>
				<format precision="0.0001"/>
			</aux>
			<flow name="Ex smokers starting again">
				<eqn>Ex_smokers*Average_quitter_failure_rate</eqn>
				<format precision="0.1"/>
				<non_negative/>
			</flow>
		</variables>
		<views>
			<style color="black" background="white" font_style="normal" font_weight="normal" text_decoration="none" text_align="center" vertical_text_align="center" font_color="black" font_family="Arial" font_size="10pt" padding="2" border_color="black" border_width="thin" border_style="none">
				<text_box color="black" background="white" text_align="left" vertical_text_align="top" font_size="12pt"/>
				<numeric_display color="blue" background="white" font_size="9pt" isee:transparent="false"/>
				<graph color="black" background="white" font_size="12pt" axis_color="#666666" grid_color="#C8C8C8" legend_position="bottom" isee:transparent="false" axis_label_font_size="9pt"/>
				<table color="black" background="#E0E0E0" text_align="right" font_size="12pt" orientation="vertical" wrap_text="false" isee:auto_fit="true" isee:use_alternate_row_colors="false" blank_column_width="80" column_width="160" isee:report_month_names="false" interval="1" report_balances="beginning" report_flows="instantaneous" header_text_align="center"/>
				<button color="black" background="#E0E0E0" font_size="12pt" transparent="false" corner_radius="0" icon_side="top"/>
				<isee:annotation color="black" background="#E0E0E0" font_size="12pt" transparent="false" corner_radius="0" icon_side="top" popup_background_color="#FFFECF" popup_text_align="left" popup_vertical_text_align="top"/>
				<slider color="black" background="#E0E0E0" font_size="12pt" num_ticks="3" label_side="top"/>
				<knob color="#66CC66" background="#E0E0E0" font_size="12pt" label_side="bottom"/>
				<numeric_input color="black" background="#E0E0E0" font_size="12pt" label_side="left"/>
				<switch color="black" background="#E0E0E0" font_size="12pt" label_side="top"/>
				<options color="black" background="white" appearance="radio-buttons" arrangement="vertical"/>
				<graphical_input color="black" background="#E0E0E0" font_size="12pt"/>
				<group_input color="black" background="#E0E0E0" font_size="12pt"/>
				<lamp color="black" background="white" font_size="9pt"/>
			</style>
			<view isee:show_pages="true" isee:use_lettered_polarity="true" page_width="824" page_height="577" isee:page_cols="2" isee:popup_graphs_are_comparative="true" type="stock_flow">
				<style color="black" background="white" font_style="normal" font_weight="normal" text_decoration="none" text_align="center" vertical_text_align="center" font_color="black" font_family="Arial" font_size="10pt" padding="2" border_color="black" border_width="thin" border_style="none">
					<stock color="blue" background="white" font_color="blue" font_size="12pt" label_side="top" label_angle="0">
						<shape type="rectangle" width="45" height="35"/>
					</stock>
					<flow color="blue" background="white" font_color="blue" font_size="12pt" label_side="bottom" label_angle="0"/>
					<module color="blue" background="white" font_color="blue" font_size="12pt" label_side="top" label_angle="0">
						<shape type="rectangle" width="55" height="45"/>
					</module>
					<aux color="blue" background="white" font_color="blue" font_size="12pt" label_side="bottom" label_angle="0">
						<shape type="circle" radius="18"/>
					</aux>
					<group color="red" background="white" font_color="red" font_size="12pt"/>
					<connector color="#FF007F" background="white" font_color="#FF007F" font_size="9pt" isee:thickness="1"/>
					<text_box color="black" background="white" text_align="left" vertical_text_align="top" font_size="12pt"/>
					<numeric_display color="blue" background="white" font_size="9pt" isee:transparent="false"/>
					<graph color="black" background="white" font_size="12pt" axis_color="#666666" grid_color="#C8C8C8" legend_position="bottom" isee:transparent="false" axis_label_font_size="9pt"/>
					<table color="black" background="#E0E0E0" text_align="right" font_size="12pt" orientation="vertical" wrap_text="false" isee:auto_fit="true" isee:use_alternate_row_colors="false" blank_column_width="80" column_width="160" isee:report_month_names="false" interval="1" report_balances="beginning" report_flows="instantaneous" header_text_align="center"/>
				</style>
				<connector uid="1" polarity="+" isee:polarity_placement="inside" angle="225">
					<from>Healthcare_savings</from>
					<to>Smoking_cessation_service_funding</to>
				</connector>
				<connector uid="2" polarity="+" isee:polarity_placement="inside" angle="232.595">
					<from>Current_smokers</from>
					<to>Effect_on_spend_per_quitter</to>
				</connector>
				<connector uid="3" angle="144.462">
					<from>Percentage_of_savings_spent_on_cessation</from>
					<to>Smoking_cessation_service_funding</to>
				</connector>
				<connector uid="4" polarity="+" isee:polarity_placement="inside" angle="313.152">
					<from>Ex_smokers</from>
					<to>Healthcare_savings</to>
				</connector>
				<connector uid="5" polarity="+" isee:polarity_placement="inside" angle="120.964">
					<from>Smoking_cessation_service_funding</from>
					<to>Smokers_quitting</to>
				</connector>
				<connector uid="6" angle="192.529">
					<from>Monthly_cost_savings_per_ex_smoker</from>
					<to>Healthcare_savings</to>
				</connector>
				<connector uid="7" polarity="+" isee:polarity_placement="inside" angle="36.8699">
					<from>Spend_per_quitter</from>
					<to>Smokers_quitting</to>
				</connector>
				<connector uid="8" polarity="-" isee:polarity_placement="inside" angle="296.565">
					<from>Effect_on_spend_per_quitter</from>
					<to>Spend_per_quitter</to>
				</connector>
				<connector uid="9" angle="180">
					<from>Average_quitter_failure_rate</from>
					<to>Ex_smokers_starting_again</to>
				</connector>
				<connector uid="10" polarity="+" isee:polarity_placement="inside" angle="50.5993">
					<from>Ex_smokers</from>
					<to>Ex_smokers_starting_again</to>
				</connector>
				<stock x="110" y="123" name="Current smokers"/>
				<aux x="82" y="188" name="Effect on spend per quitter"/>
				<stock x="391" y="123" name="Ex smokers"/>
				<flow label_side="top" label_angle="90" x="244.5" y="118" name="Smokers quitting">
					<pts>
						<pt x="132.5" y="118"/>
						<pt x="368.5" y="118"/>
					</pts>
				</flow>
				<aux label_side="right" label_angle="360" x="394" y="207" name="Healthcare savings"/>
				<aux x="484" y="251" name="Monthly cost savings per ex smoker"/>
				<aux label_side="left" label_angle="180" x="278" y="238" name="Smoking cessation service funding"/>
				<aux x="149" y="246" name="Spend per quitter"/>
				<aux x="332" y="320" name="Percentage of savings spent on cessation"/>
				<stock x="765" y="120" name="Lapsed ex smokers"/>
				<aux x="713" y="214" name="Average quitter failure rate"/>
				<flow label_side="right" label_angle="315" x="572" y="121" name="Ex smokers starting again">
					<pts>
						<pt x="413.5" y="121"/>
						<pt x="742.5" y="121"/>
					</pts>
				</flow>
				<text_box text_align="center" vertical_text_align="center" font_size="18pt" uid="11" x="307" y="164" width="23" height="27">R</text_box>
				<text_box text_align="center" vertical_text_align="center" font_size="18pt" uid="12" x="142" y="145" width="23" height="27">B</text_box>
				<text_box text_align="center" vertical_text_align="center" font_size="18pt" uid="13" x="472.5" y="82" width="23" height="27">B</text_box>
			</view>
			<view isee:show_pages="true" page_width="788" page_height="528" home_view="true" type="interface">
				<style/>
				<stacked_container uid="14" x="144" y="58" width="492" height="282">
					<graph background="#FFFFC9" axis_label_font_size="9pt" x="390" y="199" type="time_series" isee:time_precision="1" isee:time_scale_by="1" show_grid="false" include_units_in_legend="false" plot_numbers="true" num_x_grid_lines="5" num_y_grid_lines="5" num_x_labels="7" num_y_labels="6" title="Smokers quitting or who have quit" left_axis_multi_scale="false" left_axis_auto_scale="false" right_axis_multi_scale="true" right_axis_auto_scale="true">
						<plot color="blue" title="Ex smokers" pen_width="3" index="0" show_y_axis="true">
							<format scale_by="1"/>
							<entity name="Ex_smokers"/>
							<scale min="0" max="1000"/>
						</plot>
						<plot color="red" pen_width="3" index="1" show_y_axis="true">
							<format scale_by="1"/>
							<entity name="Smokers_quitting"/>
							<scale min="0" max="1000"/>
						</plot>
					</graph>
				</stacked_container>
				<slider color="blue" font_color="#191919" uid="15" x="180.5" y="385.5" width="197" height="43" increment="1" min="0" max="100" isee:navigate_to="true" show_name="true">
					<format scale_by="1"/>
					<entity name="Percentage_of_savings_spent_on_cessation"/>
					<reset_to after="never"/>
				</slider>
				<button color="white" background="#B3B3B3" corner_radius="0" label="Restore All Devices" uid="16" x="25" y="130" width="89" height="40">
					<actions>
						<action>restore_all</action>
					</actions>
				</button>
				<button color="white" background="#B3B3B3" corner_radius="0" label="Run" uid="17" x="25" y="76" width="89" height="40">
					<actions>
						<action>run_to_end</action>
					</actions>
				</button>
				<button label="Story" uid="18" x="27" y="183" width="85" height="41">
					<actions>
						<action target="story" story="19" view="0">navigate</action>
					</actions>
				</button>
				<slider uid="20" x="507" y="413" increment="0.01" min="0" max="0.1" isee:navigate_to="false" show_name="true">
					<format precision="0.01"/>
					<entity name="Average_quitter_failure_rate"/>
					<reset_to after="never"/>
				</slider>
			</view>
			<isee:templates>
				<view isee:show_pages="false" page_width="788" page_height="528" type="template">
					<style/>
				</view>
			</isee:templates>
			<isee:stories>
				<isee:story uid="19" name="Story 1">
					<view isee:show_pages="false" page_width="788" page_height="528" type="interface">
						<style/>
						<isee:model_view uid="21" x="0" y="0" width="788" height="528" isee:locked="true" zoom="1" center_x="394" center_y="264" locked_view="true" use_visible_list="true">
							<model name="Top-Level"/>
							<isee:visible_list>
								<entity name="Ex_smokers"/>
								<entity name="Smoking_cessation_service_funding"/>
								<entity name="Smokers_quitting"/>
								<item uid="5"/>
								<item uid="4"/>
								<entity name="Healthcare_savings"/>
								<item uid="11"/>
								<item uid="1"/>
							</isee:visible_list>
							<isee:highlight_list/>
						</isee:model_view>
						<stacked_container uid="22" x="587" y="381">
							<graph axis_label_font_size="9pt" x="412" y="256" width="350" height="250" type="time_series" show_grid="false" include_units_in_legend="false" plot_numbers="false" num_x_grid_lines="0" num_y_grid_lines="0" num_x_labels="7" num_y_labels="6" title="Number of ex-smokers" left_axis_multi_scale="false" left_axis_auto_scale="true" right_axis_multi_scale="false" right_axis_auto_scale="true">
								<plot color="blue" pen_width="1" index="0" show_y_axis="true">
									<entity name="Ex_smokers"/>
									<scale min="0" max="1000"/>
								</plot>
							</graph>
						</stacked_container>
						<button label="" uid="23" x="168" y="333">
							<actions>
								<action>start</action>
							</actions>
						</button>
						<button label="Reset" uid="24" x="168" y="372">
							<actions>
								<action>restore_all</action>
							</actions>
						</button>
						<button label="Next" uid="25" x="168" y="410">
							<actions>
								<action target="story" story="19" view="1">navigate</action>
							</actions>
						</button>
					</view>
					<view isee:show_pages="false" page_width="788" page_height="528" type="interface">
						<style/>
						<isee:model_view uid="26" x="0" y="0" width="788" height="528" isee:locked="true" zoom="1" center_x="394" center_y="264" locked_view="true" use_visible_list="true">
							<model name="Top-Level"/>
							<isee:visible_list>
								<item uid="7"/>
								<entity name="Spend_per_quitter"/>
								<item uid="8"/>
								<entity name="Effect_on_spend_per_quitter"/>
								<item uid="2"/>
								<entity name="Current_smokers"/>
								<item uid="12"/>
								<item uid="1"/>
								<item uid="11"/>
								<entity name="Healthcare_savings"/>
								<item uid="4"/>
								<item uid="5"/>
								<entity name="Smokers_quitting"/>
								<entity name="Smoking_cessation_service_funding"/>
								<entity name="Ex_smokers"/>
							</isee:visible_list>
							<isee:highlight_list>
								<item uid="12"/>
								<item uid="7"/>
								<entity name="Spend_per_quitter"/>
								<item uid="8"/>
								<entity name="Effect_on_spend_per_quitter"/>
								<item uid="2"/>
								<entity name="Current_smokers"/>
							</isee:highlight_list>
						</isee:model_view>
						<stacked_container uid="27" x="569" y="383">
							<graph axis_label_font_size="9pt" x="394" y="258" width="350" height="250" type="time_series" show_grid="false" include_units_in_legend="false" plot_numbers="false" num_x_grid_lines="0" num_y_grid_lines="0" num_x_labels="7" num_y_labels="6" title="Number of ex smokers" left_axis_multi_scale="false" left_axis_auto_scale="true" right_axis_multi_scale="false" right_axis_auto_scale="true">
								<plot color="blue" pen_width="1" index="0" show_y_axis="true">
									<entity name="Ex_smokers"/>
									<scale min="0" max="1000"/>
								</plot>
							</graph>
						</stacked_container>
						<button label="" uid="28" x="152" y="345">
							<actions>
								<action>start</action>
							</actions>
						</button>
						<button label="Reset" uid="29" x="152" y="383">
							<actions>
								<action>restore_all</action>
							</actions>
						</button>
						<button label="Next" uid="30" x="152" y="423">
							<actions>
								<action target="story" story="19" view="2">navigate</action>
							</actions>
						</button>
					</view>
					<view isee:show_pages="false" page_width="788" page_height="528" type="interface">
						<style/>
						<isee:model_view uid="31" x="0" y="0" width="788" height="528" isee:locked="true" zoom="1" center_x="394" center_y="264" locked_view="true" use_visible_list="true">
							<model name="Top-Level"/>
							<isee:visible_list>
								<item uid="13"/>
								<entity name="Ex_smokers_starting_again"/>
								<item uid="10"/>
								<entity name="Ex_smokers"/>
								<entity name="Smoking_cessation_service_funding"/>
								<item uid="4"/>
								<entity name="Smokers_quitting"/>
								<item uid="5"/>
								<entity name="Healthcare_savings"/>
								<item uid="12"/>
								<item uid="11"/>
								<item uid="1"/>
								<entity name="Current_smokers"/>
								<item uid="2"/>
								<item uid="8"/>
								<entity name="Effect_on_spend_per_quitter"/>
								<item uid="7"/>
								<entity name="Spend_per_quitter"/>
							</isee:visible_list>
							<isee:highlight_list>
								<item uid="13"/>
								<entity name="Ex_smokers_starting_again"/>
								<item uid="10"/>
							</isee:highlight_list>
						</isee:model_view>
						<stacked_container uid="32" x="578" y="379">
							<graph axis_label_font_size="9pt" x="403" y="254" width="350" height="250" type="time_series" show_grid="false" include_units_in_legend="false" plot_numbers="false" num_x_grid_lines="0" num_y_grid_lines="0" num_x_labels="7" num_y_labels="6" title="Number of ex smokers" left_axis_multi_scale="false" left_axis_auto_scale="true" right_axis_multi_scale="false" right_axis_auto_scale="true">
								<plot color="blue" pen_width="1" index="0" show_y_axis="true">
									<entity name="Ex_smokers"/>
									<scale min="0" max="1000"/>
								</plot>
							</graph>
						</stacked_container>
						<button label="" uid="33" x="168" y="331">
							<actions>
								<action>start</action>
							</actions>
						</button>
						<button label="Reset" uid="34" x="168" y="372">
							<actions>
								<action>restore_all</action>
							</actions>
						</button>
						<button label="Home" uid="35" x="168" y="413">
							<actions>
								<action target="home_page">navigate</action>
							</actions>
						</button>
					</view>
				</isee:story>
			</isee:stories>
		</views>
	</model>
</xmile>