3.NEPLAN-NPL

14
NEPLAN NPL BCP Busarello+Cott+Partner AG NEPLAN Programming Library NPL www.neplan.ch

description

Evento 5 - Neplan

Transcript of 3.NEPLAN-NPL

Page 1: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

NEPLAN

Programming

Library

NPL

www.neplan.ch

Page 2: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

CONTENIDO

�Introducción

�Ejemplo

�Descripción de las funciones de la libreria

Page 3: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

INTRODUCCIÓN

�El módulo NPL contiene librerías de C/C++

�Permite acceder las funciones y modulo de NEPLAN mediante programas escritos en C/C++

�Permite realizar simulaciones con todos los módulos de NEPLAN (Flujo de carga, cortocircuito, estabilidad, confiabilidad, etc)

�Permite modificar cualquier variable de los elementos que conforman la red.

Page 4: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

INTRODUCCIÓN

�Permite modificar los datos de reguladores y en general de cualquier bloque de función

�El usuario tiene la posibilidad de adicionar y borrar elementos de la red

�El usuario no necesita aprender un nuevo lenguaje de programación

�Permite acceder a todos los resultados de las simulaciones de NEPLAN.

Page 5: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

INTRODUCCIÓN

Page 6: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

EJEMPLO

Los siguientes pasos permiten construir una archivo dll (Dynamic Link Library):

1. Iniciar Microsoft Visual Estudio

2. Crear un proyecto tipo MFC DLL

Page 7: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

EJEMPLO

Creación del

Archivo MFC DLL

Page 8: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

EJEMPLO 3. Propiedades del proyecto MFC DLL

Se usan librerías

estándares de

Windows

Page 9: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

EJEMPLO 3. Propiedades del proyecto MFC DLL

Se incluyen las

librerías de NEPLAN

Page 10: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

EJEMPLO 4. Ejemplo en C++ para cambiar la longitud de una línea y

correr un flujo de carga

Llamado de las

librerías de C++ y NEPLAN

Page 11: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

EJEMPLO 4. Ejemplo en C++ para cambiar la longitud de una línea y

correr un flujo de carga

Instrucciones para

correr un flujo de carga inicial

Page 12: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

EJEMPLO 4. Ejemplo en C++ para cambiar la longitud de una línea y

correr un flujo de carga

Cambio de la

longitud de la línea

Page 13: 3.NEPLAN-NPL

NEPLAN NPL

BCP Busarello+Cott+Partner AG

www.neplan.ch

EJEMPLO 4. Ejemplo en C++ para cambiar la longitud de una línea y

correr un flujo de carga

Flujo de carga con la nueva longitud

Page 14: 3.NEPLAN-NPL

Herramienta de Planeamiento y Optimización de Redes

BCP Busarello+Cott+Partner AG

• Más Información

• Brochures

• Módulos

• Descargas

• Área de Soporte