Simulation in Construction Management
Essay by people • August 16, 2011 • Case Study • 1,718 Words (7 Pages) • 1,564 Views
CHAPTER 4 SIMULATION MODEL
4.0 INTRODUCTION
Simulation is a way to model random events, such that simulated outcomes closely match real-world outcomes. By observing simulated outcomes, researchers gain insight on the real world. A simulation generally refers to a computerized version of the model which is run over time to study the implications of the defined interactions. Simulations are generally iterative in there development. One develops a model, simulates it, learns from the simulation, revises the model, and continues the iterations until an adequate level of understanding is developed. Some situations do not lend themselves to precise mathematical treatment. Others may be difficult, time-consuming, or expensive to analyze. In these situations, simulation may approximate real-world results; yet, require less time, effort, and/or money than other approaches.
4.1 STEPS REQUIRED FOR SIMULATION
A simulation is useful only if it closely mirrors real-world outcomes. The steps required to produce a useful simulation are presented below.
1. Describe the possible outcomes.
2. Link each outcome to one or more random numbers.
3. Choose a source of random numbers.
4. Choose a random number.
5. Based on the random number, note the "simulated" outcome.
6. Repeat steps 4 and 5 multiple times; preferably, until the outcomes show a stable pattern.
7. Analyze the simulated outcomes and report results.
4.1 RANDOM NUMBERS
The problem of generating uniform variates by computer has been solved long ago. After all, every computer: system offers one or more function(s) to do so. Many software products, like compilers, spreadsheets, statistical or numerical packages, etc. also offer their own. These functions supposedly return numbers that could be used, for all practical purposes, as if they were the values taken by independent random variables, with a uniform distribution between 0 and 1.
Despite recent advances, blatantly bad generators still abound, especially on microcomputers. Other generators widely used on medium-sized computers are perhaps not so spectacularly bad, but still fail some theoretical and/or empirical statistical tests, and/or generate easily detectable regular patterns. Fortunately, many applications appear quite robust to these defects. But with the rapid increase in desktop computing power, increasingly sophisticated simulation studies are being performed that require more and more "random" numbers and whose results are more sensitive to the quality of the underlying generator. For our statistical analysis we will use C++ to generate random number which gives satisfactory result and can be used for statistical purpose.
The sample code used to generate random numbers in C++ is given below:
1. #include <iostream>
2. #include <ctime>
3. #include <cstdlib>
4.
5. using namespace std;
6.
7. int main()
8. {
9. srand((unsigned)time(0));
10. int random_integer;
11. int lowest=1, highest=10;
12. int range=(highest-lowest)+1;
13. for(int index=0; index<20; index++){
14. random_integer = lowest+int(range*rand()/(RAND_MAX + 1.0));
15. cout << random_integer << endl;
16. }
17. }
4.2 ANALYSIS
In our problem we define the range of random variable by using the survey which gives us the cumulative probability of occurrence of each risk. So if we generate a random number we can link it to a risk because we have already classified the intervals of numbers denoting a particular risk. For example let us take the risks involved in getting credits for water efficiency.
WATER EFFICIENCY Cumulative
Probability Random No.
Did you have design of irrigation, sewage conveyance & waste water problems? 0.26 0-25
Did you have difficulties recycling of gray and storm water? 0.49 26-48
Did you have design/procurement/implementation of site rainwater harvesting risks? 0.82 49-81
Did you have difficulty while planning & budgeting of water use? 1.00 82-99
We choose a source of random numbers. For this problem we used C++ as mentioned above to generate random number from 0 to 99. Each random number now can be linked with the risk occurring in water efficiency. If a random number 45 is generated it means that there is a risk in design/procurement/implementation of site rainwater harvesting. Now we have the list of inter-relation of risk which can be used to further know the associated risks most likely to occur.
Repeating the above procedure of generating random numbers and finding out the corresponding risk likely to occur will show a stable pattern after much iteration. For the model developed 10000 repetitions have been done.
After this we analyze the simulated outcomes and report the results.
4.4 RISKS CONSTRUCTION ACTIVITIES AND THEIR INTERRELATIONSHIPS
Construction projects are getting more complex and activities of construction companies are becoming more diverse. It is an accepted fact that Green construction projects encounter more risks when compared with normal projects due to uncertainties and complexities that stem from different construction practices, working conditions, and uncertainties involving the fulfillment of criteria for getting LEED ratings.
The term risk has been handled through two parallel approaches in the literature: the first approach is more related with the outcome of unexpected events
...
...