Model for waveform generation