# Power Groups - Control Groups (Enterprise Groups)

## Definitions

- A **power group** (legal unit) contains, owns, or influences one or more legal units.
- A legal unit can only be influenced by at most one other legal unit.
- The ownership percentage must be > 50% — to be included in Statbus application logic.

## Statbus Usage

- Power group is a `unit_type` (similar to statistical enterprises).
- Requires an `is_included_in_power_group` flag for searching, visualizing, and as an entry point.
- When the unit type is **power group**, only the top of the power group hierarchy is listed.
- Similar to links and references, a **power tree view** is listed and aggregated in Statbus for units where `is_included_in_power_group = true`.
- The power tree view is accessible from all levels: legal unit, and optionally establishments (nice to have, not a must), that are included in a power group.

## Load Behaviour

- Ownership percentage: nice to have, but not required.
- Error if a legal unit is already owned (a unit can only be owned by one entity with > 50%).
- Requires a reset option — reset power structure only.
- If ownership percentage < 50%: issue a warning and skip the record in Statbus calculation & tree view. Keep records in database for later report?
- `rel_type_code`: for now, only one type is needed — or skip the field entirely.

## File Format

```csv
influencing_tax_ident,influenced_tax_ident,rel_type_code,percentage
2407020166,2812760140,control,60    -- success: included in control / power tree
2407020166,2602025168,ownership,100 -- success: included in control / power tree
2407020166,2612760118,ownership,40  -- warning: keep record in database
2407020166,2815384160,ownership,25  -- warning: keep record in database
```
