Jump to content
Simio Forum

Welcome to the Simio Forum

Welcome to the Simio Forum! Experience the full experience of the forum by becoming a Simio Insider! You must be an Insider to post on any forum!

Click_Here_button.png

New Software Release

Our latest release, Simio 11, is here!

marquisd

Members
  • Content Count

    27
  • Joined

  • Last visited

Posts posted by marquisd


  1. Obviously, this is a question purely for aesthetic quality of a simulation (I think), but is there a way to continue to allow a train to continue moving while a car is being filled with a bulk material, like coal? I can think of a clunky workaround, but thought someone might know how to do this "easily."


    Thanks


  2. I have a state vector where all but one indexed value must be zero. This oddball cannot be zero. I want to initialize it in the Definitions window. Can someone explain how to do this in a general sense? I.e., in general, what if I want to initialize every index with a unique value?


    Thanks


  3. Hello


    I'm trying to get a combiner to clear it's member queue at the end of a "day". I have plenty of parents.


    My basic logic is:

    For 10 hours, it randomly sets a batch quantity for a pallet. This corresponds to member entities being received (matched by destination).

    After this period, I want to cycle through the remaining pallets, dispatching them by highest batch quantity until it clears.


    If I force the batch quantity to 1 for the whole run it clears everything (correctly) but will have the same number of pallets as freight. No what I want.

    If I force the batch quantity to 2, it clears everything except the pallets with only one item. Expected and reasonable, but again not really what I want.


    If I force it to 1 before the 10 hours is up, again it clears the queue, but only if I'm several hours before this period...again not what I want.


    But if I force the quantity, even to 1 just before, on or after this, it leaves pallets with 1, 2, 3, ... or 6 items. NOT what I want or expect.


    I've attached the model. (BTW: The batchquantity is set within a process.)


    Thanks

    Combiner Issue Sample Rev 00.spfx


  4. Follow-up:


    Now, attached is a screenshot of my database table. I want to get the value of Station1Pressure with a DBRead step and put it into "ModelStation1Pressure" state.


    I guess what I really need is a better definition of what "Columns" and "Where" properties in the Basic Logic of the step really means and how they are different from the "Where Column" and "Where State". It seems to be that they actually do nearly the same things.


    Clearly this doesn't make sense.


    Thanks

    614600134_DbaseScreen.thumb.png.254d4cd896eb7343aad35a38bdffc29a.png

    1439368617_StepDetails.PNG.fa3885e3b9a9899ff161c89c36ada31d.PNG


  5. Hello


    I'm trying to build a (very) simple simulation that accesses a data variable from MS Access (2007). I have a table called "CurrentValues", with a couple columns named Station1Pressure and Station1Temperature.


    For my sim, in the first instance, I just want to read in (DBRead step) in the values; so, I have process that reads the value when I click a button.


    Eventually, I want to update the database value with a form in Access and see the change when I click the event button in Simio.


    Note: The database (Sample.accdb) and the sim are in the same directory.


    First problem is, after I define the Element reference (DbConnect), I set the "Connection String" to the database file, (Sample.accdb) and the "Provider Name" to "Microsoft.ACE.OLEDB.12.0" as noted in another post. Unfortunately, I get the error attached.


    (I'll start with that since if I can't get through the first step, the following ones are irrelevant.)


    Thanks

    DBError.png.3a214eff5e4244d9d1da3edb970b89e6.png


  6. Hi All


    I would like help to build a custom (subclassed) node that, OnInitialized, would populate a lists of inbound and outbound path in each node. Ideally, it would also determine and store each path's length or travel time, and whether the path is available or not (this would probably require a subclassed path as well). I want this done dynamically (automatically) because I will likely have hundreds of nodes in my model and populating (and re-populating) these lists would be very time consuming and not very conducive to an efficient design process where paths and nodes would be added/subtracted throughout the design process.


    First, I guess, actually...is dynamic list population possible?


    Any thoughts?


    Thanks


  7. Hi All


    This has probably never really come up for most of you, but is there a way of using a button to open an external file (like a PDF)? I just want the system to open a reference document from within a simulation. It's ok (actually preferable) for the file to open outside Simio; it just makes for a good contact to relevant supporting information.


    Thanks


  8. Hi All


    Has anyone built a vehicle or worker with a component that you could change the size of? For example, imagine if you could threw a ball and have the horizontal and vertical velocity component vectors continuously visible and changing length through its flight.


    Here is a pendulum gif that shows what I would really like to show (about a third of the way down on the left):


    http://en.wikipedia.org/wiki/Acceleration


    Any ideas?


    Thanks


    Dave


  9. Can someone explain to me why, in general, destroying vehicles (or other resources) is not allowed, for example, by an event-triggered process? (I know they can be destroyed in a Source, but I would like more than that.)


    Thanks


  10. I thought of that, but I'd like to have a single object that encapsulates the functionality. Double "piping" is an acceptable work-around for small systems or a demo, but having two flow connectors for each section of "pipe" for large systems would become unwieldy.


    Hmmm...actually tried it and got some odd results. Attached is the sample model. All nodes merge incoming and split outgoing. I have a toggle button on one "common" node. The source is set to output 100 m3/hr of material. The sink accepts 10000. Running the model shows a flowrate of 60 m3/hr to start. Toggling the node changes the flowrate to 75. Toggle again produced 68.1818. The allocation rules are based on inflow rates and the nodes allow 100 m3/hr. Clearly, this is not right and the underlying logic seems to be tripping on the node logic. (The sample model has all common nodes set to "Unconstrained" which is 1e9.)


    Also, changing the allocation rule to to Order By Link Weight breaks the system after 1 toggle and Based on Link Weight breaks the system from the start. Even setting the nodes to allow a very large flow-through doesn't fix the problem (initially flow out is <100, then still <100 but smaller and finally >100).


    So, not only would the large system become graphically unwieldy, the logic and troubleshooting would likely become a nightmare. A single element that captures these logic issues, hopefully, would resolve these issues AND would make a "pipe" that is more physically accurate.


    BTW: Adding bidirectional flow connectors will likely need modifications to the flow nodes as well.


    Thanks

    Simple Piping Loop System.spfx


  11. Hi All


    Can someone describe how I can add bidirectional functionality to a flow connector, if it's possible at all (perhaps a subclassed functionality)? (Yes, I've put this in this Suggestions area too.) I'd like to model a piping loop, where, if a section has to be shut off, the downstream chemical users can get the chemical from the other direction.


    I haven't programmed in Simio yet, so wouldn't even know where to start.


    Thanks


    Dave


  12. Hello


    I'm trying to build a sample flow model where, with a button I can toggle between two colors at a flow source (or its output node). I've uploaded a sample model if someone would like to help.


    Basically, I have a single DefaultEntity with two color symbols (red for hot and blue for cold, for this example). Since Add-on processes in flow are only available for Run Initialized and Run Ending, it seems I won't be able to do this dynamically. (Perhaps this should go in the suggestion forum, but I thought someone's figured out how to do something like this already.)


    I know, I can use multiple sources, but my goal is to eventually use this for tens of colors, and you can all see where this is undesirable.


    Any thoughts?


    Thanks

    Color Control for Flow Systems.spfx

×
×
  • Create New...