<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Python &#8211; Simulation Helpdesk</title>
	<atom:link href="https://simulationhelpdesk.com/product-tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>https://simulationhelpdesk.com</link>
	<description>Platform for simulation modeling experts and users to learn earn and collaborate.</description>
	<lastBuildDate>Thu, 06 Jul 2023 06:36:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://simulationhelpdesk.com/wp-content/uploads/2022/07/cropped-SIMULATION-LOGO_FA_VERTICAL_FOR-WEB-32x32.png</url>
	<title>Python &#8211; Simulation Helpdesk</title>
	<link>https://simulationhelpdesk.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Oil pump capacity optimization (Python)</title>
		<link>https://simulationhelpdesk.com/product/oil-pump-capacity-optimization-python/</link>
					<comments>https://simulationhelpdesk.com/product/oil-pump-capacity-optimization-python/#respond</comments>
		
		<dc:creator><![CDATA[Linnart Felkl]]></dc:creator>
		<pubDate>Thu, 06 Jul 2023 06:36:17 +0000</pubDate>
				<guid isPermaLink="false">https://simulationhelpdesk.com/?post_type=product&#038;p=6518</guid>

					<description><![CDATA[<p>This downloadable product is a linear optimization template in Python, using PuLP for modeling a oil pump capacity plan. </p>]]></description>
										<content:encoded><![CDATA[<p>This downloadable product contains a PDF file with a case study description and a Python script that contains a PuLP implementation of a continuous capacity planning problem. </p>
<p>Using PuLP this Python template solves a capacity planning problem using linear programming. </p>
<p><strong>Linear optimization in Python for oil pump capacity planning</strong></p>
<p>In the exemplary case study solved by this Python model a new oil field is prepared. For this, oil pumps must be purchased. Different pump types have different production capacities and purchasing prices.</p>
<p>The problem is to minimize purchasing expenses while at least securing required production volumes.</p>
<p><img fetchpriority="high" decoding="async" src="https://i0.wp.com/www.supplychaindataanalytics.com/wp-content/uploads/2023/05/oilfield.png?resize=640%2C262&amp;ssl=1" alt="capacity planning in Python using PuLP for oil field planning" class="aligncenter" data-mce-src="https://i0.wp.com/www.supplychaindataanalytics.com/wp-content/uploads/2023/05/oilfield.png?resize=640%2C262&amp;ssl=1" width="640" height="262"></p>
<p>Another constraint is the available surface area of the oil field. Above figure displays an exemplary oil field in Texas.</p>
<p><strong>KPIs traced by the linear capacity planning Python model</strong></p>
<p>The optimization model considers the following KPIs:</p>
<ul>
<li>Purchasing expenses</li>
<li>Production output</li>
<li>Surface area occupied on the oil field</li>
</ul>
<p><strong>Who will benefit from this linear programming template?</strong></p>
<p>Linear programming is a fundamental mathematical programming technique, applied not only in capacity planning. For example, logistics networks can be optimized with linear programming as well. It is also used for e.g. marketing campaign planning, pricing, and much more.</p>
<p>Hence, getting familiar with linear programming and owning a Python template for implementing a linear optimization program in Python, can be beneficial to a wide group of users. This includes students, analysts, and managers &#8211; in manufacturing, logistics, purchasing, accounting, controlling, and marketing.</p>
<p><strong>More about linear optimization in Python and other programming languages</strong></p>
<p>If you are interested in linear programming, capacity planning, and mathematical optimization, here are some related articles that might help in getting you started:</p>
<ul style="margin: 0px 0px 15px 15px;padding-left: 0px;font-family: Roboto, serif;font-size: 17px" data-mce-style="margin: 0px 0px 15px 15px; padding-left: 0px; font-family: Roboto, serif; font-size: 17px;">
<li style="list-style-type: disc;padding-bottom: 5px;padding-top: 5px" data-mce-style="list-style-type: disc; padding-bottom: 5px; padding-top: 5px;"><a href="https://www.supplychaindataanalytics.com/optimization-via-master-production-scheduling/" style="background-color: transparent" data-mce-href="https://www.supplychaindataanalytics.com/optimization-via-master-production-scheduling/" data-mce-style="background-color: transparent;"><em>Optimization via master production scheduling</em></a></li>
<li style="list-style-type: disc;padding-bottom: 5px;padding-top: 5px" data-mce-style="list-style-type: disc; padding-bottom: 5px; padding-top: 5px;"><em><a href="https://www.supplychaindataanalytics.com/price-and-inventory-optimization/" style="background-color: transparent" data-mce-href="https://www.supplychaindataanalytics.com/price-and-inventory-optimization/" data-mce-style="background-color: transparent;">Price and inventory optimization</a></em></li>
<li style="list-style-type: disc;padding-bottom: 5px;padding-top: 5px" data-mce-style="list-style-type: disc; padding-bottom: 5px; padding-top: 5px;"><a href="https://en.wikipedia.org/wiki/Integer_programming" style="background-color: transparent" data-mce-href="https://en.wikipedia.org/wiki/Integer_programming" data-mce-style="background-color: transparent;"><em>Integer programming</em></a></li>
<li style="list-style-type: disc;padding-bottom: 5px;padding-top: 5px" data-mce-style="list-style-type: disc; padding-bottom: 5px; padding-top: 5px;"><a href="https://www.supplychaindataanalytics.com/linear-programming-in-julia-with-glpk-and-jump/" style="background-color: transparent" data-mce-href="https://www.supplychaindataanalytics.com/linear-programming-in-julia-with-glpk-and-jump/" data-mce-style="background-color: transparent;"><em>Linear programming in Julia</em></a></li>
<li style="list-style-type: disc;padding-bottom: 5px;padding-top: 5px" data-mce-style="list-style-type: disc; padding-bottom: 5px; padding-top: 5px;"><a href="https://www.supplychaindataanalytics.com/simple-linear-programming-with-google-ortools-in-python/" style="background-color: transparent" data-mce-href="https://www.supplychaindataanalytics.com/simple-linear-programming-with-google-ortools-in-python/" data-mce-style="background-color: transparent;"><em>Linear program with Google ortools in Python</em></a></li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://simulationhelpdesk.com/product/oil-pump-capacity-optimization-python/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Poultry supply chain SimPy library and model</title>
		<link>https://simulationhelpdesk.com/product/poultry-supply-chain-simpy-library-and-model/</link>
					<comments>https://simulationhelpdesk.com/product/poultry-supply-chain-simpy-library-and-model/#respond</comments>
		
		<dc:creator><![CDATA[Linnart Felkl]]></dc:creator>
		<pubDate>Wed, 16 Nov 2022 03:49:08 +0000</pubDate>
				<guid isPermaLink="false">https://simulationhelpdesk.com/?post_type=product&#038;p=6430</guid>

					<description><![CDATA[<p>Downloadable, fully parametrized poultry supply chain simulation framework with exemplary simulation model. Generates integrated statistics and visualizations and can be configured via configuration file.</p>]]></description>
										<content:encoded><![CDATA[<p>The virtual product implements discrete-event simulation in Python using SimPy. The product delivers a framework for poultry supply chain simulation, focusing on inventory control and information flows. </p>
<p>In detail this downloadable SimPy simulation framework comprises:</p>
<ul>
<li>SimPy object-oriented modeling library for modeling poultry supply chain</li>
<li>Example model implementing exemplary poultry supply chain </li>
<li>Conceptual model description</li>
<li>Configuration file</li>
<li>Integrated statistics generation</li>
</ul>
<p>To learn more about the various different simulation methods you can e.g. read this<a data-mce-href="https://www.supplychaindataanalytics.com/simulation-methods-for-scm-analysts/" href="https://www.supplychaindataanalytics.com/simulation-methods-for-scm-analysts/"> simulation method introduction</a>.</p>
<h2>Poultry supply chain elements included in the model</h2>
<p>The framework comprises the following supply chain entity models: </p>
<ul>
<li>Egg supplier</li>
<li>Hatchery</li>
<li>Brooder</li>
<li>Farmer coops</li>
<li>Slaughterhouse</li>
<li>Meat processing</li>
</ul>
<h2>Information flow assumed by the simulation framework</h2>
<p>The exemplary poultry supply chain model included by this virtual product implements/assumes a PUSH controlled supply chain. The egg supplier is the source of the material flow, and the meat processor is the sink. Egg shipments from the egg supplier are supplied to the hatchery upon order placement by the hatchery, using a s,S-based inventory control logic. From there on material flow is PUSH based, all the way to the slaugtherhouse&#8217;s finished product stock (carcasses). Meat processing, facilitating the sink in this example model, pulls its demand from the slaughterhouses&#8217; inventory. For more details read the conceptual supply chain description (part of the product).</p>
<h2>Relevant poultry  growth assumptions and constraints</h2>
<p>This framework focuses on supply chain simulation. It thus makes some simplifying assumptions. For example, chicken growth dynamics are not modelled in detail. Instead  the model assumes process dwell times and chicken start and end weights for relevant processes.</p>
<p>This applies to the following processes:</p>
<ul>
<li>Broodery. The framework, via its configuration files, allows for brooding time specification. It is assumed that all hatched undergo the same brooding time. It is furthermore assumes, that all chicken have the same weight when exiting the broodery.</li>
<li>Farm coops. The framework allows two different population types to be modelled. For example, hens and toms. Coop dwell is the same for all chicken and all populations of the same type. Dwell times in the coop can however be different for the two different population types. This allows to reflect e.g. faster growth of one population type over another. All chicken, regardless of their type, are assumed to have the same weight at the end of their coop dwell time. This is the &#8220;slaughter-ready weight&#8221;.</li>
</ul>
<h2>KPIs calculated by this framework</h2>
<p>This framework calculates and tracks the number of units in a process or in stock (inventory). The same is true for final demand at the end customer (meat processing facility). </p>
<p>Modelling demand and inventory becomes unit neutral in this way. That allows for straight forward specifcation of mortality rates (referred to as &#8220;scrap&#8221; as per production industry terminology) and unsuccessful hatching ratios (failure ratios). Morever, chicken weights at the various stages of the supply chain can thereby easily be assumed and multiplied with the quanitites. The same is true for costs, e.g. purchasing costs, feeding costs (per period and chicken unit), holding costs, processing costs, etc. </p>
<p>It must be clearly understood that a cost model is not part of this simulation model. But since stocks and flows are measured in the same unit (&#8220;number of chicken&#8221;, &#8220;number of eggs&#8221;, &#8220;number of carcasses&#8221;) a cost model can flexibly and easily be applied on top of the simulation results generated by this framework.</p>
<h2>Exemplary model output </h2>
<p>Here are some exemplary statistics and statistics visualizations generated by the SimPy framework comprised by this virtual product:</p>
<p><img decoding="async" class="alignnone wp-image-6433" src="https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-300x225.png" alt="" width="243" height="182" data-mce-src="https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-300x225.png" srcset="https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-300x225.png 300w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-1024x768.png 1024w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-768x576.png 768w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-1536x1152.png 1536w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-2048x1536.png 2048w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-200x150.png 200w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-100x75.png 100w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-467x350.png 467w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-788x591.png 788w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1-600x450.png 600w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_hatchery-1.png 640w" sizes="(max-width: 243px) 100vw, 243px" /><img decoding="async" class="alignnone wp-image-6434" src="https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-300x225.png" alt="" width="243" height="182" data-mce-src="https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-300x225.png" srcset="https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-300x225.png 300w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-1024x768.png 1024w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-768x576.png 768w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-1536x1152.png 1536w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-2048x1536.png 2048w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-200x150.png 200w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-100x75.png 100w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-467x350.png 467w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-788x591.png 788w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1-600x450.png 600w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_slaughterhouse-1.png 640w" sizes="(max-width: 243px) 100vw, 243px" /> <img loading="lazy" decoding="async" class="alignnone wp-image-6435" src="https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-300x225.png" alt="" width="244" height="183" data-mce-src="https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-300x225.png" srcset="https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-300x225.png 300w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-1024x768.png 1024w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-768x576.png 768w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-1536x1152.png 1536w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-2048x1536.png 2048w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-200x150.png 200w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-100x75.png 100w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-467x350.png 467w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-788x591.png 788w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier-600x450.png 600w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/output_supplier.png 640w" sizes="(max-width: 244px) 100vw, 244px" /><img loading="lazy" decoding="async" class="alignnone wp-image-6436" src="https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-300x225.png" alt="" width="237" height="178" data-mce-src="https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-300x225.png" srcset="https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-300x225.png 300w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-1024x768.png 1024w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-768x576.png 768w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-1536x1152.png 1536w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-2048x1536.png 2048w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-200x150.png 200w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-100x75.png 100w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-467x350.png 467w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-788x591.png 788w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1-600x450.png 600w, https://simulationhelpdesk.com/wp-content/uploads/2022/11/inventory_brooder-1.png 640w" sizes="(max-width: 237px) 100vw, 237px" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://simulationhelpdesk.com/product/poultry-supply-chain-simpy-library-and-model/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
