Hot-gas valve development using a simple numeric code