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: Bennie T. <B.J...@st...> - 2005-05-30 21:18:54
|
Hi all, I have a XYChart and after certain time intervals, I would like to clear the chart so that it starts drawing a new graph. Creating a new chart in place of the old one does not help since the data of the old chart is then kept, and it also creates a bunch of entries in the Statistics panel with the same name. So actually I need to clear the dataset of the chart, but I couldn't find a method that can wipe the slate clean. Any ideas? Thanks, Bennie |
From: Mark S. <Mar...@vo...> - 2005-04-20 09:00:58
|
thanks for your help! Any thoughts on my second question about detecting low variances and cutting the simulation runs? thanks! Mark I'm using Vodafone Mail - to get your free mobile email account go to http://www.vodafone.ie Use of Vodafone Mail is subject to Terms and Conditions http://www.vodafone.ie/terms/website |
From: Houten, Stijn-P. v. <s.p...@tb...> - 2005-04-19 15:15:44
|
Hi Mark, Yes, it is very well possible to run dsol within a J2EE container. I don't recall having problems with multiple threads and dsol in combination with JBOSS. Of course, multiple ways exist to make a simulator (or animator in this case) remotely available. Attached you find three classes which together provide you with the idea of making an animator remotely accessible, even without using JBOSS. However, you could also let the classes that implement the SessionBean interface and your EJBObject interface implement/extend the RemoteAnimatorInterface. In the latter, you should make sure to delegate for example the simulator.stop() method to the animator which is then an attribute of the SessionBean.=20 Hope this helps, best regards, Stijn-Pieter van Houten. ----------------------------------------------- Ir. S.P.A. van Houten, Researcher Delft University of Technology, the Netherlands Faculty of Technology, Policy and Management Systems Engineering Group Jaffalaan 5, 2628 BX Delft, the Netherlands tel. (+31 |0) 15 2788545 fax. (+31 |0) 15 2783429 mob. (+31 |0) 6 48930745 mailto:S.P...@TB... http://www.tbm.tudelft.nl/webstaf/stijnh ----------------------------------------------- =20 -----Oorspronkelijk bericht----- Van: dso...@li... [mailto:dso...@li...] Namens Mark Stacey Verzonden: dinsdag 19 april 2005 13:27 Aan: dso...@li... Onderwerp: [Dsol-java] simulator usage questions Hi, I'm looking to run your simulation software in a J2EE container, specifically JBoss. I was wondering if anyone has any experience with this before? The J2EE spec doesn't allow threads to be created on the fly within the container, and by the looks of it, the simulations are run multi-threaded. Am I correct in saying this or is it possible to switch off thread spawning? I'm also curious as to whether it is possible to detect if variations in results reduce to a minimum. Take for instance the M/M/1 queue simulation.=20 The d(n) chart approaches 0.717 after about 800,000 units, but after that, there is no difference to these figures. Is it possible to automatically detect this and stop the simulation going further? thanks! Mark I'm using Vodafone Mail - to get your free mobile email account go to http://www.vodafone.ie Use of Vodafone Mail is subject to Terms and Conditions http://www.vodafone.ie/terms/website ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Dsol-java mailing list Dso...@li... https://lists.sourceforge.net/lists/listinfo/dsol-java |
From: Mark S. <Mar...@vo...> - 2005-04-19 11:27:27
|
Hi, I'm looking to run your simulation software in a J2EE container, specifically JBoss. I was wondering if anyone has any experience with this before? The J2EE spec doesn't allow threads to be created on the fly within the container, and by the looks of it, the simulations are run multi-threaded. Am I correct in saying this or is it possible to switch off thread spawning? I'm also curious as to whether it is possible to detect if variations in results reduce to a minimum. Take for instance the M/M/1 queue simulation. The d(n) chart approaches 0.717 after about 800,000 units, but after that, there is no difference to these figures. Is it possible to automatically detect this and stop the simulation going further? thanks! Mark I'm using Vodafone Mail - to get your free mobile email account go to http://www.vodafone.ie Use of Vodafone Mail is subject to Terms and Conditions http://www.vodafone.ie/terms/website |
From: R.T.H.Chin <r.t...@tb...> - 2005-03-11 16:34:34
|
Hi all, I wrote a 3D animation tutorial that is currently hosted at my personal website under the education-menu: http://www.tbm.tudelft.nl/webstaf/Royc/index.htm Later on it may move to the official DSOL website. Hope it's helpful, Roy |
From: Bastiaan v. de R. <in...@ra...> - 2005-01-29 14:50:16
|
Bennie, That was exactly the problem. I didn't see the exact difference between the old and new versions of DSOL. Now I on my way the specify my own specs of the animationframe. Tnx a lot. Bastiaan Bennie Talma wrote: >Bastiaan, > >I think this problem is due to a change in the DSOLApplication() code. I >recently changed the libraries for a project from dsol-gui 1.6.2 to dsol-gui >1.6.4 and it resulted in the same error as you mentioned, while it worked >with the older library. On the DSOL website, the code for the latest version >(dsol-giu 1.6.6) shows the following for the DSOLApplication() constructor: > > /*** >57 * constructs a new DSOLApplicationInterface >58 * >59 * @param navigation an URL to an xml-based navigation structure. >60 */ >61 public DSOLApplication(final URL navigation) > >So, the argument "navigation" is added in the newer versions. The default >menu navigation structure is included in the jar file, so by adding a >parameter when calling DSOLApplication(), the problem should be solved: > > public BargeHandlingApplication() > { > super(URLResource.getResource("/navigation.xml"); > this.properties.put("dsol-gui.animation.panel.size","1020;680"); > } > >Of course, if all else fails you can just use the older jar files. > >Bennie > >-----Original Message----- >From: Bastiaan van de Rakt [mailto:in...@ra...] >Sent: 19 January 2005 15:19 >To: Bennie Talma >Subject: Re: [Dsol-java] Problems and question Animation Panel/Frame in >DSOL > > >I tried this before, (see below), but I get > >The constructor DSOLApplication() is undefined >BargeHandlingApplication.java BargeHandlingProject >13122004/src/java/nl/init8/port line 32 19 januari 2005 15:15:11 > >This is what I meant last time. What do I do wrong? > >Kind regards > >Bastiaan van de Rakt > > > >package nl.init8.port; > >import nl.tudelft.simulation.dsol.gui.DSOLApplication; > >/** > * @author rakt > * > * Extension of the DSOLApplication > * > */ >public class BargeHandlingApplication extends DSOLApplication >{ > public BargeHandlingApplication() > > { > super(); > this.properties.put("dsol-gui.animation.panel.size","1020;680"); > } > > public static void main(String[] args) > { > new BargeHandlingApplication(); > } >} > > >Bennie Talma wrote: > > > >>Define your own application by just extending the DSOLApplication (and >>adding your new properties). Now just run this class instead of the >>DSOLApplication class. For example: >> >> >>import nl.tudelft.simulation.dsol.gui.DSOLApplication; >> >>public class MyOwnApplication extends DSOLApplication >>{ >> public MyOwnApplication () >> { >> super(); >> >>this.properties.put("dsol-gui.animation.panel.extent","10000;30000;10000;10 >> >> >0 > > >>00"); >> this.properties.put("dsol-gui.animation.panel.size","1020;680"); >> } >> >> public static void main(String[] args) >> { >> new MyOwnApplication(); >> } >>} >> >> >> >>-----Original Message----- >>From: Bastiaan van de Rakt [mailto:in...@ra...] >>Sent: 19 January 2005 12:01 >>To: Bennie Talma >>Subject: Re: [Dsol-java] Problems and question Animation Panel/Frame in >>DSOL >> >> >>First of all, thanks for your help. >> >>I understand that the animation window are properties of the >>DSOLApplication. >> >>But where in my model can I put such a constructor? I don't define my >>own Application, I just use the DSOLApplication and load my model on >>it. Can I define my own Application and run that? >> >>Kind regards >> >>Bastiaan van de Rakt >> >> >>Bennie Talma wrote: >> >> >> >> >> >>>Bastiaan, >>> >>>In the constructor of your application, you can define some properties for >>>the animation window. So, for your example: >>> >>>public class Application extends DSOLApplication >>>{ >>> public Application() >>> { >>> super(); >>> //second parameter: Xmin, Ymin, X range, Y range >>> >>>this.properties.put("dsol-gui.animation.panel.extent","10000;30000;10000;1 >>> >>> >0 > > >>> >>> >>0 >> >> >> >> >>>00"); >>> this.properties.put("dsol-gui.animation.panel.size","1020;680"); >>> } >>>} >>> >>>There seems to be some sort of constraint on the values you can use for >>> >>> >the > > >>>extent of the animation window; similar to the aspect ratio of a picture. >>> >>> >>> >>> >>So >> >> >> >> >>>while it displays correctly if the X range is the same as the Y range (as >>>above), it automatically adjusts the Y min if you have X range and Y range >>>values as in your example (10.000;20.000). >>> >>>Regards, >>>Bennie >>> >>>-----Original Message----- >>>From: dso...@li... >>>[mailto:dso...@li...]On Behalf Of Bastiaan van >>>de Rakt >>>Sent: 17 January 2005 12:20 >>>To: ''Dsol-java (E-mail)' ' >>>Subject: [Dsol-java] Problems and question Animation Panel/Frame in DSOL >>> >>> >>>Dear DSOL developers and users, >>> >>>I have some problems with understanding the working of the animation >>>panel. I want to set the dimension size of the AnimationFrame (so not >>>the default setting of 600 by 600). Next to that I want to able to set >>>the worldcoordinates visible in the frame. (for example xmin: 10.000, >>>xmax: 20.000, ymin 30.000, ymax 50.000). How does these things work? >>> >>>Then I have some problems with reaction of the grid on my renderable >>>objects, using for example >>> >>> >>public void paint(Graphics2D g, ImageObserver arg1) throws >>>RemoteException{ >>> >>> >> g.setFont(new Font("Arial Narrow", Font.BOLD, 320)); >>> >> g.translate(1.0,1.0); >>> } >>> >>>also the grid numbers of the animation panel turns bold. >>>and also translate methods in a Renderable2D translates the complete >>>gridstructure in the same way. >>> >>>Besides this, I have another question: Is it possible to have another >>>animation panel with a different map/ renderables and a different scale >>>in the same model? >>> >>>Kind Regards >>> >>>Bastiaan van de Rakt >>> >>> >>>------------------------------------------------------- >>>The SF.Net email is sponsored by: Beat the post-holiday blues >>>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>>_______________________________________________ >>>Dsol-java mailing list >>>Dso...@li... >>>https://lists.sourceforge.net/lists/listinfo/dsol-java >>> >>> >>> >>> >>>------------------------------------------------------- >>>The SF.Net email is sponsored by: Beat the post-holiday blues >>>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>>_______________________________________________ >>>Dsol-java mailing list >>>Dso...@li... >>>https://lists.sourceforge.net/lists/listinfo/dsol-java >>> >>> >>> >>> >>> >>> >>> >>> >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by: Beat the post-holiday blues >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>_______________________________________________ >>Dsol-java mailing list >>Dso...@li... >>https://lists.sourceforge.net/lists/listinfo/dsol-java >> >> >> >> >> >> > > > > > > |
From: Bennie T. <B.J...@st...> - 2005-01-29 11:26:36
|
Bastiaan, I think this problem is due to a change in the DSOLApplication() code. I recently changed the libraries for a project from dsol-gui 1.6.2 to dsol-gui 1.6.4 and it resulted in the same error as you mentioned, while it worked with the older library. On the DSOL website, the code for the latest version (dsol-giu 1.6.6) shows the following for the DSOLApplication() constructor: /*** 57 * constructs a new DSOLApplicationInterface 58 * 59 * @param navigation an URL to an xml-based navigation structure. 60 */ 61 public DSOLApplication(final URL navigation) So, the argument "navigation" is added in the newer versions. The default menu navigation structure is included in the jar file, so by adding a parameter when calling DSOLApplication(), the problem should be solved: public BargeHandlingApplication() { super(URLResource.getResource("/navigation.xml"); this.properties.put("dsol-gui.animation.panel.size","1020;680"); } Of course, if all else fails you can just use the older jar files. Bennie -----Original Message----- From: Bastiaan van de Rakt [mailto:in...@ra...] Sent: 19 January 2005 15:19 To: Bennie Talma Subject: Re: [Dsol-java] Problems and question Animation Panel/Frame in DSOL I tried this before, (see below), but I get The constructor DSOLApplication() is undefined BargeHandlingApplication.java BargeHandlingProject 13122004/src/java/nl/init8/port line 32 19 januari 2005 15:15:11 This is what I meant last time. What do I do wrong? Kind regards Bastiaan van de Rakt package nl.init8.port; import nl.tudelft.simulation.dsol.gui.DSOLApplication; /** * @author rakt * * Extension of the DSOLApplication * */ public class BargeHandlingApplication extends DSOLApplication { public BargeHandlingApplication() { super(); this.properties.put("dsol-gui.animation.panel.size","1020;680"); } public static void main(String[] args) { new BargeHandlingApplication(); } } Bennie Talma wrote: >Define your own application by just extending the DSOLApplication (and >adding your new properties). Now just run this class instead of the >DSOLApplication class. For example: > > >import nl.tudelft.simulation.dsol.gui.DSOLApplication; > >public class MyOwnApplication extends DSOLApplication >{ > public MyOwnApplication () > { > super(); > >this.properties.put("dsol-gui.animation.panel.extent","10000;30000;10000;10 0 >00"); > this.properties.put("dsol-gui.animation.panel.size","1020;680"); > } > > public static void main(String[] args) > { > new MyOwnApplication(); > } >} > > > >-----Original Message----- >From: Bastiaan van de Rakt [mailto:in...@ra...] >Sent: 19 January 2005 12:01 >To: Bennie Talma >Subject: Re: [Dsol-java] Problems and question Animation Panel/Frame in >DSOL > > >First of all, thanks for your help. > >I understand that the animation window are properties of the >DSOLApplication. > >But where in my model can I put such a constructor? I don't define my >own Application, I just use the DSOLApplication and load my model on >it. Can I define my own Application and run that? > >Kind regards > >Bastiaan van de Rakt > > >Bennie Talma wrote: > > > >>Bastiaan, >> >>In the constructor of your application, you can define some properties for >>the animation window. So, for your example: >> >>public class Application extends DSOLApplication >>{ >> public Application() >> { >> super(); >> //second parameter: Xmin, Ymin, X range, Y range >> >>this.properties.put("dsol-gui.animation.panel.extent","10000;30000;10000;1 0 >> >> >0 > > >>00"); >> this.properties.put("dsol-gui.animation.panel.size","1020;680"); >> } >>} >> >>There seems to be some sort of constraint on the values you can use for the >>extent of the animation window; similar to the aspect ratio of a picture. >> >> >So > > >>while it displays correctly if the X range is the same as the Y range (as >>above), it automatically adjusts the Y min if you have X range and Y range >>values as in your example (10.000;20.000). >> >>Regards, >>Bennie >> >>-----Original Message----- >>From: dso...@li... >>[mailto:dso...@li...]On Behalf Of Bastiaan van >>de Rakt >>Sent: 17 January 2005 12:20 >>To: ''Dsol-java (E-mail)' ' >>Subject: [Dsol-java] Problems and question Animation Panel/Frame in DSOL >> >> >>Dear DSOL developers and users, >> >>I have some problems with understanding the working of the animation >>panel. I want to set the dimension size of the AnimationFrame (so not >>the default setting of 600 by 600). Next to that I want to able to set >>the worldcoordinates visible in the frame. (for example xmin: 10.000, >>xmax: 20.000, ymin 30.000, ymax 50.000). How does these things work? >> >>Then I have some problems with reaction of the grid on my renderable >>objects, using for example >> >> >>public void paint(Graphics2D g, ImageObserver arg1) throws >>RemoteException{ >> >> >> g.setFont(new Font("Arial Narrow", Font.BOLD, 320)); >> >> g.translate(1.0,1.0); >> } >> >>also the grid numbers of the animation panel turns bold. >>and also translate methods in a Renderable2D translates the complete >>gridstructure in the same way. >> >>Besides this, I have another question: Is it possible to have another >>animation panel with a different map/ renderables and a different scale >>in the same model? >> >>Kind Regards >> >>Bastiaan van de Rakt >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by: Beat the post-holiday blues >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>_______________________________________________ >>Dsol-java mailing list >>Dso...@li... >>https://lists.sourceforge.net/lists/listinfo/dsol-java >> >> >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by: Beat the post-holiday blues >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>_______________________________________________ >>Dsol-java mailing list >>Dso...@li... >>https://lists.sourceforge.net/lists/listinfo/dsol-java >> >> >> >> >> >> > > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Dsol-java mailing list >Dso...@li... >https://lists.sourceforge.net/lists/listinfo/dsol-java > > > > |
From: Loek <lo...@tb...> - 2005-01-28 15:20:40
|
Hello everyone, I want to display a line in my animation. Therefore I use a DirectionalLine between 2 coordinates, (x1, y1) and (x2, y2). These input-values are doubles, for example (4.0, -5.0) and.(8.0, 5.0). I got these values from an object that has two Point3d-attributes. Now I've the problem that when I animate these lines, they aren't represented at the right coordinates at all. But when I multiply the coordinates with a big number, for example 1000, the representation is much better. Does anyone know how is this possible? May this be a bug in the animation? Loek |
From: Wei J. <j....@st...> - 2005-01-21 16:31:15
|
Hi All, I encountered a problem concerning resource. In my Dining Philosopher = model, I have ChopStick Class defined as follows: public class ChopStick extends Resource in the constructor,=20 super(simulator, "chopstick(" + i + ")", 1.0); So I defined ChopStick as resource of capacity 1.0 Then in Philosopher Class, it get the chopstick and requests the = resource as follows: getChopStick(LEFT_CHOPSTICK).requestCapacity(1.0, this); getChopStick() returns an object of ChopStick class, so here the = philosopher got his left chopstick and request it. After he finishes = eating, he will release this chopstick, for = examplegetChopStick(LEFT_CHOPSTICK).requestCapacity(1.0, this); Other philosophers can also request the same chopstick. But as the = capacity is only 1.0, once it is already granted to a philosopher, = others' requests will be suspended until that philosopher release that = resource. However, in my program, I found the resource was granted before it was = released.=20 For example, Philosopher(0) and Philosohper(4) are sitting next to each = other, and chopstick(4) is between them. After running my program, I = have the following output: I, philosopher(0) got hungry .. I, philosopher(4) got hungry I, philosopher(4) got chopstick(4) .. I, philosopher(0) got suspended on chopstick(4) .. I, philosopher(0) got chopstick(4) I, philosopher(0) am eating chopstick(4) is released by philosopher(4) In the begining it was correct, after philosopher(4) got chopstick(4), = when Philosopher(0) requested chopstick(4), he couldn't get it so = suspended on it; then later at another try phislopher(0) got it before = chopstick(4) was actually released.=20 The code in this part is very simple, I can't find out why this = happened.=20 Is there anything wrong with the way I request and release resource? If = anyone of you are kind enough to help me solve it, you can refer to my = source code, it is Comparison4 on CVS repository. |
From: Bennie T. <B.J...@st...> - 2005-01-19 13:00:27
|
Define your own application by just extending the DSOLApplication (and adding your new properties). Now just run this class instead of the DSOLApplication class. For example: import nl.tudelft.simulation.dsol.gui.DSOLApplication; public class MyOwnApplication extends DSOLApplication { public MyOwnApplication () { super(); this.properties.put("dsol-gui.animation.panel.extent","10000;30000;10000;100 00"); this.properties.put("dsol-gui.animation.panel.size","1020;680"); } public static void main(String[] args) { new MyOwnApplication(); } } -----Original Message----- From: Bastiaan van de Rakt [mailto:in...@ra...] Sent: 19 January 2005 12:01 To: Bennie Talma Subject: Re: [Dsol-java] Problems and question Animation Panel/Frame in DSOL First of all, thanks for your help. I understand that the animation window are properties of the DSOLApplication. But where in my model can I put such a constructor? I don't define my own Application, I just use the DSOLApplication and load my model on it. Can I define my own Application and run that? Kind regards Bastiaan van de Rakt Bennie Talma wrote: >Bastiaan, > >In the constructor of your application, you can define some properties for >the animation window. So, for your example: > >public class Application extends DSOLApplication >{ > public Application() > { > super(); > //second parameter: Xmin, Ymin, X range, Y range > >this.properties.put("dsol-gui.animation.panel.extent","10000;30000;10000;10 0 >00"); > this.properties.put("dsol-gui.animation.panel.size","1020;680"); > } >} > >There seems to be some sort of constraint on the values you can use for the >extent of the animation window; similar to the aspect ratio of a picture. So >while it displays correctly if the X range is the same as the Y range (as >above), it automatically adjusts the Y min if you have X range and Y range >values as in your example (10.000;20.000). > >Regards, >Bennie > >-----Original Message----- >From: dso...@li... >[mailto:dso...@li...]On Behalf Of Bastiaan van >de Rakt >Sent: 17 January 2005 12:20 >To: ''Dsol-java (E-mail)' ' >Subject: [Dsol-java] Problems and question Animation Panel/Frame in DSOL > > >Dear DSOL developers and users, > >I have some problems with understanding the working of the animation >panel. I want to set the dimension size of the AnimationFrame (so not >the default setting of 600 by 600). Next to that I want to able to set >the worldcoordinates visible in the frame. (for example xmin: 10.000, >xmax: 20.000, ymin 30.000, ymax 50.000). How does these things work? > >Then I have some problems with reaction of the grid on my renderable >objects, using for example > > >>public void paint(Graphics2D g, ImageObserver arg1) throws >RemoteException{ > > >> g.setFont(new Font("Arial Narrow", Font.BOLD, 320)); > >> g.translate(1.0,1.0); > } > >also the grid numbers of the animation panel turns bold. >and also translate methods in a Renderable2D translates the complete >gridstructure in the same way. > >Besides this, I have another question: Is it possible to have another >animation panel with a different map/ renderables and a different scale >in the same model? > >Kind Regards > >Bastiaan van de Rakt > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Dsol-java mailing list >Dso...@li... >https://lists.sourceforge.net/lists/listinfo/dsol-java > > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Dsol-java mailing list >Dso...@li... >https://lists.sourceforge.net/lists/listinfo/dsol-java > > > > |
From: Bennie T. <B.J...@st...> - 2005-01-18 19:06:06
|
Bastiaan, In the constructor of your application, you can define some properties for the animation window. So, for your example: public class Application extends DSOLApplication { public Application() { super(); //second parameter: Xmin, Ymin, X range, Y range this.properties.put("dsol-gui.animation.panel.extent","10000;30000;10000;100 00"); this.properties.put("dsol-gui.animation.panel.size","1020;680"); } } There seems to be some sort of constraint on the values you can use for the extent of the animation window; similar to the aspect ratio of a picture. So while it displays correctly if the X range is the same as the Y range (as above), it automatically adjusts the Y min if you have X range and Y range values as in your example (10.000;20.000). Regards, Bennie -----Original Message----- From: dso...@li... [mailto:dso...@li...]On Behalf Of Bastiaan van de Rakt Sent: 17 January 2005 12:20 To: ''Dsol-java (E-mail)' ' Subject: [Dsol-java] Problems and question Animation Panel/Frame in DSOL Dear DSOL developers and users, I have some problems with understanding the working of the animation panel. I want to set the dimension size of the AnimationFrame (so not the default setting of 600 by 600). Next to that I want to able to set the worldcoordinates visible in the frame. (for example xmin: 10.000, xmax: 20.000, ymin 30.000, ymax 50.000). How does these things work? Then I have some problems with reaction of the grid on my renderable objects, using for example >>public void paint(Graphics2D g, ImageObserver arg1) throws RemoteException{ >> g.setFont(new Font("Arial Narrow", Font.BOLD, 320)); >> g.translate(1.0,1.0); } also the grid numbers of the animation panel turns bold. and also translate methods in a Renderable2D translates the complete gridstructure in the same way. Besides this, I have another question: Is it possible to have another animation panel with a different map/ renderables and a different scale in the same model? Kind Regards Bastiaan van de Rakt ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Dsol-java mailing list Dso...@li... https://lists.sourceforge.net/lists/listinfo/dsol-java |
From: Bastiaan v. de R. <in...@ra...> - 2005-01-17 11:18:35
|
Dear DSOL developers and users, I have some problems with understanding the working of the animation panel. I want to set the dimension size of the AnimationFrame (so not the default setting of 600 by 600). Next to that I want to able to set the worldcoordinates visible in the frame. (for example xmin: 10.000, xmax: 20.000, ymin 30.000, ymax 50.000). How does these things work? Then I have some problems with reaction of the grid on my renderable objects, using for example >>public void paint(Graphics2D g, ImageObserver arg1) throws RemoteException{ >> g.setFont(new Font("Arial Narrow", Font.BOLD, 320)); >> g.translate(1.0,1.0); } also the grid numbers of the animation panel turns bold. and also translate methods in a Renderable2D translates the complete gridstructure in the same way. Besides this, I have another question: Is it possible to have another animation panel with a different map/ renderables and a different scale in the same model? Kind Regards Bastiaan van de Rakt |
From: Bastiaan v. de R. <in...@ra...> - 2004-12-23 16:33:33
|
Hello all, I'm trying to insert my map (multiple layered CAD drawing) for animationpurposes (2d) in my model using the GISRenderable class. I know already that I have to convert the layers of my CAD drawing to shapefiles and then to make a mapfile. I have several shapefiles (.shp) and have the xsd schema( http://cvs.sourceforge.net/viewcvs.py/gisbeans/gisbeans/src/conf/mapfile.xsd?r1=1.1) of the mapfile, but it would help to have a example of a working mapfile (like there is an example of the experiment.xml file in the DSOL tutorial). Does anyone has an example of a simple Mapfile (.xml) which can be given as an argument to the GISRenderable class? Or does anyone know a project which uses the GISRenderable class which I could check out? I hope someone can help me Kind regards Bastiaan van de Rakt |
From: Gerard K. <g.k...@st...> - 2004-12-20 09:44:03
|
In our case (c6) we found out that it's not tallies that don't work. The tallies work but they have nothing to represent, because our patient = don't leave our model. This happened after the new dsol-full-SNAPSHOT.jar we received. Since this version we also get a warning in our logger: (48) 10:40:47 AM WARNING: java.lang.reflect.InvocationTargetException Origin: nl.tudelft.simulation.sne.c6.patients.PatientType4#resume nl.tudelft.simulation.dsol.interpreter.InterpreterException: java.lang.reflect.InvocationTargetException at nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKEVIRTUA= L.e xecute(INVOKEVIRTUAL.java:113) at nl.tudelft.simulation.dsol.interpreter.Interpreter.interpret(Interpreter.= jav a:216) at nl.tudelft.simulation.dsol.formalisms.process.Process.resume(Process.java= :12 3) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at nl.tudelft.simulation.dsol.formalisms.devs.SimEvent.execute(SimEvent.java= :13 0) at nl.tudelft.simulation.dsol.simulators.Animator.run(Animator.java:91) at nl.tudelft.simulation.language.concurrent.WorkerThread.run(WorkerThread.j= ava :88) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKEVIRTUA= L.e xecute(INVOKEVIRTUAL.java:131) at nl.tudelft.simulation.dsol.formalisms.process.PROCESSINVOKEVIRTUAL.execut= e(P ROCESSINVOKEVIRTUAL.java:83) at nl.tudelft.simulation.dsol.interpreter.operations.reflection.INVOKEVIRTUA= L.e xecute(INVOKEVIRTUAL.java:108) ... 8 more Caused by: java.util.ConcurrentModificationException at java.util.TreeMap$EntryIterator.nextEntry(Unknown Source) at java.util.TreeMap$KeyIterator.next(Unknown Source) at nl.tudelft.simulation.dsol.formalisms.Resource.releaseCapacity(Resource.j= ava :211) ... 14 more This warning is given for every patientType. I'm convinced that our = model used to work properly. So I'm also afraid that our new version of dsol = has some sort of bug. Gerard Koekkoek -----Oorspronkelijk bericht----- Van: dso...@li... [mailto:dso...@li...] Namens Akkermans, J.C.J.M Verzonden: vrijdag 17 december 2004 18:37 Aan: ''Dsol-java (E-mail)' '; 'dso...@li... ' Onderwerp: RE: [Dsol-java] 1.6.6 version I'm afraid that version 1.6.6. is the reason that my tallies don't work anymore. The same situation is the case with the group of comparison 6. = With the old version the tallies do work. Joep -----Original Message----- From: Peter H.M. Jacobs To: 'Dsol-java (E-mail)'; dso...@li... Sent: 12/17/2004 1:35 PM Subject: [Dsol-java] 1.6.6 version Hi all, =20 Due to problems while uploading the 1.6.5. version to sourceforge, I have uploaded a new version 1.6.6. This solved the zip error Bastian mentioned. =20 =20 Peter=20 ------------------------------------------------------- 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: Akkermans, J.C.J.M <J.C...@ST...> - 2004-12-17 17:37:19
|
I'm afraid that version 1.6.6. is the reason that my tallies don't work anymore. The same situation is the case with the group of comparison 6. With the old version the tallies do work. Joep -----Original Message----- From: Peter H.M. Jacobs To: 'Dsol-java (E-mail)'; dso...@li... Sent: 12/17/2004 1:35 PM Subject: [Dsol-java] 1.6.6 version Hi all, Due to problems while uploading the 1.6.5. version to sourceforge, I have uploaded a new version 1.6.6. This solved the zip error Bastian mentioned. Peter |
From: Peter H.M. J. <p.h...@tb...> - 2004-12-17 12:35:40
|
Hi all, Due to problems while uploading the 1.6.5. version to sourceforge, I have uploaded a new version 1.6.6. This solved the zip error Bastian mentioned. Peter |
From: Bastiaan v. de R. <in...@ra...> - 2004-12-17 10:09:13
|
Hi all, When I add this new release to my projects (and I add the 1.6.2. src file) and run the DSOL application.class I recieve an error: "fatal exception occured. program will exit". It gives back the following problems: java.lang.ExceptionInInitializerError at nl.tudelft.simulation.dsol.gui.DSOLApplication.<init>(DSOLApplication.java:70) at nl.tudelft.simulation.dsol.gui.DSOLApplication.main(DSOLApplication.java:156) Caused by: java.lang.NullPointerException at nl.tudelft.simulation.dsol.gui.windows.DSOLFrame.<clinit>(DSOLFrame.java:81) ... 2 more Exception in thread "main" What did I do wrong? Kind regards. Bastiaan van de Rakt. Peter H.M. Jacobs wrote: > Hi all, > > > > I have just uploaded a new *minor* dsol release which contains some > extra features but mostly fixes a number of bugs > > > > Please download > http://prdownloads.sourceforge.net/dsol/dsol-full-1.6.5.jar?download > > > > Changes include: > > · License information has changed in code from GPL to LGPL. > > · Model serializability bug fixes. > > · DSOL-GUI navigation is xml-based. > > · Serious performance upgrade in process interaction > formalism. Test show that 2,000,000 processes were concurrently > simulated within 20sec. > > · Bugfixes in discrete emprical distribution, resource > utilization, process interaction synchronization > > · Latest RFEs are included. > > > > Plan for the 1.70 version: > > · Experimentation will change. Steady state will be added > > · Fuzzy library will be added (currently under review) > > > > Peter > |
From: Peter H.M. J. <p.h...@tb...> - 2004-12-17 09:42:46
|
Hi all, I have just uploaded a new minor dsol release which contains some extra features but mostly fixes a number of bugs Please download http://prdownloads.sourceforge.net/dsol/dsol-full-1.6.5.jar?download Changes include: * License information has changed in code from GPL to LGPL. * Model serializability bug fixes. * DSOL-GUI navigation is xml-based. * Serious performance upgrade in process interaction formalism. Test show that 2,000,000 processes were concurrently simulated within 20sec. * Bugfixes in discrete emprical distribution, resource utilization, process interaction synchronization * Latest RFEs are included. Plan for the 1.70 version: * Experimentation will change. Steady state will be added * Fuzzy library will be added (currently under review) Peter |
From: Peter H.M. J. <p.h...@tb...> - 2004-12-14 14:58:51
|
Dear Fred, You are not misunderstanding the concept. To see where stuff goes wrong, I have two questions for you: a) are you using the development code from DSOL's CVS or are you using the stable sourceforge version? b) Could you send me your Process code? I can have a look at it. Kind regards, Peter Jacobs _____ From: dso...@li... [mailto:dso...@li...] On Behalf Of Frederick S. Kuhl Sent: Tuesday, December 14, 2004 3:53 PM To: dso...@li... Subject: [Dsol-java] suspending a Process I'm attempting to use a Process (nl.tudelft.simulation.formalisms.process.Process). I see that the Process code (Process.process()) begins to run in the Interpreter when Process.resume() is called the first time. I believe that the Process.process() method eventually calls Process.suspend(), and that this should cause the Interpreter to set aside the Process's stack and return from the call to resume() in its original caller. However, this doesn't seem to be working. Instead, theInterpreter throws SimRuntimeException. Am I misunderstanding something? Fred Kuhl |
From: Frederick S. K. <fk...@mi...> - 2004-12-14 14:52:50
|
I'm attempting to use a Process (nl.tudelft.simulation.formalisms.process.Process). I see that the Process code (Process.process()) begins to run in the Interpreter when Process.resume() is called the first time. I believe that the Process.process() method eventually calls Process.suspend(), and that this should cause the Interpreter to set aside the Process's stack and return from the call to resume() in its original caller. However, this doesn't seem to be working. Instead, theInterpreter throws SimRuntimeException. Am I misunderstanding something? Fred Kuhl |
From: Bennie T. <B.J...@st...> - 2004-12-05 09:57:10
|
Hi, I got a question regarding the autocomplete function of Eclipse. I notice that sometimes Eclipse's suggestions, when I pres ctrl+space, for the arguments of a method only has the classes and not the argument names (as assign during the method declaration). For example, when I type this.simulator.scheduleEvent() and press ctrl+space, Eclipse gives the following as suggestion: double arg0, Object arg1, Object arg2, String arg3, Object[] arg4. But then I don't know what each argument represents. In the java documentation, these arguments have names and I would thus like Eclipse to rather suggest (as it does sometimes): double relativeDelay, Object source, Object target, String method, Object[] args. Does anyone know how I can set Eclipse to always display complete suggestions? Thanks, Bennie |
From: Bram W. <Br...@We...> - 2004-12-03 02:04:05
|
Dear group, If I put this line in my code: this.lastEntranceTime = this.simulator.getSimulatorTime(); I assign the left value to the right value, so they stay the same. I don't want that. How can I ensure that when I 'run' this line my lastEntranceTime will get the simulator time, but remains constant afterwards? Thanks, Bram Wesselo 06-24222972 Br...@We... |
From: Dirk S. <di...@tb...> - 2004-11-29 08:21:55
|
Joep, I think you're asking two different questions: Q) Where can I find the DSOL source code? A) You can check it out from the sourceforge CVS; see DSOL project and http://sourceforge.net/cvs/?group_id=77699 Q) How do I measure a transit time? A) See our model; comparison 2. We measure the transit-time of containers in our system. (we call it throughput time). Have a look at the code at the bottem of ModelC2.java and our StatisticsListener.java. Success, Dirk -----Original Message----- From: dso...@li... [mailto:dso...@li...]On Behalf Of Akkermans, J.C.J.M Sent: vrijdag 26 november 2004 17:26 To: 'dso...@li... ' Subject: [Dsol-java] Measuring the transit time Hello, For our model we have to measure a certain transit time. In order to do that I want to use nl.tudelft.simulation.event.EventType The problem is that I cannot find the open source. Has anyone an idea how to measure this transit time? Thanks, Joep ------------------------------------------------------- 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: Akkermans, J.C.J.M <J.C...@ST...> - 2004-11-26 16:26:25
|
Hello, For our model we have to measure a certain transit time. In order to do that I want to use nl.tudelft.simulation.event.EventType The problem is that I cannot find the open source. Has anyone an idea how to measure this transit time? Thanks, Joep |
From: Fu C. <col...@ho...> - 2004-11-25 13:42:59
|
Hi everyone I still got the problem in my model. The dsol Logger shows that nullPointerException in the line 144 of my Factory class. Here are the code of line 144: this.inventory[(int)productType.draw()]=this.inventory[(int) productType.draw()]+1; But Acually I already initialize inventory array and productType in the constructor of Factory class. I guess the problem might be productType cuz I use "switch"-"case" to initialize the productType. Following are the codes switch(factoryNumber) { case 1: this.productType=new DistDiscreteUniform(stream,0,5); break; case 2: this.productType=new DistDiscreteUniform(stream,6,11); break; case 3: this.productType=new DistDiscreteUniform(stream,3,8); break; case 4: this.productType=new DistDiscreteUniform(stream,1,8); break; default: } Can any one help me? My model is comparison 14 on CVS. Loek, last time your suggestion is correct.Thanks. Kind Regards Hualiang |