5.1.6.3. gemini_model.well.pressure_drop

Well pressure and temperature profile model.

Computes pressure drop due to friction and gravity along a multi-section well for single- and two-phase flow, and temperature change due to heat transfer.

Classes

DPDT()

Pressure and temperature along-well calculator (single/two-phase).

class gemini_model.well.pressure_drop.DPDT[source]

Bases: Model

Pressure and temperature along-well calculator (single/two-phase).

Initialize well pressure drop model.

calculate_output(u, x)[source]

Calculate output based on input u and state x.

The outputs are pressure drop due to friction and gravity, also the final pressure and temperature.

get_output()[source]

Get output of the model.

initialize_state(x)[source]

Generate an initial state based on user parameters.

update_parameters(parameters)[source]

Update model parameters.

Parameters:

parameters (dict) – Parameters dict as defined by the model.

update_state(u, x)[source]

Update the state based on input u and state x.