Modeling of a low threshold bistable device for energy scavenging