Vista 2.62 Release

This release includes some smaller maintenance items and quality of life improvements in Vista.

Program Updates

  • Model Constructor and MA Results are now visible and read-only on Vista Lite!

Bugs That Were Squished

  • Fixed an issue where search was not working in Vista Help.
  • Fixed a rounding issue in Sensitivity Coal Generator where an extra sensitivity coal was being generated in some cases.
  • Fixed an issue in the scrubber waste system where derates were showing due to defaulting issues.

Downloads

Please select the appropriate file below. If you have questions about which version to download, or have lost your password, please contact us.

Installing Vista for the First Time?

Or updating from a version that uses SQL Server 2005? This includes the prerequisites.

Installing Vista on a Network for the First Time?

This version of Vista sets you up as a network user. This includes the prerequisites.

Updating Vista?

Use this version if you already have Local DB installed. This does not include the prerequisites.

Updating Vista for a Network?

This version of Vista sets you up as a network user. This does not include the prerequisites.

How to determine your Vista Version and Database Version

Using the Application

  1. Open Vista
  2. Click the “Help” drop down menu in the top left hand corner of the application
  3. Select “About Vista”
    • Determing Vista Version 1
  4. The following dialog should appear
    • Determing Vista Version 2
  5. In this case
    1. The Vista Version is 2.60.05
    2. The Database Version is 2.60
  6. Note: the first 3 numbers of the Vista Version and Database Version will be the same if they are in sync.  If they are out of sync there may be errors or unexpected behavior.

For Database Administrators – Using SQL Server Management Studio

  1. Log into the Vista (or otherwise named database).
  2. Run the following query against the database.

    [sql]SELECT TOP 1 * FROM DBVERSION ORDER BY VersNum DESC[/sql]

    VersNum gives the database version. For example, if VersNum has value 260, then the database has been updated to version 2.60.

Updating Network Database

When updating an installation of Vista or Vista Lite which uses a network database, the network database must be updated as well so the application and network are using the same version. If they are out of sync, there may be errors or other unexpected behavior.

Steps on the user’s (client) computer

  1. Update Vista client application (must be done first on at least one computer to obtain necessary database scripts).
  2. Determine your current Vista Version and Database Version.
    • When the versions are in sync, the first three numbers of the current Vista version and current database version are equal.
  3. Navigate to the application’s installation directory under Database\NewDBScript. For example, the file path may be C:\Program Files (x86)\B&V EPRI\Vista\Database\NewDBScript.
  4. Copy the necessary update scripts to a flash drive to give to the DBA.
    • Copy all the ToDatabaseVersionXYZ.sql files whose XYZ are greater than the current Vista Database Version. For example, if the current database version is 2.50, copy ToDatabaseVersion251.sql, 252, 253, 254, and 260.
    • Copy these other files:
      • OutputTableDetails.out
      • OutputTagDetails.out
      • OutputTagGrandParents.out
      • OutputTagParents.out
  5. Close Vista.

DBA Reference and Steps

  1. Login to the network database server.
  2. Backup the Vista (or otherwise named) database.
  3. Open a new query against the Vista (or otherwise named) database.
  4. Determine the database version by running the following query (this should agree with what the user noted from the inspecting the application’s help window):

    [sql]SELECT * FROM DBVERSION ORDER BY 1 DESC[/sql]

    For this example, let’s say the current version is 2.50.

  5. Copy the update scripts from the user to a location on the server. After each update script, run the query from step 4 to ensure the database was successfully updated. For example, I’ll suppose the files are located in C:\Temp\VistaUpdateScripts. Run the database update scripts in increasing order. For example, if the current database version is 2.50, run ToDatabaseVersion251.sql, then ToDatabaseVersion252.sql, and so forth, finishing with the ToDatabaseVersion260.sql (2.60 was the current Vista application version, as noted by the user on the client computer).
  6. Update the output tags by running the following query (replace with your filepath to the respective .out files). The SELECT COUNT queries should return 4642 tags, 107 tables, 94 parents, and 12 grand parents (as of Vista 2.60).

    [sql]
    DELETE FROM dbo.OutputTableDetails;
    DELETE FROM dbo.OutputTagDetails;
    DELETE FROM dbo.OutputTagParents;
    DELETE FROM dbo.OutputTagGrandParents;

    BULK INSERT dbo.OutputTagGrandParents FROM ‘C:\Temp\VistaUpdateScripts\OutputTagGrandParents.out’ WITH (CODEPAGE = ‘RAW’,FIELDTERMINATOR = ‘|’,KEEPIDENTITY,KEEPNULLS);
    BULK INSERT dbo.OutputTagParents FROM ‘C:\Temp\VistaUpdateScripts\OutputTagParents.out’ WITH (CODEPAGE = ‘RAW’,FIELDTERMINATOR = ‘|’,KEEPIDENTITY,KEEPNULLS);
    BULK INSERT dbo.OutputTagDetails FROM ‘C:\Temp\VistaUpdateScripts\OutputTagDetails.out’ WITH (CODEPAGE = ‘RAW’,FIELDTERMINATOR = ‘|’,KEEPIDENTITY,KEEPNULLS);
    BULK INSERT dbo.OutputTableDetails FROM ‘C:\Temp\VistaUpdateScripts\OutputTableDetails.out’ WITH (CODEPAGE = ‘RAW’,FIELDTERMINATOR = ‘|’,KEEPIDENTITY,KEEPNULLS);

    SELECT Count(OutputTagDetailsID) as NumTags FROM OutputTagDetails;
    SELECT Count(TableName) as NumTables FROM OutputTableDetails;
    SELECT Count(OutputTagParentID) as NumParents FROM OutputTagParents;
    SELECT Count(OutputTagGrandParentID) as NumGrandParents FROM OutputTagGrandParents;
    [/sql]

How to test if the Update Worked

  1. Open Vista on the user’s (client) computer.
  2. Check the Vista version. The Vista version and current database version should agree.
  3. Open the different modules (e.g. Fuel, Economics, Performance Overwrites are good ones to test because they change most frequently) to make sure no errors occur.
  4. To test the output tags have been updated, generate some results from the Results module. Look through the Excel workbook for unpopulated tags. They will have “TD” followed by a number (e.g. “TD4285”). If there are any unpopulated tags, the database likely needs step #6 of the DBA reference in this post.