In my model I use time measurements to calculate the waiting time of an order (see figure 1). Now I want to add the value of this waiting time for a specific agent in the agent parameter waiting time, but I've no clue how to exactly do that, what I've currently have is shown in figure 2, but this is ofcourse not working since I'm connecting to the measureEnd block and not the specific time.
Putting Time Measurement in agent parameters
247 Views Asked by Aron T. At
1
There are 1 best solutions below
Related Questions in ANYLOGIC
- Connecting to a MySQL db with the anylogic objects
- Convert ESRI Shapefile to (lat, long) points for each region
- Anylogic: Local Database Connection
- Dynamically Changing Distribution in AnyLogic
- Can I split a single agent into multiple ones in an AnyLogic split component?
- AnyLogic, custom resource choice among resource sets
- How to open an agent' view area on startup?
- How to duplicate a population of agents
- about depicting a variable (Sum) in Anylogic
- Getting the current Experiment instance at runtime
- Calculating the area of a shapefile
- Marking an Agent as abstract?
- Change @author name in AnyLogic
- How to declare a sort function in Java / Anylogic?
- A question about seizing more than one ressource in Anylogic
Related Questions in TIME-MEASUREMENT
- Time slowed down using `S.D.Stopwatch` on Azure
- Questions on Measuring Time Using the CPU Clock
- Measure long elapsed time (with reboots) on Android
- What is the most efficient, "cheap" and accurate way to measure time in Java in resolution of microseconds?
- How to measure multithreaded process time on a multitasking environment?
- How can I measure time duration of memory allocation in C++?
- Anylogic Time measure in system
- Putting Time Measurement in agent parameters
- Measure execution time in different languages
- System.currentTimeMillis() returns 0 (zero)
- chrono give different measures at same function
- R: How to recode a wide data frame with repeating variables (time) into to long data?
- Huge differences in implementations?
- How to calculate process memory without shared libs in *nix?
- Delay added to sound
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?


timeMeasureEndis a block that has a dataset in it which you can access by using:This is where your individual agent data is stored.
But for your case, my preferred way would be to add a variable of type double for your agent, let's say you name it
timeStart. Then, in the "On Enter" field ofseizeTransportertype:On the "On Exit" field type: