This is a very simple example of how to use the `calculate_doublet_performance` function from
the `pythermogis` package to run a deterministic (without uncertainty quatification) to run a doublet simulation.
This is a simple example of how to use the `calculate_doublet_performance` function from
the `pythermogis` package to run a deterministic (without uncertainty quantification) doublet simulation.
!!! note "xarray is at the heart of data handling in pythermogis"
The `calculate_doublet_performance` function expects an xarray Dataset as input, which contains the necessary reservoir properties.
@@ -11,25 +11,22 @@ the `pythermogis` package to run a deterministic (without uncertainty quatificat
### 🧪 Basic Example
This example demonstrates how to run a deterministic doublet simulation using the `calculate_doublet_performance` function
for a single location. The outcomes correspond to the mean values of the input parameters,
and the results are printed to the console.
This example demonstrates how to run a deterministic doublet simulation using the `calculate_doublet_performance` function for a single location.
The outcomes are deterministic, meaning there is no stochastic sampling or probabilities associated with this simulation, the results are printed to the console.
This example demonstrates how to run a deterministic doublet simulation using the `calculate_doublet_performance` function
for a user defined 2-d grid of locations. The outcomes correspond to the mean values of the input parameters,
and the results are printed to the console
for a user defined 2-d grid of locations.
The outcomes are deterministic, meaning there is no stochastic sampling or probabilities associated with this simulation, the results are printed to the console.
note: you get the results for a specific location by using xarray function `sel` to select the desired location from the results Dataset
!!! info "Selecting values from a dataset"
You get the results for a specific location by using xarray function `sel` to select the desired location from the results Dataset, see [here](https://docs.xarray.dev/en/stable/user-guide/indexing.html) for more details.