PDA

View Full Version : FlexSim 6 Beta


Phil BoBo
02-02-2012, 03:31 PM
FlexSim 6 Beta is available. If you would like to check out the new features and help us test it, you can get it from the Account section of the website.

Please post any bugs/issues you find (please no new feature requests) to this thread


================================================== =============================
Release Notes

--- Flexsim 6.0.0 (February 2012) ---
* Enhanced the experimenter to use multiple cores.
* Added a new web browser GUI widget.
* Added a new Dashboard window with HTML5 canvas statistics graphs.
* Redesigned the experimenter interface to integrate the new statistics objects.
* Added new experiment variable options "number of objects in group" and "number of task executers."
* Developed web accessibility: Opening, configuring, running, and viewing models over the web (using a web browser or handheld device).
* Added a new AutoCAD dwg importer.
* Added model units and conversion windows. When building a new model, a screen will ask you what model units you will be using. When updating an old model, a screen will ask you what model units were used to build the old model. These settings are stored in the Tools folder of the model.
* Modified the picklist and trigger gui widgets to be easier to use.
* Created a new node datatype (DATATYPE_BUNDLE) for storing large amount of information efficiently (see documentation of bundle commands).
* Implemented a way to package media (3d shapes and bitmaps) into the model file so that you only need to distribute one file instead of a whole directory of files.
* Added an embedded command documentation window that can be opened by highlighting a command and pressing F1 in the code window or tree view.
* Added a Flexscript call stack to the debugger.
* Added a step-in function for Flexscript user commands and nodefunctions in the debugger.
* Added a logic builder interface for writing Flexscript logic without writing code. (You can change the default editor back to Code by unchecking 'File > Global Preferences > Environment > Use Logic Builder by Default'.)
* Enhanced the flexibility of pull logic and added a new pullitem() command for use in the Pull Strategy trigger.
* Improved templates to allow for popup gui windows on pick list options.
* Added a mechanism for multiple state profiles.
* Changed tables to always show the headers despite scrolling.
* Fixed a bug that was messing up the save operation when out of memory.
* Toggled the large-address-aware switch so that Flexsim can allocate more memory.
* Added floor() and ceil() commands.
* Added a switch for hashing the node's subnodes' names for quick lookup.
* Added a right-click menu option in the Labels tab so that labels' values are set on reset. This option is checked by default.
* Other various fixes from the development list.

**backwards compatibility note: the following changes may slightly change the way updated models behave**
* Fixed a critical bug in curved network length calculations.
* Fixed issues with gettenetnode() and distancetotravel() on TEs that use "do not travel offsets and block network space."
* Made a change to distancetotravel() to base the "back-to-node" distance on the center of the object instead of the object's location.
* Changed pulling to no longer override the send-to. Now both send-to and pull must check out to transfer a flowitem.
* Changed receiveitem() so that it doesn't behave as if it were pulling.
* Made the Rack's OnEntry trigger fire before evaluating the dwell time.
* Explicitly set the processor float rounding mode for consistent results in compatibility mode.

Cao Guoquan
02-05-2012, 08:03 PM
Hi Phil,
When add/edit the triggers,The edit view covers the Edit button.
So,some will habitually select the wrong button above.

http://www.flexsim.com/community/forum/attachment.php?attachmentid=1646&stc=1&d=1328496054


I guess it will be better to change the default width of the view as follow.

http://www.flexsim.com/community/forum/attachment.php?attachmentid=1647&stc=1&d=1328496274
Similar to the 5 version.
http://www.flexsim.com/community/forum/attachment.php?attachmentid=1648&stc=1&d=1328497207

shivrash
02-05-2012, 11:37 PM
I too agree with Cao..

Also provide the options to edit the code as Flexsim 5...

Lars-Olof Leven
02-06-2012, 12:03 AM
Hi shivrash,

You can still use the old way to edit code.

See this point in the release note:
* Added a logic builder interface for writing Flexscript logic without writing code. (You can change the default editor back to Code by unchecking 'File > Global Preferences > Environment > Use Logic Builder by Default'.)

Lars-Olof

Ben Wilson
02-07-2012, 02:32 PM
Found a couple of bugs.

do the following to duplicate a rack problem:

1) drag out a rack
2) go to the size table tab
3) push apply
4) view the weirdness (bay width and level location say "object" - who knows what else is happening)

next issue, node save as:

1) right click an object in the tree
2) node>save node as..
3) choose to save as xml
4) get the following error:

Saving was unsuccessful. You may not have permission

to change the file, or you may be out of memory.

LINWEIXU
02-07-2012, 08:28 PM
how to "Developed web accessibility: Opening, configuring, running, and viewing models over the web (using a web browser or handheld device)." I do not find it in user manual.

syseo
02-08-2012, 07:25 AM
When making the time table expanded to drag the right bottom corner, the grid panel covers the fields like attached captured file.

Lucie Lerivrey
02-08-2012, 07:26 AM
Hi,

The new version is looking really good. Thanks a lot!

I found a little dug or didn't find how to do something, in the dashboard, you create costum variables, I didn't find how to modify the costum variable in the Dashboard interface. I had to delete it and create a new one with the modification.

Phil BoBo
02-08-2012, 09:40 AM
I found a little dug or didn't find how to do something, in the dashboard, you create costum variables, I didn't find how to modify the costum variable in the Dashboard interface. I had to delete it and create a new one with the modification.

You can double-click a dashboard widget to reopen its Properties window. You can also right-click and select Edit Graph Settings.

Cao Guoquan
02-08-2012, 08:21 PM
Flexscript Code Profile bug

It will always trigger the breakpoint in VIEW & MAIN when enable the Flexscript Code Profile. Such as click the Reset button on Panel,open the Object’s Properties and so on.

syseo
02-09-2012, 12:23 AM
When adding and editing MTBF MTTR Time table, the edit button is not activated.

Any response does not happen.

Lucie Lerivrey
02-09-2012, 04:51 AM
The problem is in the widgets property window, in the "Statistics" tab, I didn´t find how to go back the edit windows that appears when you select Custom statistic, it should also be posible to edit the code of a standard statistic, I guess. I attached a screenshot of the window.

Danny Pavan
02-10-2012, 08:53 AM
There is an issue with the Experimenter Scenarios Tab. When choosing the variable, if you select Object Label, when it comes to selecting the object, the scroll down list does not allow you to see the right part of the name that extends beyond the width of the scroll window. I haven't found a way to expand the width of the scroll window.

Danny Pavan
02-10-2012, 09:18 AM
The new functionality of the labels resetting themselves is really nice as it eliminates the need for code in the OnReset trigger.

I have encountered a problem when using the experimenter. If one of the experiment variables is an object label, the experimenter can't manipulate the value of the label if the labels are set to auto reset.

To use the label in the experiment, I need to go to the object, turn off the auto reset for the labels and then add code in the OnReset trigger to reset the values of the non-experiment labels.

Can't the experimenter manipulate the label values after they have been autoreset?

JMEngelhart
02-10-2012, 12:05 PM
I like what I see so far. We need to get our Dynamo libaries updated since the way they handled model units was different an conflicts.

Additional things I would still like to see:
1) Recent Files list (Under the File menu)
2) Under Edit Selected Objects -Copy from Highlighted - Variables
- It would be really nice to see the variable grouped. Even if it was only by the tab of the object, it would make locating them in the list Sooo much faster. Expecially when you are using one that you don't use regularly.

Incredible amount of work you did on V6. Can't wait to use the new AutoCAD interface.
Jim

JMEngelhart
02-10-2012, 12:16 PM
Of course, there is always "one more thing".
I would love a way to link things together so that they move as one object similar to how they do when selected (red).

For example. I have a series of conveyors. Once I have them all connected and in position, if I move one, I want the entire group of them to move so that they stay in the correct relationship to each other.

Oh, and world peace...

Jason Lightfoot
02-11-2012, 04:55 PM
If you find and replace strings with an empty string (to perform a delete) Flexsim hangs when trying to open the listed code edits.

thill
02-13-2012, 02:07 PM
Found a couple of bugs so far.

The default fluid units is not being saved when set in the global preferences.

If you add any control to the dashboard and then click on control. It appears to put another control in its place or over the top of it. See the attachment for an image of the result. In the image a State Bar was added, but it seems to happen with any control.

thill
02-13-2012, 03:02 PM
A similar control issue that occurs in the Dashboard (see my previous post) is occurring with the new F1 command help feature. Looks like both issues may be related to the new web browser control.

Daniele Sasia
02-14-2012, 03:23 AM
I found some issues in the experimenter.

When I select the option “Save state after each replication” (in the Experiment Run tab), many of the times only few runs are simulated and the experiment is not completed (I have a 4-core processor and only the first 4 replications are correctly executed, then the experimenter stops). However in the model directory I found all the state files, even those related to the replications which have not been executed.

I also tried to write some code in the experiment trigger (Advanced tab) but I realize that my instructions are not executed. Moreover some times, when I close and reopen the experiment GUI, the code disappears.

Thank you all!

Flavio Brito
02-14-2012, 08:42 AM
Hi,

Here is a problem from the last version. If I try to choose other connection type between paths by right click in the arrow and choose the option, it works well. But if I try to change it by dropdown box in the properties of NN, it doesn't work. The same happen if I try to change it directly in the node "type" of which connection in tree!

Attached is the model.

Best Regards.

Flavio.

Ben Wilson
02-15-2012, 12:33 PM
Here is a bug wherein you can't start a new model after having run a loaded model to an error. View the video for the details to replicate it.

http://screencast.com/t/pKXV3sCMW19s

I can send you the model I used so that you can replicate this error.

JMEngelhart
02-15-2012, 01:05 PM
When you rotate an object by clicking the arrows in V5.x it rotates in 15 degree increments. In V6 it is 1 degree.
I prefer the 15 degree increments.
Not a bug, just a change.

Danny Pavan
02-15-2012, 01:56 PM
Bug introduced with V6 into the Flexsim Users Manual.

Under the chapter heading "Command Reference":

Category Reference does not display the command details by category as it did in V5.

In V6, there isn't a difference between clicking on "Category Index" and "Category Reference"

JMEngelhart
02-24-2012, 07:16 AM
Any chance you will add the Error Checking (check mark box) to the GUI the same as to the regular code windows? It would be a big time saver.

Danny Pavan
02-24-2012, 07:30 AM
The "Experimentation Report" that can be generated from the Performance Measures Results window is a nice report. A problem with it is it that it lists Number of Scenarios, Number of Replications Per Scenario, & Warmup Time at the top of the report but it doesn't print the "Run To Time" specified for the Experiment Run

Phil BoBo
02-24-2012, 09:48 AM
Any chance you will add the Error Checking (check mark box) to the GUI the same as to the regular code windows? It would be a big time saver.

The logic builder automatically does syntax checking without needing to push a button. If you have syntax errors in the logic builder, then it shows a yellow triangle warning symbol in the upper-right corner of the window with a count of how many syntax errors you have.

Additionally, it shows that same icon on each line with a problem. If you hover over that icon, then the popup tells you what the problem is.

Hao Zhou
02-24-2012, 11:05 AM
User Event interface has a small problem. When I create a new user event, change the name, and clock "Apply", the name cannot be changed automatically in the left-side user event list. I have to close the user event window, and reopen it, and find the name is really changed.

But it is a small problem anyway, we have the same problem in Flexsim 5.

Lucie Lerivrey
02-26-2012, 11:34 AM
Hi everyone,

Regarding the tracked variables, I didn´t find anything in the help menu, so I´m not sure how they work and how to configure new ones. I think it would be useful to add something about them since it is new.

On the other hand, I couldn´t find the watch variable tool. Did it disappear from this new version?

Thanks!

Phil BoBo
02-27-2012, 08:30 AM
Yes, we removed the watch variable tool. It was really slow and inefficient. With the new listener mechanism in version 5, watch variables became obsolete. Look at the documentation for listenerinfo() to see how to use the new, efficient listening mechanism. Old models with watch variables will still work the same way; we just removed the menu option for adding new ones.

Tracked variables have two commands: settrackedvariable() and gettrackedvariable()

Whenever settrackedvariable() is called, a record is recorded of the time and the variable's new value. You can then see a graph of these values using the Dashboard.

WIP and TimeInSystem are two variables that are automatically tracked by the objects using the above commands whenever items are created or destroyed.

Flavio Brito
02-28-2012, 06:24 AM
When I reselect an option in dropdown box "Down Function" or "Resume Function" it doesn't declare the access variables: "downobject", "state", "downtime" (Down Function only) and "membercoupling" (Down Function only).

The same happen with variable "involved" into "First Failure Time", "MTBF" and "MTTR".

JMEngelhart
02-28-2012, 08:15 AM
I know it is way past new features time, but in a future version, it would sure be nice to have the ability to Mirror an Object.
ie: We often have lines that are mirror images of each other. If I have a casepacker that is laid out one way, I would love to be able to click on it and say "Mirror on X" or "Mirror on Y" and have it be a mirror image of the visual.

Feel free to add this in to the V6 release and impress the heck out of me. :)

JMEngelhart
02-28-2012, 08:16 AM
You may yet be my Hero!

Phil BoBo
02-28-2012, 09:17 AM
I know it is way past new features time, but in a future version, it would sure be nice to have the ability to Mirror an Object.
ie: We often have lines that are mirror images of each other. If I have a casepacker that is laid out one way, I would love to be able to click on it and say "Mirror on X" or "Mirror on Y" and have it be a mirror image of the visual.

Feel free to add this in to the V6 release and impress the heck out of me. :)

How about we add this feature back in version 4? See attached screenshot.

If you just want to mirror the 3d shape, change the SX or SY shape factor to negative.

Phil BoBo
02-28-2012, 04:38 PM
In preparation for the final release soon, we have released another beta available in the login section of the website. You will need to uninstall the previous beta before installing the new beta.

All of the bugs brought to our attention should be fixed in this new beta. Please let us know in this thread of any bugs you find.

NOTE: The previous beta has a bug with the uninstaller. It doesn't correctly remove the Flexsim6\program\flexsimweb directory. You should manually delete that directory after uninstalling the previous beta. If that empty directory remains, the dashboard statistics won't be displayed correctly.

Jason Lightfoot
02-28-2012, 05:29 PM
Still see this in beta3:

If you find and replace strings with an empty string (to perform a delete) Flexsim hangs when trying to open the listed code edits.

Jason Lightfoot
02-28-2012, 05:51 PM
If you zoom far out with a 3Dmouse, click in the view and then click the window positioning top bar of the 3D view - then when you zoom back in into the model (without clicking the mouse in the view), the viewnear value can have higher value than normal (4metres) at ground level and close to the objects, causing too much clipping.

Jason Lightfoot
02-28-2012, 06:07 PM
"Step Into" at the end of code in the debugger still goes into OnContinueDebugger (particularly if the last line is blank?)

mgiubilato
02-29-2012, 03:02 AM
Still in Beta 3 some issues on Experimenter :
- Perfomance Measure trigger is not accepting any flexscript code change (simply is not stored).
- Sometimes Performance Measure "Name" and "Label for Y Axis" are lost, mainly when the model is stored with Experimenter' s GUI open and a Performance Measure Selected and then re-opened.
- Same for any trigger on the "Advanced" tab : if available picklist are choosen, trigger code show the newly added flexscript, if you try to make manual modification on the code they' re are lost.
- "Run to Time" and "Warmup" parameters are inconsistent with model units : in the attached model they' re set to 36000 and 3600 (minutes), the model 's time unit is minutes, but if you run experimenter and print on the console the simulation data (with "Start Of Replication", "End Of Warmup", "End Of Replication" triggers) we got the following :

Start of Run
Current Time (mins)=0.000000
Current Run of Scenario=1.000000
Current Scenario=10.000000
End of Warmup
Current Time (mins)=60.000000
Current Run of Scenario=10.000000
Current Scenario=1.000000
End of replication run
Current Time (mins)=600.000000
Current Run of Scenario=10.000000
Current Scenario=1.000000

The replication simulated time has been divided by time units.

- "Start Of Experiment" and "End Of Experiment" trigger are never called.

- When using, as Experiment variable, "Number Of Taskexecuters" it seems that Flexsim renames some of these TE. It will create errors when the model' s logics will identifiy these TEs with their name. I didn' t check the other options, such us "Number Of Objects in Group". Automatic object name changes, in Experimenter, have to be avoided, IMHO.

- It is not possible stop Experimenter to a completed replication and then restart from that point, which is very useful when PC crashes and experimenter campaign last several hours, if not days.

- It is not possible debug any of the experimenter trigger (out of printing console messages).

- It is not possible write back simulation data into a Global Table (for example for a summary report) or any treenode / data node.

See the attached Test Model

Regards

mgiubilato
02-29-2012, 03:05 AM
Visual Tool is not affected from the set object' s reset position.

Jason Lightfoot
02-29-2012, 03:18 AM
Start of Scenario has been removed from the experimenter GUI, but the code is kept in the tree. Shouldn't we be calling this if the scenario number is changed from the last scenario that was run? (and also on the GoTo Scenario selection).

mgiubilato
02-29-2012, 03:26 AM
Group 's Performance Measure are not returning any results.
(I' m guessing this is an already known problem)

Flavio Brito
02-29-2012, 12:24 PM
Hi,

Here is a problem from the last version. If I try to choose other connection type between paths by right click in the arrow and choose the option, it works well. But if I try to change it by dropdown box in the properties of NN, it doesn't work. The same happen if I try to change it directly in the node "type" of which connection in tree!

Attached is the model.

Best Regards.

Flavio.

Hi Phil, this problem wasn't fixed yet!! Obs: Just change the Connection type to "No Connection" (do it by properties window, not by right click on arrow) and run the model.

I would apreciate if you check it please!!

Let me know if you didn't undesrtand the problem!!

Obs: The model was saved on FlexSim6.

Best Regards.

Flavio Brito

Phil BoBo
02-29-2012, 12:59 PM
Hi Phil, this problem wasn't fixed yet!! Obs: Just change the Connection type to "No Connection" (do it by properties window, not by right click on arrow) and run the model.

I would apreciate if you check it please!!

Let me know if you didn't undesrtand the problem!!

Obs: The model was saved on FlexSim6.

Best Regards.

Flavio Brito

This appears to just be a caching problem on this particular model. It is working fine in a new model, and by slightly moving any of the network nodes in this model, then it starts working properly again.

Phil BoBo
02-29-2012, 01:04 PM
Start of Scenario has been removed from the experimenter GUI, but the code is kept in the tree. Shouldn't we be calling this if the scenario number is changed from the last scenario that was run? (and also on the GoTo Scenario selection).

StartOfScenario code isn't added in a new model. It is preserved in the tree in upgraded models so that you don't lose any code you may have written in the prior version.

By making the experimenter asynchronous, Start of Scenario has no more meaning than Start of Replication where replication == 1.

What are you trying to do in the Start of Scenario code that requires a separate trigger from Start of Replication?

Phil BoBo
02-29-2012, 01:08 PM
If you zoom far out with a 3Dmouse, click in the view and then click the window positioning top bar of the 3D view - then when you zoom back in into the model (without clicking the mouse in the view), the viewnear value can have higher value than normal (4metres) at ground level and close to the objects, causing too much clipping.

I was able to duplicate this issue once after much effort to do so. But then it resolved by panning and zooming around for a little bit with the normal mouse.

Do you experience the same resolution with a normal mouse? Can you duplicate this issue more easily than I can (by virtue of the type of 3d mouse you have)?

Phil BoBo
02-29-2012, 01:24 PM
Still in Beta 3 some issues on Experimenter :
- Perfomance Measure trigger is not accepting any flexscript code change (simply is not stored).
- Sometimes Performance Measure "Name" and "Label for Y Axis" are lost, mainly when the model is stored with Experimenter' s GUI open and a Performance Measure Selected and then re-opened.
- Same for any trigger on the "Advanced" tab : if available picklist are choosen, trigger code show the newly added flexscript, if you try to make manual modification on the code they' re are lost.
- "Run to Time" and "Warmup" parameters are inconsistent with model units : in the attached model they' re set to 36000 and 3600 (minutes), the model 's time unit is minutes, but if you run experimenter and print on the console the simulation data (with "Start Of Replication", "End Of Warmup", "End Of Replication" triggers) we got the following :
Start of Run
Current Time (mins)=0.000000
Current Run of Scenario=1.000000
Current Scenario=10.000000
End of Warmup
Current Time (mins)=60.000000
Current Run of Scenario=10.000000
Current Scenario=1.000000
End of replication run
Current Time (mins)=600.000000
Current Run of Scenario=10.000000
Current Scenario=1.000000

The replication simulated time has been divided by time units.


Thanks for pointing out the issues above. We'll fix them.


- "Start Of Experiment" and "End Of Experiment" trigger are never called.


Yes they are. They are called in the main Flexsim window, not a child process.


- When using, as Experiment variable, "Number Of Taskexecuters" it seems that Flexsim renames some of these TE. It will create errors when the model' s logics will identifiy these TEs with their name. I didn' t check the other options, such us "Number Of Objects in Group". Automatic object name changes, in Experimenter, have to be avoided, IMHO.


If you are referencing TEs by name, then don't use that option. If you are using that option, then don't reference those TEs by name. This isn't a development problem. The current implementation is an excellent, simple solution for quickly changing the number of task executers connected to a dispatcher. You can see what it is doing exactly by setting the model to a specific scenario as well. I don't see any reason to change how this works. It is an excellent feature, and if you don't like how easy it is, then you can continue doing it the old, difficult way and not use this new feature.



- It is not possible stop Experimenter to a completed replication and then restart from that point, which is very useful when PC crashes and experimenter campaign last several hours, if not days.


This is a valid concern that was resolved previously using "save state after each replication," but which no longer has a great solution. I'll discuss this with Anthony and see what we should do about it.

You can currently break up an experiment into pieces and then merge the results. You should test around with the Export/Merge Results button to see how that works.



- It is not possible debug any of the experimenter trigger (out of printing console messages).

- It is not possible write back simulation data into a Global Table (for example for a summary report) or any treenode / data node.

Noted. Both of these issues are more feature-requests than bug-fixes and can be added in a future version. Reasonable workarounds are available right now using the existing functionality (print statements and storing information in the performance measures node). The time and effort required to develop solid solutions for these limitations isn't worth delaying the 6.0 release. We can implement simpler solutions in a future release and use the existing functionality in the mean time.


Thanks for the feedback.

Jason Lightfoot
02-29-2012, 03:06 PM
I was able to duplicate this issue once after much effort to do so. But then it resolved by panning and zooming around for a little bit with the normal mouse.

Do you experience the same resolution with a normal mouse? Can you duplicate this issue more easily than I can (by virtue of the type of 3d mouse you have)?

I have one model where it happens 75% of the time, but in a new model with only a few objects I'm also finding it difficult to reproduce.

Jason Lightfoot
02-29-2012, 03:22 PM
StartOfScenario code isn't added in a new model. It is preserved in the tree in upgraded models so that you don't lose any code you may have written in the prior version.

By making the experimenter asynchronous, Start of Scenario has no more meaning than Start of Replication where replication == 1.

What are you trying to do in the Start of Scenario code that requires a separate trigger from Start of Replication?

Okay Phil we can record the last scenario run ourselves and if an action is needed when we change scenario we can detect it in the start of the run.

Btw. The experimenter parameters for the triggers are the reverse of the childstart parameters and give the wrong values. (replication is scenario, and scenario is replication).

Phil BoBo
02-29-2012, 04:11 PM
Yeah, I noticed that as well. It's fixed now.

mgiubilato
03-01-2012, 06:24 AM
- Take a simple media file and store a Flexsim model with "Embed Media with Models" checked.
- Move the Flexsim file into another PC and then open it.
- Uncheck "Embed Media with Models" : all embedded media are lost.

I 'm guessing that a embedded media export function is needed and missing, actually.
It should extract all the embedded files into a folder.

See Attached Example

mark.gormley
03-01-2012, 08:20 AM
It is not possible write back simulation data into a Global Table (for example for a summary report) or any treenode / data node.




Noted. Both of these issues are more feature-requests than bug-fixes and can be added in a future version. Reasonable workarounds are available right now using the existing functionality (print statements and storing information in the performance measures node). The time and effort required to develop solid solutions for these limitations isn't worth delaying the 6.0 release. We can implement simpler solutions in a future release and use the existing functionality in the mean time.


Can you please provide us with some more information regarding collecting tabular data across multiple replications? We cannot see an obvious way to reproduce the current functionality (of writing to a global table) using the performance measures method you suggested.

We currently write out these tables (which contain results for all replications) using exportable at the end of a scenario. This could not be changed to write out results at the end of a replication without naming each file uniquely depending on the replication number. This would then make the results data much harder to process externally (e.g. importing into Excel to compare results across replications).
<O:p</O:p
Thanks<O:p</O:p

Jason Lightfoot
03-01-2012, 08:43 AM
Mark, look in the project/exec/replications/PerformanceMeasures node where it suggests that you need to place any other non-PFM data in the experiment folder, which gets passed back to the parent. Is that what you tried already? I think you then need to customize that PerformanceMeasures code in the second part in order to interpret the data structure you've created within the experiment folder. You could copy the whole globalTables folder and restore it from that code back into the model.

Phil, maybe we need a hook into a trigger in the model's experimenter to perform some custom data consolidation, which would save us from needing to overwrite the PerformanceMeasures node when the model is loaded? Or is one there already that I've missed?

Jason Lightfoot
03-01-2012, 09:25 AM
Here's an example of gathering global table information

Daniele Sasia
03-01-2012, 09:28 AM
Flexscript code X += 2; is properly block converted.
Statement X -= 2; gives a wrong block conversion result.
See image

Daniele Sasia
03-01-2012, 09:31 AM
Does anybody know how the new Pull Logic works and Multiple states profile work?

mgiubilato
03-01-2012, 09:42 AM
Just a few questions :
- Is it possible disabling it as default ?
- Actually when this option is checked/unchecked all the object' s labels follow the same behaviour, is it possible have independent settings for labels ?
- When label' s reset value is set, after or before object' s OnReset ?

Regards

mgiubilato
03-01-2012, 09:45 AM
Here's an example of gathering global table information

Jason Excellent !!!
How does it work ?

Jason Lightfoot
03-01-2012, 09:57 AM
How does it work ?


It's already partially catered for in the exec/replications/PerformanceMeasures logic, but as that's standard Flexsim and outside the model we need to overwrite it (for now). So ModelOnLoad copies a custom PerformanceMeasures node from the /Tools folder into the exec location. I used the standard EndReplication to copy the data you want into the /Tools/Experiment folder which is passed into the PerformanceMeasures code. The custom code to interpret the table and move it is right at the end of the PerformanceMeasures code (one line).

Since we don't want to maintain copies of PerformanceMeasures in the model, it would be better if there was a trigger in the model experimenter that gets called from PerformanceMeasures when it's passed the experiment folder from a child replication. It would need to pass in a pointer to the returned experiment folder. Heck I should have just put that into this example in the first place!

mark.gormley
03-02-2012, 07:08 AM
Here's an example of gathering global table information


Thanks for that Jason, really good.

I do however think that this functionality should be included by default.
It is a feature of the software that currently exists as standard and has now been removed.

Perhaps we could have some way of flagging tables that collect results and need to be merged at the end of an experiment to produce combined results?

Jason Lightfoot
03-02-2012, 08:00 AM
I do however think that this functionality should be included by default.
It is a feature of the software that currently exists as standard and has now been removed.

I'll put something together this weekend and send it to Phil and Anthony for consideration. I'm sure they have plans for this in the next release, but we probably need the basics in place, which I might be able to anticipate and implement.

Danny Pavan
03-02-2012, 09:59 AM
This one is minor in terms of things that were lost in the new version but it would be nice to have it fixed.

The previous versions used the old Flexsim logo as a nice Windows icon for the model files. V6 has a white rectangle with a tiny, faint version of the new Flexsim logo.
Can the Windows model icon be a large version of new Flexsim logo without the white background?

Hao Zhou
03-05-2012, 02:40 PM
Hi Phil,

I have two questions:

1. Is it possible to add a functionality which can repeat randomness after simulation run not before.

2. Is it possible to add a functionality on "disconnect dll" and let this button disconnects OnDraw trigger also. You may also add a hotkey for dll disconnection in order to save some time for dll debugging.

Thanks,
Hao

Phil BoBo
03-05-2012, 04:11 PM
1. Is it possible to add a functionality which can repeat randomness after simulation run not before.


Not right now.


2. Is it possible to add a functionality on "disconnect dll" and let this button disconnects OnDraw trigger also. You may also add a hotkey for dll disconnection in order to save some time for dll debugging.

Add a Custom Button to your User Toolbar to do what you want. The commands you want to use are mainmenucommand("View|Disconnect DLLs"); and suspenddraw()

Flavio Brito
03-08-2012, 08:03 AM
Hi Phill,

I converted an model from 5 version and a bug was encontred to convert model units of fields Acceleration and Deceleration. But after I to be closed and reopen FlexSim it worked well, I don't know why!!

Flavio Brito.

Flavio Brito
03-08-2012, 10:17 AM
Only a small detail. If the model units is defined as meters and minutes, all variables of TE are changed automatically (speed, acceleration, deceleration, etc.), but the Lift Speed of Transporter is kept 1 meter per minute.Probably this speed isn't compatible with real life!

mgiubilato
03-09-2012, 02:27 AM
When you reset 3D shape factors this following message appears on compiler console :
Warning VIEW:/active/ProcessorParameters298640160/tabcontrol/General/Appearance/Reset>OnPress line 2 Invalid type for parameter 1 in call to not(). Expecting type num/node. Type is none.

Phil BoBo
03-09-2012, 05:59 PM
The Flexsim Version 6 Release Candidate 1 (RC1) is available for download.

Unless something critical comes up, we are going to release this version as the final version next week.

Please send any new bug reports or feature requests to our development list by emailing dev at flexsim . com (without the spaces).

Flavio Brito
03-12-2012, 06:20 AM
Hi Phil,

In a simple model only with one source, one queue, one processor and one sink, on Full Report generation from Reports and Statistics, the follow message was showed in Compiler Console:

"Warning VIEW:/active/ReportsAndStats157549392/tabs/Full Report/Generate Report>OnPress line 27 Invalid type for assignment operation on res. Expecting type num. Type is none."

Flavio Brito

Daniele Sasia
03-12-2012, 09:02 AM
I inserted a Breakpoint in the Experimenter EndOfReplication trigger and I realize that, when it is executed by the Parent process, the debugger starts and it is possible to debug the code. But when the experiment ends some replications remain stuck and it is not possible to run again the experimenter, unless you close and reopen Flexsim (moreover the processes related to the blocked replications remain inactive in the Task List and do not disappear even if you close Flexsim).

Esther Bennett
03-13-2012, 04:13 AM
For me the experimenter doesn't seem to do anything. No multiple scenarios or replications are run. The display message at the start of a replication doesn't show, etc.

Esther

Flavio Brito
03-13-2012, 08:48 AM
Hi,

On attached model there a simple model which the operator is up to transport flowitens from Queue2 to Queue3 by NN with a Virtual distance of 10000, the velocity of operator is 120 as default.

By TimeTables, the operator work at first 15 minutes, go into a down time, and resume 15 minutes after.

On resume, operator ignore the virtual distance!! The same problem was found on last version!!

Best Regards.

Flavio Brito

Flavio Brito
03-13-2012, 09:05 AM
The follow error in Compiler Console on check/uncheck Hide Green Stats Collection Indicators box into Model Settings :

Warning VIEW:/nodefunctions/menucommands/Statistics/hidegreenindicatorboxes line 12 Invalid type for assignment operation on hide. Expecting type num. Type is none.

Flavio Brito.

Phil BoBo
03-13-2012, 09:38 AM
For me the experimenter doesn't seem to do anything. No multiple scenarios or replications are run. The display message at the start of a replication doesn't show, etc.

This might be related to the bug Daniele Sasia mentioned earlier. Try closing and reopening Flexsim. Open the model, disable all breakpoints, and run again.

If that doesn't work, please send me the model at the address above.

Hao Zhou
03-16-2012, 10:54 AM
I cannot change precision of the model. I tried to change the node number in environment --> setting --> precision from 2 to 4. It did nothing. When I saved and reopen, it changes back to 2 again.

Phil BoBo
03-16-2012, 04:30 PM
I cannot change precision of the model. I tried to change the node number in environment --> setting --> precision from 2 to 4. It did nothing. When I saved and reopen, it changes back to 2 again.

You can't just change the value in the tree. Other commands are used to tell the engine the new precision value. Use the GUIs:
Edit > Set Number Precision
or
File > Model Settings

Phil BoBo
03-16-2012, 05:51 PM
The Flexsim Version 6 Release Candidate 2 (RC2) is available for download. (Something critical came up, so we made another RC release.)

If things go well with this version, we are going to release this version as the final version next week.

Please send any new bug reports or feature requests to our development list by emailing dev at flexsim . com (without the spaces).

Jose Navarro
03-18-2012, 04:22 AM
I have detected some bugs:

- In picklists
-onresourceavaillable->Travel to a Home: error in code
- timepicklist: By Expression is missed
- timeitempicklist: By Expression is missed

- in rack object library
there is a bug that when edit a rack it is not generated a correct distribution of bays sizes (and even it changes a correct one): allways assingn 0 to one extreme bay

- In File menu there is no option to save/load project or View, as in version 5

Jose Navarro
03-18-2012, 04:31 AM
If a crane is rotated in z axis, when the model is reset before run, the crane zrotation changes to 0

Jose Navarro
03-18-2012, 05:39 AM
If a crane is rotated in z axis, when the model is reset before run, the crane zrotation changes to 0

The crane was connected to a network node, so when the model is reset the crane is oriented to the path direction (as a transporter does). I have delete the connection and it works fine

Phil BoBo
03-19-2012, 09:02 AM
- In picklists
-onresourceavaillable->Travel to a Home: error in code


This is fixed in RC2 built on 16-Mar-2012.


- timepicklist: By Expression is missed
- timeitempicklist: By Expression is missed


This is by design. With the new picklist structure, you can just type expressions into the field without having to select an option.



- in rack object library
there is a bug that when edit a rack it is not generated a correct distribution of bays sizes (and even it changes a correct one): allways assingn 0 to one extreme bay


This is fixed in RC2 built on 16-Mar-2012.



- In File menu there is no option to save/load project or View, as in version 5

This is by design. Modules have made saving/loading the main and view trees obsolete.

Carsten Seehafer
03-26-2012, 12:37 AM
Please have a look into your account:

March 23, 2012 - FlexSim 6 Released

The next version of FlexSim is ready! Visit our download files page (http://www.flexsim.com/community/forum/../../account/files/) to download it now.