Upgrading To ExtendSim 10
Upgrading To ExtendSim 10
You may not copy, transmit, or translate all or any part of this document in any form or by any means, electronic or mechanical, including photocopying,
recording, or information storage and retrieval systems, for any purpose other than your personal use without the prior and express written permission of
Imagine That Inc. The software described herein is furnished under a separate license and warranty agreement – the ExtendSim Software License
Agreement. The software may be used or copied only in accordance with the terms of that Agreement. The Agreement was displayed when you installed
ExtendSim; a copy is located in the ExtendSim10/Documentation folder.
ExtendSim products and portions of products are copyright by Imagine That Inc. All right, title and interest, including, without limitation, all copyrights
in the Software shall at all times remain the property of Imagine That Inc. or its Licensors.
Imagine That!, the Imagine That logo, ExtendSim, Extend, RelySim, and ModL are either registered trademarks or trademarks of Imagine That Inc. in the
United States and/or other countries.
Extend was created by Bob Diamond in 1987; it was rebranded as ExtendSim in 2007. Chief architects for ExtendSim 10: Steve Lamperti, Bob Diamond,
Anthony Nastasi, Cecile Pieper, and Peter Tag.
Imagine That Inc
6830 Via Del Oro, Suite 230 • San Jose, CA 95119 USA
408.365.0305 • fax 408.629.1251 • [email protected]
www.ExtendSim.com
Table of Contents
Welcome to ExtendSim 10 and Thank You for Upgrading! .................................................................................................... 1
Requirements .......................................................................................................................................................................... 1
Overview ................................................................................................................................................................................. 2
Before Upgrading to ExtendSim 10......................................................................................................................................... 3
Installing, Launching, and Activating ES10 .............................................................................................................................. 4
After Launching ES10 .............................................................................................................................................................. 6
Verifying Models: Automating the Process ............................................................................................................................ 7
New Features to Note When Using ES10................................................................................................................................ 8
Maintenance and Support .................................................................................................................................................... 10
Legacy libraries warning........................................................................................................................................................ 10
Learning How to Use ExtendSim 10 ...................................................................................................................................... 11
If You Have Created Custom Blocks ...................................................................................................................................... 12
Other Things to be Aware of for Custom Blocks ................................................................................................................... 12
Welcome to ExtendSim 10 and Thank You for Upgrading!
It’s not just an upgrade!
ExtendSim 10 (ES10) is a complete rewrite of ExtendSim using an industry standard IDE (integrated development environment)
and a cutting-edge cross-platform application framework.
This major release has a whole new look and feel plus it is packed with enhancements designed to simplify and accelerate your
modeling experience. Its modern interface incorporates the newest ideas and most up-to-date features. Its 64-bit, multi-threaded
simulation engine can handle the largest modeling tasks.
Even if you are accustomed to using ExtendSim, ES10 has many new features and changes that will impact how you build
models and use the application. This reference provides important information you should know before using ES10.
Requirements
The following system requirements apply to Trial, Individual, Academic, Floating, Node-Locked, RunTime, and Student versions
of ExtendSim 10. ASP and OEM license requirements are unique to their intended usage.
Computer: Since simulation is processor-intensive, we recommend that your device have the fastest possible 64-bit
processor (minimum 1GHz and it must be 64-bit). Note: ES10 is multi-threaded and takes advantage of multiple cores
when running multiple models at the same time. However, when running a single model (even running it multiple
times), it is more important to have cores with a faster processing speed than to simply have more cores.
Operating System: A 64-bit version of Windows 10, 8.1, 7 (SP 1), Server 2016, Server 2012, or Server 2008 R2. (Mac
OS version not yet released.) NOTE: for Windows OS prior to 8.1, text in dialogs may overlap if you use anything other
than 100% for the display’s Scale and Layout.
Memory and Disk Space: 2 GB RAM; 500 MB disk space
Browser: A current version of Chrome, Explorer, Edge, Safari, or Firefox to download product updates.
Internet Access: Required for automated product activation. (If your computer has no internet access or your system
blocks ExtendSim from receiving encoded data from the internet, product activation can be accomplished manually.)
For connecting to external applications using OLE/COM, DLL’s, and Shared Libraries:
If you use the Scenario Manager block to connect to JMP or Minitab, or use the Data Import Export block to
exchange data with ODBC or ADO databases such as Access, those applications as well as the application drivers
used to exchange data with the ExtendSim blocks must be 64-bit compatible. This also applies to any custom blocks
you build that connect to external applications using an OLE/COM DLL.
Any DLL’s or Shared Libraries called by ES10 must be built for 64-bit execution.
1
Overview
Major changes to the product line in ES10
Product lineup and versions
Full model developer versions for industry and academia: ExtendSim CP, ExtendSim DE, ExtendSim Pro
Limited versions: Trial, Analysis RunTime, Player RunTime, Student
Other: ASP (cloud-based self-hosted ExtendSim) and OEM (embed simulation power in your own applications)
License types and maintenance
Individual, Node-Locked, or Floating license types
New license management system
Annual maintenance subscription
Three new libraries (see page 9 for descriptions)
Report library (all products) includes the new Reports Manager block
Chart library (all products) replaces the Plotter library which will now be in Legacy status
Reliability library (ExtendSim Pro) integrates reliability block diagramming (RBD) with ExtendSim
Upgrade paths to ES 10
To ExtendSim CP 10
For continuous process modeling
Typical upgrade path: from prior releases of ExtendSim CP
To ExtendSim DE 10
For discrete event modeling
Also supports continuous process modeling
Typical upgrade path:
o From ExtendSim OR
o Or, as long as you don’t use the Rate module, from ExtendSim AT
To ExtendSim Pro 10
Advanced technologies such as discrete rate modeling with the Rate library and LP Solver and reliability block
diagramming (RBD) with the new Reliability library.
Also supports discrete event and continuous process modeling.
Typical upgrade path:
o From ExtendSim Suite
o Or, if you use the Rate module or want to use the Reliability module, from ExtendSim AT
The 3D engine has not yet been converted to ES10. If you use 3D for your models, continue using your previous release
(i.e. ExtendSim Suite 9) until the 3D engine is converted to 10 and available in ExtendSim Pro.
2
Before Upgrading to ExtendSim 10
Update your prior release to ExtendSim 9.2
When you upgrade to ES10, your models and any custom blocks and libraries from prior releases (7-9) will need to be
converted to the new ES10 format.
We’ve done our best to make this process work well. However, it is strongly suggested that, if you haven’t already done
so, update to ExtendSim 9.2 before using ExtendSim 10. Release 9.2 will provide the smoothest transition for your
models and any custom blocks you’ve created. If you are using ExtendSim 9.0 or 9.1, the 9.2 updater is available as a free
download at ExtendSim.com/Support/Updates.
ES 10 will open models and libraries created in releases 7-9. It does not support blocks or models created in releases prior to 7.
3
Technical support is limited to the most current release.
Installing ES10
Individual and Node-Locked licenses have an automated software installer.
Floating licenses, including the ASP license, have an additional installer for the License Manager that regulates usage.
Instructions for installing and activating all license types are available at https://www.extendsim.com/support/activate.
Updating ExtendSim 10
Once you have activated ExtendSim, you should not need to reactivate unless your Maintenance and Support Plan has
been renewed or you have purchased additional Event Cycles for the Reliability module of ExtendSim Pro.
To update an Individual license of ExtendSim or to update Client licenses for a Floating license, download the Trial
version from the ExtendSim.com website and install it over your existing ExtendSim installation.
Do not use the Trial version of ExtendSim to update installations of ExtendSim ASP on the ASP Servers. There is a
separate updater for the ASP product.
5
After Launching ES10
Be sure you have read the instructions on page 3 before launching ES10 if you:
Have created custom blocks in ExtendSim
Saved hierarchical blocks in a library and the hierarchical block contains pre-release 7 blocks
Use date and/or color functions in Equation blocks
6
the original or a new graphic object. See the User Reference for a list of supported file formats.
It is best to convert all your models to ES10 at the same time and to use the same libraries. If that isn’t possible or practical,
save copies of whichever libraries you used to convert models and “freeze” those copies without making changes. Then use the
“frozen” libraries when you later convert prior-release models. Using libraries that are as close as possible to what was used to
build the models will give the best conversion results.
If you have saved a hierarchical block (HBlock) in a library, and the HBlock contains blocks from a release prior to 7, and
those blocks are not from the v6 Legacy libraries (Generic, Discrete Event, and Mfg):
1. If those blocks have not been properly compiled in ExtendSim 7, 8, or 9, ES10 will not be able to properly convert
them to the new format. Instead, it will give a warning message when you open that library or open a model that uses
that HBlock.
2. To fix the problem, do the following:
In your prior release (7, 8, or 9) and using your original (non-Legacy) library:
o Open the library that gave the warning message
o Open that library’s Library Window
o Use the Library > Library Tools > Compile Open Library Windows command to compile the library
o Drag each HBlock that got a warning message onto a blank model worksheet in your prior release
o Open the HBlock’s structure and make some insignificant change so that the block needs to be saved
o Close the structure window and choose Also Save to Library
Launch ES10
o Open the fixed original library (.lix, not .lbr) in ES10 to convert the library to the ES10 format.
o If you’ve already converted that original library in ES10 (.lbr) you’ll get a warning message. Just click OK
on that message to continue the conversion, replacing the previously converted library.
Repeat for each HBlock that has prior release blocks in it, and for each library that contains those HBlocks.
The above process DOES NOT convert blocks from the v6 Legacy libraries (Generic, Discrete Event, and Mfg)! ES 10
does not ship with the v6 Legacy libraries because it is not compatible those libraries and does not support them. See
page 10 for more information about Legacy libraries.
7
New Features to Note When Using ES10
Building models
ES10 uses Point and Click, rather than Drag and Drop, almost everywhere. For example, to manually place a block on a
worksheet, click on the block’s icon in the Library Window then click on the worksheet where you want the block to go.
To place the same block multiple times, hold down the Alt key while clicking on the worksheet. See any Quick Start
Guide tutorial for details.
As an alternative to manually placing a block in the model, use the new
Right-Click Connect feature to add blocks and connect them at the same
time. See the first tutorial in any Quick Start Guide for an example.
If you accidentally select a block or start a connection line, use the ESC key.
In products other than ExtendSim CP, if the Item library is open an
Executive will automatically be placed on new model worksheets. You can
control that through the command Edit > Options > Model tab.
CTRL+Y is now Redo and no longer opens the Simulation Setup command
(which is CTRL+J).
To copy data table headings along with the data, choose the command Edit >
Copy Data with Headings or use the keyboard shortcut Ctrl+Shift+C. It is no
longer an Option setting.
To move a cloned frame and all its contents, frame-select everything with the Clone tool then click on the perimeter of
the frame.
Use the new Chart library (rather than the legacy Plotter library) when building new models.
Since ES10 used a different development architecture, you cannot copy objects (graphics, hierarchical blocks, etc.) from release
9 or earlier and paste them directly into ES10. Instead you must first convert the models, blocks, etc. to ES10.
Running models
ES10 is a 64-bit application. Run speeds should be faster than previous releases but the Run Mode affects speed too.
There are two new Run Modes accessed by toggling the Run Mode button in the Model toolbar:
Use the fastest mode to run a single model as fast as possible, even if you run it multiple times.
Use the multi-threaded mode to run multiple models at the same time, taking advantage of the
ExtendSim multi-threading capability.
The Run Simulation button becomes a Pause button while the simulation is running and a Resume button if paused.
ES10 cannot open “.lrx”(runtime) library files. Instead, open the original (“.lix”) file in ES10, then use Library > Library
Tools to generate a new file with the new “.lbrrt” extension.
Since ES10 is a 64-bit application, the external applications that ExtendSim exchanges data with, as well as the application
drivers used to exchange that data, must be 64-bit compatible. This primarily applies to the Data Import Export block (Value
library) and any custom blocks that connect to external applications using ODBC and ADO.
Creating blocks
The Icon toolbar in the Tools menu has the Animation Object and the connectors used for creating hierarchical and
custom blocks.
The Dialog Items toolbar in the Tools menu has dialog items for creating block dialogs; this is a change from prior
versions where you created dialog items using the New Dialog Item command.
To access a dialog item’s properties, double-click the dialog item in the Dialog tab of a block’s structure window.
See page 12 for other important notes if you create custom blocks.
8
New Chart, Report, and Reliability libraries
Chart
The new Chart library replaces the Plotter library for all ExtendSim products.
So that you don’t have to change existing models, the Plotter library has been updated with
new features.
The Plotter library has devolved to Legacy status and will no longer be supported. Unless you
need to use the Plotter library’s Gantt, Histogram, Plotter Error Bars, or Plotter FFT, please
use the blocks in the Chart library rather than the blocks in the Plotter library when building
new models.
To replace a Plotter block with a Chart block in an existing model, you must manually replace the block; you cannot use block
substitution to replace a Plotter block with a Chart block.
Report
The new Report library is available in all ExtendSim products.
The Reports Manager block is the primary interface in ExtendSim for
creating reports from simulation runs for blocks, events, items, and resources.
The block’s dialog provides filtering conditions to specify which blocks,
events, items, and resources to generate reports for; data is stored in an
internal ExtendSim database for ease of access and export.
Other blocks in this library are: Cost Stats, DB Statistics, Item Log Manager,
and Statistics.
Some of the blocks in the Report library resided in other libraries prior to ES10. ExtendSim will automatically do
the block substitution when you open any models that contain blocks that have been moved to the Report library.
Reliability
The new Reliability module is only included with ExtendSim Pro and has its own eBook.
This module combines process simulation with reliability block diagramming (RBD).
Graphically and statistically describe when scheduled downs
(maintenance and off-shifting) and unscheduled downs
(failures) occur for individual resources and what impact that
has on the availability of the entire system.
Use the Reliability library as a standalone RBD tool to
determine how resource and component availability affect
system performance.
Or, use Reliability with ExtendSim event-based capabilities to explore the impact of resource availability on key
process metrics such as throughput, production costs, repair costs, utilization, inventory, service levels, and so forth.
For the list of all the changes in ES10, see the ExtendSim.com website.
9
Maintenance and Support
An annual ExtendSim Maintenance and Support Plan (MSP) is required for all ExtendSim products except Trial,
Analysis RunTime, Player RunTime, and Student.
The cost of the MSP is included in the purchase price for the first year after purchase.
As long as the MSP is kept current you can:
Get help with installation issues, basic usage questions, and troubleshooting.
Download free ExtendSim minor release updates.
Download free ExtendSim major release upgrades.
Move your ExtendSim license from one device to another (if allowed by the EULA).
Obtain replacement or updated Activation Keys.
Experience, evaluate, and influence future products and features.
For the benefits to continue in subsequent years, the MSP must be renewed by the anniversary of the license activation.
If the MSP lapses:
You will not get the MSP benefits (e.g. technical support, updates released subsequent to the expiration,
replacement activation codes, etc.) listed above.
You will need to purchase upgrades at full price.
If the MSP is reinstated, it will restart at the original renewal date.
For more information, go to ExtendSim.com/products/purchase/plan.
10
Learning How to Use ExtendSim 10
eBooks
Documentation has been rewritten and updated for ES10, and the previous User Guide and Developer Reference have
been parsed into more concise documents based on modeling needs. When you upgrade to ES10, these eBooks get
installed in the folder ExtendSim10/Documentation.
Quick Start Guides (QSG’s)
The Continuous Process QSG, Discrete Event QSG, and Discrete Rate QSG contain tutorials and reference
material to get new users quickly familiar with ExtendSim and knowledgeable about its features and benefits.
The guides are also helpful for existing users as they illustrate many of the new features of ES10.
Each has an accompanying video tutorial.
Tutorial and Reference docs
Feature specific documentation that provides in-depth coverage of specific subjects.
Currently there are eBooks that explore the ExtendSim Database, Reliability, and Advanced Resource Management.
User Reference
“How To” information for building, running, and using ExtendSim models.
Separate sections specific to discrete event and discrete rate modeling.
Technical Reference
A resource for modelers who use equation-based blocks and for programmers who build or modify ExtendSim
blocks and components.
Shows how to build a block, lists all the message handlers and functions, and much more.
Quickly access these documents by giving the command Help > ExtendSim Help.
11
If You Have Created Custom Blocks
Before using ES10 to open a custom library or open any model that uses custom blocks created in releases prior to 10, note the
following:
If your blocks use the includes that shipped with ExtendSim 9.2.0 or earlier
For includes that shipped with ExtendSim 9.2.0, you don’t have to change block code or include suffixes (e.g. change
“Distributions v9.h” to “Distributions v10.h”) until you want to. In addition to the v10 includes, ES10 ships with the
includes from 9.2.0; they are located in the ExtendSim10/Extensions/Includes/Legacy 9.2.0 folder.
For includes shipped with ExtendSim releases prior to 9.2, rename copies of those includes, put those renamed includes
into the ExtendSim10/Extensions/Includes/Legacy 9.2.0 folder, and change your block code to use those includes.
If your custom blocks use modified v9 includes that we sent to you after 9.2.0
Those changes are already in the ES10 includes. You can either change your block code to use the v10 includes or copy
the modified includes from ExtendSim 9.2 into the ExtendSim10/Extensions/Includes/Legacy 9.2.0 folder such that
they replace the non-modified v9.2 includes.
BEFORE OPENING ANY MODELS, USE THE ES10 LIBRARY MENU TO OPEN CUSTOM LIBRARIES AND
TEST THAT THE YOU’VE PROPERLY MADE THE ABOVE CHANGES!
12
If your code calls a DLL or Shared Library that returns a pointer, you need to change the code to save the returned
value to a pointertype. See the Technical Reference for more information.
The procedure address returned by DLLmakeProcInstance and similar functions is NOT a 64-bit Pointertype
variable. Instead, it is a 32-bit (4-byte) integer index that points to a pointer internal to ES10. This means the 32-bit
block code used in previous releases is compatible with the 64-bit code of ES10.
DLLLongCFunction, DLLLongPascalFunction, and DLLLongStdCallFunction all call a DLL that returns a 64-bit
integer that can be saved as either a ModL integer (32-bit) or, if needed, a pointertype (64-bit integer/pointer).
Each animation object now has a Properties dialog that allows you to see the object’s zOrder, exactly positioning it
within the layers of animation objects.
Use the Icon Positioner if model connection lines are misaligned:
When models that were built prior to ExtendSim 10 are converted to ExtendSim 10 the position of the model’s
blocks could be slightly different, causing connection lines to be unaligned. In those cases, the Icon Positioner can be
used to adjust the relative location of the icon within the Icon tab so that the connection lines to the block are
correctly aligned. This adjustment has already been made in the current ExtendSim libraries, but you may want to
use the positioner for any custom blocks that have been converted from earlier versions.
The Show icon positioner checkbox, located in the Icon tab of the block’s structure, hides and shows the
icon positioner, the pink icon shown here. By default, the icon positioner is located at the upper leftmost
position of the icon’s graphic items. The Reset Icon Positioner button resets the location of the icon positioner to the
default.
To use the icon positioner, first determine approximately how many pixels and in what direction the icon needs to
move so that the connection lines are aligned. Then in the Icon tab select the icon positioner and move it with the
cursor or the keyboard arrow keys.
There is also a ModL function, blockAdjustPosition, that uses the location of the item positioner to shift the
location of the block by the offset of the positioner location.
DateToString, TimeToString, and CalcDate are no longer supported. See instead the EDDateToString and
EDCalcDate functions in the Technical Reference.
There are new EColor functions that store the color information as a single integer, rather than using RGV or HSV.
(Legacy functions that use and support the old color information are still working in ES10.)
As of release 10 ExtendSim no longer supports Dynamic Data Exchange (DDE). It is an outmoded approach that's
incompatible with many IT setups, is no longer recommended for use, and is not really being supported by Microsoft.
Use instead any of the other IPC capabilities ExtendSim supports, such as OLE.
13