<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 14.02.5004.000">
<TITLE>Data Reader interpolation question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Dear</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">all</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">,</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">I have some hourly electrical consumption data (unit is kW). I want to do some simulations with low time</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">step (eg.</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">0.05) in order to check a controller</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> I have designed</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">. When I try that at some time</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">steps I get negative values of load</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">, because of big changes</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> in the data</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> from one hour to the other</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">. I understand why this happens, but of course I cannot use this</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">. Is there any way using standard types to interpolate data keeping in mind that the result ought to be positive? Of course I can write a new type, but I would rather not go down that road.</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Thanks in advance,</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">George</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="el-gr"><FONT FACE="Calibri">-------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="el-gr"><FONT FACE="Calibri">George Kyriakarakos, Agricultural Engineer</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="el-gr"><FONT FACE="Calibri">MSc Energy Systems & Renewable Energy Sources</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="el-gr"><FONT FACE="Calibri">Agricultural University of Athens,</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="el-gr"><FONT FACE="Calibri">Dept. of Natural Resources and Agricultural Engineering</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="el-gr"><FONT FACE="Calibri">Iera odos street, 75, Athens 11855, Greece</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="el-gr"><FONT FACE="Calibri">Tel. +30.210.5294046 (direct), Fa</FONT><FONT FACE="Calibri">x: +30.210.5294023</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="el-gr"></SPAN><SPAN LANG="el-gr"><FONT FACE="Calibri">Mobile +30.6942.046895</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="el-gr"><FONT FACE="Calibri">e-mail: <</FONT></SPAN><SPAN LANG="en-us"></SPAN><A HREF="mailto:gk@aua.gr"><SPAN LANG="en-us"><U></U></SPAN><U><SPAN LANG="el-gr"></SPAN></U><U><SPAN LANG="el-gr"><FONT COLOR="#0000FF" FACE="Calibri">gk@aua.gr</FONT></SPAN></U><SPAN LANG="en-us"></SPAN></A><SPAN LANG="en-us"></SPAN><SPAN LANG="el-gr"></SPAN><SPAN LANG="el-gr"><FONT FACE="Calibri">></FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="el-gr"><FONT FACE="Calibri">--------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="el-gr"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
</BODY>
</HTML>