Classic algorithm to simulate categorical properties while respecting transitions between categories, PGS has been completely rewritten by Ephesia: new ways to automatically build and adapt truncation diagrams, conditional and non-conditional simulations, non-stationary proportions and/or azimuths are the main features.