30.07.2015 Views

Proceedings in pdf format. - Sociotechnical Systems Engineering ...

Proceedings in pdf format. - Sociotechnical Systems Engineering ...

Proceedings in pdf format. - Sociotechnical Systems Engineering ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

(for 10 repeat &| CCar[]->runfor);PASSIVATE;'The total simulation time: '->puttext;gettime->putreal;#)In this simple model, there are first constructed 10CCar processes and they become activated. The cars arecom<strong>in</strong>g <strong>in</strong>to a load<strong>in</strong>g queue at the Loader, and then theLoader is woken up to handle the queue.After a car is loaded, it is woken up to hold so muchtime as is needed to get to a dest<strong>in</strong>ation. Then thedischarger is woken up to unload the car.As it can be seen, no corout<strong>in</strong>es synchronization isneeded to be rewritten s<strong>in</strong>ce the process class Entity isextended to meet these particular model requirements.While the BetaSim framework is cca. 1000 l<strong>in</strong>es ofcode huge, the programmer who is actually build<strong>in</strong>g thesimulation model is just asked to extend a few patternsthus sav<strong>in</strong>g a considerable amount of work.CONCLUSIONSWhen implement<strong>in</strong>g an application it is worth to reusean already prepared framework. The little obstacle <strong>in</strong>do<strong>in</strong>g this nowadays is the lack of usable frameworks.Thus, it should be a priority whenever implement<strong>in</strong>g adesign to figure out whether a concrete solved problemcan be generalized and work on a general frameworkfirst. Such approach is tak<strong>in</strong>g more time to build anapplication at first but it is well pay<strong>in</strong>g off <strong>in</strong> the latertime.Osterbye, K., Kreutzer, W. 1999. Synchronizationabstraction <strong>in</strong> the BETA programm<strong>in</strong>g language. InComputer Languages 25, pp. 165-198Hunka, F. 2005. BetaSIM Extended Framework forDiscrete Event Simulation. Industrial SimulationConference 2005 ISC’05. IPK Berl<strong>in</strong>, pp. 158-161Hunka, F. 2005. Anticipation Models <strong>in</strong> BETA.Comput<strong>in</strong>g Anticipatory <strong>Systems</strong>. 7th Internationalconference Liege, Belgium.BIOGRAPHYFerd<strong>in</strong>and Mácha is study<strong>in</strong>g for Ph.D. on theUniversity of Ostrava. He has graduated <strong>in</strong> 2004 fromthe University of Ostrava and holds the title MSc. Hisresearch fields <strong>in</strong>clude build<strong>in</strong>g general-purposeframeworks and structures and parallel(multithreaded) programm<strong>in</strong>g.František Huňka studied Cybernetics <strong>in</strong> Transportand Communication at the Zil<strong>in</strong>a University,Slovakia. He received Ph.D. <strong>in</strong> modell<strong>in</strong>g of watersupply systems. After graduation he worked as aresearcher with Institute for Automation andManagement <strong>in</strong> Industry <strong>in</strong> Ostrava for ten years.S<strong>in</strong>ce 1988 he has worked at University of Ostrava,Computer Science Department. Nowadays he worksas associate professor there. His ma<strong>in</strong> research<strong>in</strong>terests <strong>in</strong>clude object-oriented technologies<strong>in</strong>clud<strong>in</strong>g simulation and process-oriented approach.The Beta programm<strong>in</strong>g language is very well suitablefor creat<strong>in</strong>g or debugg<strong>in</strong>g abstract frameworks for itsobject-oriented characteristics and developmentenvironment.REFERENCESKreutzer, W., Osterbye, K. 1998. BetaSIM A frameworkfor discrete event model<strong>in</strong>g and simulation. In SimulationPractice and Theory 6. pp. 573-599Madsen, O. L., Moller-Pedersen, B., Nygaard, K. 1993.Object-Oriented Programm<strong>in</strong>g <strong>in</strong> the BETAProgramm<strong>in</strong>g Language. Addison-Wesley,Annual <strong>Proceed<strong>in</strong>gs</strong> of Vidzeme University College “ICTE <strong>in</strong> Regional Development”, 2006123

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!