Cost Function
In CircuitShepherd you can define target values for simulation results. This implicitly defines the cost function shown in the image below. CircuitShepherds realtime optimizer tunes your "auto-parameters" (here also called "auto-values") to minimize the sum of all cost functions.