## reinsurance.solvency2_type1()


The Solvency II capital requirement for counterparty default risk on


Usage


``` python
reinsurance.solvency2_type1(exposures)
```


type 1 exposures (Arts 200 and 201).

The exposures are grouped by probability of default; [v_inter](reinsurance.Solvency2Type1.md#prospicio.reinsurance.Solvency2Type1.v_inter) sums over every ordered pair of groups, the diagonal included, `PD_j (1 - PD_j) PD_k (1 - PD_k) / (1.25 (PD_j + PD_k) - PD_j PD_k)` times the groups' total losses given default (a term whose two probabilities are both 0 is 0, EIOPA Q&A 2530 and Art 201(2)(a) as amended by 2026/269), and [v_intra](reinsurance.Solvency2Type1.md#prospicio.reinsurance.Solvency2Type1.v_intra) sums `1.5 PD_j (1 - PD_j) / (2.5 - PD_j)` times each group's squared losses given default. The charge is `3 sigma` if [sigma](reserving.MackFit.md#prospicio.reserving.MackFit.sigma) is at most 7 % of the total loss given default, `5 sigma` if at most 20 %, and the total otherwise.


## Parameters


`exposures: list of (float, float)`  
Each exposure's probability of default, in `[0, 1]`, and loss given default, non-negative. An empty list gives a charge of 0. Each entry is one single name exposure (Art 199(1)); Art 201(3) squares each one's loss given default, so one reinsurer split over several entries with the same probability understates [v_intra](reinsurance.Solvency2Type1.md#prospicio.reinsurance.Solvency2Type1.v_intra).


## Returns


`Solvency2Type1`  


## Raises


`ValueError`  
For a probability outside `[0, 1]` or a negative or infinite loss given default.


## Examples

``` python
>>> from prospicio.reinsurance import solvency2_type1
>>> t = solvency2_type1([(0.002, 100.0)])
>>> round(t.sigma ** 2, 12), round(t.scr / t.sigma, 12)
```

(19.96, 3.0)
