Input Tables Toolbar

The ribbon at the top of the Input Tables Windows contains the following buttons:

Change Sets

Change Sets

This button opens the Change Sets window, which is used to create and manage change sets which represent an incremental set of data changes to the underlying database.

 

Database Operations

New DB

This button creates and loads a new input database with all required tables. The user can then add rows/columns to the tables to populate the data. Be sure to select whether or not to include nodal tables when the database is created.

Change DB

This button is used to change the input database used by the project.

Step-by-step instructions for changing a databaseStep-by-step instructions for changing a database

To change the database:

  1. Select Change DB from the toolbar.

  2. In the dropdown, select the Database Type from the options described below.  (See Save DB As for more information on database types.)

NOTE: Microsoft Access database types are only selectable when running a 32-bit version of Windows.  See Computer Requirements for more information.

  1. Click ... to browse to and select the location and name for the desired input database.

  2. Select the OK  button to load the new input database.  This may take a few moments as the data is loaded.

NOTE: Aurora will automatically close the Input Data Assumptions form and any open input tables.

The project file will automatically connect to the new database, as displayed in the status bar on the bottom of the Input Data Assumptions window.

Reload DB

When a project file is opened in Aurora the input database is automatically read into memory; with this option the database is loaded again and read into memory any time after a project has already opened. This command is generally only needed if there is a problem with the database loading at project open or the load was interrupted by pressing Stop. The Status column in the Input Tables Window will display the status ("Read" or "Not Read") for each table as the input database is loaded.

NOTE: This button must also be used prior to starting a run if data in a linked Excel spreadsheet was changed after the database loaded.

Save DB As

This button is used to save a copy of the input database with a different file type.  The newly created database will be loaded into the project as part of the file conversion.

Step-by-step instructions for converting a database file typeStep-by-step instructions for converting a database file type

To convert a database file type:

  1. Select Save DB As from the toolbar to create a copy of the input database in another format.

  2. In the dropdown, select the Database Type from the options described below.

  3. Click ... to browse to and enter the location and name for the new input database.

  4. Select the OK  button to create the new input database.  This may take a few moments as the data is loaded and converted.

The project file will automatically connect to the new database, as displayed in the status bar on the bottom of the Input Data Assumptions window.

Database TypesDatabase Types

xmpSQL

The xmpSQL type is an SQL database “server” that is embedded in Aurora. This option provides SQL capabilities, especally in output, without using a separate server program and eliminates the need for any other external servers. The size limit on xmpSQL databases is as much as 2 TBs, although performance may decrease after 10’s of GBs. The xmpSQL database type supports much of the functionality of SQL Server and the speed of is also equivalent to SQL Server.

NOTE: Some data column types are different for xmpSQL databases. For example, data columns defined as type Boolean are saved and read as text in xmpSQL input databases and the values will appear as True/False, instead of the check box available in ZippedXML databases. Newly created columns of type Boolean will also automatically change to text when saved and subsequently read.

 

As such, Change Sets created on other database types will automatically convert when applied to an xmpSQL database. This process can take 2-3 minutes, especially if there are large tables affected by the Change Set. You should save Change Sets to a separate Change Set file (.csf) prior to applying them to another database format.

NOTE: Password protected databases are encrypted and cannot be used with software other than Aurora (provided the correct password is given).  Databases with the password set to “” (Null) have the password and the encryption removed and should be accessible by any application that can access xmpSQL databases.

SQL Server

The SQL Server type can be used with Microsoft SQL Server or SQL Server Express. One benefit of using SQL Server rather than SQL Server Express, which is free, is that SQL Server does not have any database size restrictions like the Express version. More information about the SQL database size restrictions can be found on Microsoft’s website. To use the SQL Server option in Aurora you must have access to a SQL Server on your network or an installed copy of SQL Server Express.

For a more detailed discussion see Recommendations for using SQL Server with Aurora.

Detailed SQL Server Setup InformationDetailed SQL Server Setup Information

(1) If using the server on your local machine, the SQL Server Name may be left with the default name "localhost". If the server name is not known, use the dropdown to browse the network for available servers.

(2) If using a SQL Server on your network that requires Windows Integrated Authentication, leave the SQL User Name and SQL Password blank.

If using a SQL Server on your network that requires SQL Server Authentication, you must enter the User Name and Password given to you by your database administrator. Your user rights in SQL Server will need to include those of the “database creators” role.

(3) Be sure the Database Name is a valid SQL Server database name.  Select one from the list of existing databases or type in a new name.

 NOTE: The SQL Server database name cannot begin with a space or contain embedded spaces, special characters, or reserved words.

(4) (Optional) Use the additional parameters area when creating custom SQL Server output databases. These additional parameters are specified by entering Transact-SQL CREATE DATABASE statements into this text field. Because SQL Server environment configurations can vary greatly, the syntax of these statements is highly dependent on the setup of the SQL Server you are using (e.g. user access rights, folder permissions, etc.). The syntax to use should be the desired Transact-SQL syntax immediately after the following wording:

“CREATE DATABASE thedatabasename”

 NOTE: If a SQL Server database with a given name already exists, Aurora will not drop it, rather it drops all of the tables. A new database is not created for existing databases even if the multiple runs to a database is not set.

Advanced SQL OptionsAdvanced SQL Options

These advanced settings are used to refine how Microsoft SQL Server is used with Aurora. To access this form, SQLServer must be selected as the input or output database type.

Bulk Load Locking Type

Use this option if Microsoft SQL Server 2005 or later is installed. A SQL Bulk Load capability can be used when writing to the output database. If available, this option will result in significantly improved performance for database writes over standard SQL Server. In Energy Exemplar testing, the speed proved to be comparable or superior to that of any other output format.

  • Record Level Locking

With this option selected, Aurora will only lock a single record (row) of a table while writing the output. All other records and tables will be available for read/write from other applications, including other instances of Aurora.

  • Table Level Locking

With this option selected, Aurora will lock an entire table while writing output. All other tables will be available for read/write from other applications, including other instances of Aurora.

SQL Server Timeout (Secs)

This setting determines how long a query will run against the SQL (SQL Server or MySQL) database before timing out. See Output Queries for more information.  The timeout is the amount of time SQL Server will wait before closing the connection with Aurora.  This number should be long enough to allow needed queries adequate time to return results, but as short as possible to free up database resources (like connections and memory) to other database users.  The default setting is 120 seconds.  For the majority of situations, this length of time should be adequate without unduly restricting database resources to other users.  However, if the connection to the database is running slow (e.g. due to network traffic) and/or there are extremely large output database tables with complex queries or joins, then the timeout may need to be increased.  Conversely, if all needed queries are fast and multiple database users need frequent access, then decreasing this number could improve overall database performance without prematurely closing the connection with Aurora.

  • Retry Attempts

This switch governs the number of times the model will retry a SQL Server table write when it fails.  Increasing this number can help in cases where brief network outages might cause the initial write attempt to fail.

Zipped XML

The Zipped XML type is a collection of XML files stored in a zipped folder. XML uses standard tags to define the structure and the content of a file. Having the same XML tags in all files enables you to efficiently index, search, combine, and reuse text-based information. Since XML is text-based and not limited to proprietary computer languages, it enables the exchange of information between normally incompatible systems. Zipped XML has an output file size limit of 4 GB.  

When creating an XML database, use the 'Browse For Folder' dialogue box to create/specify the XML folder where the collection of XML files will be stored.

The following link provide more information on XML:  Understanding XML

NOTE: This feature is only available if running a 32-bit version of Windows.  See Computer Requirements for more information.

NOTE: If the original database contains links to tables in Excel, those tables will be imported into the newly created MDB database.

Export Database

This button is used to create a copy of the input database and save it with a different name and location.

NOTE: A different file extension (file type) may not be assigned using this feature.  To copy the database to a different type, use the Save DB As button.

Compact Database

This option will reduce the file size of an xmpSQL (.xdb) type input database when performed after tables have been deleted.  Effectively it is a "vacuum" function.

 

Input Table Operations

NOTE: For all of these options, NO SPECIAL CHARACTERS are currently supported for database formatting.  When creating table or columns names, include only alpha or numeric characters and/or underscores.

Add Tables

This button is used to add multiple tables to the input database.  Select the desired table type from the list and it will be added to the database with the table type name.  To select a new table for use in the study, see In Study in the data grid.  Alternatively, use the right-click menu to add only a selected table type.

NOTE: This feature may not work for all database types

Delete Tables (Del)

This feature can delete multiple tables from the input database, and is useful in reducing file size and getting rid of unnecessary or antiquated tables.

NOTE: Energy Exemplar strongly recommends making a copy of your database before using this feature. Deleting tables is permanent and there is no undo action.

Step-by-step instructions to delete tablesStep-by-step instructions to delete tables

To delete tables:

  1. Use the Delete Table column to select the tables you want to delete from the database.  You can also click and drag to highlight multiple rows, then click one box and the rest of the selected tables will also be selected.

  2. The Table Type and In Study (defines if the table is included in the current study) can be used to sort the list.  This is especially helpful if you want to delete all tables not used in your current study.

  3. Select OK, then YES in the confirmation box to delete selected tables.

  4. WARNING!!  Once you click OK/YES, the tables will be PERMANENTLY removed from the database.  There is no undo.

 

Import Tables (Ctrl+I)

This button is used to import/copy a table from another database or Excel workbook.  When Import Tables is selected, navigate to the desired data file then click OK.  The tables available for import will appear.  Select the desired table(s) to import, using the check boxes, and click OK.  If a table of the same name already exists, the new table is given the same name appended with a number (e.g., "TableName_1 ").

NOTE: Ensuring Valid Data: It is possible, especially when importing or copying data from the internet, for external data sources to contain "illegal" characters (e.g. non-breaking white space commonly used on the web). Illegal characters are usually invisible and result in hard-to-find errors in Aurora.  (They are generally non-printing characters or symbols that have a Unicode char range <32 or >127.)  To ensure "clean" data, contact Support for a program that quickly checks for and removes illegal characters from the database.

NOTE: Aurora will automatically strip leading and trailing spaces from a table name or column name when importing from Excel worksheets.

When using an xmpSQL, SQL Server, or Zipped XML input database:

  • Tables can be imported from either an Excel worksheet or any other of these database types.

  • xmpSQL, SQL Server or Zipped XML imports from Excel read directly from the Excel file, so be sure to save the file first if it is open.

 

Link Tables (Ctrl+L)

This option is used to create links to Excel worksheets, so they can be used directly for input into Aurora. When this button is selected, an Open Database control window will appear. Select the Excel file to be linked, use the check boxes to select the desired table(s) or worksheet(s) to be linked, and click OK. The linked table and path will appear in the LinkPath column of the Data Grid.

NOTE: Energy Exemplar cannot guarantee that Change Sets will work with linked tables (Excel worksheets). Change Sets can only work with a linked table if the worksheet contains a "Primary Key” column, all values within this column are unique, and the Primary Key values remain consistent with those referenced within the Change Set (the primary key values when the Change Set was created). Primary key values within an Excel worksheet cannot be automatically controlled from the Aurora interface; therefore, management and maintaining validity of the primary key values within liked tables is the responsibility of the user.

NOTE: Excel worksheets with leading or trailing spaces in the name are not supported.

  • xmpSQL, SQL Server, or Zipped XML links to Excel will read directly from the Excel file, so the file must be saved first.

View Merged Resource Table (Ctrl+M)

This option is used to view the entire list of resource options at any time during or after a run. During a run Aurora combines the Resources, the New Resources (if LT study), and the Resource Modifier (RMT) tables to create a "Merged Resource" table. It is the Merged Resource table that is actually resolved for resource information. During the iterations of a LT study, the merged table will have all records from Resources and New Resources tables. Once the LT enters the final, optimized run the merged table will include all resources from the Resources table and newly created RMT.

NOTE: This feature is only available for Zonal Input Tables.

NOTE: This option is only available during/after a run. The option is not accessible if a run has not yet started. Also note that the information in this table may not match the currently selected (in-study) input tables and may not have active change sets applied. It will only contain the data in memory from the last run, regardless of updated settings or change sets in the project.

Convert Demand

When you press the Convert Demand button, you will be prompted by a dialog for the names of the new Demand and Time Series tables that will be created by the conversion process. Convert Demand will convert the Demand Escalation, Demand Monthly, Demand Hourly, and Demand Monthly Peak data into a single Demand type table. For more details about the Demand Converter and the conversion process, see Convert Demand.

NOTE: Demand Monthly and Demand Escalation are required to convert demand data. If these tables are not selected in study before running the demand converter, an error message will be sent to the status screen.

 

Grid Controls

Hide Unused Tables

This button is a toggle which causes the grid to alternate between showing all tables in the input database and showing only those currently selected for use in the project file (as indicated by a check in the In Study column).

Hide Optional Tables

This button is a toggle which causes the grid to alternate between showing all tables in the input database and showing only those that are required by Aurora to run a simulation.

Reload Grid

This feature will reload and validate the Input Table types used by the project file. This command is generally only needed if there is a problem with the project file loading or the load was interrupted by pressing Stop (on the Home Tab ribbon).  Unlike Reload DB, this command does not load the actual tables in the input database, just the viewed grid.

 

Nodal Actions

The Nodal Actions buttons are only available in the Nodal Input window and handle data for nodal studies.

Convert .RAW to .ALFC

Use this button to convert a loadflow case that is in the PTI v29, v30, v32, v33, or v34 raw format to the Aurora Nodal loadflow format. (*.raw to *.alfc)  The converted loadflow tables are found in the Network Case Input Files.

NOTE: This feature will read .raw and .rawd files generated from both PTI and PowerWorld. (For .rawd files, the file extension must first be changed to .raw for the conversion to work.) Issues with the conversion are usually the result of data being presented in a non-standard format. Please contact Support if you need assistance in converting these raw files into a standard format.

Equivalence Radials

This button reduces nodal problem size and speed of solution by eliminating radial lines within a loadflow case.  See Nodal Radial Equivalence for more detail

Read PSS/E .MON File

Tbis button converts a monitor (.mon) file to Aurora Nodal Input table format. Note that the table will not automatically be selected in study.  Depending on the data in the original file, these may convert to Corridor Def, Corridor Limit, Contingency, Filter Sets, or Supplemental Branch tables.

Read PSS/E .CON File

This button converts a contingency (.con) file to Aurora Nodal Input table format.  Note that the table will not automatically be selected in study.  Depending on the data in the original file, these may convert to Corridor Def, Corridor Limit, Contingency, Filter Sets, or Supplemental Branch tables.  Unsupported contingency types will be imported, but will be disabled in the model.

Input Tables Window

 Input Tables Toolbar


For further assistance, please contact Aurora Support.

Copyright© 1997-2024 Energy Exemplar LLC. All rights reserved.