|
From: Hendy G. <h.g...@st...> - 2004-10-16 09:34:29
|
Hi all,
=20
Our project's name is BenHenMan Trial 1. We try to make a model of =
flowing
products or customers through many servers.
We try to use as clear comment as possible so hopefully anyone can
understand the model quickly.
We will like to use counter. The command lines for counter can be seen =
in
class Model, near the bottom, in statistics part.
The problem is that we do not know if our commands are correct. We think =
not
because the simulator did not run the model correctly after we added the
lines.
If the lines were deleted, the model could be run just fine.
If any of you has suggestion, it will be very great.
=20
Here is the error statement we saw in the dsol logging:
=20
21) 10:19:26 PM WARNING: For input string : "0.0"
Origin: nl.tudelft.simulation.dsol.formalisms.flow.Release#receiveObject
java.lang.NumberFormatException: For input string: "0.0"
at java.lang.NumberFormatException.forInputString(Unknown
Source)
at java.lang.Long.parseLong(Unknown Source)
at java.lang.Long.<init>(Unknown Source)
at
nl.tudelft.simulation.jstats.statistics.Counter.notify(Counter.java:116)
at
nl.tudelft.simulation.dsol.statistics.Counter.notify(Counter.java:122)
at
nl.tudelft.simulation.event.EventProducer.fireEvent(EventProducer.java:21=
2)
at
nl.tudelft.simulation.event.EventProducer.fireEvent(EventProducer.java:23=
9)
at
nl.tudelft.simulation.event.EventProducer.fireEvent(EventProducer.java:43=
5)
at
nl.tudelft.simulation.event.EventProducer.fireEvent(EventProducer.java:34=
5)
at
nl.tudelft.simulation.dsol.formalisms.flow.Station.releaseObject(Station.=
jav
a:84)
at
nl.tudelft.simulation.dsol.formalisms.flow.Release.receiveObject(Release.=
jav
a:78)
at
nl.tudelft.simulation.dsol.formalisms.flow.Station.releaseObject(Station.=
jav
a:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native =
Method)
at sun.reflect.NativeMethodAccessorImpl.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=
:14
1)
at
nl.tudelft.simulation.dsol.simulators.Animator.run(Animator.java:100)
at
nl.tudelft.simulation.language.concurrent.WorkerThread.run(WorkerThread.j=
ava
:85)
Best regards,
Hendy
=20
|