Optimizer tutorial

rjrodrig
2008-09-16
2012-12-15
  • rjrodrig

    rjrodrig - 2008-09-16

    I am new to this QUCS.  Does anyone know where to find a tutorial on the optimizer?  How does the cost function work?  I want to define a filter and i want it to optimize it based on my inputs, but I don't understand less, maximize, minimize, greater etc... What my intuition tells me ends up being wrong and the program complains the cost function cannot be negative.  Well attenuation is in negative dBs so I have to say -10 etc... it complains....  Anyone has done this?

     
    • Frans

      Frans - 2008-09-17

      Hi,

      It's true that you can't input negative functions into the optimizer, but what you can do is to add an extra function into the schematic with for example:
      absH=abs(H)
      (or absH=H*-1)
      so that you have a positive value which you can maximize in stead of minimize.
      Of course you can also use the linear value in stead of the dB value to minimize ;)

      I hope this is helpful for you...

      Cheers, Frans

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks