Skip to content

Commit

Permalink
Adding case study Stella code
Browse files Browse the repository at this point in the history
  • Loading branch information
JimDuggan committed Nov 19, 2024
1 parent 3df30a1 commit 679aa87
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
Binary file modified Code/08 Case Studies/SIR.isdb
Binary file not shown.
22 changes: 13 additions & 9 deletions Code/08 Case Studies/SIR.stmx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<vendor>isee systems, inc.</vendor>
<product version="3.7.1" isee:build_number="3377" isee:saved_by_v1="true" lang="en">Stella Architect</product>
</header>
<sim_specs isee:sim_duration="1.5" isee:run_prefix="Run" isee:simulation_delay="0.0789474" isee:restore_on_start="false" method="Euler" time_units="Months" isee:instantaneous_flows="false" isee:ignore_module_errors="false" isee:strict_units="true" isee:loop_scores="true" isee:loop_exhaustive_allowed="1000">
<start>1</start>
<sim_specs isee:sim_duration="1.5" isee:run_prefix="Run" isee:simulation_delay="0.075" isee:restore_on_start="false" method="RK4" time_units="Months" isee:instantaneous_flows="false" isee:ignore_module_errors="false" isee:strict_units="true" isee:loop_scores="true" isee:loop_exhaustive_allowed="1000">
<start>0</start>
<stop>20</stop>
<dt reciprocal="true">4</dt>
</sim_specs>
Expand Down Expand Up @@ -140,7 +140,7 @@
<isee:iframe color="black" background="white" text_align="left" vertical_text_align="top" font_size="12pt" border_width="thin" border_style="solid"/>
<isee:financial_table color="black" background="#E0E0E0" text_align="right" font_size="12pt" hide_border="false" auto_fit="true" first_column_width="250" other_column_width="100" header_font_style="normal" header_font_weight="bold" header_text_decoration="none" header_text_align="center" header_vertical_text_align="center" header_font_color="black" header_font_family="Arial" header_font_size="14pt" header_text_padding="2" header_text_border_color="black" header_text_border_width="thin" header_text_border_style="none"/>
</style>
<view isee:show_pages="false" background="white" page_width="822" page_height="575" isee:page_cols="2" isee:page_rows="2" isee:popup_graphs_are_comparative="true" isee:enable_non_negative_highlights="false" type="stock_flow">
<view isee:show_pages="false" background="white" page_width="822" page_height="575" isee:page_cols="2" isee:page_rows="2" isee:scroll_y="9" isee:popup_graphs_are_comparative="true" isee:enable_non_negative_highlights="false" 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="9pt" label_side="top">
<shape type="rectangle" width="45" height="35"/>
Expand Down Expand Up @@ -298,20 +298,24 @@
</plot>
</graph>
</stacked_container>
<stacked_container uid="24" x="796" y="824">
<stacked_container uid="24" x="584.5" y="802">
<graph width="350" height="250" type="time_series" show_grid="false" isee:tick_type="none" include_units_in_legend="false" plot_numbers="false" isee:label_pie_slices="false" isee:show_pie_borders="true" num_x_grid_lines="0" num_y_grid_lines="0" num_x_labels="5" num_y_labels="3" isee:fill_intensity="0.1" isee:allow_zero_axis="true" left_axis_multi_scale="false" left_axis_auto_scale="true" left_include_units="true" right_axis_multi_scale="false" right_axis_auto_scale="true" right_include_units="true">
<plot color="blue" isee:keep_zero_visible="true" pen_width="1" index="0" show_y_axis="true">
<entity name="IR"/>
</plot>
</graph>
</stacked_container>
<stacked_container uid="25" x="1094" y="604">
<table interval="DT" report_balances="beginning" report_flows="instantaneous" width="350" height="250">
<item type="time"/>
<item>
<format precision="full" scale_by="1"/>
<entity name="Susceptible"/>
</item>
</table>
</stacked_container>
</view>
</views>
</model>
<isee:controls>
<isee:control priority="interactive" name="Effective_Contact_Rate" value="1.8"/>
<isee:control priority="interactive" name="VF_Change_Constant" value="0.00299563829654517"/>
<isee:control priority="interactive" name="VF_Max" value="0.748297659675011"/>
</isee:controls>
</xmile>

0 comments on commit 679aa87

Please sign in to comment.