public ScenarioComponent(string name)
 {
     _scenarioName = name;
     SimParams     = new SimulationParameters();
     SchParams     = new SchedulerParameters();
     TargetDeck    = new TargetdeckComponent();
     Environment   = new EnvironmentComponent();
     Model         = new ModelComponent();
     Results       = new ResultsComponent();
 }
 public void Clone(object value)
 {
     // Writes a deep (value-wise) copy onto the object from value
     if (value.GetType() == typeof(ScenarioComponent))
     {
         ScenarioComponent v = (ScenarioComponent)value;
         _scenarioName        = v._scenarioName;
         SimParams.SimEnd     = v.SimParams.SimEnd;
         SimParams.SimStart   = v.SimParams.SimStart;
         SimParams.SimStartJD = v.SimParams.SimStartJD;
         SchParams            = v.SchParams;
     }
 }