CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented...

17
CONNECTING PRODRISK Christian Skar, Powel Per Eilif Wahl, SINTEF User Meeting Hydro Scheduling 2019 Scandic Hell 13th March 2019

Transcript of CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented...

Page 1: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

CONNECTING PRODRISKChristian Skar, Powel

Per Eilif Wahl, SINTEF

User Meeting Hydro Scheduling 2019Scandic Hell 13th March 2019

Page 2: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

WHY CONNECTING PRODRISK?

• Connecting prodrisk is a collaboration between Powel and SINTEF integrating Powel software infrastructure with SINTEF’s ProdRisk

• Funding clients:• Trønderenergi and Lyse

• ProdRisk is a powerful SDDP hydropower scheduling tool based on decades of research at SINTEF

• Drawback

• Command line user interface (or more recently APIs)

• Highly dependent on files to store data

• ProdRisk users have to develop their own infrastructure solutions

Spend less time doing this

More time doing this

Page 3: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

API

POWEL OPTIMISATION FRAMEWORK – INTEGRATED WITH PRODRISK

Configuration Operation

User Interface

Infrastructure

Calculation

NimbusAsset Configurator Case Manager

Mesh

Optimal Suite*

ProdRisk

Optimal Gateway

*) Powel Optimal Multi-Asset, Optimal Thermal, Optimal Hydro, Optimal Spotbid, Optimal Midterm

Page 4: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

MESHProvide structural information and time series – fast and consistent

Mesh Server

mesh

Oracle

A No-SQL database with objects and integrated time series kernel

Page 5: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

• Provide a configurable object structure• Can be extended along the way

• Built on formalized information model(s)• Objects and relations

• Foundation for template calculations and reports

• An information HUB• Enables cooperation

• A reliable source of information

MESH

Created / adapted by Customer

Page 6: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

MESH AND SMGExchange through database or direct API

Mesh ServerPowel SmG

Portfolio

Page 7: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

API

POWEL OPTIMISATION FRAMEWORK – INTEGRATED WITH PRODRISK

Configuration Operation

User Interface

Infrastructure

Calculation

NimbusAsset Configurator Case Manager

Mesh

Optimal Suite*

ProdRisk

Optimal Gateway

*) Powel Optimal Multi-Asset, Optimal Thermal, Optimal Hydro, Optimal Spotbid, Optimal Midterm

Page 8: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

NIMBUS/MESHA highly configurable graphical user interface to analyze

Page 9: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

API

POWEL OPTIMISATION FRAMEWORK – INTEGRATED WITH PRODRISK

Configuration Operation

User Interface

Infrastructure

Calculation

NimbusAsset Configurator Case Manager

Mesh

Optimal Suite*

ProdRisk

Optimal Gateway

*) Powel Optimal Multi-Asset, Optimal Thermal, Optimal Hydro, Optimal Spotbid, Optimal Midterm

Page 10: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

CASE MANAGER

• Web based user interface for setting up and configuring cases for ProdRisk

• Designed as a step-by-step process• Select watercourse to optimise

• Connect time series

• Set ProdRisk settings

• In the background Mesh model is built (through the MeshAPI)

• Authentication using AD

Page 11: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

FUNCTIONALITY

• Tools for importing your data into Mesh → Easy to get started for existing users

• Automated ProdRisk runs using scheduled tasks

• Easy management and configuration of cases

• For different watercourses

• Set up sensitivity analyses quick and simple

• Customer customization of Mesh object model• Template calculations and reports

• New object types, attributes

Page 12: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

PRODRISK API CHANGES FOR CONNECTINGPRODRISK

Per Eilif Wahl

Page 13: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

Additional information required

• Modified reading/writing of cut file (KUTT.SDDP)

• Parameters already present

• Added height correction factors (HKORR.SDDP)

• HeadCoeffAndCutId

• HeadCoefficient

Note that internally in the API, time series are on an hourly basis, while

many parameters for ProdRisk are on a weekly basis

13

Page 14: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

API

14

ProdRisk

Mapping

Files Binary ASCII HDF5

Common API functionality

WCF (C #) Others (C#)

Page 15: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

Observations

• The API is not sufficiently robust for error situations

• The server process should not terminate even if the data transferred are missing or

erroneous

• The reading / writing of cuts should be rewritten

• Not robust for changes in size

• Memory leakage (Fortum problem)

• Using the API gives rise to a more dynamic execution that is not

always reflected in the executables (SHOP, ProdRisk, …)

15

Page 16: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

Summary

Page 17: CONNECTING PRODRISK - sintef.no · •Powerful management of ProdRiskdatasets in object oriented database system Powel Mesh •Files are out! •Direct integration with the Powel

SUMMARY: CUSTOMER VALUE OF CONNECTING PRODRISK

• Alleviate the need for in-house solutions for working with ProdRisk• Less manual data transport

• Less software maintenance

• Better support for automating ProdRisk work process

• Powerful management of ProdRisk datasets in object oriented database systemPowel Mesh

• Files are out!

• Direct integration with the Powel SmG time series database

• Structured storage of inputs and results time series

• Analyse data in Powel Nimbus, set up template calculations in Powel Calculator

• Configure and run different scenarios using Cases (and Powel Case Manager)

Work better with your data:Less time managing and more time analyzing!