KHÓA ĐÀO TẠO TÍNH TOÁN ỔN ĐỊNH VÀ ỨNG DỤNG TRÊN PHẦN MỀM PSSE CHO KỸ SƯ HỆ THỐNG ĐIỆN (Sử dụng Ngôn ngữ lập trình Python trong Phần mềm PSSE): • Introduction• Application Program Interface• PSS®E Extension Modules• Power Flow Operation• Power Flow Data Changing • Subsystem Definition• Dynamics Simulation• Single Element and Subsystem Data Retrieval• Results Data Retrieval
TRANSMISSION & DISTRIBUTION A Division of Global Power POWER SYSTEM STABILITY CALCULATION TRAINING D14 15 A t ti i P th D ay 14 - 15 - A u t oma ti on us i ng P y th on December 5, 2013Prepared by: Mohamed El Chehaly eBook for You OUTLINE 2 OUTLINE • Introduction • Application Program Interface • PSS®E Extension Modules • Power Flow Operation • Power Flow Data Changing • Power Flow Data Changing • Subsystem Definition • Dynamics Simulation • Single Element and Subsystem Data Retrieval • Results Data Retrieval eBook for You 3 INTRODUCTION INTRODUCTION eBook for You Introduction to PSS®E Automation 4 INTRODUCTION Introduction to PSS®E Automation Response files or “ idv ” : Contains a set of Response files or idv : Contains a set of instructions and inputs emulating the program operation manual program operation manual IPLAN programs: Sim p le p ro g rammin g lan g ua g edesi g ned fo r p pg g gg g PSS®E Created in a text editor and compiled Limited capabilities compared to modern programming languages eBook for You Introduction to PSS®E Automation 5 INTRODUCTION Introduction to PSS®E Automation Python programs : Python programs : Interpreted object-oriented programming language ( no com p iler ) ( p) In PSS®E since version 30 Faster development, flexibility, power data processing and easy integration with othe r applications and programming languages eBook for You Recording an Automation File 6 INTRODUCTION Recording an Automation File eBook for You Running an Automation File 7 INTRODUCTION Running an Automation File eBook for You 8 APPLICATION PROGRAM APPLICATION PROGRAM INTERFACE eBook for You Controlling PSS®E Using the API 9 APPLICATION PROGRAM INTERFACE Controlling PSS®E Using the API Set of callable routines for building ft li ti so ft ware app li ca ti ons API is the primary and recommended method for accessing PSS®E functionality method for accessing PSS®E functionality for automation API is described in manual PSS®E API is described in manual PSS®E Application Program Interface Descriptions of the syntax for using each Descriptions of the syntax for using each API routine in each automation method Siemens PTI support users who use batch Siemens PTI support users who use batch commands and Python programs only. eBook for You Default Values 10 APPLICATION PROGRAM INTERFACE Default Values _i: Default integer value _f: Default real value s: Default strin g value_ g Example: def temp ( a = 1, b = 2): def temp ( a 1, b 2): print a print b print b return temp( i 4) temp( _ i , 4) eBook for You [...]... Pssarrays: Provides Python functions to retrieve PSS®E solutions results Pssexcel: Provides Python functions export PSS®E data or solution results to Excel Pssplot: Provides access to the PSS®Plot API eBook for You Modules for Python 13 PSS®E EXTENSION MODULES Modules for Python Dyntools: Tools for processing channel output files eBook for You E Excelpy: P l Provides Python functions to id... BUS DATA 3 BRANCH_DATA LOAD_DATA_4 TWO_WINDING_DATA_4 PLANT_DATA MACHINE_DATA_2 eBook for You The API routines that contain “_DATA” can be used to add a new network element or modify an existing one 27 POWER FLOW DATA CHANGING Main Functions BUS_CHNG_3 BUS CHNG 3 BRANCH_CHNG LOAD_CHNG_4 TWO_WINDING_CHNG_4 PLANT_CHNG MACHINE_CHNG_2 eBook for You The “_CHNG” API routines can be used only . modern programming languages eBook for You Introduction to PSS®E Automation 5 INTRODUCTION Introduction to PSS®E Automation Python programs : Python programs : Interpreted object-oriented programming. languages eBook for You Recording an Automation File 6 INTRODUCTION Recording an Automation File eBook for You Running an Automation File 7 INTRODUCTION Running an Automation File eBook for. syntax for using each API routine in each automation method Siemens PTI support users who use batch Siemens PTI support users who use batch commands and Python programs