Changes for examples/04_example_p50.ipynb: 10 added lines, 8 removed lines.
Original line number
Diff line number
Diff line
%% Cell type:code id:initial_id tags:
``` python
#
# this example shows how to use the `calculate_doublet_performance_stochastic` function to calculate the performance of a geothermal doublet while accounting for uncertainty in the input parameters
# on thickness and ln_peremability.
# The input parameters are defined as a dataset with mean and standard deviation values for each parameter,
# and the function will perform a stochastic analysis to provide a range of possible outcomes for the doublet performance.
# the sampled values correspond to p_valeus which default to p50, but can be set to any value between 0 and 100.
# The output is an xarray Dataset with the results of the simulation, including the performance metrics for each set of sampled input parameters.
#
# so this example only samples the p50 value of the input distributon, example show s how to use the argument p_values to sample other values of the distribution, for example p10, p90 etc.