wpimult must be multiplied and not overwritten.
Mulitple WPIMULT and WELPI entries are cumulative on same connections.
This commit is contained in:
@@ -275,7 +275,7 @@ const std::optional<std::pair<double, double>>& Connection::perf_range() const {
|
||||
}
|
||||
|
||||
void Connection::scaleWellPi(double wellPi) {
|
||||
this->m_wpimult = wellPi;
|
||||
this->m_wpimult *= wellPi;
|
||||
this->m_CF *= wellPi;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user