Modeling dynamic interactions in a software development project

Modeling dynamic interactions in a software development project

Material Information

Modeling dynamic interactions in a software development project
Vajre, Chetan D
Place of Publication:
[Tampa, Fla.]
University of South Florida
Publication Date:


Subjects / Keywords:
Computer software -- Development ( lcsh )
project management
software development
system dynamics
Dissertations, Academic -- Industrial Engineering -- Masters -- USF ( lcsh )
government publication (state, provincial, terriorial, dependent) ( marcgt )
bibliography ( marcgt )
theses ( marcgt )
non-fiction ( marcgt )


ABSTRACT: Software industry is getting very competitive in the wake of recession. In most cases, an organization that quotes a lower price and promises to deliver the product at the earliest walks away with the project. But the factor of quality of the product delivered is also very important because that in turn determines the reputation of an organization, which also plays an important role in getting the next project. Interactions in a software development are dynamic in nature and involve human factors. Models are built taking into account all possible factors so as to present a realistic picture of the development process. System dynamics methodology is used to build these models in Vensim. Three models have been proposed to help manager estimate an approximate time and cost of the project, monitor the project once the timeline is set and monitor the project development to change various factors as the development process goes through various phases of development and testing.
Thesis (M.S.I.E.)--University of South Florida, 2003.
Includes bibliographical references.
System Details:
System requirements: World Wide Web browser and PDF reader.
System Details:
Mode of access: World Wide Web.
General Note:
Title from PDF of title page.
General Note:
Document formatted into pages; contains 83 pages.
Statement of Responsibility:
by Chetan D. Vajre.

Record Information

Source Institution:
University of South Florida Library
Holding Location:
University of South Florida
Rights Management:
All applicable rights reserved by the source institution and holding location.
Resource Identifier:
001430578 ( ALEPH )
52376223 ( OCLC )
AJL4039 ( NOTIS )
E14-SFE0000096 ( USFLDC DOI )
e14.96 ( USFLDC Handle )

Postcard Information



This item has the following downloads:

Full Text
xml version 1.0 encoding UTF-8 standalone no
record xmlns http:www.loc.govMARC21slim xmlns:xsi http:www.w3.org2001XMLSchema-instance xsi:schemaLocation http:www.loc.govstandardsmarcxmlschemaMARC21slim.xsd
leader nam Ka
controlfield tag 001 001430578
003 fts
005 20070221175146.0
006 m||||e|||d||||||||
007 cr mnu|||uuuuu
008 031007s2003 flua sbm s000|0 eng d
datafield ind1 8 ind2 024
subfield code a E14-SFE0000096
b SE
1 100
Vajre, Chetan D.
0 245
Modeling dynamic interactions in a software development project
h [electronic resource] /
by Chetan D. Vajre.
[Tampa, Fla.] :
University of South Florida,
Thesis (M.S.I.E.)--University of South Florida, 2003.
Includes bibliographical references.
Text (Electronic thesis) in PDF format.
System requirements: World Wide Web browser and PDF reader.
Mode of access: World Wide Web.
Title from PDF of title page.
Document formatted into pages; contains 83 pages.
ABSTRACT: Software industry is getting very competitive in the wake of recession. In most cases, an organization that quotes a lower price and promises to deliver the product at the earliest walks away with the project. But the factor of quality of the product delivered is also very important because that in turn determines the reputation of an organization, which also plays an important role in getting the next project. Interactions in a software development are dynamic in nature and involve human factors. Models are built taking into account all possible factors so as to present a realistic picture of the development process. System dynamics methodology is used to build these models in Vensim. Three models have been proposed to help manager estimate an approximate time and cost of the project, monitor the project once the timeline is set and monitor the project development to change various factors as the development process goes through various phases of development and testing.
Adviser: Khator, Suresh K.
Computer software
x Development.
project management.
software development.
system dynamics.
Dissertations, Academic
Industrial Engineering
t USF Electronic Theses and Dissertations.
4 856


MODELING DYNAMIC INTERACTIONS IN A SOFTWARE DEVELOPMENT PROJECT by CHETAN D. VAJRE A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in Industrial Engineering Department of Industrial and Ma nagement Systems Engineering College of Engineering University of South Florida Major Professor: Suresh K. Khator, Ph.D. William Miller, Ph.D. Ali Yalcin, Ph.D. Date of Approval: April 4, 2003 Keywords: system dynamics, simulation, vensim waterfall model, project management Copyright 2003 Chetan D. Vajre


i TABLE OF CONTENTS LIST OF FIGURES iii ABSTRACT v CHAPTER 1 INTRODUCTION 1.1 Introduction to Business Scenario1 1.2 Simulation of Existing Systems 2 1.3 Need for Simulation 3 1.4 A System Dynamics Modeling Approach 4 1.5 Modeling Using Vensim 6 1.6 Organization of the Thesis 12 CHAPTER 2 LITERATURE REVIEW 2.1 Introduction to Software Project 13 2.2 Basic Definitions of Project Management 14 2.3 Early Project Mana gement Techniques 15 2.3.1 Gantt Chart 15 2.3.2 Critical Path Method 16 2.3.3 Program Ev aluation and Review Technique 16 2.4 Recent Project Management Methods 18 2.4.1 AND-OR Graphs 18 2.4.2 Petri-Net 18 2.4.3 Limitations AND-OR and PetriNet Graphs 20 2.6 V Model of Software Development 23 2.7 System Dynamics Modeling of Software Project 27 CHAPTER 3 PROBLEM STATEMENT 3.1 BrookÂ’s Law 30 3.2 Integrative System Dynamics Model of Software Development 31 3.3 Factors Under Consideration 31 3.3.1 Effort Required 32 3.3.2 Time in Days 32 3.3.3 Staff Levels 32 3.3.4 Productivity 33 3.3.5 Testing and Error Detection 33 3.4 Problem Description and Objectives 34 3.4.1 Performance Measures 34


ii 3.4.2 Assumptions 35 CHAPTER 4 SYSTEM DYNAMICS MOD EL OF SOFTWARE DEVELOPMENT 4.1 Introduction 36 4.2 Model Building Blocks 36 4.3 Model Equations 42 4.4 Simulation Runs and Results 44 4.5 Verification of Results 48 CHAPTER 5 MODEL WITH FEEDBACK LOOPS 5.1 Introduction 49 5.2 Feedback Loop in Software Project Development 49 5.3 Feedback Model with Synthesim Feature 55 5.4 Feedback Model in Game Mode 57 5.5 Results 59 CHAPTER 6 INTERFACE DEVELOPMENT AND USER INSTRUCTIONS 6.1 Introduction 63 6.2 Interface Development Tools 64 6.2.1 Views 64 6.2.2 Custom Graphs 65 6.2.3 Sketch Comments 66 6.2.4 Input-Output 68 6.2.5 Gaming Control 69 CHAPTER 7 CONCLUSIONS AND FUTURE RESEARCH 7.1 Conclusions 71 7.2 Further Research 73 REFERENCES 75


iii LIST OF FIGURES Figure 1. Example of an Inventory –Workforce Model in Vensim 7 Figure 2. System Dynamics Model of Rabbit Population 9 Figure 3. Plot of Rabbit Population versus Time 10 Figure 4. Using Synthesim Feature of Vensim 11 Figure 5. Causes Strip Plots 11 Figure 6. Work Breakdown Structure 14 Figure 7. A Typical Gantt Chart 15 Figure 8. Beta Distribution for PERT Activities 17 Figure 9. A Sender Receiver Petri Net 19 Figure 10. Waterfall Model of Software Development 22 Figure 11. V Model of Software Development 25 Figure 12. A Cause-Effect Relationship 27 Figure 13. Feedback Loops 28 Figure 14. Workforce Sub-System 37 Figure 15. Productivity Sub-Systems 39 Figure 16. Lookup Graph for Productivity 39 Figure 17. Lookup Graph for Time to Detect Errors 40 Figure 18. Work Rate Sub-System 40 Figure 19. Cost Sub-System 41


iv Figure 20. Work Accomplished 45 Figure 21. Total Cost 46 Figure 22. Work Flow 47 Figure 23. Feedback Loop 50 Figure 24. Lookup Graph for Pressure 54 Figure 25. Tabular Data of Proj ect is Done Variable 56 Figure 26. Model Run in Synthesim Mode 56 Figure 27. Feedback Model in Game Mode with TenMonth Deadline 58 Figure 28. Feedback Model in Game Mode with FourteenMonth Deadline 59 Figure 29. Hiring Rate with a Eight-Month Deadline 60 Figure 30. Project State at th e End of Five Months 62 Figure 31. Custom Graphs I 65 Figure 32. Custom Graphs II 66 Figure 33. Welcome Screen 67 Figure 34. Control Panel 67 Figure 35. Instructions View 68 Figure 36. Gaming Controls in Vensim 70


v MODELING DYNAMIC INTERACTIONS IN A SOFTWARE DEVELOPMENT PROJECT Chetan D. Vajre ABSTRACT Software industry is getting very competitive in the wake of recession. In most cases, an organization that quotes a lower pri ce and promises to deliver the product at the earliest walks away with the project. But the factor of quality of the product delivered is also very important because that in turn determines the reputation of an organization, which also plays an important ro le in getting the next project. Interactions in a software developmen t are dynamic in nature and involve human factors. Models are built taking in to account all possible factors so as to present a realistic picture of the development process. System dynamics methodology is used to build these models in Vensim. Three models have been proposed to help manager estimate an approximate time and cost of the project, mon itor the project once the timeline is set and monitor the project development to change various factors as the development process goes through various phases of development and testing.


1 CHAPTER 1 INTRODUCTION 1.1 Introduction to Business Scenario There has never been a perfect recipe fo r the success of a business. There are a very few who get the perfect combination in place for a su ccessful business. There might be some subtle differences in running the same business, manufacturing the same product or for instance developing very similar software that separates the top notch from the rest. The one who gets things done earliest and at minimum cost with an acceptable quality will survive in this competitive business world. Whenever there is a failure of a business, or software developed fails, or a product does not do what it says it does, people ma ke the cardinal mistake of looking into individuals responsible for a particular phase in manufacturing. Th e reason might well be something else. For example, a software produc t is developed and it does not sell in the market. It may perform well, but maybe because the client or the people do not use the platform on which the product, it does not do well in the market. So it doesnÂ’t help making scapegoat of the developers or the te sters who tested the so ftware. We now need to develop a futuristic view of the arena around us and start predicting what the future needs might be and what would be availa ble at hand. Sometimes a programmer does not introduce bugs because he is not good at programming, the case might well be that


2 fatigue has started affecting his work. With break-even status hard to achieve and economy experiencing its worst phase ever, co mpanies and organizations have started looking towards new and advanced avenues to help them earn profits. The focus has now shifted from looking at individual performances to the performance of the system as a whole. Managers have now started believing that some intangible factors may also be affecting the performance of the department he leads and so the system output as a whole. For instance reasons for failure might well be the management system, system definition, flaws getting detected at a stage much later than they should be and so on. Technology has advanced in leaps and bounds and we are presented with the most advanced tools we can ever imagine to help learn and improve. This is more relevant at this time of recession where every competitor is looking to get even the slightest edge. We should therefore seek the most appropriate bu siness practices in orde r to prevail. It is easier said than done. It is not easy predic ting the future of a business or what changes in a particular aspect might affect the performance. Sometim es we might not be able to afford to experiment, because the failure would be more dreadful than what would have been, had the pattern of work not changed. There is ther efore the need for using a surrogate to see what would have been the state of the system had we changed certain factors. This can be achieved by simulation. 1.2 Simulation of Existing Systems Simulation is a very generic term and app lies to a very wide arena and industrial applications. It refers to a broad collecti on of methods and applic ations to mimic the


3 behavior of real systems using a computer with appropriate software. One such widely used software is Arena 5.0 (Rockwell Software). 1.3 Need for Simulation We can use various theoretical techni ques, for example queuing theory, to determine the performance of the system. But sometimes, subjecting the system to different scenarios maybe very repetitive a nd for large systems may consume lot of time and energy. Instead, in this age, where computing time has become cheap and easily accessible, more and more custom software ar e available in market to do all that could just have been imagined earlier. There ar e some very good reasons why we should go for computer simulation: There might be only a few limited distributio ns that we could calculate the results using theoretical derivations. The queues may not follow standard rules (in case of system involving queues). The system behavior might be too dynamic in nature. If we are interested in knowing when the system reaches a steady state, it may be necessary to go on calculating for long time intervals, which is not feasible and practical. If we want to put the system through diffe rent scenarios, then everything needs to be redone with the new parameters. But all this looks good when it comes to th e modeling of systems where we want to know what the resource utilizati ons are, what the queue sizes are, etc. However, there are certain systems where such a technique might not be relevant. Consider for example a software industry where the product is new so ftware. Here there ar e no queues and itÂ’s


4 difficult to measure utilization of a resource. Also when we want to model and study the behavior of such a system, ther e are certain factors that might not at first seem to affect the system at all or we can say there are a c ouple of “intangible” f actors that add to the quality of the product. These factors do not a dd value to the product but if neglected, we might well be off the track of what we exp ected. A very good example is if we predict a deadline for new software, then absence of a pr ogrammer does not actually play a role in the value of the product, but it do es affect the deadline. So what is needed is to look at the system as a whole and not just concentrating on the parts that appear to add value to the product. With deadlines and quality becoming a major factor in success of a software industry, more and more importance was being given to start studying the behavior of the system without overseeing even the minuscule With that view in mind, the field of system dynamics started gaining importan ce in this most lucrative industry. 1.4 A System Dynamics Modeling Approach System Dynamics is a methodology for analyzing complex systems and problems with the aid of computer simulation softwa re. Dr J. W. Forrester formulated this methodology in 1960 at M.I.T. He was then a professor at M.I.T’s Sloan school of Management. He became interested in complexity of business management and the causes attributed to its success and failures He thought that people did not analyze a complex system very well and neglected many factors that indirectly but significantly affect the running of a business. The cardinal mistake committed is attributing the success and failures to some one or two factors. The result is the policy fo r achieving a goal turns out to be very simple and instead of the sy stem or business behaving as per the expected


5 pattern, behaves maybe in an exact opposite wa y leading to the failu re of business. For example, lowering the price of the product may not necessarily increase the sales because we may not have taken into considera tion the seasonal influence and also the competitorÂ’s new price. To help facilitate more appropriate decision-making and policies formulation, J.W. Forrester used this concept to include all of the cause-effect relationships, time delays, and feedback loops in the systems. W ith traditional simulations, we were not able to model cause-effect relationships. So this added a new dimension to modeling techniques. To facilitate such modeli ng, DYNAMO (Pugh, 1983), a mainframe computer program, was developed. Using dynamo it was possible to investigate the reasons for failures of businesses and also subject it to different scenarios, which are sometimes abstract, for example, taste changes of pe ople, seasonal effects on product sales, etc. Modeling with DYNAMO pointed towards above-mentioned reasons, which we never thought were instrumental in the fluctuati ons in a business. He then broadened the horizon as to where this methodology coul d be applied. These included economics, education, time estimations, physical and bi ological sciences, social issues, etc. With passage of time, more and more software packages were developed to facilitate this method of modeling. The mo st popular among them are Vensim, Stella, Powersim, Ithink, etc Systems Dynamics models (Coyle, 1996) are more concerned with capturing the structure and policies of the sy stem and with the mode of be havior of the whole system rather than accurate prediction. It is considered that the sh ape of relationships is more important than their absolute statistical accuracy and that in any holistic approach


6 accuracy must often be sacrific ed in order to remain problem oriented. Once a system dynamics model has been constructed and the initial conditions are specified a computer can simulate the behavior of different mode l variables over time. Computer simulation is not only useful for modeling systems that ar e complex in nature but also serve as a powerful tool influencing the learning process when combined with real experimentation. Vensim software developed by Ventana Systems, Inc. will be used for developing system dynamics based models in this thesis. 1.5 Modeling Using Vensim Vensim is a visual modeling tool that allows the user to conceptualize, document, simulate, analyze, and optimize models of dynamic systems. Vensim provides a simple and flexible way of building simulation m odels from causal loop or stock and flow diagrams. By connecting words with arrows, rela tionships among system variables are entered and recorded as causal connections. This information is used by the Equation Editor to help us form a complete simulation model. The model can be analyzed throughout the building process, lo oking at the causes and uses of a variable, and also at the loops involving the va riable. Once the model is built and it can be simulated, we can explore the behavior of the model. Vensim deals with the following main objects of dynamic simulation Levels: Levels are also known as stocks, accumulations, or state variables. Levels change their values by accumulating or integrating rates. This means that the values of Levels change continuously ove r time even when the rates are changing


7 discontinuously. Figure 1. Example of an Inventory –Workforce Model in Vensim (Ventana Systems, Inc) For example, in Figure 1 Inventor y and Workforce represent levels. Flow or Rate: Rates, also known as flows, change the value of levels. The value of a rate is not dependent on pr evious values of that rate; instead the levels in a system, along with exogenous. For example, in Figur e 1, net hire rate and production rate represents rates. Auxiliaries : Intermediate concepts or calcul ations are known as auxiliaries and, like rates, can change immedi ately in response to change s in levels or exogenous influences. When constructing a Level and Rate diagra m, the variables that accumulate over a period of time must be considered. Anothe r way to think about this: if Time slowed


8 down to zero for the system, what variables w ould still be nonzero? For example, in the system where we pour water into a glass, the water contained in the glass is the Level. If time froze, the pouring (a Rate) would stop, but we would still see a quantity of water in the glass (a Level). Once we know what le vels we need, enter them first and then connect the rates and auxiliaries. Sink / Source : The use of a cloud represents either the source, or the sink of a flow, which is outside the bounds of what we are interested in. Equations : The relationships among the variab les are designated by Equations. The following steps are typical for building and using Vensim models. Construct a model or op en an existing model. Examine the structure using the structural A nalysis tools (Tree Diagrams). Simulate the model moving around model parameters to see how it responds. Examine interesting behavior in more de tail using the dataset Analysis tools. Perform controlled simulation experiments and refine the model. Present the model and its behavior to the audience using Synthesim results. Let us take a simple example of a popul ation behavior in rabbits. Here the Level/Stock is the present popula tion. This is affected by births and deaths. Now births tend to increase it and deaths decrease. So we sketch the system as shown in Figure 2.


9 Figure 2. System Dynamics Model of Ra bbit Population (Ventana Systems, Inc) Now we need to write equations using th e equation tool. We enter the following equations: Rabbit Population = births deaths Births = birth rate Rabbit Population Deaths = Rabbit Popul ation/average lifetime Average Lifetime = 8 (Constant) birth rate = 0.125 (Constant) Rabbit Population = 1000 (Constant) With these set of parameters, we now run the model and say the first run we call it as the ‘equilib’ and click simulate.Since both birth rates and death ra tes are equal, when we run the model and use the graph tool by choosing ‘Rabbit Population’ as the “ Benchwork” variable, we find that it’s a straight line that co incides the 1000 rabbit population maximum value.


10 Figure 3. Plot of Rabbit Population vers us Time (Ventana Systems, Inc) A key feature of Vensim is its ability to do multiple simulations on a model under different conditions to test the impact that changes in constants (or lookups) have on model behavior. Vensim also stores all the da ta for all variables for each simulation run, so that we can easily access information about the behavior of any variable in any run. Temporarily changing constant or lookup values and then simulating the model experiments are performed. For this the SyntheSim feature is used. It is seen that by just moving the slid er for the various variables, Vensim automatically plots the changes. This is a ve ry powerful feature of Vensim. The ‘birth rate is changed to 2 instead of 0.125. Immedi ately if the mouse is moved over the Rabbit Population, another window pops up showing the population growing exponentially. The light lines show the current run and the dark line the equilib run results. If we click the “causes strip” option in the toolba r menu, we get Figure 5.


11 Figure 4. Using Synthesim Feature of Vensim (Ventana Systems, Inc) The causes strip feature is particularly useful in tracing the exact cause of the behavior. By plotting each benchwork variab le against its predecessor or the one that causes it, we move backwards and try to trace where the deviation comes from. For example, in Figure 1 on page 7, if we use th e causes strip tool, we come to know that even tough inventory is changed by both sales and production, only production has oscillating behavior a nd so we must look into producti on and not sales as we have an oscillating behavior for inventory. Thus we see how we can model systems, wh ich were initially not feasible, as we did not have relevant objects in the earlier so ftware used to model systems. We will be using this tool to model our system under study. Figure 5. Causes Strip Plots


12 1.6 Organization of the Thesis This chapter dealt with the reason for modeling software development projects using system dynamics. Also it gave a brief desc ription of the tool th at we are going to use to model and some basic features and analysis tools of Vensim. The thesis is organized in six chapters. The literature review chapter looks into all the work that is done in the field of software project mode ling using system dynamics. In chapter three we define our problem statement. The em phasis would be on the staffing requirements and the effect of changes in th e level of experience of the st aff on the project duration and cost. Then a list of assumptions that were made for model development is given. In Chapter four, initial results are provided. Chap ter five deals with building user-friendly interfaces for the models. Finally, chapter six considers incorporating feedback factor in models, conclusion and also what would be some areas that could be studied for any further research.


13 CHAPTER 2 LITERATURE REVIEW Now that we know the basics of simulation and system dynamics, we can delve into the topic of project management. We would look into the proposed models for software projects, their utility as well as their shortcomings. 2.1 Introduction to Software Project A project consists of a series of activities directed to accomplish a desired goal. It includes a minimum set of features including: Specific objective to be completed with specified details, Start and End dates defined, Budget/Cost, and Resources (People/Equipments). A successful software project is the one that meets the customer’s requirements, possesses high quality and is delivered on time and on budget. It is rightly said, “Poor management can increase software costs more rapidly than any other factor .” There are very solid reasons to start thinki ng of modeling a software project. Once modeled, it becomes easy to understa nd and describe what exactly are the steps to be taken. It becomes a common language between th e developers and the customers and


14 between the developers themselves. This reduces communication overhead. Milestones can be set and a constant track of the progress can be kept by comparing with the theoretical value. It provides a tool for so ftware engineers to build tools that will support and enhance the software projects. Let us get familiar with some basic terms in project management and system dynamics. 2.2 Basic Definitions of Project Management An activity is a task with well-defined beginning and well-defined end that can be performed by single functional entity. An event (milestone) is an occurrence at a point in time that si gnifies the start or completion of one or more task or activities. A work breakdown structure (WBS) takes th e project and "breaks it down" into the activities, which must be accomplished to complete the project. A WBS in tree form is shown in Figure 6. Project management is a mixture of pe ople, resources, systems and techniques required to carry project to successful completion. Figure 6. Work Breakdown Structure (Hororwitz and Lia, 1989)


15 We would now discuss some of the models of project management that have been proposed for software project management. 2.3 Early Project Management Techniques 2.3.1 Gantt Chart This is a calendar-oriented chart that ha s lines indicating project activities. A typical Gantt Chart is show in Figure 7. A Gantt chart displays separate events that have a defined starting and ending value. As such, tim e charts are excellent for planning the use of resources. The scale used for comparison ma y be specified using dates, time units, or numeric values. There are special marks indicating milestones or critical activities (those activities that cannot be delayed wit hout delaying the project). Figure 7. A Typical Gantt Chart (Figure from Microsoft Visio)


16 2.3.2 Critical Path Method This approach/method emphasizes the inte rconnection between activities. The collection of activities and li nks form acyclic graph. Every activity has a start and end event associated with it. The predecessor and the successor re lationships govern the order of activities. Using Gantt Chart and Critical Path Method, we could find the Earliest start time. Latest Start time. Earliest Ending Time. Latest Ending time. Slack. 2.3.3 Program Evaluation and Review Technique This is related to Critical Path Method but is more flexible with start and end times. We have three time estimates of each activity Probable earliest completion time Probable latest completion time Most probable completion time From the terminology itself, one can guess its more probabilistic approach. Time is measured by random variables with and a ssumed probability distribution. For example say beta distribution for activity times as shown in Figure 8. Thus, Mean time for activity = (a + 4m + b)/6


17 Variance = [(b a)/6] 2 Figure 8. Beta Distribution for PERT Activities These seem only theoretical models with more stress on times. There are no considerations of human f actors or other factors that may influence these times. We could easily see that: A manager if uses these techniques, he has no tool to analyze and keep a continuous track of the progress of activities. It does not represent WBS as integral system component. There is no provision for intelligence in system (decision making). Without any inherent intelligence incorpor ated in the system, the system cannot adjust to changing conditions. There is no log as to what caused an activity to start (event that fired the activity). To know the exact reasons for behavior of system and allow decision making or for instance automatic reassignment of responsibilities in case of deviation from planned goal and deadlines, some kind of intelligence needed to be added to the models. With that view in mind, people started modeling such systems using the following two


18 methodologies: AND-OR Graphs Petri Nets We would just overview them and not get into too much details, as they are very separate fields in themselves. 2.4 Recent Project Management Methods 2.4.1 AND-OR Graphs An AND-OR Graph (Horowitz and Liu, 1989) is a directed acyclic graph and has three types of nodes A AND node denotes an object that is the aggregation of all of its predecessor nodes. An OR node denotes an object defined by only one of its predecessor nodes. LEAF nodes denote atomic entities (An entity that cannot be divided is called an atomic entity). They have no outgoing arcs. AND-OR graphs did add to the modeling ab ilities by introducing decision making at steps but it anyways did not consider human factors. So, though it was an improvement over the earlier models, the change was not significant enough for people to accept it completely. 2.4.2 Petri-Net This is an abstract model for describi ng and analyzing information and control flow in asynchronous concurrent systems. A t ypical Petri-net of a sender receiver system is shown in Figure 9 (Peterson, 1977). This is the good example to understand a Petri net. As we can see, it has places (represented by circles) where one or more tokens


19 (represented by small dots) reside. The straight lines are the transitions that are fired when all the input places have at least a toke n in them. The tokens flow along the directed arrows. Figure 9. A Sender Receiver Petri Net (Peterson, 1977) Formally a Petri Net C is defined as a four-tuple C = (P, T, I, O) Where, P = set of places T = set of transitions I = set of input places O = set of output places


20 Directed arcs from places to transitions and from the transition to places are represented by Input-Output functions. As we can see from the Figure, the sender is in a processing state (i.e. formatting a message) the receiver is in ready-to-receive state waiting for any incoming message. When the message is transmitted, the send message transition is fired and two tokens are cr eated, one to wait for response place on sender side and the other to the message-send pl ace on the medium. Now the receiving message transition is enabled and the receiver transits to message received state. After message is verified, receiver sends an acknowledgement re sponse to the sender and starts to process this message. When the sender side receives this response, the sender goes back to processing state and is ready to accept any further request. When the processing of message is finished, the receiver also goes back to ready-to-receive state. 2.4.3 Limitations of AND-OR and Petri-Nets Graphs Though these models seem to be intellig ent in some way and very similar to computer systems, they did not gain popularity because AND-OR graphs describe onl y vertical structures They do not provide dependency relations hip among different information types (Information exchange between departments) There is no track of resources c onsumed for a particular task. However, the application of Petri-Nets to project management had many limitations. A token is only a boolean representation. It does not take into account the state of the system that is best described by its attributes.


21 Execution of Petri nets is non-deterministic It means if we have two transitions enabled at the same time, one does not know which is going to fire (we do not know the exact cause of an activity) unless we look into the firi ng sequence and in a large Petri-Net, this could be time consuming. It is difficult to model human factor s using Petri-Nets and AND-OR graphs. Colored Petri nets did show an improve ment but not good enough to completely model a project development system. Also a hybrid model called “Design Net” that came much later did not gain popularity. 2.5 Waterfall Model of Software Development The most popular model, which though one can say does not identify very, truly with the development process, is the “Waterfall Model.” The Waterfall Model (Royce, 1977) of project management is also referred as the system development life cycle model. The system development life cycle model is an approach in development of an information system or software product that is characterized by lin ear sequence of steps in which we can never go back. It is calle d the waterfall model be cause we can compare it to the waterfall on a cliff of a steep mountain. Once the water falls over the cliff edge and begins its journey down, it canno t go up. This is the oldest model. In this model, there are benchmarks set at the end of every step or phase. Once a phase of development is completed, development proceeds to next phase and there is no turning back. In this model, one cannot go back even if some conditions may demand that. This model though old is still used as a conceptual gui deline for almost all of Air Force and NASA software development. A schematic overview of waterfall model, representing concurrent hardware and


22 software development is shown in Figure 10. Th e advantage of waterfall model is that it allows for departmentalization and managerial control. We can set deadlines at each stage and the product moves like an assembly line. Figure 10. Waterfall Model of Softw are Development (Royce, 1987) The development process moves from the following phases: User Requirement Analysis, System Requirement Analysis, Preliminary Design, Detailed Design,


23 Coding and computer software unit (CSU) testing, and Computer Software component (CSC) Integration and Testing As we can see, the waterfall model does s how the phases of software development as it goes through, but one can see distinctly that we cannot go back. Besides these, below we list the following limitations. Every situation needs a new model, so one ca nnot use this for all software projects. This is a very generalized model. It does not consider requirement changes. End user is never consider ed in model development. Fails to treat software development as a problem solving process and so fails to give insight into actions and events that precede the finished products. Does not allow for much reflection and revision. We cannot go back from any stage. This is a major disadvantage. Any improvement that needs going back from testing stage cannot be incorporated. Keeping these things in mi nd, the V Model was proposed. 2.6 V Model of Software Development As an improvement over the waterfall model, in early 1980s it was suggested that instead of taking testing to a new phase alt ogether, it should be gi ven equal weight and not treat it as an afterthought. This was th e most significant cha nge needed cause the faults were detected much later than they should be. The V model ( wa s included in the U.K.'s National Computing Centre publications (Convergsoft Systems) in the 1990s with the aim of improving the efficiency and effectiveness of software development. It is accepted in


24 Europe and the U.K. as a superior alternativ e to the waterfall model; yet in the U.S., the V Model is often mistaken for the waterfall model. The V Model portrays several distinct tes ting levels and illustrates how each level addresses a different stage of the lifecycle The V shows the development activities on the left-hand (downhill) side and the corres ponding sequence of test execution activities on the right-hand (uphill) side. On the development side, we start by defining business requirements, then successively translate them into highand low-level designs, and finally implement them in program code. On the test execution side we start by executing unit tests, followed by integration, system and acceptance tests. The V Model (refer to Figure 11) is valuab le because it highlights the existence of several levels of testing and delineates how each relates to a different development phase: Unit tests focus on the type of fau lts that occur when writing code. Integration tests focus on low-level desi gn especially in checking of errors in interfaces between units and other integrations. System Tests check whether the system as a whole effectively implements the high level design, including the adequacy of performance in a production setting. Acceptance Tests are ordinarily performe d by the business/users to confirm that the product meets the business requirements. At each development phase, different types of faults tend to occur, so different techniques are needed to find them. Testing was never meant to be done afte r coding. Testing pro cess also involves identifying what to test (tes t conditions) and how they will be tested (designing test cases), building the tests, executing them an d finally, evaluating the results, checking completion criteria and reporting progress.


25 Figure 11. V Model of Software Development ( Not only does this process make better te sts, but also many testers know from experience that when they start to think about how to test something, they find faults in the procedure for testing itself. Moreover, if we leave test design until the last moment we won't find the serious errors in architectural and business logic unt il the very end. By that time, it's not only inconvenient to fix these faults, but they have already been replicated throughout the system, so they're expensive and difficult to find and fix.


26 According to the V Model, as soon as some descriptions are av ailable, we should identify test conditions and de sign test cases, which can appl y to any or all levels of testing. When requirements are available, we ne ed to identify high-level test conditions to test those requirements. When a high-level design is written, we must identify those test conditions that will look for design-level faults. When test deliverables are written early on, they have more time to be reviewed or inspected, and they can also be used in reviewing the development deliverables. One of the powerful benefits of early test design is that the test ers are able to challenge the specifications at a much earlier point in the project. This means that testing doesn't just as sess software quality, but, by early faultdetection, can help to build in quality. Pro active testers who anticipate problems can significantly reduce total elapse d test and project time. (Goldsmith's more formalized "Proactive Testing" approach) However, there might be some aspects of development where it is not always possible to use the V Model. For exampl e take Java, one of the most popular programming language. It needs unit, integr ation, system and acceptance testing. The V model in this case would not tell how to define what units and integrations are, in what sequence to build and test them how to do the tests, etc. After looking at the various models, in general we could conclude that a more descriptive, a more continuous model that w ould exactly describe a development process with its state would be needed. It should have the following properties: It should trace the entire development process continuously. It should allow for feedbacks.


27 It should exactly define a sy stem with its attributes. It should provide sufficient control to tune the system. Should incorporate certain f actors that are abstract (fatigue, pressure etc). With the advent of system dynamics and its wide range of applicability, it was thought that system dynamics could well be ap plied to the modeling of software coding project so as to capture the dynamic behavior of its various elements. 2.7 System Dynamics Modeling of Software Projects System Dynamic Models are based on th e bottom-up approach to aggregate as many details of the project into the whole sy stem dominated by internal interactions. They consider management problems at strate gic levels and their main priority is to capture the more general aspects of project be havior that result from internal feedback processes and cause-effect relati onships as shown in Figure 12. Figure 12. A Cause-Effect Rela tionship (Collofello, 2000) The figure provides an example of cause -effect relationship that might be observed during software devel opment. It indicates that th e time developers spend on quality activities impacts the number of undisc overed defects remaining in the software product. The “I” on arrow indicates that its an inverse relationship. We realize the


28 utilization of these models in complex models with feedback loops. Let us take another example shown in Figure 13 Figure 13. Feedback L oops (Collofello, 2000) The loop with “+” sign is called reinforci ng loop. As the developers perceive that their “ability to meet the schedule” is lessened, they spend less “time on quality activities” which results in increase in “undiscovered def ects in product” which further lessens their “ability to meet the schedule” and so on. The second type of feedback loop called the balancing loop has the purpose of reigning in reinforcing loops. Balancing loops bring the system back into balance. Th e balancing loop is labeled with “-” sign. In this example, as the developers perceive that their “ability to meet schedule” is lessened, they spend less “time on quality activities” wh ich they perceive to increase their “ability to meet the schedule.” The first application of system dynamics to project management was proposed by Abdel-Hamid and Madnick (1984) leading to the development of a generic model of


29 software development process. The testing and practical application was based on the study of a real software project at NASA ’s Goddard Space Flight Center. Further improvements led to a generic simulation mode l of software life cycle embedded within an expert system. The testing and validation of this was also done on a live project. They have done excellent work but did not consid er breakdown of a project work. Also they assumed stable project requirements, which in case of most medium sized software projects is not the case. Cooper (1993) has studied various system dynamic applications to software development projects. His focus is more on “work quality” and “tim e to discover rework” based on generic concept of work cycles. He found out that gains in project performance are governed mainly by directing e fforts to increase work qualit y and detect errors earlier. He also suggested that rework generated in project remains undiscovered until later stages. He introduced the Project Manageme nt and Integration Model, which include design procurement, test, staffing categor ies and program management. The models, however, are not very detailed. So it is very unlikely that they are suitable to provide support at lower tactical levels. As we look into these models, we find that the best way to use system dynamics is to take only one department, for example testin g or staffing at one ti me and design it into intricate details so that we do not leave out even the smallest details and then based on that model decide as to what could be the right policy used to get maximum benefits. We would try to look and decide as to what shoul d be the right staffing policy with respect to cost and time of a software pr oject. The cost and time for th e project are al so calculated using Vensim (


30 CHAPTER 3 PROBLEM STATEMENT Recently, human factors in project manage ment have gained importance as it is now recognized as the core of effective software project management (Oglesby and Urban, 1983). The reason being that personnel costs have started exceeding hardware costs. Chronic problems in software development and implementation are more frequently traced to personne l shortcomings. Information system staff sizes have mushroomed with little time for adequate selection and training. Software project managers find themselves paying more attention to human resource issues (Hannan, 1982). Hiring decisions involving timing and le vel are key to a companyÂ’s success. These decisions affect the quality of the product de veloped, the time in which it is developed and the total cost of the project. We focus our attention on the dynamics of software project management using a system dynamics based approach so as to decide the exact hiring policy and the cost of that policy. 3.1 BrookÂ’s Law There is always a belief that by adding workforce, the time to complete the project is reduced. But thatÂ’s not always the case. As per BrooksÂ’ Law, adding manpower at a later stage in software project can delay the project furt her (Pei, Hsu and Kung,


31 1999). Even though adding manpower increases the headcount, the newly appointed employees need to be trained, which consumes a vital experienced workforce. Naturally the overall productivity of the system is hamper ed. This has been observed to be true in a real software project, namely, NASAÂ’s DE-A software development project (AbdelHamid, 1989). If there needs to be a policy s uggestion as to how to deal with such situations, it becomes imperative to get a co mplete picture as to what exactly are the factors that might influence the development pr ocess. The policy then needs to be tested on a replica to know what th e impact is going to be. 3.2 Integrative System Dynamics Model of Software Development This model provides an integrative perspe ctive into the development process. It integrates the multiple functions of a software development process, including both the management functions (for example staffi ng, controlling, and planning) as well as software production-type activities (for exam ple, testing, coding, designing). Our focus will mainly be on the staffing and controlling part. A detailed description of the model is gi ven by Abdel-Hamid (1984). A model would be developed based on its descrip tion using and corresponding time and cost estimates of the development process would be made. 3.3 Factors Under Consideration The model can be visualized as a collecti on of connected activ ities performed in a sequence, within the context of dynamic proj ect environment. Every model developed in this area is different depe nding upon the project environment. The objective is to develop


32 a very generic model that describes the ba sic processes in a product development. Our aim in developing the model is to determine what would be the expected completion time and cost associated with a project depe nding upon the project environment variables which include the net hire rate, error detecti on rate, productivity, cost of the developers etc. One by one all factors in the model are examined. 3.3.1 Effort Required All activities are assumed to require some finite am ount of work expressed in man-hours. When a project goes into testing pha se, errors are detected and this adds to the work to be done. The number of errors in troduced could be a f unction of many factors such as fatigue, pressure etc. In our model, we have limited the scope to the dependency of errors detected on the number of lines of code developed. 3.3.2 Time in Days The time required to complete an activ ity is a function of the staff/people allocated to that activity. Productiv ity can be measured in thousa nds of lines of code or in technical terms kilo lines of code (KLOC) per day. But for modeling purpose, we would consider it as a percentage of experienced staff member productivity. This means a productivity factor of 0.7 would mean that th e person could write 70% of lines of code that a normal experienced person in a day. Using the productivity and available staff members, both of which vary continuously, we can integrate the development rate until the required man-hours are reached. 3.3.3 Staff Levels The number of staff members available is determined by a two-step approach (Martin and Raffo, 2001). The number of experienced and new staff members is


33 maintained by integrating a set of rates that describe hiring, assim ilation (training), and transfer and quit rates. We ar e not going to consider any tran sfer between projects as we are taking only one project at a time into consideration. 3.3.4 Productivity The rate at which work is accomplished and the number of staff allocated determine the duration of an activity. To determine the rate at which work is accomplished, we use a factor called the produ ctivity, which is in defined in terms of thousands lines of code written per person pe r day. This would be one of the inputs. The value of this input is taken either from hist orical data specific to a company or people who are experts in determining those dependi ng upon influencing factors for that input. Productivity is affected by seve ral factors such as fatigue in a person, schedule pressure, learning, etc. In this research we will consider effect of schedule pressure on time, cost and quality of the software developed. 3.3.5 Testing and Error Detection Any product developed has to go through te sting phase during which errors would be detected and need to be corrected. This requires testers who have a totally different type of job than the developers. The develope rs pool and testers pool are assumed as pool of developers and both have the expertise to be shifted to either job, which is the case in Appian Corporation, Falls Church, VA (www The error rate is expressed as a percentage of work done. Rework adds to original work and further delays the development of the product. The error ra te can again be either taken from an historical data or any personnel in this field can give the Figures.


34 3.4 Problem Description and Objectives The objective of this thesis is to provide the project manager with a tool that could help him/her to get a rough estimate for a bi d. This tool can also be used to change parameters and see how to get project completed at scheduled date. It can also be used to monitor the current progress of the project. With these objectives in mind, we would try to develop a system dynamics model. The modeling as mentioned earlier would be done using Vensim. We will consider two cases: Case 1: The hiring rate is constant and is not de termined by the progress of the project. The productivity of the staff is also constant and is not a function of schedule pressure. Case 2 : Depending upon the state of the project and time remaining, the management has to take a decision if they n eed to hire more people or use overtime to get the work done As the management takes a decision, they also have to keep in mind that by asking people to work overtime, the work done by those developers might be influenced because of the pressure and fatigue creeping in due to late hours of continuous work .The productivity of the developers might get affected because of pressure. This in turn affects the performance of the system. 3.4.1 Performance Measures Time of project: Depending upon the hiring rate and policy a dopted, the time taken to complete a project changes. This is measured in months. Cost of the project: This is a function of time and staff. Si nce the overhead cost is not dynamic, cost would change with time and number of people working on the project.


35 Productivity: This is usually a function of three f actors namely fatigue, ratio of new to experienced personnel and schedule pressure. Th e last two would be considered. A check has to be kept on the productivity so that produ ctivity never falls below a certain level. If it does, people need to be laid off and in mo st cases it is the new hires that are fired because they are not contributing much to th e organization but also need to be paid. 3.4.2 Assumptions All the staff members who are at the same level of experience have the same productivity. Testers and developers are not differentiated. The overall productivity is determined in terms of productivity of experienced personnel irrespective of whether he is in rework or development. No transfers between projects take place. Since we are modeling time and cost for a single project, we do not consider pers onnel being transferred from one project to another. When we employ new people, some experien ced staff has to be dedicated in their training. Now while getting trained, we ar e losing overall productivity of the enterprise because the experienced employ ees are busy training the new hires. In Appian Corporation, on an average, 15 pe rcent of the employees do spend an hour of their work time in solving problems or administering a technology class. To take that into considerati on, we give certain percenta ge productivity to the new hires instead of decreasing the number of experienced personnel. The productivity is not affected by the decisions taken by management. Hiring rate is independent of quittin g rate. In most models on project management, it is assumed that hiring rate = total quit rates of new and experience employees. In real world that is not th e case. If an experienced employee quits, we do not necessarily want to get a ne w employee because he is going to take finite assimilation time and if the time remaining for project completion is less than the training time, it does not ma ke sense to hire a new employee.


36 CHAPTER 4 SYSTEM DYNAMICS MODEL OF SOFTWARE DEVELOPMENT 4.1 Introduction In chapter three we described the basic concepts of software development. In this chapter, we discuss the building blocks of the base model for the coding process in a software industry. The model discussed in th is chapter does not c onsider any feedback loops. This model gives an approximate value for the time and cost associated with the project based on the current value of various parameters like hiri ng rate, cost of the developers etc. of the company. A project ma nager can use such a model as a reference when he tries to project a timeline and cost for a particular project. The feedback loops are discussed in details in the fifth chapter. 4.2 Model Building Blocks The model discussed in this chapter consists of four sub-systems viz. Productivity Sub-System, Work Rate Sub-System, Workforce Sub-System, and Cost Sub-System.


37 The project definition in our model is th e approximate number of lines of code. This value is set to 1000 Kilo Lines of Code or KLOC and is called ‘ work to be done ’. For coding purposes, we need to hire people if needed. This hiring process is described by the workforce sub-system is shown in Figure 14. Figure 14. Workforce Sub-System Every organization starts with some experienced and new employees. These values are set using the variables Initial New Developers and Initial Experienced Developers Over the period of time the orga nization hires new employees depending upon requirements and decisions taken by the mana gement. The hiring rate is constant in this model. The value of this constant coul d either be the current hiring rate in the


38 company or some other value which the mana ger might think to be the rate of people getting hired in near future. The newly empl oyed developers take certain training time, which is generally constant unless there is a change in the training methodology. In Appian Corporation ( ), this is one month. We have also used one month in our model. During this training pe riod, some of the experienced employees are engaged in the training of the newly hired de velopers. The productivity of the system as a whole decreases because these people are de voting their time to tr aining which otherwise could have been used for development. Fi gure 15 shows how productivity is affected by the hiring of new employees. We first calculate the fraction experienced in the organization and then use this value to get the productivity index from a lookup graph shown in Figure 16. On the xaxis we have the fraction experienced and on y-axis we get the productivity index. For example, when the fraction experienced is 1 (there are no new developers in the organization), the value of productivity index is 1. In the graph (refe r to Figure 16), input means the fraction experienced and output mean s the productivity index. Other details of are explained in the equations describing th e model. The variables with a “<” and “>” enclosing them are called shadow variables. These are the variables that connect one view with the other. Whenever code is written, some errors escape undetected. The time to detect the first bug or error has a higher value because the product is in either in design and planning stage or the development has just st arted. But at later stages, which might be testing, the errors get detected fairly quickly Therefore, the time to detect errors is not a constant but is expressed in terms of time of the project or the fraction of work done.


39 Initially, when the fraction of work done is 0, this time to detect e rror would be high. (For a mid size project, this is generally 5 to 6 months when the first modules are getting tested. Refer Figure 17). Figure 15. Productivity Sub-System Figure 16. Lookup Graph for Producti vity (Ventana Systems, Inc.)


40 Figure 17. Lookup Graph for Time to Det ect Errors (Ventana Systems, Inc.) As the project nears completion, this tim e tends to zero because the work being done now is mostly testing and deployment. For this model the work quality is assumed to be 0.9. Figure 18 shows the work rate sub-system. Figure 18. Work Rate Sub-System


41 The cost of new developers and the expe rienced developers is assumed constant over the period of the simulation for this model. In chapter five and chapter six where the game mode of running the simulation is discu ssed, it is possible to change the value in the middle of the run. This is particularly signi ficant because there is always a possibility that some people might get a ra ise during the pr oject duration. The cost sub-system is shown in the Figure 19. Here Cost of new developers and Cost of experienced developers are levels and increase at the rate equal to the developers in their corresponding pools multiplied by the cost factor for that pool. The total cost is just a summation of the two costs. Both the project completion time and cost could have been plotted in one graph. But as we make more and more runs, such a graph would become crowded and unreadable. So they are pl otted on different graphs. Figure 19. Cost Sub-System


42 4.3 Model Equations This section describes the equations used in the model. In the workforce subsystem there are some new developers and expe rienced developers at the start. New developers are trained for the training tim e and then they are moved to the pool of experienced developers. This is expressed, as a rate at which there is an increase in the number of experienced developers. Rate of getting trained = Newly hired develope r/ Training time (4.1) The hiring rate for new employees is constant and is measured in Developer/Month. As the new employees get tr ained, they should no l onger be a part of the new developer pool. So for the level, Newly Hired Developers (Refer Figure 14), we need to subtract the rate of getting traine d from the hiring rate. The summation of the levels, the newly hired and the e xperienced, is maintained in the Total Developers level. We then calculate the fraction of em ployees experienced using the following equation Fraction Experienced = Experienced Emplo yees/ Total Employees (4.2) This fraction is used as the input for the lookup graph for productivity index. This graph takes the fraction experienced as the i nput and gives the value for the productivity corresponding to that fraction. This value is then multiplied with normal productivity to give the actual development rate in KLOC/Developer/Month (Refer Figure 15). Development Rate per worker per month = Normal Development Rate Per worker Per month Productivity Index (4.3) This is then multiplied by the total number of developers to get the current work rate of the entire organization.


43 Work Rate = Development Rate per worker per month*Total Developers (4.4) This work rate is now used as the workflow rate (rate at which work is done at a particular instant of time). Work is done at this rate and hence the work remaining level goes down. But rework is generated too. This adds to the work to be done. Hence for work remaining we have Work Remaining = Rework discovery rate Work Flow (KLOC) (4.5) Understandably, exactly opposite woul d be the equation for work done. Work Accomplished = work flow rework discovery rate (KLOC) (4.6) We need to know exactly when the proj ect is done. This is accomplished by defining a variable called ‘ project is done’. This is used as a Bool ean variable and is set to 1 or zero depending upon the fraction of work remaining. In the model, we set it to be 1 when all work is done and 0 when even one line of code is remaining. This is achieved by IF THEN ELSE decision statement in Vensim. Project is done = IF THEN ELSE (Fracti on Complete >=1,1,0) (4.7) Where, The equation essentially means that if the fraction complete is more than or equal to one (project is don e), set the value of ‘project is done’ to 1 else set it to zero. And for workflow we have Work Flow=IF THEN ELSE (Project is Done, 0,Work Rate) (4.8) Thus, whenever there is a nonzero value for ‘ Project is Done’ the ‘Work Rate’ would be zero. Otherwise the value of ‘ Work Flow’ would be equal to ‘ Work Rate’


44 4.4 Simulation Runs and Results Having described all the equations, we now move ahead and try to test our model to different scenarios. Our aim is to dete rmine what would be the best decision to complete a specified task at minimum cost or time with the proj ect definition of 1000 KLOC. Case 1: No new employees, 10 experienced employees and no hiring. Project Duration: 11.43 Months Cost Associated: $ 400,313 Case 2: No new employees, 10 experienced employees and hiring @ 2 employees/month. Project Duration: 8.31 Mont hs Cost Associated: $ 505,594 Case 3: 10 new employees, 10 experienced employees and no hiring. Project Duration: 6.63 Mont hs Cost Associated: $ 448,795 Case 4: 10 new employees, 15 experienced employees and no hiring Project Duration: 5 Months Cost Associated: $ 419,078 Case 5: 10 new employees, 15 experienced and hiring @ 4 employees/month. employees. Project Duration: 4.18 Months Cost Associated: $ 420,984 Case 6: 10 new employees, 10 experienced employees and hiring@ 4 employees/month. employees. Project Duration: 5 Months Cost Associated: $ 479,128 From the results, it is very clear, if we do not have constraints on the number of experienced developers at ha nd; it is always recommended no t to hire new employees (as shown by case 1 results). In th e event of an earlier comple tion date and a limit on the number of experienced workforce availabl e, we resort to hiring of new employees As


45 indicated by the results for th e six cases, if the scheduled completion date is not earlier than 9 months, there is no need to hire new employees They do help to get the project done earlier, but cost more. Anot her factor to take into cons ideration is th e training time. In this model we have taken it as 1 month. Bu t this might change and this would directly impact the projected completion date. The gr aphs for work accomplished, total cost and work flow for the six scenarios that were discussed, are given in Figures 20 through 22. Figure 20. Work Accomplished Runs 1 through 6 corresponding to cases 1 th rough 6 are plotted in Figure 20. The line with the least gradient is run 1 and it increases to r un 6. If we look at Figure 20, we see the graphs are linear and they become c onstant after reaching th e project definition of 1000 KLOC. The reason is that in this m odel there are no feedback loops and the equation for development rate is linear and he nce the work-accomplished graph is also a straight line.


46 Figure 21. Total Cost If we look at the graph for the total cost, we see that it continues even after the project is done for that particular run. The reason is that Vensim plots the behavior of variables. In the context of above graph it means that if the project definition was changed from 1000 KLOC to any other value, if other conditions for the run do not change, then the time taken would be somewh ere along the same plot for that run. So for example, for run 1 that corresponds to cas e 1, if the project definition was 2000 KLOC, the time required could follow the same line as plotted for run 1 in the above graph. Figure 22 gives the graph for the work flow in (KLOC/Month) plotted on Y axis which is the rate at which wo rk is done. It keeps on increa sing for runs 2 through run 6 (which correspond to case 2 through case 6), wh ich implies that either new developers


47 are getting hired or the new developers are m oving to the pool of experienced developers resulting in the increase in the productivity of the system. Figure 22. Work Flow Naturally, for run 1 or case 1, this is a stra ight line because we have the hiring rate as zero for that run and there ar e no new developers at the start of the run. So this line is horizontal. For run 4 (case 4) we have the hi ring rate as zero but the work flow graph for that run is not a horizontal line because in th at run we started with some new developers which after a month moved to the pool of expe rienced developers there is a change in the overall productivity of the system. If we observe closely, the plot for th at run is steeper at the start (indicating the movi ng of new developers to the experienced developers pool), and then it becomes a straight line because th ere is no more change in the productivity of the system. The point at which the work flow lin es in the graph drop to zero is the time at which the value for project is done variable becomes zero a nd we set the value of work flow to 0. The spikes after completion time indi cate small rework that may not have been done when we concluded the project. Typically these are the bugs th e client points out


48 after the product is sold and the client starts using those. This chapter dealt with our first model. In Chapter Five and Chapter Six we would incorporate feedback loops into our m odel and provide explai n the different modes in which the model can be run depending upon the use of the model. We would also explain the need and development of a gr aphical user interface to the model. 4.5 Verification of Results The model was verified by comparing the simulated values with the expected values. For example, in case 1, since no new employees are hired, there are 10 experienced employees paid at $ 3,500 per month. 11.43 3500 10 = $ 400,050 The time taken is equal to 1000 / (0.9*10) =11.1 months. The actual result gives the value as 11.43. If we look at figure 22, we can see that the this value corresponds to the second spike for work flow.


49 CHAPTER 5 MODEL WITH FEEDBACK LOOPS 5.1 Introduction In this chapter, we try explain how feedback loops work in the software development process and incorporate them in our basic model presented in Chapter four. The results of the feedback loop based model will be compared with the earlier developed model. The models have been enhanced by providing a graphical user interface. The model can also be run in its entirety by changing various parameters (Synthesim mode). It may also be useful to make parameter ch anges in a model from a certain point onwards and see its effect on the project performance (Game mode). Thus, overall there are three models: Bidding model with user interface. Model with feedback loop in synthesim mode. Model with feedback loop in game mode. 5.2 Feedback Loop in Software Project Development The model discussed in chapter four did not have any outputs affecting the input parameters. In real life, soft ware development project, this is not the case. The input parameters are continuously monitored and their values are changed depending upon the


50 state of the system. But it is the project mana ger who generally changes the values of the input parameters, based on his personal experien ce in that field (as is the case in Appian Corporation, VA). Instead of relying on an i ndividual’s view, we have tried to give a systematic representation of the feedback that takes place in a software development process Refer to Figure 23. Figure 23. Feedback Loop As we can see, we first provide the pr oject deadline indica ted by the variable Pdeadline The units of this are in months in our model. This is initially set to the value decided by the project manager. Now with the current time and project deadline we calculate the time remaining. This is calculated using the following equation Time Remaining = Project Deadline (Pdeadline) – Current Time. (5.1)


51 Now if the project deadline is overru n, this value could be negative. Hence instead of using this equation, we modify it as Time Remaining = MAX (0,Project De adline – Current Time) (5.2) This equation implies that once the projec t deadline is reached, we no longer keep calculating the time remaining but make it 0. We already know the work remaining which is a level whose rate is Work Remaining=Work Remaining + Rework Discovery Rate – work flow (5.3) The work rate therefore required to get the work done on time is Work Rate Required (WRx)= Work Remaining/Time Remaining (5.4) But when the scheduled time is reached, the time remaining would become zero. (Refer equation 5.1). So we modify this equation as Work Rate Required (WRx)= XIDZ (Wo rk Remaining, Time Remaining, Max Work Flow) (5.5) XIDZ is a Vensim function that means X If Divided by Zero. When applied in above manner it means if Time remaining is Zero, use Maximum Work Flow. But if the project is done earlier than the deadline, we need to set Work Rate Required to zero. So the equations is again modified Work Rate Required (WRx)= IF THEN EL SE (project is done, 0, XIDZ (Work remaining, Time Remaining, Maximum Work Flow) (5.6) Knowing the work rate required, productivity and also the maximum workforce that a company can have, we now calculate the wo rkforce required to get this work done. WFReqx = MIN (Maximum Developers, Work Rate Required/ Normal


52 Productivity) (5.7) To calculate the indicated workforce, we take into consideration a human intelligence factor called the Willingness to Change Workfo rce. This has two components in itself. Willingness to change workforce I Willingness to change workforce II. These are industry dependent factors and would vary from organization to organization. Willingness to Change Workforce I compares the time remaining to the total time required to get a new software developer to work efficiently (sum of hiring time and training time). This ratio then determines the value of this factor. Time Ratio = Time Remaining/ (Hiring time + Training Time) (5.8) Willingness to Change Wo rkforce I (WCWFI)=WCWF ILookup (time ratio) (5.9) WCWFILookup is a lookup variable, which pl ots the values of WCWFI for different values of time ratio. The second factor takes into considerati on the fraction of the project complete. Willingness to Change Workforce II (WCWFII)= WCWFLookupII (fraction Complete) (5.10) Now the actual value is Willingness to Change Workforce = MAX (WCWFI, WCWFII) (5.11) The indicated workforce is calculated as Indicated Workforce=WCWFX*Wfreqx+( 1-WCWFX)*Total Developers (5.12) But this should only be the case when total de velopers are less than required workforce, else it should be equal to workforce required to meet the scheduled time.


53 The equation therefore gets modified as Indicated Workforce= IF THEN ELSE (Total Developers total workforce, (indicated workforce – total current workforce/hiring time,0) (5.15) We also put a cap on the hiring rate because even if the model suggests a hiring rate of say 100-developers/ month, it might not be possible. So Hiring Rate Actual = Min (Hiring rate Max Hiring Rate) (5.16) To incorporate pressure effect, we first set the maximum pressure level to say 5 (this can be changed). The actual pressure is calcul ated using the equation provided by Vensim model of software development Pressure Exerted = ZIDZ (Work Rate Required, Work Rate with Indicated Workforce) (5.17)


54 ZIDZ means zero if divided by zero. Work Rate Required is calculated earlier in equation 5.4. Work rate with indicated workforce is simply the indicated workfor ce (equation 5.11) multiplied by productivity. The error rate also is no longe r constant. It is now a functi on of number of lines already coded, which is very logical because as th e number of lines of code increases, the chances are more error line s of code are introduced. The schedule pressure is taken as a ra tio of required workflow and normal workflow (Ventana Systems). Thus, Schedule Pressure (Pressure ind ex)= Required Workflow/Normal Workflow ) (5.18) Increased pressure would result in overtime, Overtime = Overtime Lookup (Schedule Pressure) (5.19) The lookup graph is shown in Figure 24. Figure 24. Lookup Graph for P ressure (Ventana Systems) On the x-axis, there is the ra tio of required workflow and normal workflow (or pressure


55 index) while on the y-axis it gives the value for overtime. The productivity now becomes Productivity = Normal Productivity Overtime (5.20) This value is then used in the model instead of a constant value, as was the case in our first model. To handle excess developers, we use the following equation Dismissal Rate = (Total WorkForce – Indicated Workforce)/Dismissal Time (5.21) 5.3 Feedback Model with Synthesim Feature The feedback loop in incorporated in the model and a graphical user interface is provided to interact with the model. Figure 26 shows a view of this model. The model is run in synthesim mode (model simulates for th e entire length of the simulation when the value of variable is ch anged using the sliders). The sliders at the side can be moved to simulate the model instantaneously and the graphs change as we change the va lue of the variables. The graph named cost shows the increase in cost every month while the graph named total cost shows the summation of costs till a particular time. There is a nother graph called cumulative cost, which is plotted considering that all the developers come from the same pool (as proposed by Vensim). This is plotted just to compare it to the cost of the project given by our model. All the costs are in Millions of dollars. There is a graph indicating pr oject is done. This is a variable and its value becomes 1 when proj ect gets done. We can see that the project gets done somewhere between 10 and 11 months. To see the actual valu e of it, we try to


56 get the dataset representation of th e variable as shown in Figure 25. Figure 25. Tabular Data of Project is Done Variable Figure 26. Model Run in Synthesim Mode


57 If we look at the graph of dismissals, it shows a spike at about the same time the project is done. This is because when project is done, the work to be done becomes zero. Naturally the workforce required (indicated workforce) becomes zero and there is an excess of developers in the pool. At that instan t, the total developers become greater than the developers required. Hence the dismissal rate takes a high positive value and we see the spike. In a real scenario, these people ge t transferred to a diffe rent project. There are sliders for project definition, productivity (star ting value, completion date etc. We can see that the starting value for project definition is 1000-kilo lines of code. We can move the slider and Vensim would simulate the model to plot the graph accordingly. Thus in this model to present 1000 kilo lines of code a nd given condition, it take about 11 months and the cost incurred is around 4.8 million dollars. 5.4 Feedback Model in Game Mode Vensim model in game mode is used as a control tool. The reas on is that, in game mode we can change the value of certain fact ors and let the model run from that moment of time instead of simulating the model for th e entire length of th e project with those values. Such variables are calle d game variables. In this m odel, some variables like cost of developers, project duration, et c. are made game variables. Let us take an example to explain our model in game mode. The time step is set at 0.5 months. This means that every 0.5 months, this model will pause and if we want to change any values of key va riables, we can do that and let the model run from there onwards. At the start of the simulation we have the deadline set to 10 months. Let us say


58 that after 2 months th e client has some financial cris es and he is going to pay the promised amount over a period of 14 months instead of 10 months In that case, it does not make sense to keep hiring at the same ra te and completing the software in 10 months and then if there is no other project, laying pe ople off. Instead we now need to adjust our parameters to accommodate this change. Once the model is developed, this is taken care by the model. In Figure 27, we can see the de adline is set to 10 months. We run the model step by step till 2 months and then when the simulation stops at 2, we change the project deadline to 14 months and keep running the model ag ain. Now we can clearly see how the model behavior deviates from the ear lier model behavior (refer to Figure 28). The hiring rate drops down as compared to the earlier simulation and also the cost goes down. All we did was changed the project dead line and then the model gave us the expected behavior as well as the parameter values that are changed or need to be changed. One can clearly see the utility of su ch models. Once developed, there is no need for us to sit down and calculate values. Such models can definitely be used for reference if not used as the sole source of making decisions. Figure 27. Feedback Model in Game Mode with Ten-Month Deadline


59 Figure 28. Feedback Model in Game Mo de with Fourteen-Month Deadline 5.5 Results If we look at the first model we developed in which we had no feedback loops, we had a starting hiring rate that never changed over the length of the simulation and hence we could only project the deadline of the project. Such a model is used when we want to go for a bid and need to quote certain man-hour s that would be required to complete the project. This is exactly how it works in a consulting firm like Appian Corporation; wherein the company quotes th e number of consultants it would need to complete a project and the number of man-hours each one would put in over the period of the project. The man-hours are then used to calculate the cost. Once the project is awarded, the firm needs to deliver or try its best to deliver the project at the given time. Fo r this it might need to hire new people or make current workforce work overtime. Now if we look at th e second model, the model is an ideal case


60 of development. We call it an ideal model b ecause no matter what deadline is set, it will always give us the value of parameters and e nd the project at the exact deadline. But this is assuming the fact that the existent paramete rs can be stretched to the calculated values for exact completion. For example, if we look at Figure 27, we see that the graph for hires shows that at the start of the project, the hiring rate s hould be around 50 developers per month for the project to be completed in 10 months. Now th is is a suggested value and it may not be possible to hire so many people. In that cas e, the project gets delayed. Now if this deadline shifts to eight mont hs, the hiring rate even goes up (refer Figure 29). The model will always suggest the value that is necessa ry for project completion on time. The actual hiring however determines the length of the project. Figure 29. Hiring Rate with Eight-Month Deadline


61 A closer look at the graph for the hiring rate (referred hires in Figure 30) indicates that it keeps on increasing as the project dead line decreases. But there is a limit to which this can be increased and that keeps a cap on the date at which the project can be completed. This limit is placed by the variable called maximum workforce variable. Thus we see that this model can suggest the optimum value for va rious variables for proper project completion but it might not always be feasible. In a nutshell, the second model provides a tool that aids th e project manager take decisi ons, the final decision though rests with the project manager. This decision-making ability is incorporat ed in the third model. Here we set the time step to any value. The idea behind it is that, the model can now be run for specific time interval and now we can change the va lue of decision variable and then let the model run ahead. Take the example of salary changes that might take place through the course of the project, for example, due to slump in economy, the company might decide a salary percentage cut for some time. To incorporate this, we set the time step to one month and then every one-month this mode l would run and then wait. We can then change the values for our variable and again allow the model to run one more step. This is clear from Figures 30. Thus we can see the gaming feature can be used to take decisions and see their impact on the project. In Figure 30, the project has reached the fifth month of simulation and the model wait s for user input, either to change any variables or just click on th e arrow next to the red stop button to move another step ahead. Now we change the value for cost of new people to say $2300 from $2500 per month and allow the model to run to the end of the simulation (when value of project is done becomes zero).


62 Figure 30. Project State at the End of Five Months We can see how with the aid of system dynamics tool that it becomes possible to model the software development process. Th is is a powerful technique and can aid a project manager to a great extent in maki ng a correct decision. This dealt with the feedback loop and various mode s of use of the model. Ch apter Six gives a detailed description of the various graphical user components used in our models and the importance of making an effort to provide such a user interface.


63 CHAPTER 6 INTERFACE DEVELOPMENT AND USER INSTRUCTIONS 6.1 Introduction There are three modes in which a project manager would use a system dynamics model proposed in this thesis. To get a rough estimate of the pr oject duration and cost for bidding. To expose the model to different conditions and see how the system would behave to those changes. To monitor the ongoing project. The models developed have eleven views and fifty-eight variables. If such a model is given to the project manager and he/she is requi red to search for vari ables to change their values, it would take a great deal of his/her valuable time. It is very likely that he might never use it. A manager would naturally pref er a user-friendly inte rface where he would be able to plug in the values and get the re sults in terms of graphs or comparisons. For example, if the manager wants to see the imp act of a hiring freeze on the project time and cost, he should not be required to go into th e model source, look for the variable hiring rate and then change it. Rather, he would pref er if he could change the hiring rate just by moving a slider and see the changes in the cost and time for the project Keeping in mind the actual use of the model and the people who are likely to use it, we have built


64 graphical user interfaces for our models The Synthesim feature of Vensim is used for that. When we use the Synthesim feature, for changing the value of a variable, we are not required to stop the simulation and run it agai n. Instead, the software automatically runs the simulation for the entire leng th of time as soon as we cha nge the value of the variable by means of a slider. This is a very unique and useful feature of Vensim In the model used to monitor the development process, we have made use of the game feature in Vensim. When the model is run in game mode it runs for a specified time interval and then waits for the user input. The value of variables can then be changed and we move another step ahead. The differen ce of this from Synthesim feat ure is that, in here, it does not run the model again for the entire length of the simulation. Vensim just changes the value of the variables at the instant they are changed and uses those values for the remaining time. For example, after certain am ount of time, due to management decision to lay off developers, we might want to stop th e model at that partic ular time and change the dismissal rate to a positive value. This is possible using the game feature of Vensim. Thus we can continuously monito r the progress of the project. 6.2 Interface Development Tools 6.2.1 Views As the complexity of the model increase s, the model might get very crowded and difficult to look at. Also we find it difficult to actually locate a place where we did not connect the arcs properly because there is already a mesh of arcs. A more refined approach supported by Vensim is separating logi cally related blocks into a single view. A view can be defined as a singl e viewable workspace. As a standard practice we generally


65 group logically related blocks into a single view and connect them to other views by using shadow variables that are explained in the first chapter. 6.2.2 Custom Graphs Custom graphs are used to customize the co ntent of the graph to show the selected variables, runs, and style, in one graph. In Vensim, if we select any workbench variable and click the graph tool on th e left toolbar, it shows the gr aph only for that variable. But sometimes we might want to look at two or mo re variable graphs at the same time to track as to if there exists any relationship between those variables and how one reacts to the change in other. For example, we might be interested in tracking both the Indicated Workforce Level (workforce required to complete the project on time) and the actual workforce level to see how much is the differe nce. For that we use the Graph Control in Control Panel and there we add a new custom gr aph. We select the vari ables of interest to be displayed as shown in the Figure 31. Here we have tried to track one more variable that is the difference in workforce. Then when we run the model we get the graph as shown in Figure 32. Figure 31. Custom Graphs I


66 Figure 32. Custom Graph II 6.2.3 Sketch Comments The various blocks of Vensim may no t mean anything to an end user who does not have a working knowledge of Vensim. For example, if we present this model to a project manager we might want to provide inst ructions along with it so that it guides him how to use the model. To achieve all this, we use the Sketch Comments tool of Vensim This is an example how we might want to have the welcome page ( refer to Figure 33 ). There are two modes of using the Sketch Commen t tool. Either it can be used simply to display some information or link to some othe r view in the same m odel. For example, the information in simple text just provides th e information while the Control Panel box is


67 linked to the Interface view of the model. When a user clic ks on the “Control Panel”, he is taken to the User Interface view of the model. Figure 33. Welcome Screen Figure 34. Control Panel


68 When we click on “Click here for instruction” as shown in Figure 34, we would see a Figure as shown in Figure 35. Thus we can see how we can navigate different views using the comments tool besides pr oviding information to the user. Figure 35. Instructions View 6.2.4 Input-Output We can customize the way our sketches work with simulation models by adding input-output controls. These can be alongside the model or in separate view. Using these tools we have tried to build a control room for our model for modeling simulation inputs and viewing simulation results. These controls ar e not a part of the m odel structure and so do not influence the model behavior. These cont rols also easily adapt to changes in model structure. If the name of a variable is changed, the corresponding control will


69 automatically be updated. If we look at Figure 29, the sliders are the input controls while the graphs shown are the output controls. Input/Output contro ls are the best mechanism that could be provided to someone who does not need to know any intr icate details as to how the model works but still use it effectively. 6.2.5 Gaming Control Sometimes it is quite possible that instead of allowing the simulation to run till the end, to use the simulation model as a monito ring tool, we want to stop the simulation after a particular time interv al and then change the valu e of certain variables. For example, say in a 12-month project, after 3 months, the company decides not to hire anyone anymore. It means that the hiring ra te value should drop to zero irrespective of anything else. For that what we do is, we ch ange the type of the variable to a Gaming Variable. We set the Time Step (time inte rval for which the model will run and then again wait for user input) to say 1 month. So when we run the model, the model runs for 1 month time period and then waits for the user to either change the values or just run for another month. This is precisely what needs to be done because deciding some parameters beforehand and those remaining the same for constant for the remaining duration are never the case. If we look at Figure 36, we can clearly see that after 0.0625 months the simulation has stopped. Here a dvertising spending is set as the gaming variable (which is also the i nput control here). Just by means of a slider we can now set the value of advertising spending to some new value.


70 Figure 36. Gaming Controls in Ve nsim (Ventana Systems, Inc) With a large set of useful tools availabl e, user-friendly models were built, which, when opened by an end user, display a set of interactive tools. We have explained the working of these models and their characterist ics in Chapter Four and Chapter Five. This chapter gives us a better idea as to what the different graphical tools in the models mean and why an effort was made to build interfaces to those models.


71 CHAPTER 7 CONCLUSIONS AND FURTHER RESEARCH 7.1 Conclusions The basis of this modeling is the conceptual software development model put forth by Abdel-Hamid (1984) This model is then modified as per suggestions made by researchers such as Martin and Raffo (2001), who have been studying the system dynamics application to software project management. The application of system dynamics to software project management is relatively new and people have been very apprehensive in using the results provided by such models for actual decision-making. The reason for this is that certain factors lik e fatigue, due date pressure, development rate that have been used in the modeling are not the same for different developers on a project. However when we model the proj ect, we are assuming that the level of performance of all the developers in a pool is the same and that they feel the same effect of the above mentioned factors. However, this model can definitely be used to expose the system to certain scenarios and see how it a ffects the project, which may not be feasible otherwise. This approach provides him a ve hicle to see how the changing hiring rate would affect the system behavior (project time and cost), which would otherwise be not feasible. The model also provides a rough estim ate of completion time and the associated cost for a project given the coding requirement s. This could be helpful when a manager


72 wants to bid for a project. Our contributi on here has been deve loping a comprehensive model for project management that tries to cap ture most of the factors that affect the development process. We have also taken in to considerations the recommendations given by authors over the years and accommodated those in the model suggested by AbdelHamid (1984). Similar attempts to modeling have been made typically by people who invented the software tools for system dynamics like Vensim, Stella, and Powersim etc. The model proposed by Vensim Inc is also based on the concept put forth by Abdel-Hamid (1984). However, they did not incorporate suggestions put forth by research ers in the field of system dynamic based modeling. There were a couple of basic problems with that model that we tried to eliminate in our model. The model proposed by Vensim does not separate the pool of experienced and new developers and use total developers to calculate the cost of project. This does not reflect the real life situation. We ha ve different pools for new and experienced developers and we take into acc ount their differing hourly cost. The model proposed by Vensim uses normal productivity factor of 1 (or some constant value) to calculate the indicated work force (This is the ideal workforce that we might want to complete the project at the right time irrespective of the cost). The productivity should be calculat ed at real time depending upon system parameters like ratio of new to experien ced developers, fatigue factor, overtime factor and pressure etc. The willingness to change workforce factor in their model is not a component of two different factors as we have taken. Their model does not have the capability to make decisions as to willingness to change workforce depends upon the ratio of time remaining and sum total of training and hiring time. This is critical because not only do we want to take decision s depending on what percentage of the project is remaining (which determines value of willingness to change workforce I) but also if hiring new peopl e and getting them trained would not take more time than the time remaining (willingness to change workforce II). In the model proposed by Vensim, they just consider the factor willingness to change workforce I.


73 The model by Vensim uses a constant va lue for error introduced. In our model we have changed that and it is now a func tion of the number of lines of code developed and is closer to real life project situation. 7.2 Further Research If we try to model every possible factor that affects the system, the model would become extremely complex. Taking into consid eration the time constraint and the scope of our research, certain assumptions were ma de when we developed the system dynamics based model. This is just the base model a nd one can always build on it. We would try to give a list of areas where there is a scope of improvement of this model. One area worth studying is the learning cu rve and how it affects the development rate over the training period. Here in this model we have assumed that over the training period, a particular productivity ap plies to a new developer. Instead this could be made a function of the learning curve. We have separated the developers into two pools, experien ced developers and new developers. There might be a need to create an intermediate pool of developers, whose productivity is greater than a new developer because he has undergone training but less than an expe rienced developer because experienced developer may never have some issues as a programmer who is just out of a training academy in an organization A more refined approach would be to base the productivity of a deve loper on the longevity of the developer in the organization. The fixed component of cost is not take n into account. The fixed cost component is generally a linear function of time. For example, consider a company rents a place to accommodate new people on the project. This amount the company pays is a linear function of time. The only variable cost component that we considered is the developerÂ’s cost. To give an exhaustive model, quite a few vari able costs should be taken into account. For example one could consider the variable cost of company paying for the flight the consultant takes every week to the client site. The model that we have given does not consider the communication overhead in an organization, which is also a determin ing factor in the project duration. One could always look into incorporating that factor in the model. In every project, there are meetings held to discuss the pl anning and in most cases there are weekly


74 updates and reviews with the client. Thes e are the communication overheads that could be taken into consideration Our model does not consider multi-project situations and therefore does not assume that the developers are transf erred between projects. An improvement over our model could be to consider tw o projects being done concurrently and then look into the transfer of deve lopers between projects into account.


75 REFERENCES Abdel-Hamid., T.K. (1984), “The Dynamics of Software Development Project Management: An Integrative Sy stem Dynamics Perspective,” PhD Thesis, Sloan School of Management, MIT. Abdel-Hamid., T.K. (1989), “The Dynamics of Software Project Staffing: A System Dynamics Based Simulation Approach,” IEEE Transactions on Software Engineering l5 (2), 109-119 Alessandro., B., Alfonso., F., Luigi., L ., Marco., T. (1992),“DynaMan: A Tool to Improve Software Process Manage ment through Dynamic Simulation,” IEEE Software. Andersson., C., Karlsson., L., Neds tam., J., Host M., and Nilsson B.(2002),”Understanding Software Process through System Dynamics Simulation: A Case Study ,” Proceedings of the Ninth Annual IEEE International Conference and Workshop on the Engineering of Computer–Based Systems. Appian Corporation, Boehm., B., Papaccio.,. P. (1988), “Understa nding and Controlling Software Costs,” IEEE Transactions on Software Engineering ,14(10)1462-1477 Collofello.,, J.S. (1996), “Modeling Software Testing Process,” IEEE Software Collofello., J.S. (2000), “University/Industry Collaboration in Deve loping a SimulationBased Software Project Mana gement Training Course,” IEEE Transactions on Education 43(4), 389-1293 Convergent Software, “Convergen t Development Methodology,” Davidson., P., and Gonzalez., J. (1995), “A pplying System Dynami cs to Courseware Development,” Computers in Human Behavior, 11(2), 335-339 Donzelli., P., and Iazeolla., G. (2001), “ Hybrid Simulation Modeling of Software Process,” The Journal of Systems and Software 50,227-235 Forrester., J. W. (1961), Industrial Dynamics Productivity Press, Cambridge, Massachusetts.


76 High Performance Systems, http:// Horowitz., E., Liu., C. (1989), “A Formal M odel for Software Project Management,” IEEE Transactions on Software Engineering 15(10), 1280-1293 James., M.. L., Cooper., K.G., and Els. S. A. (2001), “Strategic Management of Complex Projects: A Case Study Using System Dynamics,” System Dynamics Review 17(3), 237-260 Martin., R., and Raffo., D. (2001) “Application of Hybrid Process Simulation Model to a Software Development Project,” The Journal of Systems and Software 59, 237-246 Merril., D., and Collofello., J.S. (1997), “Imp roving Software Project Management Skills Using a Software Project Simulator,” Frontiers in Education Conference Oglesby., C., and Urban., J. (1983), “T he Human Resources Task Area,” Computer 16, 65-70 Pei. H., Hsu., C., and Kung., D., (1999), “Br ooks' law revisited: a system dynamics approach “ Proceedings. Twenty-Third Annual In ternational Computer Software and Applications Conferen ce (Cat. No.99CB37032), 370-375 Powell. S.G., Schwaninger., M., and Trimble ., C.(2000), “ Measurement and Control of Business Processes,” System Dynamics Review 17(1),63-91 Roadmaps (MIT), Rodrigues., A. (1996),“ The Role of Syst em Dynamics in Project Management,” International Journal of Project Management 14(4), 213-220 Royce., W. (1987), “ Managing the Devel opment of Large Software Systems,” Proceedings of the 9th International Conference on Software Engineering Monterey, CA, 328-338 Sycamore., D. M., Houston., D., and Collo fello., J.(1998),“ A System Dynamics Software Process Simulator for Staffing Policies Decision Support,” IEEE Software Proc. 31st Annual Hawaii International Conference on System Sciences. Vick C., and Davis., C. (1977), “ The Software Development System,” IEEE Transactions on Software Engineering, SE (1), 69-84 Williams.,T. (2001), “Assessing Extension of Time Delays on Major Projects,” Management Science Department, Resear ch Paper No. 2001/11, Strathclyde Business School, Glasgow, Scotland


77 Williams., T., and Rodrigues., A. (1996), “S ystem Dynamics in Software Project Management:towards the Development of a Formal Integrated Framework,” Management Science Department, Resear ch Paper No. 1996/5, Strathclyde Business School, Glasgow, Scotland Hannan., J. (1982), “Acquiring Entry-Level Programmers,” Computer Programming Management, Ed. Pennsauken, NJ:Auerbach. Yaman B.,and Vedat., D. (1997), “Decision Support for Strategic University Management: A Dynamic Interactive Game,” Department of Industrial Engineering, Bogazici University, Be bek, Istanbul, Turkey


Download Options

Choose Size
Choose file type
Cite this item close


Cras ut cursus ante, a fringilla nunc. Mauris lorem nunc, cursus sit amet enim ac, vehicula vestibulum mi. Mauris viverra nisl vel enim faucibus porta. Praesent sit amet ornare diam, non finibus nulla.


Cras efficitur magna et sapien varius, luctus ullamcorper dolor convallis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Fusce sit amet justo ut erat laoreet congue sed a ante.


Phasellus ornare in augue eu imperdiet. Donec malesuada sapien ante, at vehicula orci tempor molestie. Proin vitae urna elit. Pellentesque vitae nisi et diam euismod malesuada aliquet non erat.


Nunc fringilla dolor ut dictum placerat. Proin ac neque rutrum, consectetur ligula id, laoreet ligula. Nulla lorem massa, consectetur vitae consequat in, lobortis at dolor. Nunc sed leo odio.