diff --git a/xmile-v1.0-cs01-examples/arrays.xmile b/xmile-v1.0-cs01-examples/arrays.xmile new file mode 100644 index 0000000..ec87533 --- /dev/null +++ b/xmile-v1.0-cs01-examples/arrays.xmile @@ -0,0 +1,98 @@ + + + + +
+ + + + Acme Constructor + Acme Software + 2014-05-10 + Arrays + + This model is used to validate simple array syntax. + +
+ + + 0 + 10 +
1.0
+
+ + + + + + + + + + + + + + + + 20 + + + + + + + 20 + + + + + + + 20 + + + 20 + + + 20 + + + + + + + + + + + 0,50,25 + + + + + + + 90,10,50 + + + + + + + 90,10,50 + + + TIME + + + + +
diff --git a/xmile-v1.0-cs01-examples/corporate-growth.xmile b/xmile-v1.0-cs01-examples/corporate-growth.xmile new file mode 100644 index 0000000..3ac34d1 --- /dev/null +++ b/xmile-v1.0-cs01-examples/corporate-growth.xmile @@ -0,0 +1,287 @@ + + + +
+ + CorpGrowth + f7921add-36a7-4fa9-a651-4b3dfaee6d64 + isee systems, inc. + STELLA +
+ + + 0 + 100 +
0.125
+
+ + + + 10 + net_hires + + people + + + (indicated_sales_force - Sales_Force)/sales_force_adjustment_time + person/mo + + + 20 + months + + + budget/sales_person_salary + people + + + orders_booked * revenue_to_sales + $/Month + + + 10 + $/SKU + + + 2000 + $/Person-Month + + + Sales_Force * sale_effectiveness + SKU/Month + + + normal_sales_effectiveness * effect_of__delivery_delay_recognized + SKU/Person-Month + + + 350 + SKU/Person-Month + + + Delivery_Delay_Recognized/normal_delivery_delay_recognized + + + + 1.15,1.1,1,0.75,0.5,0.35,0.3 + + Unitless + + + 2 + months + + + 2 + change_in_delivery_delay_recognized + + months + + + (delivery_delay_impending - Delivery_Delay_Recognized) / time_for_delivery_delay_recognition + + + 5 + months + + + Backlog / delivery_rate + months + + + 8000 + orders_entered + orders_completed + + SKU + + + orders_booked + + sku/mo + + + delivery_rate + + sku/mo + + + Backlog / normal_backlog + + + 0.9,1,1.7,2.3,3.5,6.3,10,20 + 0,1,3.5,4.3,5,5.6,6,6.5 + + Unitless + + + 8000 + SKU + + + normal_delivery_rate * effect_of_backlog_on_delivery_rate + SKU/Month + + + 4000 + SKU/Month + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + revenue_to_sales + budget + + + Delivery_Delay_Recognized + change_in_delivery_delay_recognized + + + orders_booked + orders_entered + + + orders_booked + budget + + + delivery_delay_impending + change_in_delivery_delay_recognized + + + sale_effectiveness + orders_booked + + + effect_of__delivery_delay_recognized + sale_effectiveness + + + Sales_Force + orders_booked + + + delivery_rate + orders_completed + + + budget + indicated_sales_force + + + normal_sales_effectiveness + sale_effectiveness + + + indicated_sales_force + net_hires + + + Delivery_Delay_Recognized + effect_of__delivery_delay_recognized + + + delivery_rate + delivery_delay_impending + + + sales_person_salary + indicated_sales_force + + + Sales_Force + net_hires + + + Backlog + effect_of_backlog_on_delivery_rate + + + Backlog + delivery_delay_impending + + + normal_backlog + effect_of_backlog_on_delivery_rate + + + normal_delivery_rate + delivery_rate + + + time_for_delivery_delay_recognition + change_in_delivery_delay_recognized + + + normal_delivery_delay_recognized + effect_of__delivery_delay_recognized + + + sales_force_adjustment_time + net_hires + + + effect_of_backlog_on_delivery_rate + delivery_rate + + + + +
diff --git a/xmile-v1.0-cs01-examples/diagram.xmile b/xmile-v1.0-cs01-examples/diagram.xmile new file mode 100644 index 0000000..b67d691 --- /dev/null +++ b/xmile-v1.0-cs01-examples/diagram.xmile @@ -0,0 +1,286 @@ + + + +
+ CorpGrowth + f7921add-36a7-4fa9-a651-4b3dfaee6d64 + isee systems, inc. + STELLA +
+ + + 0 + 100 +
0.125
+
+ + + + 10 + net_hires + + people + + + (indicated_sales_force - Sales_Force)/sales_force_adjustment_time + person/mo + + + 20 + months + + + budget/sales_person_salary + people + + + orders_booked * revenue_to_sales + $/Month + + + 10 + $/SKU + + + 2000 + $/Person-Month + + + Sales_Force * sale_effectiveness + SKU/Month + + + normal_sales_effectiveness * effect_of__delivery_delay_recognized + SKU/Person-Month + + + 350 + SKU/Person-Month + + + Delivery_Delay_Recognized/normal_delivery_delay_recognized + + + 0,0.5,1,1.5,2,2.5,3 + 1.1499999999999999,1.1000000000000001,1,0.75,0.5,0.34999999999999998,0.29999999999999999 + + Unitless + + + 2 + months + + + 2 + change_in_delivery_delay_recognized + + months + + + (delivery_delay_impending - Delivery_Delay_Recognized) / time_for_delivery_delay_recognition + + + 5 + months + + + Backlog / delivery_rate + months + + + 8000 + orders_entered + orders_completed + + SKU + + + orders_booked + + sku/mo + + + delivery_rate + + sku/mo + + + Backlog / normal_backlog + + + 0.90000000000000002,1,1.7,2.2999999999999998,3.5,6.2999999999999998,10,20 + 0,1,3.5,4.2999999999999998,5,5.5999999999999996,6,6.5 + + Unitless + + + 8000 + SKU + + + normal_delivery_rate * effect_of_backlog_on_delivery_rate + SKU/Month + + + 4000 + SKU/Month + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + revenue_to_sales + budget + + + Delivery_Delay_Recognized + change_in_delivery_delay_recognized + + + orders_booked + orders_entered + + + orders_booked + budget + + + delivery_delay_impending + change_in_delivery_delay_recognized + + + sale_effectiveness + orders_booked + + + effect_of__delivery_delay_recognized + sale_effectiveness + + + Sales_Force + orders_booked + + + delivery_rate + orders_completed + + + budget + indicated_sales_force + + + normal_sales_effectiveness + sale_effectiveness + + + indicated_sales_force + net_hires + + + Delivery_Delay_Recognized + effect_of__delivery_delay_recognized + + + delivery_rate + delivery_delay_impending + + + sales_person_salary + indicated_sales_force + + + Sales_Force + net_hires + + + Backlog + effect_of_backlog_on_delivery_rate + + + Backlog + delivery_delay_impending + + + normal_backlog + effect_of_backlog_on_delivery_rate + + + normal_delivery_rate + delivery_rate + + + time_for_delivery_delay_recognition + change_in_delivery_delay_recognized + + + normal_delivery_delay_recognized + effect_of__delivery_delay_recognized + + + sales_force_adjustment_time + net_hires + + + effect_of_backlog_on_delivery_rate + delivery_rate + + + + +
diff --git a/xmile-v1.0-cs01-examples/eventposter.xmile b/xmile-v1.0-cs01-examples/eventposter.xmile new file mode 100644 index 0000000..abdbb69 --- /dev/null +++ b/xmile-v1.0-cs01-examples/eventposter.xmile @@ -0,0 +1,58 @@ + + + + +
+ Acme Constructor + Acme Software + Sample model + + This model shows how to specify event posters. + + +
+ + + + + + + 100 + being_born + + + + + + + + + + + birth_rate*Population + + + 0.05 + + + +
diff --git a/xmile-v1.0-cs01-examples/headers.xmile b/xmile-v1.0-cs01-examples/headers.xmile new file mode 100644 index 0000000..58747ab --- /dev/null +++ b/xmile-v1.0-cs01-examples/headers.xmile @@ -0,0 +1,54 @@ + + + + +
+ Acme Constructor + Acme Software + 2014-05-10 + 2014-05-01 + Sample model + + This model demonstrates a model with comprehensive + header detail. + + 1 + John Q. Doe + Modeling Institute + BigCo + modelers, inc 2008 + +
123 Main St, City, State, USA
+ email1@modelers.com + email1@gmail.com + +1 111-111-1111 + +1 111-111-1111 + www.modelers.com +
+ + + + + + + + + + + + + +
+ + + + + +
diff --git a/xmile-v1.0-cs01-examples/included_macros.xmile b/xmile-v1.0-cs01-examples/included_macros.xmile new file mode 100644 index 0000000..c35227a --- /dev/null +++ b/xmile-v1.0-cs01-examples/included_macros.xmile @@ -0,0 +1,43 @@ + + + + +
+ + + + Acme Constructor + Acme Software + macros + + This file includes sample macros that may be included in other models. + +
+ + + x + base + LN(x)/LN(base) + + , )]]> + + + logarithm of .]]> + + + + + x + x * 2 + )]]> + Double the provided value. + + +
diff --git a/xmile-v1.0-cs01-examples/included_model.xmile b/xmile-v1.0-cs01-examples/included_model.xmile new file mode 100644 index 0000000..929b405 --- /dev/null +++ b/xmile-v1.0-cs01-examples/included_model.xmile @@ -0,0 +1,30 @@ + + + + +
+ + Acme Constructor + Acme Software + included model + + This model is intended to be included in master.xmile + as an example of an included model. + +
+ + + + + DOUBLE(100) + + + +
diff --git a/xmile-v1.0-cs01-examples/lynx-hares.xmile b/xmile-v1.0-cs01-examples/lynx-hares.xmile new file mode 100644 index 0000000..80b2414 --- /dev/null +++ b/xmile-v1.0-cs01-examples/lynx-hares.xmile @@ -0,0 +1,210 @@ + + + + +
+ + isee systems + STELLA + lynx-hares.stmx + (C) 2013 by isee systems, inc. +
+ + + + + + + + + + + adoption_rate + adopting + + + Practitioners + adopting + + + + + + + + + + + + +
diff --git a/xmile-v1.0-cs01-examples/readme.txt b/xmile-v1.0-cs01-examples/readme.txt new file mode 100644 index 0000000..bf9c0ff --- /dev/null +++ b/xmile-v1.0-cs01-examples/readme.txt @@ -0,0 +1,10 @@ +Files in this directory fall into two categories. + +Some files are intended to illustrate complete models, and will have content that represents +a realistic model and can be simulated to produce meaningful results. + +Other files are intended to test specific features in the schema and may contain +simplistic or partial formulations. They may illustrate such features and/or +be later migrated into a more formal test suite. + +ll models in this directory should validate correctly against the schema. \ No newline at end of file diff --git a/xmile-v1.0-cs01-examples/scale_and_format.xmile b/xmile-v1.0-cs01-examples/scale_and_format.xmile new file mode 100644 index 0000000..8c68e97 --- /dev/null +++ b/xmile-v1.0-cs01-examples/scale_and_format.xmile @@ -0,0 +1,41 @@ + + + + +
+ Acme Constructor + Acme Software + Sample model + + This model shows how to specify scale, range and format for + variables. + + +
+ + + + + 100 + being_born + + + + + birth_rate*Population + + + 0.05 + + + + + +
diff --git a/xmile-v1.0-cs01-examples/single_file_submodel.xmile b/xmile-v1.0-cs01-examples/single_file_submodel.xmile new file mode 100644 index 0000000..c153e88 --- /dev/null +++ b/xmile-v1.0-cs01-examples/single_file_submodel.xmile @@ -0,0 +1,39 @@ + + + +
+ Product + sample + + + +
+ + 1 + 13 +
0.25
+
+ + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/xmile-v1.0-cs01-examples/variables.xmile b/xmile-v1.0-cs01-examples/variables.xmile new file mode 100644 index 0000000..2d41ae1 --- /dev/null +++ b/xmile-v1.0-cs01-examples/variables.xmile @@ -0,0 +1,144 @@ + + + + +
+ + Acme Constructor + Acme Software + 2014-05-10 + Corporate Growth model + + This model demonstrates the format of a simple XMILE model with + only variable and no model diagram. + +
+ + + 0 + 100 +
0.125
+
+ + + + + 10 + people + net_hires + + + + (indicated_sales_force - Sales_Force)/sales_force_adjustment_time + person/mo + + + 20 + months + + + budget/sales_person_salary + people + + + orders_booked * revenue_to_sales + $/Month + + + 10 + $/SKU + + + 2000 + $/Person-Month + + + Sales_Force * sale_effectiveness + SKU/Month + + + normal_sales_effectiveness * effect_of__delivery_delay_recognized + SKU/Person-Month + + + 350 + SKU/Person-Month + + + Delivery_Delay_Recognized/normal_delivery_delay_recognized + + + 0,0.5,1,1.5,2,2.5,3 + 1.1499999999999999,1.1000000000000001,1,0.75,0.5,0.34999999999999998,0.29999999999999999 + + Unitless + + + 2 + months + + + 2 + change_in_delivery_delay_recognized + + months + + + (delivery_delay_impending - Delivery_Delay_Recognized) / time_for_delivery_delay_recognition + + + 5 + months + + + Backlog / delivery_rate + months + + + 8000 + orders_entered + orders_completed + + SKU + + + orders_booked + + sku/mo + + + delivery_rate + + sku/mo + + + Backlog / normal_backlog + + + 0.90000000000000002,1,1.7,2.2999999999999998,3.5,6.2999999999999998,10,20 + 0,1,3.5,4.2999999999999998,5,5.5999999999999996,6,6.5 + + Unitless + + + 8000 + SKU + + + normal_delivery_rate * effect_of_backlog_on_delivery_rate + SKU/Month + + + 4000 + SKU/Month + + + +