You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(9) |
Oct
(10) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
(10) |
Oct
(37) |
Nov
(11) |
Dec
(11) |
2005 |
Jan
(7) |
Feb
|
Mar
(1) |
Apr
(3) |
May
(1) |
Jun
(13) |
Jul
(10) |
Aug
(1) |
Sep
(2) |
Oct
(2) |
Nov
(1) |
Dec
|
2006 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(10) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
From: Loek H. <lo...@tb...> - 2004-11-25 10:43:15
|
Hi Hualiang Lin, I think you have a programming error at Factory, line 65 and/or at Model, line 48. Maybe you are pointing to a variable which is not yet set, so, with parameter 'null'? Hope this helps you. Loek Fu Colitas said: > Hi every one > When I run my supply chain model(comparison 14 on CVS), the simulation > time > just doesn't start running. I found some warnings in the Logger.but I > don't > understand what does that mean. Followings are the warnings in the > Logger.hope you can help me. > Hualiang Lin > 2) 0:07:57 WARNING: null > Origin: nl.tudelft.simulation.dsol.experiment.RunControl#notify > java.lang.NullPointerException > at nl.tudelft.simulation.sne.c14.Factory.<init>(Factory.java:65) > at nl.tudelft.simulation.sne.c14.Model.constructModel(Model.java:48) > at > nl.tudelft.simulation.dsol.simulators.DEVSSimulator.initialize(DEVSSimulator.java:86) > > at > nl.tudelft.simulation.dsol.experiment.RunControl.notify(RunControl.java:189) > > at > nl.tudelft.simulation.event.EventProducer.fireEvent(EventProducer.java:212) > > at > nl.tudelft.simulation.event.EventProducer.fireEvent(EventProducer.java:239) > > at > nl.tudelft.simulation.dsol.simulators.DEVSSimulator.stop(DEVSSimulator.java:252) > > at > nl.tudelft.simulation.dsol.gui.DSOLApplication.setExperiment(DSOLApplication.java:126) > > at > nl.tudelft.simulation.dsol.gui.windows.FileChooserFrame.notify(FileChooserFrame.java:126) > > at > nl.tudelft.simulation.dsol.gui.panels.GUIExperimentParsingThread.run(GUIExperimentParsingThread.java:68) > > > (1) 0:07:57 WARNING: null > Origin: nl.tudelft.simulation.dsol.experiment.RunControl#notify > java.lang.NullPointerException > at nl.tudelft.simulation.sne.c14.Factory.<init>(Factory.java:65) > at nl.tudelft.simulation.sne.c14.Model.constructModel(Model.java:48) > at > nl.tudelft.simulation.dsol.simulators.DEVSSimulator.initialize(DEVSSimulator.java:86) > > at > nl.tudelft.simulation.dsol.experiment.RunControl.notify(RunControl.java:189) > > at > nl.tudelft.simulation.dsol.experiment.RunControl.start(RunControl.java:109) > > at > nl.tudelft.simulation.dsol.experiment.Experiment.notify(Experiment.java:243) > > at > nl.tudelft.simulation.dsol.experiment.Experiment.start(Experiment.java:173) > > at > nl.tudelft.simulation.dsol.gui.DSOLApplication.setExperiment(DSOLApplication.java:125) > > at > nl.tudelft.simulation.dsol.gui.windows.FileChooserFrame.notify(FileChooserFrame.java:126) > > at > nl.tudelft.simulation.dsol.gui.panels.GUIExperimentParsingThread.run(GUIExperimentParsingThread.java:68) > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Dsol-java mailing list > Dso...@li... > https://lists.sourceforge.net/lists/listinfo/dsol-java > |
From: Fu C. <col...@ho...> - 2004-11-24 23:22:04
|
Hi every one When I run my supply chain model(comparison 14 on CVS), the simulation time just doesn't start running. I found some warnings in the Logger.but I don't understand what does that mean. Followings are the warnings in the Logger.hope you can help me. Hualiang Lin 2) 0:07:57 WARNING: null Origin: nl.tudelft.simulation.dsol.experiment.RunControl#notify java.lang.NullPointerException at nl.tudelft.simulation.sne.c14.Factory.<init>(Factory.java:65) at nl.tudelft.simulation.sne.c14.Model.constructModel(Model.java:48) at nl.tudelft.simulation.dsol.simulators.DEVSSimulator.initialize(DEVSSimulator.java:86) at nl.tudelft.simulation.dsol.experiment.RunControl.notify(RunControl.java:189) at nl.tudelft.simulation.event.EventProducer.fireEvent(EventProducer.java:212) at nl.tudelft.simulation.event.EventProducer.fireEvent(EventProducer.java:239) at nl.tudelft.simulation.dsol.simulators.DEVSSimulator.stop(DEVSSimulator.java:252) at nl.tudelft.simulation.dsol.gui.DSOLApplication.setExperiment(DSOLApplication.java:126) at nl.tudelft.simulation.dsol.gui.windows.FileChooserFrame.notify(FileChooserFrame.java:126) at nl.tudelft.simulation.dsol.gui.panels.GUIExperimentParsingThread.run(GUIExperimentParsingThread.java:68) (1) 0:07:57 WARNING: null Origin: nl.tudelft.simulation.dsol.experiment.RunControl#notify java.lang.NullPointerException at nl.tudelft.simulation.sne.c14.Factory.<init>(Factory.java:65) at nl.tudelft.simulation.sne.c14.Model.constructModel(Model.java:48) at nl.tudelft.simulation.dsol.simulators.DEVSSimulator.initialize(DEVSSimulator.java:86) at nl.tudelft.simulation.dsol.experiment.RunControl.notify(RunControl.java:189) at nl.tudelft.simulation.dsol.experiment.RunControl.start(RunControl.java:109) at nl.tudelft.simulation.dsol.experiment.Experiment.notify(Experiment.java:243) at nl.tudelft.simulation.dsol.experiment.Experiment.start(Experiment.java:173) at nl.tudelft.simulation.dsol.gui.DSOLApplication.setExperiment(DSOLApplication.java:125) at nl.tudelft.simulation.dsol.gui.windows.FileChooserFrame.notify(FileChooserFrame.java:126) at nl.tudelft.simulation.dsol.gui.panels.GUIExperimentParsingThread.run(GUIExperimentParsingThread.java:68) |
From: Stijn-Pieter v. H. <s.p...@tb...> - 2004-11-24 15:10:47
|
Hi Dirk, Until now we didn't succeed in implementing your proposed way of working with version management, due to the CVS version we are currently using.=20 You're right with respect to the tedious task of setting version numbers manually. If you succeed in using the "%I%, %G%" tag we would very much = like to know your solution. Regards, Stijn-Pieter van Houten -----Oorspronkelijk bericht----- Van: dso...@li... [mailto:dso...@li...] Namens Dirk Samson Verzonden: woensdag 24 november 2004 15:52 Aan: Dsol-java (E-mail) Onderwerp: [Dsol-java] Javadoc version Dear all, I'm in the process of cleaning up my code and adding all the javadoc. On sun's website I see sun-developers are using: @version =A0 =A0 (reference page) <http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#@versi= on> The Java Software convention for the argument to the @version tag is the SCCS string "%I%, %G%", which converts to something like "1.39, = 02/28/97" (mm/dd/yy) when the file is checked out of SCCS. Who knows whether we can use a tag like %I% to use the actual version of = our .java files in our javadoc? Setting this version manually is doing = things twice and will probably result in wrong version numbers being used after = a couple of hours... Dirk Samson ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.=20 http://productguide.itmanagersjournal.com/ _______________________________________________ Dsol-java mailing list Dso...@li... https://lists.sourceforge.net/lists/listinfo/dsol-java |
From: Dirk S. <di...@tb...> - 2004-11-24 14:52:00
|
Dear all, I'm in the process of cleaning up my code and adding all the javadoc. On sun's website I see sun-developers are using: @version =A0 =A0 (reference page) <http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#@versi= on> The Java Software convention for the argument to the @version tag is the SCCS string "%I%, %G%", which converts to something like "1.39, 02/28/97" (mm/dd/yy) when the file is checked out of SCCS. Who knows whether we can use a tag like %I% to use the actual version of = our .java files in our javadoc? Setting this version manually is doing things twice and will probably result in wrong version numbers being used after = a couple of hours... Dirk Samson |
From: Dirk S. <di...@tb...> - 2004-11-23 08:30:38
|
Loek, The persistent (and other statistics) start working after the warm-up period. -----Original Message----- From: dso...@li... [mailto:dso...@li...]On Behalf Of Loek Sent: maandag 22 november 2004 11:59 To: dso...@li... Subject: [Dsol-java] Persistent-question Hello everyone, Can anybody help me with the following problem. I want to create an persistent of the service-time needed for producing a pallet (See comparison2 on CVS). Therefor the class ExchangeProcess fires an PALLET_SERVICETIME_EVENT each time a pallet is finished. This event is also fired (see log-message), so that gives no problem. (19) 11:37:30 AM FINEST: Pallet[6] serviceTime 326.00000000003234 s Origin: nl.tudelft.simulation.sne.c2.ExchangeProcess#process I created the following persistent in my model-class: new Persistent("Pallet service time", simulator, (ExchangeProcess) block1.getMemberProcess("block1_assemblyStation"), ExchangeProcess.PALLET_SERVICETIME_EVENT); The EventProducerInterface to which the persistents points, is checked and is correct. I think the problem is that the fired event is still never picked up by the persistent. Does anybody know what I've forgotten to do or what I've done wrong? Loek ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Dsol-java mailing list Dso...@li... https://lists.sourceforge.net/lists/listinfo/dsol-java |
From: Loek <lo...@tb...> - 2004-11-22 10:58:29
|
Hello everyone, Can anybody help me with the following problem. I want to create an persistent of the service-time needed for producing a pallet (See comparison2 on CVS). Therefor the class ExchangeProcess fires an PALLET_SERVICETIME_EVENT each time a pallet is finished. This event is also fired (see log-message), so that gives no problem. (19) 11:37:30 AM FINEST: Pallet[6] serviceTime 326.00000000003234 s Origin: nl.tudelft.simulation.sne.c2.ExchangeProcess#process I created the following persistent in my model-class: new Persistent("Pallet service time", simulator, (ExchangeProcess) block1.getMemberProcess("block1_assemblyStation"), ExchangeProcess.PALLET_SERVICETIME_EVENT); The EventProducerInterface to which the persistents points, is checked and is correct. I think the problem is that the fired event is still never picked up by the persistent. Does anybody know what I've forgotten to do or what I've done wrong? Loek |
From: Fu C. <col...@ho...> - 2004-11-21 22:56:17
|
Hi Peter I’m doing task A of comparison 14. I already uploaded it on CVS. There is no java compile error in my model so far. However, when I tried to run it on dsol, it doesn’t work.. The problem is that the simulator time is not running. I can’t figure out what’s wrong with it. Hope you can help me. Kind regards Hualiang Lin |
From: Bennie T. <B.J...@st...> - 2004-11-21 21:47:16
|
Hi all, I have two problems. Firstly, after updating the dsol package from sourceforge.net, the problems tab in Eclipse shows a number of problems with the description "Unfound classpath variable: MAVEN_REPO/...". However, removing these variables from the Java Build Path does not help. Secondly, when I try to run the main class in any case, the console shows the following: "java.lang.NoClassDefFoundError:" (along with the class name), "Exception in thread 'main'", even though a 'main' method does exist. Has anyone got some advise? Thanks, Bennie |
From: Bennie T. <B.J...@st...> - 2004-10-29 14:36:01
|
Hi all, Not so much a question as a recommendation this time. I could not open the example section44.xml since it uses Java 3D libraries that are not installed with the default Java SDK. In order to run this example, first download these libraries from the java.sun.com website ( http://java.sun.com/products/java-media/3D/download.html). I assume it is the correct libraries, since the model is running fine now. Bennie |
From: Peter H.M. J. <p.h...@tb...> - 2004-10-27 14:34:15
|
Dear all, A number of small releases of DSOL has been published over the weeks. Please visit http://www.simulation.tudelft.nl <http://www.simulation.tudelft.nl/> /dsol for the changes. The most important things to know: * we are still in the 1.6 releases, only minor changes (mostly bugs) have been addressed. No changes have to be made to existing code. All your models are still runnable! * Resource.requestResource has now the possible "priority" argument. See http://www.simulation.tudelft.nl/dsol/dsol/apidocs/nl/tudelft/simulation/dso l/formalisms/Resource.html * Filters can be added to charts, persistent, etc. see http://www.simulation.tudelft.nl/dsol/language/apidocs/nl/tudelft/simulation /language/filters/package-summary.html * The domain of the XY chart can be dynamic according to a period. See http://www.simulation.tudelft.nl/dsol/dsol/apidocs/nl/tudelft/simulation/dso l/statistics/charts/XYChart.html * A daily full snapshot of dsol can be downloaded from http://www.simulation.tudelft.nl/maven/dsol/jars/dsol-full-SNAPSHOT.jar Peter |
From: Peter H.M. J. <p.h...@tb...> - 2004-10-26 09:37:18
|
Empty directories are indeed not synchronized to the CVS Peter _____ From: dso...@li... [mailto:dso...@li...] On Behalf Of Hendy Gunawan Sent: Tuesday, October 26, 2004 11:30 AM To: Dsol-java Subject: FW: [Dsol-java] parcelTanker uploaded. new dsol-full lib in dsol-template; please update version! Hi all, First of all, sorry to Peter, I used reply button while actually, I wanted to send the email to the community. And for the community, I had a problem with parcelTankerPlanning uploaded by Peter. You can see the problem from the message below. I manage to solve it, but I post it anyway in the forum in case somebody else has the same problem. When you check out the parcelTankerPlanning project from CVS, the src/test is not included. You have to delete the build path src/test from the properties window, and then the xml file can be run by dsol. Cheers, Hendy -----Original Message----- From: Hendy Gunawan [mailto:h.g...@st...] Sent: Tuesday, October 26, 2004 11:16 AM To: 'Peter H.M. Jacobs' Subject: RE: [Dsol-java] parcelTanker uploaded. new dsol-full lib in dsol-template; please update version! Hi all, I received IO exception when I opened experiment.xml from parcelTankerPlanning project. Can anybody help me because I think the xml file is ok? I also saw red "x" on the project name indicating there was a mistake, but when I explored the project, no red "x" could be found. Maybe this has something to do with the exception. Regards, Hendy -----Original Message----- From: dso...@li... [mailto:dso...@li...] On Behalf Of Peter H.M. Jacobs Sent: Tuesday, October 26, 2004 10:09 AM To: 'Dsol-java (E-mail)' Subject: [Dsol-java] parcelTanker uploaded. new dsol-full lib in dsol-template; please update version! Hi all, I have uploaded a new minor release of DSOL. This release includes priotorization of resource requests (This is needed in several comparisons). Please update the dsol-template project and make sure your code points to this jar. The code of the parcel tanker is uploaded. Peter |
From: Hendy G. <h.g...@st...> - 2004-10-26 09:32:16
|
Hi all, =20 First of all, sorry to Peter, I used reply button while actually, I = wanted to send the email to the community. =20 And for the community, I had a problem with parcelTankerPlanning = uploaded by Peter.=20 You can see the problem from the message below. =20 I manage to solve it, but I post it anyway in the forum in case somebody else has the same problem. When you check out the parcelTankerPlanning project from CVS, the = src/test is not included. You have to delete the build path src/test from the properties window, = and then the xml file can be run by dsol. =20 Cheers, Hendy =20 -----Original Message----- From: Hendy Gunawan [mailto:h.g...@st...]=20 Sent: Tuesday, October 26, 2004 11:16 AM To: 'Peter H.M. Jacobs' Subject: RE: [Dsol-java] parcelTanker uploaded. new dsol-full lib in dsol-template; please update version! =20 Hi all, =20 I received IO exception when I opened experiment.xml from parcelTankerPlanning project. Can anybody help me because I think the xml file is ok? I also saw red "x" on the project name indicating there was a mistake, = but when I explored the project, no red "x" could be found. Maybe this has something to do with the exception. =20 Regards, Hendy =20 -----Original Message----- From: dso...@li... [mailto:dso...@li...] On Behalf Of Peter H.M. Jacobs Sent: Tuesday, October 26, 2004 10:09 AM To: 'Dsol-java (E-mail)' Subject: [Dsol-java] parcelTanker uploaded. new dsol-full lib in dsol-template; please update version! =20 Hi all, =20 I have uploaded a new minor release of DSOL. This release includes priotorization of resource requests (This is needed in several = comparisons). Please update the dsol-template project and make sure your code points = to this jar. =20 The code of the parcel tanker is uploaded. =20 Peter |
From: Peter H.M. J. <p.h...@tb...> - 2004-10-26 08:09:03
|
Hi all, I have uploaded a new minor release of DSOL. This release includes priotorization of resource requests (This is needed in several comparisons). Please update the dsol-template project and make sure your code points to this jar. The code of the parcel tanker is uploaded. Peter |
From: Dirk S. <di...@tb...> - 2004-10-26 07:06:19
|
Morning Peter, Thanks for your answer; I will drop in the moment I'm stuck! 1) Using a 1:1 scale drawing a pallet of .46m becomes very difficult, since e.g. graphics.fillRect accepts only int's as parameters (this is in pixels, right?). Also I noticed that 'automagically' I get a nice tooltip in my animation window, showing the coordinates of my mousepointer both in 'world' and 'screen' coordinates. How do I turn this on/off? 2) Detecting collision (this has, for the moment, nothing to do with the animation). My pallet's have (they are Locatable) a getBounds method giving the static bounds of a pallet around (0,0,0). To detect collision between two objects I will use the (javax.media.j3d)Bounds.intersect method. Where to go from this point? > Do I need a getCurrentBounds method? How to "add" pallet.Location and pallet.getBounds() ? > In case of intersection, is it possible to detect the magnitude of penetration, so that I can make the pallet move as far as possible by subtracting penetration from initial deltaX,Y,Z ? > Why does Bounds.intersect() return (only) a boolean? 3) By the end of this day I would like to have working collision-detection on my pallets with a proper animation; this is where I wan't the scale of my animation to be properly defined, so that intersection of bounds coincides with collision of on-screen-rectangles. 4) My current work (in progress) is available on CVS: Module comparison2. I'm currently testing/developing the above with two pallets moving in opposite directions. Thanks for your time, Dirk -----Original Message----- From: Peter H.M. Jacobs [mailto:p.h...@tb...] Sent: dinsdag 26 oktober 2004 8:36 To: 'Dirk Samson'; 'Dsol-java (E-mail)' Subject: RE: [Dsol-java] Real / screen coordinates Hi Dirk, Today I will spend the entire day on some nice nerding.. I will upload the model of last week and show you how to use stuff.. To answer your question. Since the coordinates in DSOL reflect GIS coordinates, look at http://erg.usgs.gov/isb/pubs/gis_poster/ for more information. The easy way to understand the coordinates is to understand {x,y} in meters where positive x=right and positive y=up. On your screen the positive y=down. This is not DSOL specific but complies with international standards Peter Ps I you experience any problems today, please feel free to visit. -----Original Message----- From: dso...@li... [mailto:dso...@li...] On Behalf Of Dirk Samson Sent: Monday, October 25, 2004 4:11 PM To: Dsol-java (E-mail) Subject: [Dsol-java] Real / screen coordinates Dear dsol-guru's (this isn't a very specific question) Who can tell me more on the 'world' coordinates in the animation screen? Is there (where) a scale that can be defined? Where can I find more explanation (I think I know where to find the documentation) ? Groeten, dirk ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Dsol-java mailing list Dso...@li... https://lists.sourceforge.net/lists/listinfo/dsol-java |
From: Peter H.M. J. <p.h...@tb...> - 2004-10-26 06:36:23
|
Hi Dirk, Today I will spend the entire day on some nice nerding.. I will upload the model of last week and show you how to use stuff.. To answer your question. Since the coordinates in DSOL reflect GIS coordinates, look at http://erg.usgs.gov/isb/pubs/gis_poster/ for more information. The easy way to understand the coordinates is to understand {x,y} in meters where positive x=right and positive y=up. On your screen the positive y=down. This is not DSOL specific but complies with international standards Peter Ps I you experience any problems today, please feel free to visit. -----Original Message----- From: dso...@li... [mailto:dso...@li...] On Behalf Of Dirk Samson Sent: Monday, October 25, 2004 4:11 PM To: Dsol-java (E-mail) Subject: [Dsol-java] Real / screen coordinates Dear dsol-guru's (this isn't a very specific question) Who can tell me more on the 'world' coordinates in the animation screen? Is there (where) a scale that can be defined? Where can I find more explanation (I think I know where to find the documentation) ? Groeten, dirk ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Dsol-java mailing list Dso...@li... https://lists.sourceforge.net/lists/listinfo/dsol-java |
From: Dirk S. <di...@tb...> - 2004-10-25 14:11:35
|
Dear dsol-guru's (this isn't a very specific question) Who can tell me more on the 'world' coordinates in the animation screen? Is there (where) a scale that can be defined? Where can I find more explanation (I think I know where to find the documentation) ? Groeten, dirk |
From: Dirk S. <di...@tb...> - 2004-10-25 09:54:13
|
Problem solved by explicitly making a public class Model. -----Original Message----- From: dso...@li... [mailto:dso...@li...]On Behalf Of Dirk Samson Sent: maandag 25 oktober 2004 11:21 To: Dsol-java (E-mail) Subject: [Dsol-java] can not access a member of class nl ..... Dear java & dsol guru's (1) 11:14:53 AM WARNING: Class nl.tudelft.simulation.xml.dsol.ExperimentParser can not access a member of class nl.tudelft.simulation.sne.c2.ModelSinglePallet with modifiers "public" Origin: nl.tudelft.simulation.dsol.gui.panels.GUIExperimentParsingThread#run java.io.IOException: Class nl.tudelft.simulation.xml.dsol.ExperimentParser can not access a member of class nl.tudelft.simulation.sne.c2.ModelSinglePallet with modifiers "public" at nl.tudelft.simulation.xml.dsol.ExperimentParser.parseExperiment(ExperimentPa rser.java:155) at nl.tudelft.simulation.dsol.gui.panels.GUIExperimentParsingThread.run(GUIExpe rimentParsingThread.java:67) So... What does this mean? 1) Making a (deliberate) mistake in the path or name to the model class results in another error 2) with an empty (single line: system.out.println....) constructModel method (yes, public void) the error remains ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Dsol-java mailing list Dso...@li... https://lists.sourceforge.net/lists/listinfo/dsol-java |
From: Dirk S. <di...@tb...> - 2004-10-25 09:21:02
|
Dear java & dsol guru's (1) 11:14:53 AM WARNING: Class nl.tudelft.simulation.xml.dsol.ExperimentParser can not access a member of class nl.tudelft.simulation.sne.c2.ModelSinglePallet with modifiers "public" Origin: nl.tudelft.simulation.dsol.gui.panels.GUIExperimentParsingThread#run java.io.IOException: Class nl.tudelft.simulation.xml.dsol.ExperimentParser can not access a member of class nl.tudelft.simulation.sne.c2.ModelSinglePallet with modifiers "public" at nl.tudelft.simulation.xml.dsol.ExperimentParser.parseExperiment(ExperimentPa rser.java:155) at nl.tudelft.simulation.dsol.gui.panels.GUIExperimentParsingThread.run(GUIExpe rimentParsingThread.java:67) So... What does this mean? 1) Making a (deliberate) mistake in the path or name to the model class results in another error 2) with an empty (single line: system.out.println....) constructModel method (yes, public void) the error remains |
From: Koekkoek, G.K.R <G.K...@ST...> - 2004-10-21 15:49:39
|
Hi Loek Here is the trick al the packages which start with nl.tudelft.simulation you can find on the www.simulation.tudelft.nl. When you go to this side you go automatically to the address: http://www.simulation.tudelft.nl/dsol/dsol/index.html . Now just change the second dsol in the adress to in this case language and then you can look in this javadoc. So you get: http://www.simulation.tudelft.nl/dsol/language/index.html . Or if you want to see the jstats javadoc you go to: http://www.simulation.tudelft.nl/dsol/jstats/index.html etc... Have fun. Gerard -----Original Message----- From: lo...@tb... To: dso...@li... Sent: 10/21/2004 1:45 PM Subject: [Dsol-java] DirectedPoint Can anybody explain me what a "DirectedPoint" is or where I can find information about a "DirectedPoint"? How is it specified? It is in the package "nl.tudelft.simulation.language.d3.DirectedPoint", but I cannot find more information than this. Loek ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Dsol-java mailing list Dso...@li... https://lists.sourceforge.net/lists/listinfo/dsol-java |
From: <lo...@tb...> - 2004-10-21 11:45:37
|
Can anybody explain me what a "DirectedPoint" is or where I can find information about a "DirectedPoint"? How is it specified? It is in the package "nl.tudelft.simulation.language.d3.DirectedPoint", but I cannot find more information than this. Loek |
From: Loek <lo...@tb...> - 2004-10-20 07:46:24
|
Hello, I've a problem with my container terminal model. I've modelled two Events which are fired at a certain time. One at the moment a container is placed in TP1 (Transfer Point 1) by the QuayCrane. The other one is fired at the moment the SC (Straddle Carrier) removes the container out of TP1. When I'm running my model, the first event is fired. The problem is that the SC doesn't seems to pick up this Event, so the SC is not going to remove the container out of TP1. (Of course I've added an AddListener to the SC). My model is available at CVS under: loek Who knows how this is possible? Loek |
From: <zhu...@ya...> - 2004-10-18 13:33:33
|
Dear All: We made another model for practice, which is under Run@benhenman, it is quite similar to the M/M/1 example. the difference is that, we made the customer class, and make a boolean attribute of ToSendOrReceive. In the Model class, we supposed to use it to decide the different route of the customer(the ones want to send , go to queue1, others go to queue2) .But we have problems of getting it . Maybe you can have a look ..... best wishes Mansheng Zhuang --------------------------------- Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 美女明星应有尽有,搜遍美图、艳图和酷图 1G就是1000兆,雅虎电邮自助扩容! |
From: Peter H.M. J. <p.h...@tb...> - 2004-10-18 11:01:01
|
-----Original Message----- From: dso...@li... [mailto:dso...@li...] On Behalf Of Dirk Samson Sent: Monday, October 18, 2004 11:35 AM To: 'Herman van Hovell'; dso...@li... Subject: RE: [Dsol-java] how to listen to fireEvent? Herman, Peter and others, Thanks; i'm on my way but not quite there yet. I changed my model a bit; now the stack fires events to which the crane listens (if the stack fires an event, let's say, STACK_EMPTY_EVENT, the crane responds by scheduling the next container delivery. My questions are in the comments of the (pseudo) code here-below. ==================================== public class Stack extends EventProducer { public static final EventType STACK_EMPTY_EVENT = new EventType( "STACK_EMPTY_EVENT"); ... public void emptyStack() { this.fireEvent(STACK_EMPTY_EVENT, "what's the second parameter used for?"); PETER: This is the value you are firing: fireEvent(TIMPERATURE_CHANGE_EVENT,37.5); // 2nd parameter?? } } ==================================== public class Crane implements EventListenerInterface { ... public Crane(Stack stack) { stack.addListener(this, Stack.STACK_EMPTY_EVENT); } ... public void notify(EventInterface arg0) throws RemoteException { // what argument should be used? System.out.println("I want this to be on my console!"); } } PETER : System.out.println(arg0.getContent()); PETER : System.out.println(arg0.getSource()); ==================================== public static void Main(String args[]) { Stack myStack = new Stack(); Crane myCrane = new Crane(myStack) myStack.emptyStack(); // I expect some output; will this happen?? } -----Original Message----- From: Herman van Hovell [mailto:h_v...@ho...] Sent: woensdag 13 oktober 2004 19:46 To: di...@tb...; dso...@li... Subject: RE: [Dsol-java] how to listen to fireEvent? Hi, I think I can provide you with the answer. the vehicle has to subscribe to the event. This is done with the addListener(ListenerInterface listener, EvenType event) method which is in the EventProducer class and thuss in your crane class. Assuming it is in you r constructor it should look like this: public class Vehicle implements EventListenerInterface { public Vehicle(Crane crane) { /** Call super class constructor*/ super(); /** Do all other stuff*/ /** Add our listener*/ try { Crane.addListener(this, CONTAINER_RELEASED_EVENT); } catch (Exception e) { e.printStackTrace(); } } /** Methods*/ } Hope this helps, regards, Herman van Hovell >From: "Dirk Samson" <di...@tb...> >To: <dso...@li...> >Subject: [Dsol-java] how to listen to fireEvent? >Date: Wed, 13 Oct 2004 15:10:48 +0200 > >Dear all, > >I've made a "crane" that delivers "containers" every 1..5 timeunits. These >containers should be picked up by several "someVehicles". I would like to >have my crane fire an event, CONTAINER_RELEASED_EVENT. The code for this I >found in the tutorial, section 4.2: > >... >public class QuayCrane extends EventProducer { > public static final EventType CONTAINER_RELEASED_EVENT = new EventType( > "CONTAINER_RELEASED_EVENT"); >... > >private void releaseContainer () { >... >this.fireEvent(CONTAINER_RELEASED_EVENT, >this.simulator.getSimulatorTime()); >... } >} // end class > >My question: > >How do I get an instance of my someVehicle to listen to this event? The >events in the tutorial are (so it seems) only used by the Tallies. For this >moment I;m not interested in the prioritization of my someVehicles; I just >want them to respond. > >Is this the proper mechanism to create interaction between objects in the >simulation?? > >Dirk Samson >(PS My very-first-test-project can be found on the CVS Server: "SPM9322 - >port") > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Dsol-java mailing list >Dso...@li... >https://lists.sourceforge.net/lists/listinfo/dsol-java _________________________________________________________________ MSN Search, for accurate results! http://search.msn.nl ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Dsol-java mailing list Dso...@li... https://lists.sourceforge.net/lists/listinfo/dsol-java |
From: Dirk S. <di...@tb...> - 2004-10-18 09:43:48
|
Dear all, How can I "print" to the logger-screen from within my class? The code Logger.finest(this,"constructModel", "Create new stack TP1"); is accepted, but nothing seems to happen on my log-screen ?! Dirk |
From: Dirk S. <di...@tb...> - 2004-10-18 09:35:50
|
Herman, Peter and others, Thanks; i'm on my way but not quite there yet. I changed my model a bit; now the stack fires events to which the crane listens (if the stack fires an event, let's say, STACK_EMPTY_EVENT, the crane responds by scheduling the next container delivery. My questions are in the comments of the (pseudo) code here-below. ==================================== public class Stack extends EventProducer { public static final EventType STACK_EMPTY_EVENT = new EventType( "STACK_EMPTY_EVENT"); ... public void emptyStack() { this.fireEvent(STACK_EMPTY_EVENT, "what's the second parameter used for?"); // 2nd parameter?? } } ==================================== public class Crane implements EventListenerInterface { ... public Crane(Stack stack) { stack.addListener(this, Stack.STACK_EMPTY_EVENT); } ... public void notify(EventInterface arg0) throws RemoteException { // what argument should be used? System.out.println("I want this to be on my console!"); } } ==================================== public static void Main(String args[]) { Stack myStack = new Stack(); Crane myCrane = new Crane(myStack) myStack.emptyStack(); // I expect some output; will this happen?? } -----Original Message----- From: Herman van Hovell [mailto:h_v...@ho...] Sent: woensdag 13 oktober 2004 19:46 To: di...@tb...; dso...@li... Subject: RE: [Dsol-java] how to listen to fireEvent? Hi, I think I can provide you with the answer. the vehicle has to subscribe to the event. This is done with the addListener(ListenerInterface listener, EvenType event) method which is in the EventProducer class and thuss in your crane class. Assuming it is in you r constructor it should look like this: public class Vehicle implements EventListenerInterface { public Vehicle(Crane crane) { /** Call super class constructor*/ super(); /** Do all other stuff*/ /** Add our listener*/ try { Crane.addListener(this, CONTAINER_RELEASED_EVENT); } catch (Exception e) { e.printStackTrace(); } } /** Methods*/ } Hope this helps, regards, Herman van Hovell >From: "Dirk Samson" <di...@tb...> >To: <dso...@li...> >Subject: [Dsol-java] how to listen to fireEvent? >Date: Wed, 13 Oct 2004 15:10:48 +0200 > >Dear all, > >I've made a "crane" that delivers "containers" every 1..5 timeunits. These >containers should be picked up by several "someVehicles". I would like to >have my crane fire an event, CONTAINER_RELEASED_EVENT. The code for this I >found in the tutorial, section 4.2: > >... >public class QuayCrane extends EventProducer { > public static final EventType CONTAINER_RELEASED_EVENT = new EventType( > "CONTAINER_RELEASED_EVENT"); >... > >private void releaseContainer () { >... >this.fireEvent(CONTAINER_RELEASED_EVENT, >this.simulator.getSimulatorTime()); >... } >} // end class > >My question: > >How do I get an instance of my someVehicle to listen to this event? The >events in the tutorial are (so it seems) only used by the Tallies. For this >moment I;m not interested in the prioritization of my someVehicles; I just >want them to respond. > >Is this the proper mechanism to create interaction between objects in the >simulation?? > >Dirk Samson >(PS My very-first-test-project can be found on the CVS Server: "SPM9322 - >port") > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Dsol-java mailing list >Dso...@li... >https://lists.sourceforge.net/lists/listinfo/dsol-java _________________________________________________________________ MSN Search, for accurate results! http://search.msn.nl |