// INSTANCE parameters
// f_carrier = carrier frequency [Hz]
// vin_max = maximum input signal [V]
// vin_min = minimum input signal [V]
// mod_depth = modulation depth []
// unmod_amp = Unmodulation carrier amplitude [V]
//
// MODEL parameters
// {none}
//
// 'vin' is limited to the 'vin_max' to 'vin_min' range by clipped.
// It is also scaled so that it lies within the +/-1 range.
// This produces 'vin_adjusted'.
// 'vout' is then given by the following formula;
//
// 'vout' = 'unmod_amp' * (1 + 'mod_depth' * 'vin_adjusted')
// * cos (2 * `PI * 'f_carrier' * 'time')
//