# I. Introduction ccelerating economic, technological, social, and environmental change challenge managers and policy makers to learn at increasing rates, while at the same time the complexity of the systems in which we live is growing. Many of the problems we now face arise as unanticipated side effects of our own past actions. Over the past decade, many top companies, consulting firms, and governmental organizations have used system dynamics to address critical issues. System dynamics is a perspective and set of conceptual tools that enable us to understand the structure and dynamics of complex systems. System dynamics is also a rigorous modeling method that enables us to build formal computer simulations of complex systems and use them to design more effective policies and organizations. of Technology, NJ,USA Senior Supply Chain Engineer in HITT Group. E-mail : Raziehl.saremi@gmail.com Author ? : BS in Electronics Engineering Islamic Azad University, Tehran, Iran. E-mail : azadeh_sohrabinejad@irib.ir H.I.T.T. Pharmaceutical group is one of the biggest private pharmaceutical holding companies in Iran, with 50 years experience in develop, produce and distribute pharmaceutical products in Iran. These companies are as follows: ? Tehran Chemie Pharmaceutical Co. ? Afa Chemie Pharmaceutical Co. ? Tehran Darou Pharmaceutical Co. ? Darou Gostar Nokhbegan Co. This paper is organized as follows: First the literature reviews, Second propose the dynamic model of the company which includes Customers, order and cash flow as three different parts, and the third part is the conclusion. # II. Literature Review Discrete event simulation (DES) and system dynamics (SD) are two modeling approaches widely used as decision support tools in logistics and supply chain management (LSCM). A widely held belief exists that SD is mostly used to model problems at a strategic level, whereas DES is used at an operational/tactical level. The outcome is a set of dominant loops that determine the dynamics of capacity growth. It is revealed that the delivery delay information has little effect while the loop that connects retail sales with production order affects the dynamics significantly. Narasimha B. Kamath, Rahul Roy [1] proposes a method for identifying critical information flows using the system dynamics model of a two-echelon supply chain. The fundamental premise of system dynamics methodology is that (system) structure determines (its) behavior. Using loop dominance analysis method, the feedback loop structure of the supply chain system is studied. A research on "postponement" strategy in the context of a global production-distribution system is considered by Kanghwa Choi, Ram Narasimhan [2]. It proposes a model that integrates multiple considerations germane to global supply chains. Postponement is important in this context because it is In, Fredrik Persson [3] a work to develop a simulation tool for supply chain simulation based on the SCOR model is reported. The SCOR template is a set of predefined SCOR compliant building blocks in the Arena simulation software. In Persson and Araldi (inpress) the first version of the tool was described and two tests of the tool were reported on. The first version was incomplete since It lacked the SCOR predefined metrics and some of the predefined processes. This paper presents the second version of the SCOR template that Proposed model in Suresh S. Pittyet el [4] has been implemented as a dynamic simulator, called Integrated Refinery In-Silico (IRIS). IRIS allows the user the flexibility to modify not only parameters, but also replace different policies and decision-making algorithms in a plug-and-play manner. It thus allows the user to simulate and analyze different policies, configurations, uncertainties, etc., through an easy-touse graphical interface. The capabilities of IRIS for strategic and tactical decision support are illustrated using several case studies. Nina YAN [5] establishes model a reverse chain system with one manufacturer and one retailer under demand uncertainties. a two-stage dynamic model for reverse supply chain based on remanufacturing is proposed for distinguishing between the recycling process of the retailer and the remanufacturing process of the manufacturer, by Using buyback contract as coordination mechanism and applying dynamic programming the optimal decision problems for each stage are analyzed. The development of efficient capacity planning policies for remanufacturing facilities in reverse supply chains is tackle in Dimitrios Vlachos et el [6], taking into account not only economic but also environmental issues, such as the take-back obligation imposed by legislation and the "green image" effect on customer demand. The behavior of the generic system under study is analyzed through a simulation model based on the principles of the system dynamics methodology. Jose B. Cruz Jret el [7] presents a novel multitime-stage input-output-based modeling framework for simulating. Control term enables the system to regulate the dynamics. Feature since the uncontrolled dynamic model exhibits oscillatory or unstable behavior under some conditions; this is an important which allows such undesirable characteristics to be suppressed. A model of a generic supply-chain node is developed in Wing Yan Hunget el [8] to capture the features present in all supply-chain entities. The generic node models in detail activities such as inventory control, manufacturing processes and order handling. The supply-chain model is constructed by specifying the physical and business attributes of each supply-chain member. This model provides a fully dynamic simulation of the supply-chain and the effect of various uncertainties. During the last half century many mathematical tools emerging from the control literature have been applied to the supply chain management problem. These tools vary from classical transfer function analysis to highly sophisticated control methodologies, such as model predictive control (MPC) and neuro-dynamic programming. The aim of HaralambosSarimveiset el. [9] is to provide a review of this effort .The bottom line of this review is that a joint co-operation between control experts and supply chain managers has the potential to introduce more realism to the dynamical models and develop improved supply chain management policies. Antuela A. Takoand Stewart Robinson [10] aims to explore the application of Discrete event simulation (DES) and system dynamics (SD) in logistics and supply chain management (LSCM) with a view to identifying differences and/or similarities in terms of the nature and level of their use. We define the nature of use in terms of the type of LSCM issues modeled using DES and SD. Modifying these kind of loops yields appropriate capacity augmentation decisions resulting in higher performance. What-if analyses bring out effects of modifying other structural elements. In conclusion, it is claimed that the information feedback based methodology is general enough to be useful in designing decision support systems for capacity augmentation. This is aimed to make a stimulated model in a distributing pharmaceutical company. # III. Research Methodology To make the system dynamic model according to Customer receive products following steps are considered: 1. Divided the firm to different parts, in this case we can divide the sale flows to three parts which are: customers, orders, and cash flow. Requirement is the basis of product development, and it can vary with time. The variation of customer makes the variation of products and therefore market competition will happen. In this part it is tried to model customer relationships in the company among this competitive market. First introducing related variables: According to Fig 1 competitive market effects directly on customer and their orders, so communicate with potential customers and sales relations play important roles in companies' market share. In this part potential customers, in line customers and companies customers are stocks. Received orders and answered orders are flows. So the final model will illustrate as follows: i. Orders ? Answered new order : the fraction of orders can be answered from new orders in period t, this factor makes new back order reduced and has a direct effect on inventory. ? In used products : fraction of sold products which are working and no replacement is needed. This variable affects in answered new orders directly and reorders inversely. ? Re back order : back orders belong to period t-1 and answer in period t. ? Answered re order : orders which is got by old customers, it has a direct effect on in used products. A ? Back order : an order to purchase something that is not currently available but will be sent at a later date. ? New order : orders in period t which there wasn't exist in period t-1, this variable effect on new back orders. This variable directly Effects on back order. ii. Cash flow The variables used for measuring accountingbased performance are cash flow. Cash flow is a comparable accounting-based measure across firms. Extant research in finance has long proposed that the value of a firm equals the net present value of all future cash flows .Moreover; existing research in marketing has also supported cash flows as an appropriate measure of firm value (Srivastavaet al. 1998). Marketing efficiency leads increasing cash flows by repurchases of satisfied customers and purchases of acquired customers. ? Cost : the amount of money should pay in order to produce products. This factor has directly affects in price and annual expenses. ? Annual expenses : average cost in a year, which directly effects on answered orders and cost and inverse affects in taxable income. adjusting for the cost of doing business, depreciation, interest, taxes and other expenses. This factor is affected by gross income and tax. ? Taxable income : The amount of income that is used to calculate an individual's or a company's income tax due. ? Annual interest : the amount charge by a lender to a borrower for the use of assets during a year. ? Tax rate : the burden ratio (usually expressed as a percentage) at which a business or person is taxed. ? Tax : amount of money which should be paid to government according to taxable income. ? Capital : amount of money which is used to start a business. ? Loan : amount of money which is borrowed from a bank. ? Loan payment period : the period of time in which the loan should be paid. ? Debt : sum of money that organization owes. In Fig 5, it is appears that the cash balance is deal with debt and annual interest which they result effects on taxable income. There for stock would be debt as it is shown in Fig 6. ? Gross income : A company's revenue minus cost of sales price and has affect in taxable income and net income. ? Net income : A company's total earnings (or profit). Net income is calculated by taking revenues and goods sold, this is affected by answered order and ? Interest rate : The amount charged, expressed as a percentage of principal, by a lender to a borrower for the use of assets. In which variable order effects new order, variable answered new order affect in answered order and answered order effects on gross income and annual expenses. iv. # Conclusion As supply chains have moved from a cost focus to a customer focus and now currently to a strategic focus, the need to think strategically about the supply chain has never been more important. The success of a strategy is only as good as the company's ability to fully and properly execute it. A great supply chain strategy, linked with operational excellence, can provide success for not only the company but also its partners and customers. We believe that demand analysis Supply Chain management is an amazing challenge for companies to satisfy their customers in a better way. The three sections of the industrial supply chain need to interact to ensure goods or services reach consumers. In this paper we discussed the logistical view on LSCM. A three stage integration model seems to be realistic for the LSCM-industry. 2![Is determining different variables then define relationships between them in the issue .All variables divided to two groups, Stocks and flows. contains all major processes and also a metric building block used to extracts emulation outputs during and after assimilation run, the Metric module.The dynamics of bio energy supply chains. Extending the model further by introducing a feedback. Flows change the level of stocks and are widgets/yr.) This model is stimulated in a distributing pharmaceutical company which is makes 3 different parts. usually measured in units per time (dollars/month, Stocks represent accumulations. They accumulate the difference between their inflows and outflows. They typically have units like dollars, defects, widgets, etc.. In this part of the research the model will be illustrated by Vensim. a) Customer](image-2.png "2 .") 2![Figure 2 : Model of companies' customers.](image-3.png "Figure 2 :") 3![Figure 3 : Positive and negative feedback loops of orders' model.](image-4.png "Figure 3 :") 3![it is crystal clear that back order is the most effective item in answering orders and new production planning.Hence the stocks should be new back orders, in use product and re-back order, which are shown inFig 4. ](image-5.png "According to fig 3 ,") New Orders+new back orders -+orders answered backaverage product+in use products+ +answered new ordersRe-orders + -answered new back orders +-Re-back orders © 2012 Global Journals Inc. (US) * Capacity augmentation of a supply chain for a short lifecycle product: A system dynamics framework BNarasimha RahulKamath Roy 27 March 2006 * Postponement strategy for international transfer of products in a global supply chain: A system dynamics examination KanghwaChoi RamNarasimhan SooWookKim 24 January 2012 * SCOR template-a simulation based dynamic supply chain analysis tool FredrikPersson 25 September 2010 * Decision support for integrated refinery supply chains Part 1. Dynamic simulation SSuresh WenkaiPitty AriefLi A RajagopalanAdhitya IASrinivasan Karimi 6 November 2007 * Dynamic Models and Coordination Analysis of Reverse. Supply Chain with Remanufacturing YanNina 2011 * Eleftherios Iakovou, A system dynamics model for dynamic capacity planning of remanufacturing in closed-loop supply chains DimitriosVlachos PatroklosGeorgiadis 2006 * JoseBCruzJr RaymondRTan AlvinBCulaba Jo-AnneBallacillo A dynamic input-output model for nascent bioenergy supply chains 2009 * Object-oriented dynamic supply-chain modeling incorporated with production scheduling Wing Yan Hung JNouri NilaySamsatli Shah 2005 * Dynamic modeling and control of supply chain systems: A review HaralambosSarimveis PanagiotisPatrinos ChrisDTarantilis ChrisTKiranoudis 2007 * The application of discrete event simulation and system dynamics in the logistics and supply chain context AAntuela StewartTako Robinson 2011 * Business Dynamics Systems Thinking and Modeling for a Complex World JohnDSterman 2001