DSIM helper programs