POWER TRAIN: general hybrid simulation for reactor coolant and secondary system transient response