Creating Dynamics User Model Dynamic Linked Library (DLL) for Various PSS E Versions



Similar documents
Overview

APPLICATION NOTE. Getting Started with pylon and OpenCV

PSS E. High-Performance Transmission Planning Application for the Power Industry. Answers for energy.

Eliminate Memory Errors and Improve Program Stability

Athena Knowledge Base

Creating OpenGL applications that use GLUT

Writing standalone Qt & Python applications for Android

Getting Started with ANT PC Development

GAUSS 9.0. Quick-Start Guide

Visual Basic Programming. An Introduction

Intel Media SDK Library Distribution and Dispatching Process

Problems and Measures Regarding Waste 1 Management and 3R Era of public health improvement Situation subsequent to the Meiji Restoration

Installing Intel Parallel Studio XE Composer Edition for Fortran Windows 2016

Introduction. Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications

Python, C++ and SWIG

Monitoring, Tracing, Debugging (Under Construction)

Using Microsoft Visual C++ Developer Studio

About database backups

DE4 NetFPGA Packet Generator Design User Guide

Introduction to Python

Index. Registry Report

Installing OpenVSP on Windows 7

Integrating TAU With Eclipse: A Performance Analysis System in an Integrated Development Environment

Image Acquisition Toolbox Adaptor Kit User's Guide

FAQ CE 5.0 and WM 5.0 Application Development

Freescale Semiconductor, I

How to use PDFlib products with PHP

Automated Performance Testing of Desktop Applications

Documentation Installation of the PDR code

HPC Wales Skills Academy Course Catalogue 2015

CE 504 Computational Hydrology Computational Environments and Tools Fritz R. Fiedler

Intel Integrated Native Developer Experience (INDE): IDE Integration for Android*

DAVE Usage with SVN. Presentation and Tutorial v 2.0. May, 2014

Using Intel Visual Fortran to Create and Build Windows*-Based Applications

Case Study. Data Governance Portal Brainvire Infotech Pvt Ltd Page 1 of 1

Power Technology Issue 106

Windows HPC 2008 Cluster Launch

Braindumps.C questions

Chapter 13: Program Development and Programming Languages

Developing Database Business Applications using VB.NET

Building Applications Using Micro Focus COBOL

Improve Fortran Code Quality with Static Analysis

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

Overview. Datasheet: Centerprise Connector for Salesforce. Key Features. Overview

WinCC. Configuration Manual. Manual Volume 3

Streamline Computing Linux Cluster User Training. ( Nottingham University)

Contents. Introduction. Chapter 1 Some Hot Tips to Get You Started. Chapter 2 Tips on Working with Strings and Arrays..

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.

The Essentials of File Management with LabVIEW

Python for Series 60 Platform

TIME KEEP LEGAL BILLING SOFTWARE DESIGN DOCUMENT. Mike Don Cheng-Yu. CS 524 Software Engineer Professor: Dr Liang

Installing (1.8.7) 9/2/ Installing jgrasp

Agile Business Suite: a 4GL environment for.net developers DEVELOPMENT, MAINTENANCE AND DEPLOYMENT OF LARGE, COMPLEX BACK-OFFICE APPLICATIONS

Xeon Phi Application Development on Windows OS

How To Program With Adaptive Vision Studio

Datasheet: Centerprise Connector for Salesforce Key Features

What is a programming language?

October 21 November 5 November 14 December 12. Washington DC Boston Chicago San Jose. ni.com

OWASP Spain Barcelona 2014

ANSA and μeta as a CAE Software Development Platform

Game Design From Concepts To Implementation

2015, André Melancia (Andy.PT) 1

MatrixSSL Getting Started

Intel Perceptual Computing SDK My First C++ Application

SkyRecon Cryptographic Module (SCM)

Tutorial 2 Online and offline Ship Visualization tool Table of Contents

About This Document 3. Integration and Automation Capabilities 4. Command-Line Interface (CLI) 8. API RPC Protocol 9.

Using CPLEX with Microsoft Visual C++

DB2 Connect for NT and the Microsoft Windows NT Load Balancing Service

Migrate AS 400 Applications to Windows, UNIX or Linux

Comodo MyDLP Software Version 2.0. Endpoint Installation Guide Guide Version Comodo Security Solutions 1255 Broad Street Clifton, NJ 07013

Intel Media Server Studio - Metrics Monitor (v1.1.0) Reference Manual

PSS SINCAL efficient planning software for electricity and pipe networks. Siemens PTI Software Solutions. Answers for energy.

BarTender s.net SDKs

Kofax Export Connector for Microsoft SharePoint

Industrial Adoption of Automatically Extracted GUI Models for Testing

UniFinger Engine SDK Manual (sample) Version 3.0.0

Introducing the.net Framework 4.0

Journey to the Intelligent Cloud - Part 2 -

Web Pages. Static Web Pages SHTML

Visualization with OpenDX

El poder de la Programación de Excel y Visual Basic User Review --->>> Enter Here More Details => VISIT HERE

Installing FEAR on Windows, Linux, and Mac Systems

Developing, Deploying, and Debugging Applications on Windows Embedded Standard 7

Main Bullet #1 Main Bullet #2 Main Bullet #3

Zend Server 4.0 Beta 2 Release Announcement What s new in Zend Server 4.0 Beta 2 Updates and Improvements Resolved Issues Installation Issues

Using C to Access Data Stored in Program Space Memory on the TMS320C24x DSP

SIM900 Eclipse environment install Application Note_V1.00

EWF Management Software Windows driver software for Classembly Devices /Industrial Controller

Documentation Guidelines for NPARC Alliance Software Development

Intel Application Software Development Tool Suite 2.2 for Intel Atom processor. In-Depth

MATLAB Compiler 4 User s Guide

TIBCO FTL Installation

OCR LEVEL 2 CAMBRIDGE TECHNICAL

Transcription:

Siemens Energy, Inc. Power Technology Issue 111 Creating Dynamics User Model Dynamic Linked Library (DLL) for Various PSS E Versions Krishnat Patil Staff Software Engineer krishnat.patil@siemens.com Jay Senthil Senior Staff Software Engineer jayapalan.senthil@siemens.com General PSS E users, in addition to using the vast array of time tested library of dynamic models, can also write their own models in high-level language like FORTRAN or FLECS. For PSS E to recognize such userwritten models, the models written in FORTRAN or FLECS have to be compiled and a dynamic linked library (DLL) created using the compiled code. This article discusses the following aspects pertaining to creating user model static library (LIB) and dynamic linked library (DLL) files: Static LIB file or dynamic DLL files which one should the user use Compiler and Visual Studio software requirements for creating LIB and DLL files of PSS E userwritten models Use of Environment Manager (EM) for creating LIB and the DLL files Static library (LIB) or dynamic library (DLL)? The decision on whether to supply a LIB or the DLL of the user model depends on the PSS E version for which the model is developed. PSS E 33 and future versions For PSS E 33 and all future versions, it is recommended that the user always creates and provides the DLL files. The DLL file can have any name; it does not necessarily have to be dsusr.dll. If the DLL is named dsusr.dll, then PSS E will automatically load this at start-up, provided that PSS E is able to locate this DLL in its search path. If the DLL is named anything other than dsusr.dll, then the user has to load this DLL prior to running PSS E dynamics run. This can be done either from the graphical user interface (GUI) (via Tools>Load Model Library), or by using the ADDMODELLIBRARY API. It is to be noted that use of DLL will not require the user to perform any further compile or link operations. PSS E 32 and earlier versions For PSS E 32 and earlier versions, it is recommended that the user always creates and provides the LIB files. You can give any name to the LIB file. The PSS E user who uses this LIB file will have to perform further compile and link operations on this LIB along with connection routines (CONEC and CONET) to create dsusr.dll.

Software Requirements To compile and link user-written models, the appropriate Fortran compiler and Microsoft Visual Studio (C/C++) are needed. The compiler and linker used in various PSS E versions are as given below. 1. Version 33: Intel Visual Fortran Compiler version 12.0 and Microsoft Visual Studio 2010 (C/C++ compiler and linker version 10) 2. Version 32: Intel Visual Fortran Compiler version 10.1.024 and Microsoft Visual Studio 2008 (C/C++ compiler and linker version 9) 3. Version 31 and Version 30.3.3 IVF: Intel Visual Fortran Compiler version 9.1 and Microsoft Visual Studio 2005 (C/C++ compiler and linker version 8) 4. Version 30 and previous versions: Compaq Visual Fortran Compiler version 6.6B and Microsoft Visual Studio 1998 (C/C++ compiler and linker version 6) Although the compiler and linker versions specified above were used for the various PSS E releases, from a users point of view they can use any of the Fortran compiler and Microsoft Visual Studio versions as indicated below. 1. For Versions 33, 32, 31 and 30.3.3 IVF compile and link works well with Intel Visual Fortran (IVF) Compiler 9.1 or later Microsoft Visual Studio 2005 or later 2. For Version 30 and previous versions compile and link works well with CVF 6.6B Microsoft Visual Studio 1998 Microsoft Visual Studio comes in three different versions, any of which can be used for creating the DLL in PSS E 1. Microsoft Visual Studio Express Edition 2. Microsoft Visual Studio Premier Partner Edition (VSPPE) 3. Microsoft Visual Studio Professional It is to be noted that the Microsoft Visual Studio is available for Visual Basic as well; however, this cannot be used in PSS E for creating the DLL. PSS E Environment Manager (EM) The Environment Manager (EM) is a versatile tool that can be used to do the following: 1. Compile user-written models 2. Create static library (LIB) files 3. Create dynamic linked library (DLL) files 4. Set up the environment variables required to run specific PSS E versions The EM tool requires Python version 2.5 or 2.7. It is to be noted that the EM is independent of the PSS E version. Although the EM is provided as part of PSS E installation, since the EM is subject to updates to meet the wide requirements of our users, it is advisable to download the latest version of EM from the PSS E user support web page https://www.pti-us.com/pti/software/psse/user_support.cfm. When using the EM to compile and link, it is not required to update Windows Environment variables PATH and LIB. Instead these variables are updated temporarily by the EM and used as needed. This avoids the user from making modifications to Windows registry leading to possible permission conflicts. The EM can be used from: Graphical User Interface (GUI) Python script For details, the user is referred to the EM guide that is provided as part of the EM installation. Page 2

The GUI and progress message window when creating DLL for PSS E version 33, and GUI window when creating LIB for PSS E version 32 are shown below. Figure 1 - Create DLL for PSS E 33 Page 3

Figure 2 - Create LIB for PSS E 32 Page 4

Figure 3 - Progress Message when Creating PSS E 33 DLL Page 5