33 double basePower = 100.0;
35 bool faultAfterPowerFlow =
false;
36 bool scPowerAfterPowerFlow =
false;
37 bool harmDistortionAfterPowerFlow =
false;
40 PowerFlowMethod powerFlowMethod = GAUSS_SEIDEL;
41 double accFator = 1.0;
42 double powerFlowTolerance = 1e-7;
43 int powerFlowMaxIterations = 5000;
44 double initAngle = 0.0;
45 double newtonInertia = 1.0;
46 double gaussTolerance = 1e-2;
49 double stabilityFrequency = 60.0;
50 double timeStep = 1e-2;
51 double stabilitySimulationTime = 10.0;
52 double stabilityTolerance = 1e-8;
53 int stabilityMaxIterations = 100;
54 int controlTimeStepRatio = 10;
55 double plotTime = 1e-2;
57 BusFreqEstimation busFreqEstimation = BusFreqEstimation::ANGLE_DERIVATION;
58 bool ignoreBusFreqEventStep =
true;
60 double tw = 3.0 / (2.0 * M_PI * 60.0);
63 bool useCompLoads =
false;
64 double constImpedanceActive = 100.0;
65 double constCurrentActive = 0.0;
66 double constPowerActive = 0.0;
67 double constImpedanceReactive = 100.0;
68 double constCurrentReactive = 0.0;
69 double constPowerReactive = 0.0;
70 double underVoltageConstCurrent = 70.0;
71 double underVoltageConstPower = 70.0;
74 HarmLoadConnection harmLoadConnection = HarmLoadConnection::PARALLEL;
108 SimulationData GetSimulationPropertiesData()
const {
return m_simulData; }
109 void SetSimulationPropertiesData(
SimulationData simulationData) { m_simulData = simulationData; }
110 GeneralData GetGeneralPropertiesData()
const {
return m_genData; }
111 void SetGeneralPropertiesData(
GeneralData generalData) { m_genData = generalData; }
113 void SetFreqRespData(
const FreqResponseData& freqRespData) { this->m_freqRespData = freqRespData; }