Add temperature to SingleWellState

This commit is contained in:
Joakim Hove
2021-08-03 21:25:03 +02:00
parent 1dd9b91ad3
commit d5ab308fbd
7 changed files with 13 additions and 21 deletions

View File

@@ -175,7 +175,7 @@ loadRestartData(const data::Wells& rst_wells,
auto& ws = well_state.well(well_index);
ws.bhp = rst_well.bhp;
ws.thp = rst_well.thp;
well_state.update_temperature(well_index, rst_well.temperature);
ws.temperature = rst_well.temperature;
if (rst_well.current_control.isProducer) {
well_state.currentProductionControl(well_index, rst_well.current_control.prod);