Trigger Simulation Configuration From Code

Is there a way to trigger a simulation configuration to run from any type of script? If so what classes allow this to happen?