|
From: Peter H.M. J. <p.h...@tb...> - 2005-06-06 12:22:02
|
Hi Hendrik, I just scanned the example in the L&K book. I think it is a nice example to work out in DSOL. First your question on worldview. It is a discrete event model and as such we can use the process interaction formalism and the event scheduling worldview. Perhaps it is nice to work out both examples to illustrate the difference. Since DSOL supports both formalisms, it is a matter of choice. The question we need to answer is where to store the behavior, i.e. the logic, of the model. We can either store the behavior in the parts that flow through the system or in the machines. Situation 1: a part has the logic: First I go to there, then I do that, then I do this, etc. etc. Situation 2: a work station contains the logic. After I have received a part, I send it to there. Where Law & Kelton use simlib (an event oriented simulation language), they also refer to a specification in GPSS which is a process oriented simulation language. To prevent that I build another model and you might not learn all the details of DSOL, I would suggest that you make the start. The easist start is to follow the process interaction model. * 3 classes that all three extend the Process class representing Part1 Part2 and Part3. You redefine their process method. * 1 Factory class which contains a public method : public Resource getWorkStation(String name) If you make a beginning, I will set up a CVS today or tommorow Peter Hendrik Bilges wrote: > Hi Peter, > > great to have an immediate reply from you! I' m referring to the > manufacturing system example in chapter 2.7. I have read various posts > of people who had their models on the CVS. For example this one > http://sourceforge.net/mailarchive/message.php?msg_id=9815745 > It would be great to have a look at something which is in complexity > not too far above the examples in the tutorial. Something alike what > was described in the aforementioned post. > I guess it's better to use an event-oriented than a process-oriented > approach? What's your advice? In the end I would like to model a whole > factory with user input events each week (e.g. orders for material, > jobs and investment in more machines) and use a next-event time > advance mechanism. > > Hendrik > > Peter H.M. Jacobs wrote: > >> Hi Hendrik, >> >> I'am more than willing to help you with your model. Most of my >> models are nevertheless created for commercial parties that do not >> want their code on the web. I have a number of remarks and hints: >> * First of all, which Law&Kelton example are you refering to? I have >> L&K here as well, so I can help you building the model (on our CVS?) >> * I am publishing several SNE examples on the following website: >> http://www.simulation.tudelft.nl/dsol/sne/ Although only 2 are >> presented there, I promise that by the end of the month around 10 >> examples are presented. >> >> Peter >> >> Hendrik Bilges wrote: >> >>> Hi all, >>> >>> I'm knew to the field of simulation and have just finished reading >>> essential parts of Law & Kelton. I also read the tutorial. I'd like >>> to write a simple job shop model, as described in Law & Kelton. I >>> don't know how, as the examples in the tutorial don't explain how to >>> write a model with interdependant events. In the M/M/1 example, >>> there is only one server, in the Port example, there is a model >>> description in terms of a procedure. I guess I could implement a >>> dynamic version of a chain of procedures calling each other, but I'm >>> not sure if this is the best way. In the mailing list people are >>> often talking of their model code in the CVS. I couldn't find these >>> models. Could you point me to some more advanced model code or the >>> way to find it on the CVS? This would help me understanding. >>> BTW: This is a great project :-) >>> >>> Thanks, >>> Hendrik >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: NEC IT Guy Games. How far can >>> you shotput >>> a projector? How fast can you ride your desk chair down the office >>> luge track? >>> If you want to score the big prize, get to know the little guy. >>> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 >>> _______________________________________________ >>> Dsol-java mailing list >>> Dso...@li... >>> https://lists.sourceforge.net/lists/listinfo/dsol-java >> >> >> >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office > luge track? > If you want to score the big prize, get to know the little guy. Play > to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Dsol-java mailing list > Dso...@li... > https://lists.sourceforge.net/lists/listinfo/dsol-java -- Department of Systems Engineering TU Delft, Faculty of Technology, Policy and Management Jaffalaan 5, 2628BX Delft, The Netherlands Phone: +31 (0)15 2781136 Mobile: +31 (0)6 51148923 Secr: +31 (0)15 2788380 Fax: +31 (0)15 2783429 E-mail: p.h...@tb... Webpage: http://www.peter-jacobs.com |