Commit f35cfb3c authored by Markus Mirz's avatar Markus Mirz

fix power comp after merge

parent c46ef7c6
......@@ -175,12 +175,12 @@ void PowerComponent<Complex>::initialize(Matrix frequencies) {
mNumFreqs = static_cast<UInt>(mFrequencies.size());
if (mPhaseType != PhaseType::ABC) {
mIntfVoltage = MatrixVar<VarType>::Zero(1, mNumFreqs);
mIntfCurrent = MatrixVar<VarType>::Zero(1, mNumFreqs);
mIntfVoltage = MatrixVar<Complex>::Zero(1, mNumFreqs);
mIntfCurrent = MatrixVar<Complex>::Zero(1, mNumFreqs);
}
else {
mIntfVoltage = MatrixVar<VarType>::Zero(3, mNumFreqs);
mIntfCurrent = MatrixVar<VarType>::Zero(3, mNumFreqs);
mIntfVoltage = MatrixVar<Complex>::Zero(3, mNumFreqs);
mIntfCurrent = MatrixVar<Complex>::Zero(3, mNumFreqs);
}
for (auto node : mVirtualNodes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment