25
A new toolbox to optimize nonlinear objective functions by solving combinatorial problems in industrial applications A. Bassi, M. Venturin www.openeering.com May 16th , 2014

ScilabTEC

Embed Size (px)

DESCRIPTION

xcos

Citation preview

A new toolbox to optimize nonlinear objective functions by solving

combinatorial problems in industrial applications

A. Bassi, M. Venturin

www.openeering.com

May 16th , 2014

A NEW TOOLBOX: Scilab Heat Engine Design Optimizer

A. Bassi, M. Venturin

www.openeering.com

May 16th , 2014

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

Tutorials and applications

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

Scilab Tutorials

Scilab Black Belt Course

5 14/05/2014

www.openeering.com

Around 1600 registered users from more than 100 countries

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

HEAT ENGINES EFFICIENCIES

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

Energy Efficiency Ratio (EER)

CHILLER COOLED

SPACE

Required work =

Required Power * time

QL

(Desired effect )

QH

HOT

ENVIRONMENT

W

𝐸𝐸𝑅 = η = 𝐷𝑒𝑠𝑖𝑟𝑒𝑑 𝑒𝑓𝑓𝑒𝑐𝑡

𝑅𝑒𝑞𝑢𝑖𝑟𝑒𝑑 𝑤𝑜𝑟𝑘=

|𝑄𝐿|

𝑊

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

Coefficient Of Performance (COP)

HEAT

PUMP HEATED

SPACE QL

COLD

ENVIRONMENT

W

𝐶𝑂𝑃 = η = 𝐷𝑒𝑠𝑖𝑟𝑒𝑑 𝑒𝑓𝑓𝑒𝑐𝑡

𝑅𝑒𝑞𝑢𝑖𝑟𝑒𝑑 𝑤𝑜𝑟𝑘=

|𝑄𝐻|

𝑊

QH

(Desired effect)

Required work =

Required Power * time

Efficiency depends on power!

Pf [kW] 0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800 850 900 950 1000

EER 1.466667 1.825 2.16 2.471667 2.76 3.025 3.266667 3.485 3.68 3.851667 4 4.125 4.226667 4.305 4.36 4.391667 4.4 4.385 4.346667 4.285 4.2

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

𝜂 = 𝜂(𝑃)

W1

QL1 QH1

QL2

QL3

COOLED

SPACE

HOT

ENVIRONMENT

CHILLER

1

QH3

QH2

W2

CHILLER

2

W3

CHILLER

3

Goal: maximize the efficiency in parallel configurations

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

The mathematical problem

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

max 𝜂𝑡𝑜𝑡(P1, P2, P3)

𝑃𝑟 = required power

We maximize the efficiency of the overall system:

Subject to:

𝑃1 + 𝑃2 + 𝑃3 = 𝑃𝑟

Solution strategy

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

0 50 20 10 30 40

0 50 20 10 30 40

0 50 20 10 30 40

Approximate efficiencies with piecewise linearized curves

Given a required power (𝑃𝑟), analyze all possible combinations that satisfy the requirement

Find the optimal solutions and rank the suboptimal ones

THE SHEDO TOOLBOX: SCILAB HEAT ENGINE DESIGN OPTIMIZER

The toolbox

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

1. Settings

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

It allows to set the paths and the files to be used during the analysis

The default settings are loaded from the previous run

2. Pre-processing

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

In this phase the user can choose the .csv file containing the powers and efficiencies of the heat engines

Adding new heat engines configurations is very easy!

2. Pre-processing

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

3. Analysis

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

Single analysis: fixed power requirement

Full analysis: solutions for all the powers between Pt_min and Pt_max with step Delta Pt

3. Analysis

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

3. Analysis

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

4. Post-processing

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

SHEDO main technical features

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

Scilab 5.5 and JIMS module JIMS module (Java Interaction Mechanism in Scilab) allows Scilab to instantiate Java objects.

.csv files as input and output arguments

SHEDO is a user-friendly program!

Conclusions

ScilabTec 2014 - Copyright © 2014 EnginSoft SpA, all rights reserved

Automated search of the optimal solution

Scalability of the problem in many different plant and machinery

Time to search for a solution reduced to a few seconds of computation

Average energy saving of 15% compared to the manual solution with significant cost savings

+15%

BEFORE

AFTER

THANK YOU FOR YOUR ATTENTION