Quick Start for User Defined Models

Similar documents
Tutorial Creating a User- Defined Model

User Defined Model Development Guide

Dealing with Event Viewer

Toolkit Activity Installation and Registration

Transient Stability Analysis with PowerWorld Simulator

Transient Stability Analysis with PowerWorld Simulator

Organize Mail into Folders

Accessing Flamingo 1.1 Libraries Located on a Removable Disk

TREX Set-Up Guide: Creating a TREX Executable File for Windows

Autodesk Moldflow Insight AMI Getting Started Tutorial

DEVELOPING OOSIML SIMULATION MODELS. Using Codeblocks

MAIL MERGE LABELS USE THE MAIL MERGE WIZARD

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003

Manually Configuring IIS

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005

Transient Stability Analysis with PowerWorld Simulator

Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE

BDM Hyperion Workspace Basics

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010

Using File Cabinet In OwlNet

DO NOT POWER ON THE ZEBRA PRINTER OR CONNECT THE USB CABLE UNTIL INSTRUCTED TO DO SO!

Restoring data from a backup

IMPLEMENTING SCL PROGRAMS. Using Codeblocks

Just Enough Eclipse What is Eclipse(TM)? Why is it important? What is this tutorial about?

RTE for WIN32. Installation Manual (Rev.7.0) Midas lab

Dive Into Visual C# 2008 Express

APPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713

System Ace Tutorial 03/11/2008

Hello, welcome to this brief tutorial on accessing and playing Adobe Presenter video files.

Copyright 2012 Pulse Systems, Inc. Page 1 of 29

Manage and Generate Reports

Reliability and Performance Monitoring

Color-Helper Pro USB Link v2 Driver Install

OrgPublisher Silverlight Configuration for Server 2003, IIS 6

Evaluation Guide - WebSphere Integration

More Skills 11 Export Queries to Other File Formats

Published on Online Documentation for Altium Products (

Military Icons User Guide Version 1.0

DDFile Catcher

Tutorial - Exporting Models to Simulink

PST for Outlook Admin Guide

Before you begin, you need to make sure that IIS is installed on the runtime server.

As CCS starts up, a splash screen similar to one shown below will appear.

EXERCISE 1 Download and Install the Fusion Program and Data

Security Permissions in TCR 2.x

WRITING CONSOLE APPLICATIONS IN C

CaliberRM 5.1 Integration for Describe Enterprise

Mail Merge. To Use Mail Merge: Selecting Step by Step Mail Merge Wizard. Step 1:

IBM Mobile Portal Accelerator Enablement

Copyright 2012 Pulse Systems, Inc. Page 1 of 46

Chancellor s Office Information Technology Services Corporate Information Management FIRMS Budget Review Hyperion Process

Chapter 3 How to use HTML5 and CSS3 with ASP.NET applications

Using ProFile - How to Internet File Slips

Quick-Start Guide. BNS Solutions. QSK62P Plus

SidekickPC 3.0 Known Issues 31 th MAY 2012

PowerPoint TM Tutorial

Silk Test Silk Test Classic Quick Start Tutorial for Dynamic Object Recognition

Synchronizing your Psion with Lotus Organizer

Color-Helper Pro Tools Installer

QUICKSTART CODE COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio

DB2 for z/os Stored Procedure support in Data Server Manager

Cluster Resource Monitor

Cloud Attached Storage

ADS MultiTrace Tutorial v2.0

Stratigraphy Modeling Horizons and Solids

As CCS starts up, a splash screen similar to one shown below will appear.

Configuring an IMAP4 or POP3 Journal Account for Microsoft Exchange Server 2003

Netherworks Studios. Start DAZ Studio 3 and simply navigate to "NWS Scripts" in your content folder. Run the "Activate Folder Favorites" script.

Assigning Trustee Rights as a NetDrive Department Share Custodian Using NWExplore

MAIL MERGE DIRECTORY USE THE MAIL MERGE WIZARD

Using SQL Reporting Services with isupport

Nasuni Mobile Access User Guide

TMS. series SIGNUM SYSTEMS CORPORATION. JTAGjet Driver for Code Composer Studio 2.x/3.0. Installation Instructions

Navigating a Database Efficiently

Microsoft Office Outlook 2007: Intermediate Course 01 Customizing Outlook

Outlook Getting Started QUICK. Source. Microsoft

SMT107 User Manual User Manual (QCF42); Version 3.0, 8/11/00; Sundance Multiprocessor Technology Ltd. 1999

CONFIGURING LDAP. What is LDAP? Getting Started with LDAP

Tutorial : creating a Max/MSP external project for Windows using Visual Studio

Switch between simple Date arrangement and Date (Conversations)

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline

TOP SERVER V5 CLIENT CONNECTIVITY ROCKWELL FACTORYTALK VIEW STUDIO. Table of Contents

Getting Started in Assembly Programming with Keil uvision and MSP432

Mastering Large Documents in Microsoft Word

Join Queries in Cognos Analytics Reporting

Record Specification and File Format for Specifying Contingency Definitions and Remedial Actions Schemes

TUTORIAL TO CREATE AOI POLYGONS IN GOOGLE EARTH PRO

MS Visual Studio.Net 2008 Tutorial

Course CLD211.5x Microsoft SharePoint 2016: Search and Content Management

GMS 10.3 Tutorial Stratigraphy Modeling Horizon Coverages Use horizon coverages to help control the Horizons Solids operation

IMPORTING AVALANCHE MANAGER 3.6 BACKUP FILES TO AVALANCHE MC OR SE

JTAGjet. series SIGNUM SYSTEMS CORPORATION. USB 2.0 Driver for JTAGjet and ADM51. Installation Instructions

GMS 10.4 Tutorial Stratigraphy Modeling Horizons, TINs, and. Use TINs with horizons to create 3D, finite element meshes

If this is the first time you have run SSMS, I recommend setting up the startup options so that the environment is set up the way you want it.

Empower Data Exporter. The Empower Data Exporter is for use with Empower 2154 and requires the Microsoft.NET Framework version 2.0.

To complete this project, you will need the following folder:

X1 Augmented Reality SmartGlasses Developer Guide

Downloading & Installing Audacity

CollabNet SourceForge Office Plug-in

VDISoft.Analytics.HMI QuickStart Guide

Transcription:

Quick Start for User Defined Models Last Updated: June 11, 2013 PowerWorld Corporation 2001 South First St Champaign, IL 61820 (217) 384-6330 http://www.powerworld.com info@powerworld.com

Overview... 3 1. Before you begin... 3 2. Basic Users... 4 3. Advanced Developers... 10

Overview The purpose of this document is to provide a step-by-step guide to using the User Defined Models tab, which is located in the Options menu of the Transient Stability Add On in PowerWorld Simulator. The user defined model feature has been made available from version 17 onward. This tutorial aims to provide the basic steps for navigating the tabs of interest, loading, inserting, and using user defined models for transient analysis. Section 0 is geared towards basic users, and section 3 will provide a brief note for advanced developers. 1. Before you begin Download the sample files and projects from the PowerWorld website. The content is shown below. The BasicUser folder contains four folders. The folders CppDLLs, FtnDLLs and ObjPslDLLs have identical DLLs of the GENCLS machine, IEEEST stabilizer, IEEET1 exciter and TGOV1 governor. In addition, the TestCases folder contains a case for illustrating the use of these DLLs. Corresponding to the DLLs from the BasicUser folder, the AdvancedDeveloper folder contains various subfolders containing the source code for generating the respective DLLs. The project structure of Cpp_IEEET1UDM is shown on the right-side of this page.

2. Basic Users It is likely that a basic user will receive a set of DLL files, each with one transient model of interest. (The development of these DLLs is left to the advanced developer.) This section will outline the steps in PowerWorld Simulator for loading, inserting and using user defined models. 1. Start PowerWorld Simulator, and navigate to File > Open Case 2. Navigate to BasicUser > TestCases folder. Select the WSCC_9_withNoDLLs.pwb file, and click Open.

3. Once the case loads, navigate to the Case Information tab. In Model Explorer, navigate to the Transient Stability > Summary > Generator model use option in the left-side menu. In the Generator Model Summary tab the machine, exciter, governor and stabilizer models in use are displayed. These models are built-in models supported by PowerWorld Simulator. In the subsequent steps, user defined models will be inserted to replace these models. 4. Ensure that Simulator is in Run Mode. Navigate to the Transient Stability in the Add Ons tab. In the left-side menu, click on Options > User Defined Models. This is currently empty because no user defined models have been selected/inserted. 5. Click on the Edit Browsing Path button.

6. In the window below, click Browse. 7. Then, browse for the BasicUser > CppDLLs folder. Click OK. 8. Click Add. The path name should appear in the list. Then, click OK.

9. Simulator scans the folder in the browsing path(s), and automatically loads and validates the DLLs. They are also categorized based on their model types. In this case, four DLLs are shown to have been loaded. 10. Click on Cpp_IEEET1DM, and the following description should appear in the lower pane of this tab. This shows the DLL Functions Names, Extra Objects Types, Default Parameter Values, States Description, Hard-Coded Signals Variable and Algebraic Variable Description. There should be no error message shown, and the dll should be ready for use. At this point, the user defined model is recognized by Simulator can be handled just like any built-in model.

11. Ensure you have clicked on the Cpp_IEEET1DM, and then right click anywhere in the top-right pane, or on the word None. Then, select Insert. 12. The Generator Information dialog box should be shown. Here, the built-in IEEET1 exciter model at Bus 1 will be replaced by an Cpp_IEEET1UDM user defined exciter model. Click Insert.

13. Here, select Cpp_IEEET1UDM. Click OK. 14. Now the Cpp_IEEET1UDM user defined exciter model has been inserted at Bus 1, and is ready for use. The default parameter values have been loaded from the DLL, which can be altered if needed. For now, leave the values as the defaults, click Save, and then OK. 15. The model is now ready for use. This test case already contains a Transient Contingency named UDM_COMBINED_DEMO, which contains a fault at Bus 7. To execute the simulation, click on the Run Transient Stability button.

3. Advanced Developers For developers planning to create DLLs for new models, debugging will need to be done from the IDE in which the DLL is being built. Similar to instructions in Section 2, developers can point directly to a subfolder within a DLL project folder. This will eliminate the need to copy-paste the DLL file to a different location, and will help with a smoother debugging experience. The following are the folders of interest in the following programming languages (IDEs) 1. Object Pascal (Embarcadero Delphi XE Version 15.0) ~Debug\Win32 2. Visual C++ (Microsoft Visual Studio 2010) ~\Debug 3. Fortran (Microsoft Visual Studio 2010 with Silverfrost FTN95 plug-in) ~Debug\Win32 For debugging, the pwrworld.exe process can be attached to the debugger being used. This can also be done by specifying the location of the pwrworld.exe file (from the installation directory of PowerWorld Simulator, version 17 or later) as the launch target during the debugging process. Note: While re-building DLLs during the debugging process, ensure that the attached PowerWorld Simulator is closed