Jump to content

Search the Community

Showing results for 'simio api examples'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Simio Public Forums
    • Welcome and How To Become a Simio Insider
    • Simio News and Announcements
    • Simio Product Details
    • Simio-Related Positions Desired or Positions Available
    • Help Getting Started with Simio
  • Forums for Simio Insiders Only (See Public Forums Welcome topic to sign up)
    • SI General Discussions
    • SI Sprint Releases
    • SI Shared Items
    • SI Ideas and Suggestions
    • SI Known Issues and Workarounds
    • SI Performance Tips
    • SI Non-US Cultures
    • SI Student Competition
    • SI Educational
    • SI Libraries and Objects
    • SI Animation and Visualization
    • SI Distributions, Functions, and Expressions
    • SI Simio Tabs
    • SI Experimentation and Optimization
    • SI Functional Approaches
    • SI Industries / Domains
    • SI Types of Simulation
    • SI Emulation
    • SI API

Categories

  • Files
    • Academic Information
    • Product Information
    • Case Studies

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


First Name


Last Name


Company/University Name


OCCUPATION


ICQ


WEBSITE


YAHOO


AOL


LOCATION


FACEBOOK


GOOGLEPLUS


SKYPE


TWITTER


YOUTUBE

  1. Good advice Steve, One minor correction: Simio returns a date with a 4 digit year, so you would actually have to use: String.Substring(String.FromDateTime( TimeNow ),1,10) to get the date in a MM/DD/YYYY format To get months of the year would be (color added to highlight components): String.ToReal(String.Substring(String.FromDateTime( TimeNow ),1,2)) Of course if you wanted something simple like hour of day, you could take advantage of TimeNow being in hours and use a numeric expression like: Math.Remainder (TimeNow, 24) If you want to limit the precision add use of the Math.Floor or Math.Round functions like: Math.Floor(Math.Remainder (TimeNow, 24 )) to display integer hour or Math.Round(Math.Remainder (TimeNow, 24 )*100)/100 to display hundredths of hours. Note that all of these can be used in Status Labels and Floor Labels as in the attached example.IllustrationOfTimeFormats.spfx You can see more examples if you look at the Floor Labels in the Simio Example named HospitalEmergencyDepartment.
  2. Hello, I am wondering what exactly the two methods initialize() and shutdown() are for? When are they called by Simio, especially in the context of running experiments, scenarios and replications. What is the difference between the element's constructor and the initialize() method. What are examples for using the two methods? Thanks Nicolas
×
×
  • Create New...