Smoothing with Physical Constraints

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm wondering if there is currently an algorithm (or mathematical model) used to smooth functions keeping in mind physical constraints (say, ensuring slopes don't exceed that of a specific heating/cooling curve slope value).



I've been searching around and nothing seems to fit what I'm looking for. Essentially, I have discrete temperature values (e.g. 100, 115, 130) that are likely constant for periods of time, but can ultimately fluctuate between the three instantaneously (these values are predictions of optimal temperature at each given time step). I'm looking for ways of smoothing these large temperature increases/decreases to something that is physically obtainable by limiting the slope of the curve that connects each discrete value.



Is there something out there that would be decent for what I'm trying to do?







share|cite|improve this question























    up vote
    0
    down vote

    favorite












    I'm wondering if there is currently an algorithm (or mathematical model) used to smooth functions keeping in mind physical constraints (say, ensuring slopes don't exceed that of a specific heating/cooling curve slope value).



    I've been searching around and nothing seems to fit what I'm looking for. Essentially, I have discrete temperature values (e.g. 100, 115, 130) that are likely constant for periods of time, but can ultimately fluctuate between the three instantaneously (these values are predictions of optimal temperature at each given time step). I'm looking for ways of smoothing these large temperature increases/decreases to something that is physically obtainable by limiting the slope of the curve that connects each discrete value.



    Is there something out there that would be decent for what I'm trying to do?







    share|cite|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm wondering if there is currently an algorithm (or mathematical model) used to smooth functions keeping in mind physical constraints (say, ensuring slopes don't exceed that of a specific heating/cooling curve slope value).



      I've been searching around and nothing seems to fit what I'm looking for. Essentially, I have discrete temperature values (e.g. 100, 115, 130) that are likely constant for periods of time, but can ultimately fluctuate between the three instantaneously (these values are predictions of optimal temperature at each given time step). I'm looking for ways of smoothing these large temperature increases/decreases to something that is physically obtainable by limiting the slope of the curve that connects each discrete value.



      Is there something out there that would be decent for what I'm trying to do?







      share|cite|improve this question











      I'm wondering if there is currently an algorithm (or mathematical model) used to smooth functions keeping in mind physical constraints (say, ensuring slopes don't exceed that of a specific heating/cooling curve slope value).



      I've been searching around and nothing seems to fit what I'm looking for. Essentially, I have discrete temperature values (e.g. 100, 115, 130) that are likely constant for periods of time, but can ultimately fluctuate between the three instantaneously (these values are predictions of optimal temperature at each given time step). I'm looking for ways of smoothing these large temperature increases/decreases to something that is physically obtainable by limiting the slope of the curve that connects each discrete value.



      Is there something out there that would be decent for what I'm trying to do?









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked Jul 15 at 16:39









      Whisperrrr

      6




      6




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          The easiest way to do this is probably time averaging. That is, replace the temperature at any particular time with the average of the temperatures over a fixed period of time before that time. The longer the fixed time period, the slower the rate of change when the temperature jumps to another value. You could experiment with weighted averages. Read Exponential smoothing.






          share|cite|improve this answer























            Your Answer




            StackExchange.ifUsing("editor", function ()
            return StackExchange.using("mathjaxEditing", function ()
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            );
            );
            , "mathjax-editing");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "69"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2852665%2fsmoothing-with-physical-constraints%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            The easiest way to do this is probably time averaging. That is, replace the temperature at any particular time with the average of the temperatures over a fixed period of time before that time. The longer the fixed time period, the slower the rate of change when the temperature jumps to another value. You could experiment with weighted averages. Read Exponential smoothing.






            share|cite|improve this answer



























              up vote
              0
              down vote













              The easiest way to do this is probably time averaging. That is, replace the temperature at any particular time with the average of the temperatures over a fixed period of time before that time. The longer the fixed time period, the slower the rate of change when the temperature jumps to another value. You could experiment with weighted averages. Read Exponential smoothing.






              share|cite|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                The easiest way to do this is probably time averaging. That is, replace the temperature at any particular time with the average of the temperatures over a fixed period of time before that time. The longer the fixed time period, the slower the rate of change when the temperature jumps to another value. You could experiment with weighted averages. Read Exponential smoothing.






                share|cite|improve this answer















                The easiest way to do this is probably time averaging. That is, replace the temperature at any particular time with the average of the temperatures over a fixed period of time before that time. The longer the fixed time period, the slower the rate of change when the temperature jumps to another value. You could experiment with weighted averages. Read Exponential smoothing.







                share|cite|improve this answer















                share|cite|improve this answer



                share|cite|improve this answer








                edited Jul 17 at 14:36


























                answered Jul 15 at 20:02









                Somos

                11.7k1933




                11.7k1933






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2852665%2fsmoothing-with-physical-constraints%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What is the equation of a 3D cone with generalised tilt?

                    Color the edges and diagonals of a regular polygon

                    Relationship between determinant of matrix and determinant of adjoint?