/// <summary> /// Instantiates a new <see cref="OpenDSSSimulator"/>. /// </summary> public OpenDSSSimulator() { ResultAccuracy = 1e-7; //Start DSS engine, throw exception if it didn't work. dss = new OpenDSSengine.DSS(); if (!dss.Start(0)) { throw new Exception("Could not start OpenDSS Engine."); } }