autonomie home licensing consulting support downloads
   

Frequently Asked Questions

Installation

Error downloading license file (PLP version)

When installing Autonomie, I cannot connect to the server to download my license file. Either I do not have Internet access, or I get a message saying "The request failed with HTTP status 407: Proxy Authentication Required." (License key version only)

The Autonomie Licensing system is based on your computer MAC address.

To get a list of your computer MAC addresses, please do the following:

  1. Start a command window by going to the Window's Start button (For windows XP click on Run…)
  2. Type cmd in the dropdown and click ok.
  3. In the command window type ipconfig /all.

You should see at least one twelve alphanumeric numbers listed after “Physical Address”. It should be a series of six two-digit numbers separated by dashes, like 00-00-00-00-00-00. You may have more than one physical address (for example, if you have both an Ethernet card and a wireless card). Please send all of the physical addresses.

Please send an email to autonomie.support@lmsintl.com including the name of the licensee and company as well as the MAC addresses associated with your computer. After your email is received and logged, a license file will be generated and returned via email.

If you are using a government license, please send the email to autonomie-government-support@anl.gov instead.

This license file will be valid for this one computer only. Once you have the file, please do the following:

  1. Re-run the Autonomie installation CD.
  2. When you get to the step where it asks you for the license file, just press next without entering a license key. Confirm that you wish to continue without entering a license key.
  3. Proceed with the rest of the installation as normal.
  4. Copy the license file in the Installation folder of Autonomie.

Software / Hardware Configuration

Expired USB Key / Invalid Hex Read

When I try to run Autonomie, I get a message saying "Invalid hex data read."

The Autonomie USB dongle can become locked up due to a variety of factors, including static electricity discharge. In order to reset the key, please run the latest Key Update (see below).

The keys are set to expire every year or at the end of your purchased license, whichever comes first. To get the latest Key Update, if you are using a commercial, university or not-for-profit license, please contact  autonomie.licensing@lmsintl.com. If you are using a government license, please contact autonomie-government-support@anl.gov.

Matlab COM Object Registration Errors / Launched a different version than requested

In order for Autonomie to run, it requires that Matlab be registered as a COM object. Autonomie can only launch the currently registered object. When you install a new version of Matlab, it registers itself.

When I run Autonomie, a pop-up says that it launched a different of Matlab than I requested.

In order to switch the version of Matlab that is registered with Windows, please do the following.

  1. Start Autonomie.
  2. Click on the "Settings" orb, or rotate the orbs until Settings is in the center.
  3. Select the version you want to register from the Matlab version dropdown. You should see the path to the Matlab executable in the text box on the right.
  4. Click the Register button on the far right.

Note that, once the correct version is registered, you do not need to perform these steps again. You only need to do this if you want to change the registered version of Matlab. If you have trouble registering Matlab, please see the next question.

When I try to register Matlab in the Settings screen, I get an error.

The ability to register Matlab depends on the security policy of your IT department. If you have trouble registering Matlab via the Settings screen, please try the following:

  1. Make sure you have run Matlab independently of Autonomie at least once so that it completes its own setup.
  2. Run Matlab as Administrator if possible.
  3. Once Matlab is up, type the following commands:
            !matlab -unregserver
        [status, msg]=regmatlabserver.
    The status should be equal to 0. If so, you have successfully registered Matlab.
  4. Run Autonomie as normal. You do not need to go through the registration process from the Settings screen.

Please note that you will need to perform these steps again if you ever need to switch versions of Matlab.

If you cannot have administrator privileges on your computer, you can either have your system administrator register Matlab for you or he can give you full access to the specific registry keys Matlab needs to register itself as a COM Object. FYI, this registry keys are different for each versions of Matlab.

64-bit Matlab

Mathworks does not provide a compiler for Stateflow with their 64 bit installation. This is required to run the Stateflow models provided with Autonomie.

If you want to use the 64 bit version or cannot obtain a 32 bit version of the Matlab installation, you can install a 3rd party compiler for Stateflow. Please see the instructions on the Mathworks website.

Please be aware that if you have both the 32 and 64 bit versions of Matlab installed on your computer and you want to run the 64 bit one, you may need to run Autonomie with an administrative account to work.

If you want to install the 32 bit version of Matlab, please do the following:

  1. If you already have a 64 bit version of Matlab installed, uninstall it.
  2. You must install the 32 bit version of Matlab/Simulink/Stateflow. However, if you have a 64 bit computer, the default installation will detect that and automatically install the 64 bit version.
    1. If you have the Matlab installation CD, find the 32 bit installation in the sub-folder, and install that directly.
    2. If you installed Matlab via the web, log into your Mathworks account and select to download and install the 32 bit version of the installation.

Matlab Memory Issues

When running a simulation, the Matlab command window suddenly closes, and the simulation cannot continue.

This error is usually related to the amount of memory Matlab has set aside for Java (the language Matlab is written in). When we see this problem, this solution usually works for most people:

  1. Right click My Computer on desktop
  2. Click on Properties
  3. Click on Advanced
  4. Click on Environmental Variables
  5. Under User Variables, click on New
  6. In Variable Name type MATLAB_RESERVE_LO (all caps)
  7. In Variable Value type 0 (zero)
  8. Then repeatedly click OK to get back to the desktop.

You may also experience memory problems if your models are outputting too much information. In that case, you can try the following tips:

  • Decrease the number of signals you are saving in the workspace:
    1. Use the graphical view to navigate through the systems, looking in the property grid for any model or post-processing file which contains Output Signals (You will have to expand some items in the grid).
    2. Next to each EXTRANEOUS output signal, change the dropdown to "Don't Save to Workspace." (Note that removing signals from the workspace that are used as the input to post-processing files (for example eng_plant_spd_out_simu or eng_plant_fuel_rate_simu) will cause the post-processing to be incomplete.)
  • Increase the decimation to save less number of points:
    1. Click on the Setup Process link at the top.
    2. Click the name of the simulation in the box on the top left.
    3. Click on step VI. Initialize Simulink Solver Options.
    4. Increase the number in the box marked Decimation.

By default, the value is 10, which means one value will be saved in a signal every 10 simulation time step. You can increase that value so each signal will take less memory space, but it will also decrease the accuracy of the post-processing, including the fuel economy values. You may have to test several values to find out which one allows you to keep a good enough accuracy for your vehicle without getting an out of memory issue.

European Number Formats

When running Autonomie, I get an error saying, “Too many input arguments” for the script conversion_calc.

Desktop Error Message

Usually this error is related to European number formats, which use periods to designate the thousandths place. Matlab will only recognize the US number formats, which use a comma to designate the thousandths place. Therefore, Matlab will interpret the number 13,5 as two separate arguments, 13 and 5, instead of one argument, which it would expect to see as 13.5.

To fix this, go to the Control Panel, select Region & Language and then the English (United States) option.

Autonomie

Error importing Drive Cycle

A drive cycle is composed of a time value and a matching speed value the vehicle should reach at that time.

Matlab can only accept a strictly monotonic time value (e.g.: you cannot have two identical time values), and both the time and speed values have to be positive values (no NaN).

If a simulation does not run when using an imported cycle, it is most likely than one of the two matlab constraints above is not met.

Please refer to the documentation file “ANL - Autonomie Help Part 8C - Customization - How to Create a Drive Cycle-2012.pdf” under the folder <Autonomie>\help for more information.

Error importing a Model

Input and output signals in Autonomie follow the same rules than parameters in Matlab:

  1. Their name has to start with a letter
  2. No special character can be used except ‘_’ (so NO {, }, [, ], #, %, @, >, <…)
  3. Unlike the Matlab parameters, you cannot use a structure name (i.e.: using the ‘.’ like vpa.eng) Either

If you try to import a model containing I / O names not following those rules you will get a Matlab error

Please refer to the documentation file “ANL - Autonomie Help Part 8A - Customization - How to Import User's Model File and Initialization File-2012.pdf” under the folder <Autonomie>\help for more information.

How do I know if the simulation followed the drive cycle?

There are 3 items to consider:

  1. In the default result display, there is a parameter ‘Percent Time Trace Missed by 2mph’. If that value is zero, the simulation followed the drive cycle
  2. On data analysis, you can create a plot to demonstrate the difference between the requested speed and the actual speed (the driver has a speed command and the chassis has the actual speed)
  3. The actual distance covered by the vehicle is displayed the default results, so that too can be verified.

Screen Resolution

I have resolution issues, such as cut off text or labels, or the animation control appears shortened on the data analysis tab (especially on my Windows 7 laptop).

The most common cause of this issue is related to a setting in Windows 7, which allows a “scaling mode” for text and icons. On laptops, the scale is set to Medium - 125% by default. You can adjust this setting by clicking the Start button and then navigating to Control Panel->Appearance and Personalization->Adjust screen resolution. Set the scaling to Smaller -100%.

Last update April 2013

 


 
autonomie home anl logo lms logo