5.1.4.1. gemini_model.pump.esp

Electrical submersible pump (ESP) model.

Implements simple correlations to predict pump head, power, and efficiency as a function of flow rate and frequency. Reference: TNO 2022 R11363 “Model-based monitoring of geothermal assets, case study: electrical submersible pumps”.

Classes

ESP()

ESP performance model (head, power, efficiency).

class gemini_model.pump.esp.ESP[source]

Bases: Model

ESP performance model (head, power, efficiency).

Model initialization.

calculate_output(u, x)[source]

Calculate output based on input u and state x.

efficiency_function(pump_flow, pump_head, pump_power)[source]

Calculate ESP efficiency from flow, head, and power (US-unit correlation).

get_output()[source]

Get output of the model.

head_function(pump_flow, freq)[source]

Calculate ESP head from flow and frequency (uses US-unit correlation).

initialize_state(x)[source]

Generate an initial state based on user parameters.

power_function(pump_flow, freq)[source]

Calculate ESP power from flow and frequency (US-unit correlation).

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.