ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
|
Downloads |
Gripes and Goodies Software problems and suggestions |
#1
|
|||
|
|||
Very Large Models and Exporting Complex Data
Hi,
The more I use Flexsim, the more impressed with it I become , however the data access capability and the 32-bit memory access ceiling are serious limitations as model size and complexity grows . The main issue with the data access is that only one database and one text file can be open at any single time. Most complex models are already reading from multiple tables within a database to run the simulation, and therefore the issue of where to write the developed data arises. While text files can be used, since only one file can be open at a time, then exporting data to text files quickly creates very complex file structures (e.g. for every date, a line is needed to write data from a single operation, many operations leads to many lines per date, many dates leads to massive files), that need a dedicated post processor. Brandon Peterson has shown the way to manage this with the following post http://www.flexsim.com/community/for...read.php?t=577 Is there any chance of developing the capability to have two databases open (i.e. one for input data and one for output data)? Alternatively can you develop the capability to have many text files open (e.g. >10), so that each one is then a csv table? Finally, is there some chance in the future to develop a 64-bit version, so the memory limitation goes away? I think Flexsim is excellent software, which is well-designed, but developing the capability to write to two databases or many text files would really open it up to much larger models, running for much longer times (e.g. hourly basis for twenty years). Keep up the good work. Thanks Brett Last edited by brett forbes; 02-10-2013 at 05:00 PM. Reason: Added mail notification |
#2
|
||||
|
||||
Flexsim is very well suited to be linked with a C++ DLL. That gives you unlimited possibilities. For instance with writing to different files, you can simply create an array (or vector) with pointers to the different files and keep these open until you stop or reset your model.
For databases it should be about as easy but maybe the express edition might miss some base functionality for that. |
The Following User Says Thank You to Steven Hamoen For This Useful Post: | ||
brett forbes (02-11-2013) |
#3
|
||||
|
||||
Yes. The next version of FlexSim will be available in both 32-bit and 64-bit versions.
|
The Following 5 Users Say Thank You to Phil BoBo For This Useful Post: | ||
Vadim Fooks (02-20-2013) |
#4
|
|||
|
|||
How do I use a C++ DLL to write to multiple files?
Quote:
Thanks for your excellent suggestion about writing to different files with an array of different file pointers and a C++ DLL. Is there any chance someone could write a detailed post showing how to accomplish this? Unfortunately, it is a bit advanced for my meagre skills. It sounds like an excellent suggestion, and makes me wish I was a better, more experienced programmer. Thanks for the suggestion. Brett |
#5
|
||||
|
||||
Start with connecting to a dll:
http://www.flexsim.com/community/for...read.php?t=382 Once you have achieved that come back and we can point you to the file stuff (or post an example) Unfortunately the only way to get more experienced and advanced is practice |
#6
|
|||
|
|||
Practising
Hi Steven,
Thanks for the pointer. I'd actually opened that post right after reading your reply, and am planning on giving it a go. I hope to get back to you at some stage. Thanks again Brett |
#7
|
|||
|
|||
Hi there all,
I still would like to learn more about about writing to different files with an array of different file pointers and a C++ DLL if there is anyone up to teach? I have sucessfully linked a dll now with a timeprocessor example I found in other post but I still not sure how to proceed with arrays and pointers... Thanks |
Thread | Thread Starter | Forum | Replies | Last Post |
Best way to transfer a large volume of data from the dll to flexsim? | Vadim Fooks | Q&A | 10 | 08-06-2012 02:31 PM |
Exporting From Flexsim Chart | michaelsmith | Q&A | 1 | 10-07-2009 11:53 AM |
Loading a large map as a background | Kenny Macleod | Q&A | 6 | 02-09-2009 03:46 PM |
Exporting Global Tables with Excel 2007 | david_white | Q&A | 8 | 11-11-2008 10:34 AM |
Automated runs / Exporting mdb file.. | Nico Zahn | Q&A | 14 | 12-17-2007 11:26 AM |